1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextAttr swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextUrlEvent swig_types[156]
2623 #define SWIGTYPE_p_wxToggleButton swig_types[157]
2624 #define SWIGTYPE_p_wxToolBar swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarToolBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolbook swig_types[161]
2628 #define SWIGTYPE_p_wxToolbookEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2668 #define SWIG_name "_controls_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2743 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2747 const wxArrayString wxPyEmptyStringArray
;
2749 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2751 #define SWIG_From_long PyInt_FromLong
2754 SWIGINTERNINLINE PyObject
*
2755 SWIG_From_int (int value
)
2757 return SWIG_From_long (value
);
2763 # define LLONG_MIN LONG_LONG_MIN
2766 # define LLONG_MAX LONG_LONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2774 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2776 if (PyNumber_Check(obj
)) {
2777 if (val
) *val
= PyInt_AsLong(obj
);
2780 return SWIG_TypeError
;
2785 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2788 int res
= SWIG_AsVal_long (obj
, &v
);
2789 if (SWIG_IsOK(res
)) {
2790 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2791 return SWIG_OverflowError
;
2793 if (val
) *val
= static_cast< int >(v
);
2799 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2818 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2819 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2820 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2821 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2822 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2823 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2825 #include <wx/checklst.h>
2827 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2828 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->Insert(item
, pos
, data
);
2835 self
->Insert(item
, pos
);
2839 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2842 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2843 return SWIG_TypeError
;
2846 *val
= (unsigned long)v
;
2852 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2855 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2856 if (SWIG_IsOK(res
)) {
2857 if ((v
> UINT_MAX
)) {
2858 return SWIG_OverflowError
;
2860 if (val
) *val
= static_cast< unsigned int >(v
);
2866 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2867 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2869 self
->GetSelections(lst
);
2870 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2871 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2873 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2875 wxPyEndBlockThreads(blocked
);
2878 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2880 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2881 self
->GetItem(item
)->SetTextColour(c
);
2884 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetBackgroundColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetFont(f
);
2896 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2897 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2898 self
->AppendText(text
);
2900 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2901 return self
->GetValue().Mid(from
, to
- from
);
2903 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2904 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2905 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2907 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_long (unsigned long value
)
2912 return (value
> LONG_MAX
) ?
2913 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2917 SWIGINTERNINLINE PyObject
*
2918 SWIG_From_size_t (size_t value
)
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_unsigned_SS_int (unsigned int value
)
2927 return SWIG_From_unsigned_SS_long (value
);
2931 #include <wx/slider.h>
2934 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2935 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942 class wxToggleButton
: public wxControl
2945 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2946 const wxPoint
&, const wxSize
&, long,
2947 const wxValidator
&, const wxString
&)
2948 { wxPyRaiseNotImplemented(); }
2951 { wxPyRaiseNotImplemented(); }
2955 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2957 SWIGINTERNINLINE
int
2958 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2961 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2962 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2967 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2968 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2970 Py_INCREF(udata
->m_obj
);
2971 return udata
->m_obj
;
2977 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2978 self
->SetClientData(new wxPyUserData(clientData
));
2980 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2981 wxPyUserData
* udata
= NULL
;
2982 if (clientData
&& clientData
!= Py_None
)
2983 udata
= new wxPyUserData(clientData
);
2984 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2985 shortHelp
, longHelp
, udata
);
2987 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2995 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2997 Py_INCREF(udata
->m_obj
);
2998 return udata
->m_obj
;
3004 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3005 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3008 #include <wx/listctrl.h>
3010 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3011 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3015 PyObject
* func
= (PyObject
*)funcPtr
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3018 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3019 PyObject
* result
= PyEval_CallObject(func
, args
);
3022 retval
= PyInt_AsLong(result
);
3026 wxPyEndBlockThreads(blocked
);
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl
: public wxListCtrl
{
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3039 const wxValidator
& validator
,
3040 const wxString
& name
) :
3041 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3043 bool Create(wxWindow
* parent
, wxWindowID id
,
3047 const wxValidator
& validator
,
3048 const wxString
& name
) {
3049 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3072 item
.SetMask( wxLIST_MASK_STATE
|
3080 if (self
->GetColumn(col
, item
))
3081 return new wxListItem(item
);
3085 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3086 wxListItem
* info
= new wxListItem
;
3087 info
->m_itemId
= itemId
;
3089 info
->m_mask
= 0xFFFF;
3090 self
->GetItem(*info
);
3093 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3095 self
->GetItemPosition(item
, pos
);
3098 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3100 self
->GetItemRect(item
, rect
, code
);
3103 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3104 if (!PyCallable_Check(func
))
3106 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3108 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3112 return (wxWindow
*)self
->m_mainWin
;
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3119 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3121 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3122 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3124 static wxTreeItemId wxNullTreeItemId
;
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl
: public wxTreeCtrl
{
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3135 const wxValidator
& validator
,
3136 const wxString
& name
) :
3137 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3139 bool Create(wxWindow
*parent
, wxWindowID id
,
3143 const wxValidator
& validator
,
3144 const wxString
& name
) {
3145 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3149 int OnCompareItems(const wxTreeItemId
& item1
,
3150 const wxTreeItemId
& item2
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3155 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3156 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3157 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3161 wxPyEndBlockThreads(blocked
);
3163 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3172 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3173 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3175 data
= new wxPyTreeItemData();
3176 data
->SetId(item
); // set the id
3177 self
->SetItemData(item
, data
);
3181 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3182 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3184 data
= new wxPyTreeItemData();
3185 data
->SetId(item
); // set the id
3186 self
->SetItemData(item
, data
);
3188 return data
->GetData();
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3195 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3197 data
= new wxPyTreeItemData(obj
);
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3203 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 PyObject
* rval
= PyList_New(0);
3206 wxArrayTreeItemIds array
;
3208 num
= self
->GetSelections(array
);
3209 for (x
=0; x
< num
; x
++) {
3210 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3211 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval
, item
);
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3220 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyObject
* tup
= PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3225 wxPyEndBlockThreads(blocked
);
3228 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3229 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyObject
* tup
= PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3234 wxPyEndBlockThreads(blocked
);
3237 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3239 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxRect
* r
= new wxRect(rect
);
3242 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked
);
3249 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3251 SWIGINTERNINLINE PyObject
*
3252 SWIG_From_bool (bool value
)
3254 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxControl
3258 class wxPyControl
: public wxControl
3260 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxValidator
& validator
=wxDefaultValidator
,
3268 const wxString
& name
= wxPyControlNameStr
)
3269 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3271 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3352 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3354 #include <wx/generic/dragimgg.h>
3356 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3357 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3359 self
->GetRange(&rv
, NULL
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(NULL
, &rv
);
3367 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3368 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3369 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3370 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3371 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3372 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3373 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3374 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3379 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3384 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3385 PyObject
*pyobj
= 0;
3389 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3391 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) -1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) 0 ;
3409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3411 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3413 wxButton
*result
= 0 ;
3418 bool temp3
= false ;
3425 bool temp8
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3440 if (!SWIG_IsOK(res1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3446 if (!SWIG_IsOK(ecode2
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3449 arg2
= static_cast< int >(val2
);
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3472 if (!SWIG_IsOK(ecode6
)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3475 arg6
= static_cast< long >(val6
);
3478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3479 if (!SWIG_IsOK(res7
)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3489 arg8
= wxString_in_helper(obj7
);
3490 if (arg8
== NULL
) SWIG_fail
;
3495 if (!wxPyCheckForApp()) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3524 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 PyObject
*resultobj
= 0;
3526 wxButton
*result
= 0 ;
3528 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3530 if (!wxPyCheckForApp()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxButton
*)new wxButton();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3543 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= 0;
3545 wxButton
*arg1
= (wxButton
*) 0 ;
3546 wxWindow
*arg2
= (wxWindow
*) 0 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3554 long arg7
= (long) 0 ;
3555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3557 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3583 char * kwnames
[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3592 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3594 if (!SWIG_IsOK(res2
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3600 if (!SWIG_IsOK(ecode3
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3603 arg3
= static_cast< int >(val3
);
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3626 if (!SWIG_IsOK(ecode7
)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3629 arg7
= static_cast< long >(val7
);
3632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3633 if (!SWIG_IsOK(res8
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3643 arg9
= wxString_in_helper(obj8
);
3644 if (arg9
== NULL
) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxButton
*arg1
= (wxButton
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3692 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetDefault();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_Py_Void();
3706 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3710 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3724 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3727 SwigValueWrapper
<wxVisualAttributes
> result
;
3730 PyObject
* obj0
= 0 ;
3731 char * kwnames
[] = {
3732 (char *) "variant", NULL
3735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3738 if (!SWIG_IsOK(ecode1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3741 arg1
= static_cast< wxWindowVariant
>(val1
);
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxButton::GetClassDefaultAttributes(arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3757 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3761 return SWIG_Py_Void();
3764 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 return SWIG_Python_InitShadowInstance(args
);
3768 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) -1 ;
3772 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3773 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3778 long arg6
= (long) wxBU_AUTODRAW
;
3779 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3781 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 wxBitmapButton
*result
= 0 ;
3796 bool temp8
= false ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj6
= 0 ;
3804 PyObject
* obj7
= 0 ;
3805 char * kwnames
[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3817 if (!SWIG_IsOK(ecode2
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3820 arg2
= static_cast< int >(val2
);
3823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3824 if (!SWIG_IsOK(res3
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3846 if (!SWIG_IsOK(ecode6
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3849 arg6
= static_cast< long >(val6
);
3852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3853 if (!SWIG_IsOK(res7
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3890 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3891 PyObject
*resultobj
= 0;
3892 wxBitmapButton
*result
= 0 ;
3894 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmapButton
*)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3909 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= 0;
3911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3915 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3920 long arg7
= (long) wxBU_AUTODRAW
;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3959 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3961 if (!SWIG_IsOK(res2
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3967 if (!SWIG_IsOK(ecode3
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3970 arg3
= static_cast< int >(val3
);
3973 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3974 if (!SWIG_IsOK(res4
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3980 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3996 if (!SWIG_IsOK(ecode7
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3999 arg7
= static_cast< long >(val7
);
4002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4003 if (!SWIG_IsOK(res8
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 wxBitmap
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4200 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4225 wxBitmap
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4241 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4243 if (!SWIG_IsOK(res2
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4266 wxBitmap
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 char * kwnames
[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4282 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4284 if (!SWIG_IsOK(res2
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
= 0;
4306 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4307 wxBitmap
*arg2
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4323 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4325 if (!SWIG_IsOK(res2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4348 wxBitmap
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "hover", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4364 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4366 if (!SWIG_IsOK(res2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4409 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetMargins(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 PyObject
*resultobj
= 0;
4463 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4467 PyObject
*swig_obj
[1] ;
4469 if (!args
) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4475 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_From_int(static_cast< int >(result
));
4489 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4493 return SWIG_Py_Void();
4496 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 return SWIG_Python_InitShadowInstance(args
);
4500 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4501 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4506 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4507 PyObject
*pyobj
= 0;
4511 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4513 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) -1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4532 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4533 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4535 wxCheckBox
*result
= 0 ;
4540 bool temp3
= false ;
4547 bool temp8
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4568 if (!SWIG_IsOK(ecode2
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4571 arg2
= static_cast< int >(val2
);
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4594 if (!SWIG_IsOK(ecode6
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4597 arg6
= static_cast< long >(val6
);
4600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4601 if (!SWIG_IsOK(res7
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4611 arg8
= wxString_in_helper(obj7
);
4612 if (arg8
== NULL
) SWIG_fail
;
4617 if (!wxPyCheckForApp()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4646 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 PyObject
*resultobj
= 0;
4648 wxCheckBox
*result
= 0 ;
4650 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCheckBox
*)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4665 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4669 int arg3
= (int) -1 ;
4670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4676 long arg7
= (long) 0 ;
4677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4679 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4688 bool temp4
= false ;
4695 bool temp9
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4703 PyObject
* obj7
= 0 ;
4704 PyObject
* obj8
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4714 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4722 if (!SWIG_IsOK(ecode3
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4725 arg3
= static_cast< int >(val3
);
4729 arg4
= wxString_in_helper(obj3
);
4730 if (arg4
== NULL
) SWIG_fail
;
4737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4748 if (!SWIG_IsOK(ecode7
)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4751 arg7
= static_cast< long >(val7
);
4754 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4755 if (!SWIG_IsOK(res8
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4761 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4765 arg9
= wxString_in_helper(obj8
);
4766 if (arg9
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4815 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->GetValue();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4845 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsChecked();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "state", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4880 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4882 if (!SWIG_IsOK(ecode2
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4885 arg2
= static_cast< bool >(val2
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetValue(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_Py_Void();
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState result
;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4913 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4930 wxCheckBoxState arg2
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "state", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4946 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4951 arg2
= static_cast< wxCheckBoxState
>(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->Set3StateValue(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4979 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5009 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5028 SwigValueWrapper
<wxVisualAttributes
> result
;
5031 PyObject
* obj0
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "variant", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5039 if (!SWIG_IsOK(ecode1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5042 arg1
= static_cast< wxWindowVariant
>(val1
);
5045 if (!wxPyCheckForApp()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5058 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5062 return SWIG_Py_Void();
5065 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 return SWIG_Python_InitShadowInstance(args
);
5069 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5070 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5075 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5076 PyObject
*pyobj
= 0;
5080 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5082 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxWindow
*arg1
= (wxWindow
*) 0 ;
5092 int arg2
= (int) -1 ;
5093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5099 long arg6
= (long) 0 ;
5100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5102 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5104 wxChoice
*result
= 0 ;
5111 bool temp5
= false ;
5116 bool temp8
= false ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5120 PyObject
* obj3
= 0 ;
5121 PyObject
* obj4
= 0 ;
5122 PyObject
* obj5
= 0 ;
5123 PyObject
* obj6
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5140 arg2
= static_cast< int >(val2
);
5145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5156 if (! PySequence_Check(obj4
)) {
5157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5160 arg5
= new wxArrayString
;
5162 int i
, len
=PySequence_Length(obj4
);
5163 for (i
=0; i
<len
; i
++) {
5164 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5165 wxString
* s
= wxString_in_helper(item
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5175 if (!SWIG_IsOK(ecode6
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5178 arg6
= static_cast< long >(val6
);
5181 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5182 if (!SWIG_IsOK(res7
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5188 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5192 arg8
= wxString_in_helper(obj7
);
5193 if (arg8
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5206 if (temp5
) delete arg5
;
5215 if (temp5
) delete arg5
;
5225 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxChoice
*result
= 0 ;
5229 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxChoice
*)new wxChoice();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxChoice
*arg1
= (wxChoice
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5253 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5254 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5255 long arg7
= (long) 0 ;
5256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5258 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5269 bool temp6
= false ;
5274 bool temp9
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5293 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5295 if (!SWIG_IsOK(res2
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5301 if (!SWIG_IsOK(ecode3
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5304 arg3
= static_cast< int >(val3
);
5309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5320 if (! PySequence_Check(obj5
)) {
5321 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5324 arg6
= new wxArrayString
;
5326 int i
, len
=PySequence_Length(obj5
);
5327 for (i
=0; i
<len
; i
++) {
5328 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5329 wxString
* s
= wxString_in_helper(item
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5339 if (!SWIG_IsOK(ecode7
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5342 arg7
= static_cast< long >(val7
);
5345 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5346 if (!SWIG_IsOK(res8
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5352 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5356 arg9
= wxString_in_helper(obj8
);
5357 if (arg9
== NULL
) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 if (temp6
) delete arg6
;
5380 if (temp6
) delete arg6
;
5390 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxChoice
*arg1
= (wxChoice
*) 0 ;
5396 PyObject
*swig_obj
[1] ;
5398 if (!args
) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5404 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_int(static_cast< int >(result
));
5418 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5421 SwigValueWrapper
<wxVisualAttributes
> result
;
5424 PyObject
* obj0
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "variant", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5435 arg1
= static_cast< wxWindowVariant
>(val1
);
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5451 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5455 return SWIG_Py_Void();
5458 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 return SWIG_Python_InitShadowInstance(args
);
5462 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5463 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5468 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5469 PyObject
*pyobj
= 0;
5473 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5475 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= 0;
5484 wxWindow
*arg1
= (wxWindow
*) 0 ;
5485 int arg2
= (int) -1 ;
5486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5492 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5493 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5494 long arg7
= (long) 0 ;
5495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5497 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5499 wxComboBox
*result
= 0 ;
5504 bool temp3
= false ;
5507 bool temp6
= false ;
5512 bool temp9
= false ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 PyObject
* obj3
= 0 ;
5517 PyObject
* obj4
= 0 ;
5518 PyObject
* obj5
= 0 ;
5519 PyObject
* obj6
= 0 ;
5520 PyObject
* obj7
= 0 ;
5521 PyObject
* obj8
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5537 arg2
= static_cast< int >(val2
);
5541 arg3
= wxString_in_helper(obj2
);
5542 if (arg3
== NULL
) SWIG_fail
;
5549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5560 if (! PySequence_Check(obj5
)) {
5561 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5564 arg6
= new wxArrayString
;
5566 int i
, len
=PySequence_Length(obj5
);
5567 for (i
=0; i
<len
; i
++) {
5568 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5569 wxString
* s
= wxString_in_helper(item
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5579 if (!SWIG_IsOK(ecode7
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5582 arg7
= static_cast< long >(val7
);
5585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5586 if (!SWIG_IsOK(res8
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5596 arg9
= wxString_in_helper(obj8
);
5597 if (arg9
== NULL
) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5614 if (temp6
) delete arg6
;
5627 if (temp6
) delete arg6
;
5637 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxComboBox
*result
= 0 ;
5641 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxComboBox
*)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5656 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 int arg3
= (int) -1 ;
5661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5668 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5669 long arg8
= (long) 0 ;
5670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5672 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5681 bool temp4
= false ;
5684 bool temp7
= false ;
5689 bool temp10
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 PyObject
* obj2
= 0 ;
5693 PyObject
* obj3
= 0 ;
5694 PyObject
* obj4
= 0 ;
5695 PyObject
* obj5
= 0 ;
5696 PyObject
* obj6
= 0 ;
5697 PyObject
* obj7
= 0 ;
5698 PyObject
* obj8
= 0 ;
5699 PyObject
* obj9
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5709 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5717 if (!SWIG_IsOK(ecode3
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5720 arg3
= static_cast< int >(val3
);
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 if (! PySequence_Check(obj6
)) {
5744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5747 arg7
= new wxArrayString
;
5749 int i
, len
=PySequence_Length(obj6
);
5750 for (i
=0; i
<len
; i
++) {
5751 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5752 wxString
* s
= wxString_in_helper(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5761 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5762 if (!SWIG_IsOK(ecode8
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5765 arg8
= static_cast< long >(val8
);
5768 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5769 if (!SWIG_IsOK(res9
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5775 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5779 arg10
= wxString_in_helper(obj9
);
5780 if (arg10
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 if (temp7
) delete arg7
;
5811 if (temp7
) delete arg7
;
5821 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5822 PyObject
*resultobj
= 0;
5823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5835 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= ((wxComboBox
const *)arg1
)->GetValue();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5855 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= 0;
5857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5858 wxString
*arg2
= 0 ;
5861 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "value", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5873 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValue((wxString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "pos", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6000 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6005 arg2
= static_cast< long >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetInsertionPoint(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 PyObject
*swig_obj
[1] ;
6055 if (!args
) SWIG_fail
;
6057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6058 if (!SWIG_IsOK(res1
)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6061 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_From_long(static_cast< long >(result
));
6075 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 wxString
*arg4
= 0 ;
6087 bool temp4
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6101 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6106 arg2
= static_cast< long >(val2
);
6107 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6111 arg3
= static_cast< long >(val3
);
6113 arg4
= wxString_in_helper(obj3
);
6114 if (arg4
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= 0;
6140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6161 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6166 arg2
= static_cast< long >(val2
);
6167 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6171 arg3
= static_cast< long >(val3
);
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetSelection(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6191 PyObject
*swig_obj
[1] ;
6193 if (!args
) SWIG_fail
;
6195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6196 if (!SWIG_IsOK(res1
)) {
6197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6199 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_From_int(static_cast< int >(result
));
6213 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
= 0;
6215 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6216 wxString
*arg2
= 0 ;
6220 bool temp2
= false ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6223 char * kwnames
[] = {
6224 (char *) "self",(char *) "string", NULL
6227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6232 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6234 arg2
= wxString_in_helper(obj1
);
6235 if (arg2
== NULL
) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6261 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6263 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6265 wxString
*arg3
= 0 ;
6270 bool temp3
= false ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6273 PyObject
* obj2
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "n",(char *) "string", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6283 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6285 if (!SWIG_IsOK(ecode2
)) {
6286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6288 arg2
= static_cast< int >(val2
);
6290 arg3
= wxString_in_helper(obj2
);
6291 if (arg3
== NULL
) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_Py_Void();
6315 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
= 0;
6317 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 char * kwnames
[] = {
6326 (char *) "self",(char *) "editable", NULL
6329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6331 if (!SWIG_IsOK(res1
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6334 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6336 if (!SWIG_IsOK(ecode2
)) {
6337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6339 arg2
= static_cast< bool >(val2
);
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetEditable(arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_Py_Void();
6353 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6354 PyObject
*resultobj
= 0;
6355 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6358 PyObject
*swig_obj
[1] ;
6360 if (!args
) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6366 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->SetInsertionPointEnd();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
= 0;
6382 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 char * kwnames
[] = {
6395 (char *) "self",(char *) "from",(char *) "to", NULL
6398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6403 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6405 if (!SWIG_IsOK(ecode2
)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6408 arg2
= static_cast< long >(val2
);
6409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6410 if (!SWIG_IsOK(ecode3
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6413 arg3
= static_cast< long >(val3
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->Remove(arg2
,arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6433 PyObject
*swig_obj
[1] ;
6435 if (!args
) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6441 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6462 PyObject
*swig_obj
[1] ;
6464 if (!args
) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6470 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_Py_Void();
6484 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_Py_Void();
6511 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6524 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 (arg1
)->SelectAll();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_Py_Void();
6538 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6539 PyObject
*resultobj
= 0;
6540 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6544 PyObject
*swig_obj
[1] ;
6546 if (!args
) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6552 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 PyObject
*resultobj
= 0;
6570 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6574 PyObject
*swig_obj
[1] ;
6576 if (!args
) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6582 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6598 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6599 PyObject
*resultobj
= 0;
6600 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6604 PyObject
*swig_obj
[1] ;
6606 if (!args
) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6612 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6628 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6629 PyObject
*resultobj
= 0;
6630 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6634 PyObject
*swig_obj
[1] ;
6636 if (!args
) SWIG_fail
;
6638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6639 if (!SWIG_IsOK(res1
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6642 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6658 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6659 PyObject
*resultobj
= 0;
6660 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6664 PyObject
*swig_obj
[1] ;
6666 if (!args
) SWIG_fail
;
6668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6669 if (!SWIG_IsOK(res1
)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6672 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6688 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
= 0;
6690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6691 SwigValueWrapper
<wxVisualAttributes
> result
;
6694 PyObject
* obj0
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "variant", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6702 if (!SWIG_IsOK(ecode1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6705 arg1
= static_cast< wxWindowVariant
>(val1
);
6708 if (!wxPyCheckForApp()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6721 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6724 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6725 return SWIG_Py_Void();
6728 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6729 return SWIG_Python_InitShadowInstance(args
);
6732 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6733 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6738 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6739 PyObject
*pyobj
= 0;
6743 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6745 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6752 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
= 0;
6754 wxWindow
*arg1
= (wxWindow
*) 0 ;
6755 int arg2
= (int) -1 ;
6756 int arg3
= (int) 100 ;
6757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6761 long arg6
= (long) wxGA_HORIZONTAL
;
6762 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6763 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6764 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6766 wxGauge
*result
= 0 ;
6779 bool temp8
= false ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 PyObject
* obj2
= 0 ;
6783 PyObject
* obj3
= 0 ;
6784 PyObject
* obj4
= 0 ;
6785 PyObject
* obj5
= 0 ;
6786 PyObject
* obj6
= 0 ;
6787 PyObject
* obj7
= 0 ;
6788 char * kwnames
[] = {
6789 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6810 arg3
= static_cast< int >(val3
);
6815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6826 if (!SWIG_IsOK(ecode6
)) {
6827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6829 arg6
= static_cast< long >(val6
);
6832 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6833 if (!SWIG_IsOK(res7
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6839 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6843 arg8
= wxString_in_helper(obj7
);
6844 if (arg8
== NULL
) SWIG_fail
;
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6870 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6871 PyObject
*resultobj
= 0;
6872 wxGauge
*result
= 0 ;
6874 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (wxGauge
*)new wxGauge();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6889 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxGauge
*arg1
= (wxGauge
*) 0 ;
6892 wxWindow
*arg2
= (wxWindow
*) 0 ;
6893 int arg3
= (int) -1 ;
6894 int arg4
= (int) 100 ;
6895 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6896 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6897 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6898 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6899 long arg7
= (long) wxGA_HORIZONTAL
;
6900 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6901 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6902 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6903 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6919 bool temp9
= false ;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6922 PyObject
* obj2
= 0 ;
6923 PyObject
* obj3
= 0 ;
6924 PyObject
* obj4
= 0 ;
6925 PyObject
* obj5
= 0 ;
6926 PyObject
* obj6
= 0 ;
6927 PyObject
* obj7
= 0 ;
6928 PyObject
* obj8
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6938 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6940 if (!SWIG_IsOK(res2
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6946 if (!SWIG_IsOK(ecode3
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6949 arg3
= static_cast< int >(val3
);
6952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6953 if (!SWIG_IsOK(ecode4
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6956 arg4
= static_cast< int >(val4
);
6961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6971 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6972 if (!SWIG_IsOK(ecode7
)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6975 arg7
= static_cast< long >(val7
);
6978 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6979 if (!SWIG_IsOK(res8
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6989 arg9
= wxString_in_helper(obj8
);
6990 if (arg9
== NULL
) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7017 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxGauge
*arg1
= (wxGauge
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "self",(char *) "range", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7036 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7038 if (!SWIG_IsOK(ecode2
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7041 arg2
= static_cast< int >(val2
);
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetRange(arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7056 PyObject
*resultobj
= 0;
7057 wxGauge
*arg1
= (wxGauge
*) 0 ;
7061 PyObject
*swig_obj
[1] ;
7063 if (!args
) SWIG_fail
;
7065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7066 if (!SWIG_IsOK(res1
)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7069 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_From_int(static_cast< int >(result
));
7083 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxGauge
*arg1
= (wxGauge
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7093 char * kwnames
[] = {
7094 (char *) "self",(char *) "pos", NULL
7097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7099 if (!SWIG_IsOK(res1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7102 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7104 if (!SWIG_IsOK(ecode2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7107 arg2
= static_cast< int >(val2
);
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetValue(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 PyObject
*resultobj
= 0;
7123 wxGauge
*arg1
= (wxGauge
*) 0 ;
7127 PyObject
*swig_obj
[1] ;
7129 if (!args
) SWIG_fail
;
7131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7132 if (!SWIG_IsOK(res1
)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7135 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_From_int(static_cast< int >(result
));
7149 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 PyObject
*resultobj
= 0;
7151 wxGauge
*arg1
= (wxGauge
*) 0 ;
7155 PyObject
*swig_obj
[1] ;
7157 if (!args
) SWIG_fail
;
7159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7160 if (!SWIG_IsOK(res1
)) {
7161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7163 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7179 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
= 0;
7181 wxGauge
*arg1
= (wxGauge
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7189 char * kwnames
[] = {
7190 (char *) "self",(char *) "w", NULL
7193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7195 if (!SWIG_IsOK(res1
)) {
7196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7198 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7200 if (!SWIG_IsOK(ecode2
)) {
7201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7203 arg2
= static_cast< int >(val2
);
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 (arg1
)->SetShadowWidth(arg2
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_Py_Void();
7217 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7218 PyObject
*resultobj
= 0;
7219 wxGauge
*arg1
= (wxGauge
*) 0 ;
7223 PyObject
*swig_obj
[1] ;
7225 if (!args
) SWIG_fail
;
7227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7228 if (!SWIG_IsOK(res1
)) {
7229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7231 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_From_int(static_cast< int >(result
));
7245 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
= 0;
7247 wxGauge
*arg1
= (wxGauge
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7254 PyObject
* obj1
= 0 ;
7255 char * kwnames
[] = {
7256 (char *) "self",(char *) "w", NULL
7259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7261 if (!SWIG_IsOK(res1
)) {
7262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7264 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7266 if (!SWIG_IsOK(ecode2
)) {
7267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7269 arg2
= static_cast< int >(val2
);
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 (arg1
)->SetBezelFace(arg2
);
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 resultobj
= SWIG_Py_Void();
7283 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7284 PyObject
*resultobj
= 0;
7285 wxGauge
*arg1
= (wxGauge
*) 0 ;
7289 PyObject
*swig_obj
[1] ;
7291 if (!args
) SWIG_fail
;
7293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7294 if (!SWIG_IsOK(res1
)) {
7295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7297 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_From_int(static_cast< int >(result
));
7311 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
= 0;
7313 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7314 SwigValueWrapper
<wxVisualAttributes
> result
;
7317 PyObject
* obj0
= 0 ;
7318 char * kwnames
[] = {
7319 (char *) "variant", NULL
7322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7324 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7325 if (!SWIG_IsOK(ecode1
)) {
7326 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7328 arg1
= static_cast< wxWindowVariant
>(val1
);
7331 if (!wxPyCheckForApp()) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7344 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7347 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7348 return SWIG_Py_Void();
7351 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 return SWIG_Python_InitShadowInstance(args
);
7355 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7356 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7361 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7362 PyObject
*pyobj
= 0;
7366 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7368 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7375 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7376 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7381 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7382 PyObject
*pyobj
= 0;
7386 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7388 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7395 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7396 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7401 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7402 PyObject
*pyobj
= 0;
7406 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7408 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7415 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
= 0;
7417 wxWindow
*arg1
= (wxWindow
*) 0 ;
7418 int arg2
= (int) -1 ;
7419 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7420 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7421 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7422 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7423 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7424 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7425 long arg6
= (long) 0 ;
7426 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7427 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7428 wxStaticBox
*result
= 0 ;
7433 bool temp3
= false ;
7438 bool temp7
= false ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7441 PyObject
* obj2
= 0 ;
7442 PyObject
* obj3
= 0 ;
7443 PyObject
* obj4
= 0 ;
7444 PyObject
* obj5
= 0 ;
7445 PyObject
* obj6
= 0 ;
7446 char * kwnames
[] = {
7447 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7452 if (!SWIG_IsOK(res1
)) {
7453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7458 if (!SWIG_IsOK(ecode2
)) {
7459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7461 arg2
= static_cast< int >(val2
);
7465 arg3
= wxString_in_helper(obj2
);
7466 if (arg3
== NULL
) SWIG_fail
;
7473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7483 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7484 if (!SWIG_IsOK(ecode6
)) {
7485 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7487 arg6
= static_cast< long >(val6
);
7491 arg7
= wxString_in_helper(obj6
);
7492 if (arg7
== NULL
) SWIG_fail
;
7497 if (!wxPyCheckForApp()) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7526 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7527 PyObject
*resultobj
= 0;
7528 wxStaticBox
*result
= 0 ;
7530 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7532 if (!wxPyCheckForApp()) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (wxStaticBox
*)new wxStaticBox();
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7545 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
= 0;
7547 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7548 wxWindow
*arg2
= (wxWindow
*) 0 ;
7549 int arg3
= (int) -1 ;
7550 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7551 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7552 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7553 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7554 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7555 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7556 long arg7
= (long) 0 ;
7557 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7558 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7566 bool temp4
= false ;
7571 bool temp8
= false ;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7574 PyObject
* obj2
= 0 ;
7575 PyObject
* obj3
= 0 ;
7576 PyObject
* obj4
= 0 ;
7577 PyObject
* obj5
= 0 ;
7578 PyObject
* obj6
= 0 ;
7579 PyObject
* obj7
= 0 ;
7580 char * kwnames
[] = {
7581 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7586 if (!SWIG_IsOK(res1
)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7589 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7591 if (!SWIG_IsOK(res2
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7594 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7597 if (!SWIG_IsOK(ecode3
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7600 arg3
= static_cast< int >(val3
);
7604 arg4
= wxString_in_helper(obj3
);
7605 if (arg4
== NULL
) SWIG_fail
;
7612 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7618 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7622 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7623 if (!SWIG_IsOK(ecode7
)) {
7624 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7626 arg7
= static_cast< long >(val7
);
7630 arg8
= wxString_in_helper(obj7
);
7631 if (arg8
== NULL
) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7666 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
= 0;
7668 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7669 SwigValueWrapper
<wxVisualAttributes
> result
;
7672 PyObject
* obj0
= 0 ;
7673 char * kwnames
[] = {
7674 (char *) "variant", NULL
7677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7679 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7680 if (!SWIG_IsOK(ecode1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7683 arg1
= static_cast< wxWindowVariant
>(val1
);
7686 if (!wxPyCheckForApp()) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7699 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7702 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7703 return SWIG_Py_Void();
7706 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7707 return SWIG_Python_InitShadowInstance(args
);
7710 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
= 0;
7712 wxWindow
*arg1
= (wxWindow
*) 0 ;
7713 int arg2
= (int) -1 ;
7714 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7715 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7716 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7717 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7718 long arg5
= (long) wxLI_HORIZONTAL
;
7719 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7720 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7721 wxStaticLine
*result
= 0 ;
7730 bool temp6
= false ;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj1
= 0 ;
7733 PyObject
* obj2
= 0 ;
7734 PyObject
* obj3
= 0 ;
7735 PyObject
* obj4
= 0 ;
7736 PyObject
* obj5
= 0 ;
7737 char * kwnames
[] = {
7738 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7743 if (!SWIG_IsOK(res1
)) {
7744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7746 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7749 if (!SWIG_IsOK(ecode2
)) {
7750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7752 arg2
= static_cast< int >(val2
);
7757 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7763 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7767 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7768 if (!SWIG_IsOK(ecode5
)) {
7769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7771 arg5
= static_cast< long >(val5
);
7775 arg6
= wxString_in_helper(obj5
);
7776 if (arg6
== NULL
) SWIG_fail
;
7781 if (!wxPyCheckForApp()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7802 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7803 PyObject
*resultobj
= 0;
7804 wxStaticLine
*result
= 0 ;
7806 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7808 if (!wxPyCheckForApp()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (wxStaticLine
*)new wxStaticLine();
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7821 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
= 0;
7823 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7824 wxWindow
*arg2
= (wxWindow
*) 0 ;
7825 int arg3
= (int) -1 ;
7826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7830 long arg6
= (long) wxLI_HORIZONTAL
;
7831 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7832 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7844 bool temp7
= false ;
7845 PyObject
* obj0
= 0 ;
7846 PyObject
* obj1
= 0 ;
7847 PyObject
* obj2
= 0 ;
7848 PyObject
* obj3
= 0 ;
7849 PyObject
* obj4
= 0 ;
7850 PyObject
* obj5
= 0 ;
7851 PyObject
* obj6
= 0 ;
7852 char * kwnames
[] = {
7853 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7858 if (!SWIG_IsOK(res1
)) {
7859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7861 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7862 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7863 if (!SWIG_IsOK(res2
)) {
7864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7866 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7869 if (!SWIG_IsOK(ecode3
)) {
7870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7872 arg3
= static_cast< int >(val3
);
7877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7887 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7888 if (!SWIG_IsOK(ecode6
)) {
7889 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7891 arg6
= static_cast< long >(val6
);
7895 arg7
= wxString_in_helper(obj6
);
7896 if (arg7
== NULL
) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7923 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7924 PyObject
*resultobj
= 0;
7925 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7929 PyObject
*swig_obj
[1] ;
7931 if (!args
) SWIG_fail
;
7933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7934 if (!SWIG_IsOK(res1
)) {
7935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7937 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7953 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7954 PyObject
*resultobj
= 0;
7957 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (int)wxStaticLine::GetDefaultSize();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= SWIG_From_int(static_cast< int >(result
));
7971 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
= 0;
7973 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7974 SwigValueWrapper
<wxVisualAttributes
> result
;
7977 PyObject
* obj0
= 0 ;
7978 char * kwnames
[] = {
7979 (char *) "variant", NULL
7982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7984 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7985 if (!SWIG_IsOK(ecode1
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7988 arg1
= static_cast< wxWindowVariant
>(val1
);
7991 if (!wxPyCheckForApp()) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8004 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8007 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8008 return SWIG_Py_Void();
8011 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8012 return SWIG_Python_InitShadowInstance(args
);
8015 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
= 0;
8017 wxWindow
*arg1
= (wxWindow
*) 0 ;
8018 int arg2
= (int) -1 ;
8019 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8020 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8021 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8022 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8023 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8024 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8025 long arg6
= (long) 0 ;
8026 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8027 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8028 wxStaticText
*result
= 0 ;
8033 bool temp3
= false ;
8038 bool temp7
= false ;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8041 PyObject
* obj2
= 0 ;
8042 PyObject
* obj3
= 0 ;
8043 PyObject
* obj4
= 0 ;
8044 PyObject
* obj5
= 0 ;
8045 PyObject
* obj6
= 0 ;
8046 char * kwnames
[] = {
8047 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8052 if (!SWIG_IsOK(res1
)) {
8053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8055 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8058 if (!SWIG_IsOK(ecode2
)) {
8059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8061 arg2
= static_cast< int >(val2
);
8065 arg3
= wxString_in_helper(obj2
);
8066 if (arg3
== NULL
) SWIG_fail
;
8073 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8079 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8083 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8084 if (!SWIG_IsOK(ecode6
)) {
8085 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8087 arg6
= static_cast< long >(val6
);
8091 arg7
= wxString_in_helper(obj6
);
8092 if (arg7
== NULL
) SWIG_fail
;
8097 if (!wxPyCheckForApp()) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8126 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8127 PyObject
*resultobj
= 0;
8128 wxStaticText
*result
= 0 ;
8130 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8132 if (!wxPyCheckForApp()) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (wxStaticText
*)new wxStaticText();
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8145 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
= 0;
8147 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8148 wxWindow
*arg2
= (wxWindow
*) 0 ;
8149 int arg3
= (int) -1 ;
8150 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8151 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8152 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8153 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8154 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8155 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8156 long arg7
= (long) 0 ;
8157 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8158 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8166 bool temp4
= false ;
8171 bool temp8
= false ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8174 PyObject
* obj2
= 0 ;
8175 PyObject
* obj3
= 0 ;
8176 PyObject
* obj4
= 0 ;
8177 PyObject
* obj5
= 0 ;
8178 PyObject
* obj6
= 0 ;
8179 PyObject
* obj7
= 0 ;
8180 char * kwnames
[] = {
8181 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8186 if (!SWIG_IsOK(res1
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8189 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8191 if (!SWIG_IsOK(res2
)) {
8192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8194 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8197 if (!SWIG_IsOK(ecode3
)) {
8198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8200 arg3
= static_cast< int >(val3
);
8204 arg4
= wxString_in_helper(obj3
);
8205 if (arg4
== NULL
) SWIG_fail
;
8212 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8218 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8222 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8223 if (!SWIG_IsOK(ecode7
)) {
8224 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8226 arg7
= static_cast< long >(val7
);
8230 arg8
= wxString_in_helper(obj7
);
8231 if (arg8
== NULL
) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8266 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
= 0;
8268 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8274 PyObject
* obj0
= 0 ;
8275 PyObject
* obj1
= 0 ;
8276 char * kwnames
[] = {
8277 (char *) "self",(char *) "width", NULL
8280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8282 if (!SWIG_IsOK(res1
)) {
8283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8285 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8287 if (!SWIG_IsOK(ecode2
)) {
8288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8290 arg2
= static_cast< int >(val2
);
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= SWIG_Py_Void();
8304 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
= 0;
8306 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8307 SwigValueWrapper
<wxVisualAttributes
> result
;
8310 PyObject
* obj0
= 0 ;
8311 char * kwnames
[] = {
8312 (char *) "variant", NULL
8315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8317 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8318 if (!SWIG_IsOK(ecode1
)) {
8319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8321 arg1
= static_cast< wxWindowVariant
>(val1
);
8324 if (!wxPyCheckForApp()) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8337 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8340 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8341 return SWIG_Py_Void();
8344 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8345 return SWIG_Python_InitShadowInstance(args
);
8348 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
= 0;
8350 wxWindow
*arg1
= (wxWindow
*) 0 ;
8351 int arg2
= (int) -1 ;
8352 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8353 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8358 long arg6
= (long) 0 ;
8359 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8361 wxStaticBitmap
*result
= 0 ;
8372 bool temp7
= false ;
8373 PyObject
* obj0
= 0 ;
8374 PyObject
* obj1
= 0 ;
8375 PyObject
* obj2
= 0 ;
8376 PyObject
* obj3
= 0 ;
8377 PyObject
* obj4
= 0 ;
8378 PyObject
* obj5
= 0 ;
8379 PyObject
* obj6
= 0 ;
8380 char * kwnames
[] = {
8381 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8386 if (!SWIG_IsOK(res1
)) {
8387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8389 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8392 if (!SWIG_IsOK(ecode2
)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8395 arg2
= static_cast< int >(val2
);
8398 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8399 if (!SWIG_IsOK(res3
)) {
8400 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8405 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8420 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8421 if (!SWIG_IsOK(ecode6
)) {
8422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8424 arg6
= static_cast< long >(val6
);
8428 arg7
= wxString_in_helper(obj6
);
8429 if (arg7
== NULL
) SWIG_fail
;
8434 if (!wxPyCheckForApp()) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8455 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8456 PyObject
*resultobj
= 0;
8457 wxStaticBitmap
*result
= 0 ;
8459 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8461 if (!wxPyCheckForApp()) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8474 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
= 0;
8476 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8477 wxWindow
*arg2
= (wxWindow
*) 0 ;
8478 int arg3
= (int) -1 ;
8479 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8480 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8481 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8482 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8483 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8484 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8485 long arg7
= (long) 0 ;
8486 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8487 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8501 bool temp8
= false ;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8504 PyObject
* obj2
= 0 ;
8505 PyObject
* obj3
= 0 ;
8506 PyObject
* obj4
= 0 ;
8507 PyObject
* obj5
= 0 ;
8508 PyObject
* obj6
= 0 ;
8509 PyObject
* obj7
= 0 ;
8510 char * kwnames
[] = {
8511 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8516 if (!SWIG_IsOK(res1
)) {
8517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8519 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8521 if (!SWIG_IsOK(res2
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8524 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8527 if (!SWIG_IsOK(ecode3
)) {
8528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8530 arg3
= static_cast< int >(val3
);
8533 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8534 if (!SWIG_IsOK(res4
)) {
8535 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8540 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8545 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8551 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8555 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8556 if (!SWIG_IsOK(ecode7
)) {
8557 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8559 arg7
= static_cast< long >(val7
);
8563 arg8
= wxString_in_helper(obj7
);
8564 if (arg8
== NULL
) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8591 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8592 PyObject
*resultobj
= 0;
8593 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8597 PyObject
*swig_obj
[1] ;
8599 if (!args
) SWIG_fail
;
8601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8602 if (!SWIG_IsOK(res1
)) {
8603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8605 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (arg1
)->GetBitmap();
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8619 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
= 0;
8621 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8622 wxBitmap
*arg2
= 0 ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 char * kwnames
[] = {
8630 (char *) "self",(char *) "bitmap", NULL
8633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8635 if (!SWIG_IsOK(res1
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8638 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8640 if (!SWIG_IsOK(res2
)) {
8641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8646 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= SWIG_Py_Void();
8660 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
= 0;
8662 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8670 char * kwnames
[] = {
8671 (char *) "self",(char *) "icon", NULL
8674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8676 if (!SWIG_IsOK(res1
)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8679 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8681 if (!SWIG_IsOK(res2
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8687 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_Py_Void();
8701 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
= 0;
8703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8704 SwigValueWrapper
<wxVisualAttributes
> result
;
8707 PyObject
* obj0
= 0 ;
8708 char * kwnames
[] = {
8709 (char *) "variant", NULL
8712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8715 if (!SWIG_IsOK(ecode1
)) {
8716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8718 arg1
= static_cast< wxWindowVariant
>(val1
);
8721 if (!wxPyCheckForApp()) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8734 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8737 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8738 return SWIG_Py_Void();
8741 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8742 return SWIG_Python_InitShadowInstance(args
);
8745 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8746 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8751 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8752 PyObject
*pyobj
= 0;
8756 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8758 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8765 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
= 0;
8767 wxWindow
*arg1
= (wxWindow
*) 0 ;
8768 int arg2
= (int) -1 ;
8769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8771 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8772 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8773 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8774 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8775 long arg6
= (long) 0 ;
8776 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8777 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8778 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8779 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8780 wxListBox
*result
= 0 ;
8787 bool temp5
= false ;
8792 bool temp8
= false ;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj2
= 0 ;
8796 PyObject
* obj3
= 0 ;
8797 PyObject
* obj4
= 0 ;
8798 PyObject
* obj5
= 0 ;
8799 PyObject
* obj6
= 0 ;
8800 PyObject
* obj7
= 0 ;
8801 char * kwnames
[] = {
8802 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8807 if (!SWIG_IsOK(res1
)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8810 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8813 if (!SWIG_IsOK(ecode2
)) {
8814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8816 arg2
= static_cast< int >(val2
);
8821 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8827 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8832 if (! PySequence_Check(obj4
)) {
8833 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8836 arg5
= new wxArrayString
;
8838 int i
, len
=PySequence_Length(obj4
);
8839 for (i
=0; i
<len
; i
++) {
8840 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8841 wxString
* s
= wxString_in_helper(item
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8850 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8851 if (!SWIG_IsOK(ecode6
)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8854 arg6
= static_cast< long >(val6
);
8857 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8858 if (!SWIG_IsOK(res7
)) {
8859 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8864 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8868 arg8
= wxString_in_helper(obj7
);
8869 if (arg8
== NULL
) SWIG_fail
;
8874 if (!wxPyCheckForApp()) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8882 if (temp5
) delete arg5
;
8891 if (temp5
) delete arg5
;
8901 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8902 PyObject
*resultobj
= 0;
8903 wxListBox
*result
= 0 ;
8905 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8907 if (!wxPyCheckForApp()) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (wxListBox
*)new wxListBox();
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8920 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
= 0;
8922 wxListBox
*arg1
= (wxListBox
*) 0 ;
8923 wxWindow
*arg2
= (wxWindow
*) 0 ;
8924 int arg3
= (int) -1 ;
8925 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8926 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8927 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8928 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8929 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8930 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8931 long arg7
= (long) 0 ;
8932 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8933 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8934 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8935 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8945 bool temp6
= false ;
8950 bool temp9
= false ;
8951 PyObject
* obj0
= 0 ;
8952 PyObject
* obj1
= 0 ;
8953 PyObject
* obj2
= 0 ;
8954 PyObject
* obj3
= 0 ;
8955 PyObject
* obj4
= 0 ;
8956 PyObject
* obj5
= 0 ;
8957 PyObject
* obj6
= 0 ;
8958 PyObject
* obj7
= 0 ;
8959 PyObject
* obj8
= 0 ;
8960 char * kwnames
[] = {
8961 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8966 if (!SWIG_IsOK(res1
)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8969 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8971 if (!SWIG_IsOK(res2
)) {
8972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8974 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8977 if (!SWIG_IsOK(ecode3
)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8980 arg3
= static_cast< int >(val3
);
8985 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8991 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8996 if (! PySequence_Check(obj5
)) {
8997 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9000 arg6
= new wxArrayString
;
9002 int i
, len
=PySequence_Length(obj5
);
9003 for (i
=0; i
<len
; i
++) {
9004 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9005 wxString
* s
= wxString_in_helper(item
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9014 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9015 if (!SWIG_IsOK(ecode7
)) {
9016 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9018 arg7
= static_cast< long >(val7
);
9021 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9022 if (!SWIG_IsOK(res8
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9028 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9032 arg9
= wxString_in_helper(obj8
);
9033 if (arg9
== NULL
) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9047 if (temp6
) delete arg6
;
9056 if (temp6
) delete arg6
;
9066 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
= 0;
9068 wxListBox
*arg1
= (wxListBox
*) 0 ;
9069 wxString
*arg2
= 0 ;
9071 PyObject
*arg4
= (PyObject
*) NULL
;
9074 bool temp2
= false ;
9077 PyObject
* obj0
= 0 ;
9078 PyObject
* obj1
= 0 ;
9079 PyObject
* obj2
= 0 ;
9080 PyObject
* obj3
= 0 ;
9081 char * kwnames
[] = {
9082 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9087 if (!SWIG_IsOK(res1
)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9090 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9092 arg2
= wxString_in_helper(obj1
);
9093 if (arg2
== NULL
) SWIG_fail
;
9096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9097 if (!SWIG_IsOK(ecode3
)) {
9098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9100 arg3
= static_cast< int >(val3
);
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= SWIG_Py_Void();
9125 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
= 0;
9127 wxListBox
*arg1
= (wxListBox
*) 0 ;
9128 wxArrayString
*arg2
= 0 ;
9132 bool temp2
= false ;
9135 PyObject
* obj0
= 0 ;
9136 PyObject
* obj1
= 0 ;
9137 PyObject
* obj2
= 0 ;
9138 char * kwnames
[] = {
9139 (char *) "self",(char *) "items",(char *) "pos", NULL
9142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9144 if (!SWIG_IsOK(res1
)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9147 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9149 if (! PySequence_Check(obj1
)) {
9150 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9153 arg2
= new wxArrayString
;
9155 int i
, len
=PySequence_Length(obj1
);
9156 for (i
=0; i
<len
; i
++) {
9157 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9158 wxString
* s
= wxString_in_helper(item
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9165 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9166 if (!SWIG_IsOK(ecode3
)) {
9167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9169 arg3
= static_cast< unsigned int >(val3
);
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_Py_Void();
9178 if (temp2
) delete arg2
;
9183 if (temp2
) delete arg2
;
9189 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
= 0;
9191 wxListBox
*arg1
= (wxListBox
*) 0 ;
9192 wxArrayString
*arg2
= 0 ;
9195 bool temp2
= false ;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 char * kwnames
[] = {
9199 (char *) "self",(char *) "items", NULL
9202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9204 if (!SWIG_IsOK(res1
)) {
9205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9207 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9209 if (! PySequence_Check(obj1
)) {
9210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9213 arg2
= new wxArrayString
;
9215 int i
, len
=PySequence_Length(obj1
);
9216 for (i
=0; i
<len
; i
++) {
9217 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9218 wxString
* s
= wxString_in_helper(item
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 (arg1
)->Set((wxArrayString
const &)*arg2
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= SWIG_Py_Void();
9233 if (temp2
) delete arg2
;
9238 if (temp2
) delete arg2
;
9244 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
= 0;
9246 wxListBox
*arg1
= (wxListBox
*) 0 ;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9255 char * kwnames
[] = {
9256 (char *) "self",(char *) "n", NULL
9259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9261 if (!SWIG_IsOK(res1
)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9264 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9266 if (!SWIG_IsOK(ecode2
)) {
9267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9269 arg2
= static_cast< int >(val2
);
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9285 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
= 0;
9287 wxListBox
*arg1
= (wxListBox
*) 0 ;
9289 bool arg3
= (bool) true ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 PyObject
* obj2
= 0 ;
9299 char * kwnames
[] = {
9300 (char *) "self",(char *) "n",(char *) "select", NULL
9303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9305 if (!SWIG_IsOK(res1
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9308 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9310 if (!SWIG_IsOK(ecode2
)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9313 arg2
= static_cast< int >(val2
);
9315 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9316 if (!SWIG_IsOK(ecode3
)) {
9317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9319 arg3
= static_cast< bool >(val3
);
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 (arg1
)->SetSelection(arg2
,arg3
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_Py_Void();
9334 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
= 0;
9336 wxListBox
*arg1
= (wxListBox
*) 0 ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 char * kwnames
[] = {
9345 (char *) "self",(char *) "n", NULL
9348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9350 if (!SWIG_IsOK(res1
)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9353 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9355 if (!SWIG_IsOK(ecode2
)) {
9356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9358 arg2
= static_cast< int >(val2
);
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 (arg1
)->Select(arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_Py_Void();
9372 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
= 0;
9374 wxListBox
*arg1
= (wxListBox
*) 0 ;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9382 char * kwnames
[] = {
9383 (char *) "self",(char *) "n", NULL
9386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9391 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9393 if (!SWIG_IsOK(ecode2
)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9396 arg2
= static_cast< int >(val2
);
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 (arg1
)->Deselect(arg2
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_Py_Void();
9410 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
= 0;
9412 wxListBox
*arg1
= (wxListBox
*) 0 ;
9413 int arg2
= (int) -1 ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 char * kwnames
[] = {
9421 (char *) "self",(char *) "itemToLeaveSelected", NULL
9424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9426 if (!SWIG_IsOK(res1
)) {
9427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9429 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9432 if (!SWIG_IsOK(ecode2
)) {
9433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9435 arg2
= static_cast< int >(val2
);
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 (arg1
)->DeselectAll(arg2
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_Py_Void();
9450 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
= 0;
9452 wxListBox
*arg1
= (wxListBox
*) 0 ;
9453 wxString
*arg2
= 0 ;
9454 bool arg3
= (bool) true ;
9458 bool temp2
= false ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 PyObject
* obj2
= 0 ;
9464 char * kwnames
[] = {
9465 (char *) "self",(char *) "s",(char *) "select", NULL
9468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9470 if (!SWIG_IsOK(res1
)) {
9471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9473 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9475 arg2
= wxString_in_helper(obj1
);
9476 if (arg2
== NULL
) SWIG_fail
;
9480 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9481 if (!SWIG_IsOK(ecode3
)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9484 arg3
= static_cast< bool >(val3
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9509 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9510 PyObject
*resultobj
= 0;
9511 wxListBox
*arg1
= (wxListBox
*) 0 ;
9512 PyObject
*result
= 0 ;
9515 PyObject
*swig_obj
[1] ;
9517 if (!args
) SWIG_fail
;
9519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9520 if (!SWIG_IsOK(res1
)) {
9521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9523 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9537 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
= 0;
9539 wxListBox
*arg1
= (wxListBox
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 char * kwnames
[] = {
9548 (char *) "self",(char *) "n", NULL
9551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9553 if (!SWIG_IsOK(res1
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9556 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9558 if (!SWIG_IsOK(ecode2
)) {
9559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9561 arg2
= static_cast< int >(val2
);
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 (arg1
)->SetFirstItem(arg2
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= SWIG_Py_Void();
9575 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
= 0;
9577 wxListBox
*arg1
= (wxListBox
*) 0 ;
9578 wxString
*arg2
= 0 ;
9581 bool temp2
= false ;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9584 char * kwnames
[] = {
9585 (char *) "self",(char *) "s", NULL
9588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9590 if (!SWIG_IsOK(res1
)) {
9591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9593 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9595 arg2
= wxString_in_helper(obj1
);
9596 if (arg2
== NULL
) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= SWIG_Py_Void();
9620 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
= 0;
9622 wxListBox
*arg1
= (wxListBox
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 char * kwnames
[] = {
9631 (char *) "self",(char *) "n", NULL
9634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9639 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9641 if (!SWIG_IsOK(ecode2
)) {
9642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9644 arg2
= static_cast< int >(val2
);
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 (arg1
)->EnsureVisible(arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= SWIG_Py_Void();
9658 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
= 0;
9660 wxListBox
*arg1
= (wxListBox
*) 0 ;
9661 wxString
*arg2
= 0 ;
9664 bool temp2
= false ;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9667 char * kwnames
[] = {
9668 (char *) "self",(char *) "s", NULL
9671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9673 if (!SWIG_IsOK(res1
)) {
9674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9676 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9678 arg2
= wxString_in_helper(obj1
);
9679 if (arg2
== NULL
) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_Py_Void();
9703 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9704 PyObject
*resultobj
= 0;
9705 wxListBox
*arg1
= (wxListBox
*) 0 ;
9709 PyObject
*swig_obj
[1] ;
9711 if (!args
) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9717 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9733 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
= 0;
9735 wxListBox
*arg1
= (wxListBox
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9742 PyObject
* obj1
= 0 ;
9743 char * kwnames
[] = {
9744 (char *) "self",(char *) "pt", NULL
9747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9749 if (!SWIG_IsOK(res1
)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9752 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9755 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_From_int(static_cast< int >(result
));
9770 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
= 0;
9772 wxListBox
*arg1
= (wxListBox
*) 0 ;
9774 wxColour
*arg3
= 0 ;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj1
= 0 ;
9782 PyObject
* obj2
= 0 ;
9783 char * kwnames
[] = {
9784 (char *) "self",(char *) "item",(char *) "c", NULL
9787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9792 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9794 if (!SWIG_IsOK(ecode2
)) {
9795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9797 arg2
= static_cast< int >(val2
);
9800 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_Py_Void();
9815 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
= 0;
9817 wxListBox
*arg1
= (wxListBox
*) 0 ;
9819 wxColour
*arg3
= 0 ;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9827 PyObject
* obj2
= 0 ;
9828 char * kwnames
[] = {
9829 (char *) "self",(char *) "item",(char *) "c", NULL
9832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9834 if (!SWIG_IsOK(res1
)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9837 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9839 if (!SWIG_IsOK(ecode2
)) {
9840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9842 arg2
= static_cast< int >(val2
);
9845 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_Py_Void();
9860 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9862 wxListBox
*arg1
= (wxListBox
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9873 PyObject
* obj2
= 0 ;
9874 char * kwnames
[] = {
9875 (char *) "self",(char *) "item",(char *) "f", NULL
9878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9880 if (!SWIG_IsOK(res1
)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9883 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9885 if (!SWIG_IsOK(ecode2
)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9888 arg2
= static_cast< int >(val2
);
9889 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9890 if (!SWIG_IsOK(res3
)) {
9891 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9896 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_Py_Void();
9910 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
= 0;
9912 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9913 SwigValueWrapper
<wxVisualAttributes
> result
;
9916 PyObject
* obj0
= 0 ;
9917 char * kwnames
[] = {
9918 (char *) "variant", NULL
9921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9923 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9924 if (!SWIG_IsOK(ecode1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9927 arg1
= static_cast< wxWindowVariant
>(val1
);
9930 if (!wxPyCheckForApp()) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9943 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9946 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9947 return SWIG_Py_Void();
9950 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9951 return SWIG_Python_InitShadowInstance(args
);
9954 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
= 0;
9956 wxWindow
*arg1
= (wxWindow
*) 0 ;
9957 int arg2
= (int) -1 ;
9958 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9959 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9960 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9961 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9962 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9963 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9964 long arg6
= (long) 0 ;
9965 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9966 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9967 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9968 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9969 wxCheckListBox
*result
= 0 ;
9976 bool temp5
= false ;
9981 bool temp8
= false ;
9982 PyObject
* obj0
= 0 ;
9983 PyObject
* obj1
= 0 ;
9984 PyObject
* obj2
= 0 ;
9985 PyObject
* obj3
= 0 ;
9986 PyObject
* obj4
= 0 ;
9987 PyObject
* obj5
= 0 ;
9988 PyObject
* obj6
= 0 ;
9989 PyObject
* obj7
= 0 ;
9990 char * kwnames
[] = {
9991 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9996 if (!SWIG_IsOK(res1
)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9999 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10002 if (!SWIG_IsOK(ecode2
)) {
10003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10005 arg2
= static_cast< int >(val2
);
10010 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10016 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10021 if (! PySequence_Check(obj4
)) {
10022 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10025 arg5
= new wxArrayString
;
10027 int i
, len
=PySequence_Length(obj4
);
10028 for (i
=0; i
<len
; i
++) {
10029 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10030 wxString
* s
= wxString_in_helper(item
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10039 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10040 if (!SWIG_IsOK(ecode6
)) {
10041 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10043 arg6
= static_cast< long >(val6
);
10046 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10047 if (!SWIG_IsOK(res7
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10053 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10057 arg8
= wxString_in_helper(obj7
);
10058 if (arg8
== NULL
) SWIG_fail
;
10063 if (!wxPyCheckForApp()) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10071 if (temp5
) delete arg5
;
10080 if (temp5
) delete arg5
;
10090 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10091 PyObject
*resultobj
= 0;
10092 wxCheckListBox
*result
= 0 ;
10094 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10096 if (!wxPyCheckForApp()) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (wxCheckListBox
*)new wxCheckListBox();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10109 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
= 0;
10111 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10112 wxWindow
*arg2
= (wxWindow
*) 0 ;
10113 int arg3
= (int) -1 ;
10114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10118 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10119 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10120 long arg7
= (long) 0 ;
10121 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10122 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10123 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10124 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10134 bool temp6
= false ;
10139 bool temp9
= false ;
10140 PyObject
* obj0
= 0 ;
10141 PyObject
* obj1
= 0 ;
10142 PyObject
* obj2
= 0 ;
10143 PyObject
* obj3
= 0 ;
10144 PyObject
* obj4
= 0 ;
10145 PyObject
* obj5
= 0 ;
10146 PyObject
* obj6
= 0 ;
10147 PyObject
* obj7
= 0 ;
10148 PyObject
* obj8
= 0 ;
10149 char * kwnames
[] = {
10150 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10158 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10160 if (!SWIG_IsOK(res2
)) {
10161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10163 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10166 if (!SWIG_IsOK(ecode3
)) {
10167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10169 arg3
= static_cast< int >(val3
);
10174 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10180 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10185 if (! PySequence_Check(obj5
)) {
10186 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10189 arg6
= new wxArrayString
;
10191 int i
, len
=PySequence_Length(obj5
);
10192 for (i
=0; i
<len
; i
++) {
10193 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10194 wxString
* s
= wxString_in_helper(item
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10203 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10204 if (!SWIG_IsOK(ecode7
)) {
10205 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10207 arg7
= static_cast< long >(val7
);
10210 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10211 if (!SWIG_IsOK(res8
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10217 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10221 arg9
= wxString_in_helper(obj8
);
10222 if (arg9
== NULL
) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10236 if (temp6
) delete arg6
;
10245 if (temp6
) delete arg6
;
10255 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
= 0;
10257 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10258 unsigned int arg2
;
10262 unsigned int val2
;
10264 PyObject
* obj0
= 0 ;
10265 PyObject
* obj1
= 0 ;
10266 char * kwnames
[] = {
10267 (char *) "self",(char *) "index", NULL
10270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10272 if (!SWIG_IsOK(res1
)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10275 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10276 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10277 if (!SWIG_IsOK(ecode2
)) {
10278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10280 arg2
= static_cast< unsigned int >(val2
);
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (bool)(arg1
)->IsChecked(arg2
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10296 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
= 0;
10298 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10299 unsigned int arg2
;
10300 int arg3
= (int) true ;
10303 unsigned int val2
;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 PyObject
* obj2
= 0 ;
10310 char * kwnames
[] = {
10311 (char *) "self",(char *) "index",(char *) "check", NULL
10314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10316 if (!SWIG_IsOK(res1
)) {
10317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10319 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10320 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10321 if (!SWIG_IsOK(ecode2
)) {
10322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10324 arg2
= static_cast< unsigned int >(val2
);
10326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10327 if (!SWIG_IsOK(ecode3
)) {
10328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10330 arg3
= static_cast< int >(val3
);
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 (arg1
)->Check(arg2
,arg3
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_Py_Void();
10345 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10348 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10349 return SWIG_Py_Void();
10352 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10353 return SWIG_Python_InitShadowInstance(args
);
10356 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10357 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10362 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10363 PyObject
*pyobj
= 0;
10367 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10369 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10376 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
= 0;
10378 wxColour
const &arg1_defvalue
= wxNullColour
;
10379 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10380 wxColour
const &arg2_defvalue
= wxNullColour
;
10381 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10382 wxFont
const &arg3_defvalue
= wxNullFont
;
10383 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10384 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10385 wxTextAttr
*result
= 0 ;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 PyObject
* obj2
= 0 ;
10395 PyObject
* obj3
= 0 ;
10396 char * kwnames
[] = {
10397 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10404 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10414 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10415 if (!SWIG_IsOK(res3
)) {
10416 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10421 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10425 if (!SWIG_IsOK(ecode4
)) {
10426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10428 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10443 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10444 PyObject
*resultobj
= 0;
10445 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10448 PyObject
*swig_obj
[1] ;
10450 if (!args
) SWIG_fail
;
10451 swig_obj
[0] = args
;
10452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10453 if (!SWIG_IsOK(res1
)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10456 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_Py_Void();
10471 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10472 PyObject
*resultobj
= 0;
10473 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10476 PyObject
*swig_obj
[1] ;
10478 if (!args
) SWIG_fail
;
10479 swig_obj
[0] = args
;
10480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10481 if (!SWIG_IsOK(res1
)) {
10482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10484 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_Py_Void();
10498 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
= 0;
10500 wxTextAttr
*arg1
= 0 ;
10501 wxTextAttr
*arg2
= 0 ;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char * kwnames
[] = {
10510 (char *) "base",(char *) "overlay", NULL
10513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10514 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10515 if (!SWIG_IsOK(res1
)) {
10516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10521 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10523 if (!SWIG_IsOK(res2
)) {
10524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10529 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10543 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
= 0;
10545 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10546 wxColour
*arg2
= 0 ;
10550 PyObject
* obj0
= 0 ;
10551 PyObject
* obj1
= 0 ;
10552 char * kwnames
[] = {
10553 (char *) "self",(char *) "colText", NULL
10556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10558 if (!SWIG_IsOK(res1
)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10561 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10564 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= SWIG_Py_Void();
10579 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
= 0;
10581 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10582 wxColour
*arg2
= 0 ;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj1
= 0 ;
10588 char * kwnames
[] = {
10589 (char *) "self",(char *) "colBack", NULL
10592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10594 if (!SWIG_IsOK(res1
)) {
10595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10597 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10600 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_Py_Void();
10615 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= 0;
10617 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10619 long arg3
= (long) wxTEXT_ATTR_FONT
;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 PyObject
* obj2
= 0 ;
10629 char * kwnames
[] = {
10630 (char *) "self",(char *) "font",(char *) "flags", NULL
10633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10635 if (!SWIG_IsOK(res1
)) {
10636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10638 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10640 if (!SWIG_IsOK(res2
)) {
10641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10646 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10648 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10649 if (!SWIG_IsOK(ecode3
)) {
10650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10652 arg3
= static_cast< long >(val3
);
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_Py_Void();
10667 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10670 wxTextAttrAlignment arg2
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "alignment", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10686 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10688 if (!SWIG_IsOK(ecode2
)) {
10689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10691 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 (arg1
)->SetAlignment(arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= SWIG_Py_Void();
10705 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
= 0;
10707 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10708 wxArrayInt
*arg2
= 0 ;
10711 bool temp2
= false ;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 char * kwnames
[] = {
10715 (char *) "self",(char *) "tabs", NULL
10718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10720 if (!SWIG_IsOK(res1
)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10723 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10725 if (! PySequence_Check(obj1
)) {
10726 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10729 arg2
= new wxArrayInt
;
10731 int i
, len
=PySequence_Length(obj1
);
10732 for (i
=0; i
<len
; i
++) {
10733 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10734 PyObject
* number
= PyNumber_Int(item
);
10735 arg2
->Add(PyInt_AS_LONG(number
));
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= SWIG_Py_Void();
10748 if (temp2
) delete arg2
;
10753 if (temp2
) delete arg2
;
10759 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
= 0;
10761 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10763 int arg3
= (int) 0 ;
10770 PyObject
* obj0
= 0 ;
10771 PyObject
* obj1
= 0 ;
10772 PyObject
* obj2
= 0 ;
10773 char * kwnames
[] = {
10774 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10779 if (!SWIG_IsOK(res1
)) {
10780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10782 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10784 if (!SWIG_IsOK(ecode2
)) {
10785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10787 arg2
= static_cast< int >(val2
);
10789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10790 if (!SWIG_IsOK(ecode3
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10793 arg3
= static_cast< int >(val3
);
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetLeftIndent(arg2
,arg3
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_Py_Void();
10808 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 char * kwnames
[] = {
10819 (char *) "self",(char *) "indent", NULL
10822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10824 if (!SWIG_IsOK(res1
)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10827 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10829 if (!SWIG_IsOK(ecode2
)) {
10830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10832 arg2
= static_cast< int >(val2
);
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->SetRightIndent(arg2
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= SWIG_Py_Void();
10846 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
= 0;
10848 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 char * kwnames
[] = {
10857 (char *) "self",(char *) "flags", NULL
10860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10865 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10866 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10867 if (!SWIG_IsOK(ecode2
)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10870 arg2
= static_cast< long >(val2
);
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->SetFlags(arg2
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= SWIG_Py_Void();
10884 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10885 PyObject
*resultobj
= 0;
10886 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10890 PyObject
*swig_obj
[1] ;
10892 if (!args
) SWIG_fail
;
10893 swig_obj
[0] = args
;
10894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10898 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10914 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10915 PyObject
*resultobj
= 0;
10916 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10920 PyObject
*swig_obj
[1] ;
10922 if (!args
) SWIG_fail
;
10923 swig_obj
[0] = args
;
10924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10925 if (!SWIG_IsOK(res1
)) {
10926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10928 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10944 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10945 PyObject
*resultobj
= 0;
10946 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10950 PyObject
*swig_obj
[1] ;
10952 if (!args
) SWIG_fail
;
10953 swig_obj
[0] = args
;
10954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10955 if (!SWIG_IsOK(res1
)) {
10956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10958 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10974 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10975 PyObject
*resultobj
= 0;
10976 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10980 PyObject
*swig_obj
[1] ;
10982 if (!args
) SWIG_fail
;
10983 swig_obj
[0] = args
;
10984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10985 if (!SWIG_IsOK(res1
)) {
10986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10988 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11004 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11005 PyObject
*resultobj
= 0;
11006 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11010 PyObject
*swig_obj
[1] ;
11012 if (!args
) SWIG_fail
;
11013 swig_obj
[0] = args
;
11014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11015 if (!SWIG_IsOK(res1
)) {
11016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11018 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11034 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11035 PyObject
*resultobj
= 0;
11036 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11040 PyObject
*swig_obj
[1] ;
11042 if (!args
) SWIG_fail
;
11043 swig_obj
[0] = args
;
11044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11045 if (!SWIG_IsOK(res1
)) {
11046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11048 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11064 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11065 PyObject
*resultobj
= 0;
11066 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11070 PyObject
*swig_obj
[1] ;
11072 if (!args
) SWIG_fail
;
11073 swig_obj
[0] = args
;
11074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11075 if (!SWIG_IsOK(res1
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11078 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11094 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
= 0;
11096 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11103 PyObject
* obj0
= 0 ;
11104 PyObject
* obj1
= 0 ;
11105 char * kwnames
[] = {
11106 (char *) "self",(char *) "flag", NULL
11109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11111 if (!SWIG_IsOK(res1
)) {
11112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11114 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11115 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11116 if (!SWIG_IsOK(ecode2
)) {
11117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11119 arg2
= static_cast< long >(val2
);
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11136 PyObject
*resultobj
= 0;
11137 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11138 wxColour
*result
= 0 ;
11141 PyObject
*swig_obj
[1] ;
11143 if (!args
) SWIG_fail
;
11144 swig_obj
[0] = args
;
11145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11149 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11154 result
= (wxColour
*) &_result_ref
;
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11166 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11167 PyObject
*resultobj
= 0;
11168 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11169 wxColour
*result
= 0 ;
11172 PyObject
*swig_obj
[1] ;
11174 if (!args
) SWIG_fail
;
11175 swig_obj
[0] = args
;
11176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11177 if (!SWIG_IsOK(res1
)) {
11178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11180 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11185 result
= (wxColour
*) &_result_ref
;
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11197 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11198 PyObject
*resultobj
= 0;
11199 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11200 wxFont
*result
= 0 ;
11203 PyObject
*swig_obj
[1] ;
11205 if (!args
) SWIG_fail
;
11206 swig_obj
[0] = args
;
11207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11208 if (!SWIG_IsOK(res1
)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11211 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11216 result
= (wxFont
*) &_result_ref
;
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11222 wxFont
* resultptr
= new wxFont(*result
);
11223 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11231 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11232 PyObject
*resultobj
= 0;
11233 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11234 wxTextAttrAlignment result
;
11237 PyObject
*swig_obj
[1] ;
11239 if (!args
) SWIG_fail
;
11240 swig_obj
[0] = args
;
11241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11242 if (!SWIG_IsOK(res1
)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11245 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= SWIG_From_int(static_cast< int >(result
));
11259 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11260 PyObject
*resultobj
= 0;
11261 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11262 wxArrayInt
*result
= 0 ;
11265 PyObject
*swig_obj
[1] ;
11267 if (!args
) SWIG_fail
;
11268 swig_obj
[0] = args
;
11269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11270 if (!SWIG_IsOK(res1
)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11273 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11278 result
= (wxArrayInt
*) &_result_ref
;
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= PyList_New(0);
11286 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11287 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11288 PyList_Append(resultobj
, val
);
11298 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11299 PyObject
*resultobj
= 0;
11300 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11304 PyObject
*swig_obj
[1] ;
11306 if (!args
) SWIG_fail
;
11307 swig_obj
[0] = args
;
11308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11309 if (!SWIG_IsOK(res1
)) {
11310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11312 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_From_long(static_cast< long >(result
));
11326 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11327 PyObject
*resultobj
= 0;
11328 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11332 PyObject
*swig_obj
[1] ;
11334 if (!args
) SWIG_fail
;
11335 swig_obj
[0] = args
;
11336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11337 if (!SWIG_IsOK(res1
)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11340 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_From_long(static_cast< long >(result
));
11354 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11355 PyObject
*resultobj
= 0;
11356 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11360 PyObject
*swig_obj
[1] ;
11362 if (!args
) SWIG_fail
;
11363 swig_obj
[0] = args
;
11364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11365 if (!SWIG_IsOK(res1
)) {
11366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11368 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11375 resultobj
= SWIG_From_long(static_cast< long >(result
));
11382 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11383 PyObject
*resultobj
= 0;
11384 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11388 PyObject
*swig_obj
[1] ;
11390 if (!args
) SWIG_fail
;
11391 swig_obj
[0] = args
;
11392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11393 if (!SWIG_IsOK(res1
)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11396 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= SWIG_From_long(static_cast< long >(result
));
11410 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11411 PyObject
*resultobj
= 0;
11412 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11416 PyObject
*swig_obj
[1] ;
11418 if (!args
) SWIG_fail
;
11419 swig_obj
[0] = args
;
11420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11421 if (!SWIG_IsOK(res1
)) {
11422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11424 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11440 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
= 0;
11442 wxTextAttr
*arg1
= 0 ;
11443 wxTextAttr
*arg2
= 0 ;
11444 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 PyObject
* obj2
= 0 ;
11455 char * kwnames
[] = {
11456 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11460 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11461 if (!SWIG_IsOK(res1
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11467 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11469 if (!SWIG_IsOK(res2
)) {
11470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11475 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11476 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11477 if (!SWIG_IsOK(res3
)) {
11478 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11480 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11494 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11497 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11498 return SWIG_Py_Void();
11501 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 return SWIG_Python_InitShadowInstance(args
);
11505 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
= 0;
11507 wxWindow
*arg1
= (wxWindow
*) 0 ;
11508 int arg2
= (int) -1 ;
11509 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11510 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11511 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11512 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11513 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11514 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11515 long arg6
= (long) 0 ;
11516 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11517 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11518 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11519 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11520 wxTextCtrl
*result
= 0 ;
11525 bool temp3
= false ;
11532 bool temp8
= false ;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 PyObject
* obj2
= 0 ;
11536 PyObject
* obj3
= 0 ;
11537 PyObject
* obj4
= 0 ;
11538 PyObject
* obj5
= 0 ;
11539 PyObject
* obj6
= 0 ;
11540 PyObject
* obj7
= 0 ;
11541 char * kwnames
[] = {
11542 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11547 if (!SWIG_IsOK(res1
)) {
11548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11553 if (!SWIG_IsOK(ecode2
)) {
11554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11556 arg2
= static_cast< int >(val2
);
11560 arg3
= wxString_in_helper(obj2
);
11561 if (arg3
== NULL
) SWIG_fail
;
11568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11578 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11579 if (!SWIG_IsOK(ecode6
)) {
11580 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11582 arg6
= static_cast< long >(val6
);
11585 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11586 if (!SWIG_IsOK(res7
)) {
11587 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11592 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11596 arg8
= wxString_in_helper(obj7
);
11597 if (arg8
== NULL
) SWIG_fail
;
11602 if (!wxPyCheckForApp()) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11631 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11632 PyObject
*resultobj
= 0;
11633 wxTextCtrl
*result
= 0 ;
11635 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11637 if (!wxPyCheckForApp()) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (wxTextCtrl
*)new wxTextCtrl();
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11650 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
= 0;
11652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11653 wxWindow
*arg2
= (wxWindow
*) 0 ;
11654 int arg3
= (int) -1 ;
11655 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11656 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11657 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11658 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11659 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11660 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11661 long arg7
= (long) 0 ;
11662 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11663 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11664 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11665 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11673 bool temp4
= false ;
11680 bool temp9
= false ;
11681 PyObject
* obj0
= 0 ;
11682 PyObject
* obj1
= 0 ;
11683 PyObject
* obj2
= 0 ;
11684 PyObject
* obj3
= 0 ;
11685 PyObject
* obj4
= 0 ;
11686 PyObject
* obj5
= 0 ;
11687 PyObject
* obj6
= 0 ;
11688 PyObject
* obj7
= 0 ;
11689 PyObject
* obj8
= 0 ;
11690 char * kwnames
[] = {
11691 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11696 if (!SWIG_IsOK(res1
)) {
11697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11699 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11701 if (!SWIG_IsOK(res2
)) {
11702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11704 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11707 if (!SWIG_IsOK(ecode3
)) {
11708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11710 arg3
= static_cast< int >(val3
);
11714 arg4
= wxString_in_helper(obj3
);
11715 if (arg4
== NULL
) SWIG_fail
;
11722 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11728 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11732 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11733 if (!SWIG_IsOK(ecode7
)) {
11734 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11736 arg7
= static_cast< long >(val7
);
11739 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11740 if (!SWIG_IsOK(res8
)) {
11741 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11746 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11750 arg9
= wxString_in_helper(obj8
);
11751 if (arg9
== NULL
) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11786 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11787 PyObject
*resultobj
= 0;
11788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11792 PyObject
*swig_obj
[1] ;
11794 if (!args
) SWIG_fail
;
11795 swig_obj
[0] = args
;
11796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11797 if (!SWIG_IsOK(res1
)) {
11798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11800 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11820 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
= 0;
11822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11823 wxString
*arg2
= 0 ;
11826 bool temp2
= false ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 char * kwnames
[] = {
11830 (char *) "self",(char *) "value", NULL
11833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11835 if (!SWIG_IsOK(res1
)) {
11836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11838 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11840 arg2
= wxString_in_helper(obj1
);
11841 if (arg2
== NULL
) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 (arg1
)->SetValue((wxString
const &)*arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_Py_Void();
11865 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
= 0;
11867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 PyObject
* obj2
= 0 ;
11880 char * kwnames
[] = {
11881 (char *) "self",(char *) "from",(char *) "to", NULL
11884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11886 if (!SWIG_IsOK(res1
)) {
11887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11889 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11890 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11891 if (!SWIG_IsOK(ecode2
)) {
11892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11894 arg2
= static_cast< long >(val2
);
11895 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11896 if (!SWIG_IsOK(ecode3
)) {
11897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11899 arg3
= static_cast< long >(val3
);
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11919 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11920 PyObject
*resultobj
= 0;
11921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 char * kwnames
[] = {
11931 (char *) "self",(char *) "lineNo", NULL
11934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11936 if (!SWIG_IsOK(res1
)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11939 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11940 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11941 if (!SWIG_IsOK(ecode2
)) {
11942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11944 arg2
= static_cast< long >(val2
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_From_int(static_cast< int >(result
));
11958 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
= 0;
11960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 PyObject
* obj1
= 0 ;
11969 char * kwnames
[] = {
11970 (char *) "self",(char *) "lineNo", NULL
11973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11975 if (!SWIG_IsOK(res1
)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11978 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11979 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11980 if (!SWIG_IsOK(ecode2
)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11983 arg2
= static_cast< long >(val2
);
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12003 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12004 PyObject
*resultobj
= 0;
12005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12009 PyObject
*swig_obj
[1] ;
12011 if (!args
) SWIG_fail
;
12012 swig_obj
[0] = args
;
12013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12017 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_From_int(static_cast< int >(result
));
12031 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 PyObject
*resultobj
= 0;
12033 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12037 PyObject
*swig_obj
[1] ;
12039 if (!args
) SWIG_fail
;
12040 swig_obj
[0] = args
;
12041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12042 if (!SWIG_IsOK(res1
)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12045 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12061 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12062 PyObject
*resultobj
= 0;
12063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12067 PyObject
*swig_obj
[1] ;
12069 if (!args
) SWIG_fail
;
12070 swig_obj
[0] = args
;
12071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12072 if (!SWIG_IsOK(res1
)) {
12073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12075 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12091 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12092 PyObject
*resultobj
= 0;
12093 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12097 PyObject
*swig_obj
[1] ;
12099 if (!args
) SWIG_fail
;
12100 swig_obj
[0] = args
;
12101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12102 if (!SWIG_IsOK(res1
)) {
12103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12105 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12121 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12122 PyObject
*resultobj
= 0;
12123 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12127 PyObject
*swig_obj
[1] ;
12129 if (!args
) SWIG_fail
;
12130 swig_obj
[0] = args
;
12131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12132 if (!SWIG_IsOK(res1
)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12135 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12151 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12152 PyObject
*resultobj
= 0;
12153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12154 long *arg2
= (long *) 0 ;
12155 long *arg3
= (long *) 0 ;
12159 int res2
= SWIG_TMPOBJ
;
12161 int res3
= SWIG_TMPOBJ
;
12162 PyObject
*swig_obj
[1] ;
12166 if (!args
) SWIG_fail
;
12167 swig_obj
[0] = args
;
12168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12172 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= SWIG_Py_Void();
12180 if (SWIG_IsTmpObj(res2
)) {
12181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12183 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12186 if (SWIG_IsTmpObj(res3
)) {
12187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12189 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12198 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 PyObject
*resultobj
= 0;
12200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12204 PyObject
*swig_obj
[1] ;
12206 if (!args
) SWIG_fail
;
12207 swig_obj
[0] = args
;
12208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12212 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12232 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12237 PyObject
*swig_obj
[1] ;
12239 if (!args
) SWIG_fail
;
12240 swig_obj
[0] = args
;
12241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12242 if (!SWIG_IsOK(res1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12245 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= SWIG_Py_Void();
12259 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
= 0;
12261 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12264 wxString
*arg4
= 0 ;
12271 bool temp4
= false ;
12272 PyObject
* obj0
= 0 ;
12273 PyObject
* obj1
= 0 ;
12274 PyObject
* obj2
= 0 ;
12275 PyObject
* obj3
= 0 ;
12276 char * kwnames
[] = {
12277 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12282 if (!SWIG_IsOK(res1
)) {
12283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12285 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12286 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12287 if (!SWIG_IsOK(ecode2
)) {
12288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12290 arg2
= static_cast< long >(val2
);
12291 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12292 if (!SWIG_IsOK(ecode3
)) {
12293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12295 arg3
= static_cast< long >(val3
);
12297 arg4
= wxString_in_helper(obj3
);
12298 if (arg4
== NULL
) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_Py_Void();
12322 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
= 0;
12324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 PyObject
* obj2
= 0 ;
12336 char * kwnames
[] = {
12337 (char *) "self",(char *) "from",(char *) "to", NULL
12340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12345 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12346 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12347 if (!SWIG_IsOK(ecode2
)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12350 arg2
= static_cast< long >(val2
);
12351 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12352 if (!SWIG_IsOK(ecode3
)) {
12353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12355 arg3
= static_cast< long >(val3
);
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 (arg1
)->Remove(arg2
,arg3
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_Py_Void();
12369 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
= 0;
12371 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12372 wxString
*arg2
= 0 ;
12376 bool temp2
= false ;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 char * kwnames
[] = {
12380 (char *) "self",(char *) "file", NULL
12383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12385 if (!SWIG_IsOK(res1
)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12388 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12390 arg2
= wxString_in_helper(obj1
);
12391 if (arg2
== NULL
) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12417 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
= 0;
12419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12420 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12421 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12425 bool temp2
= false ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 char * kwnames
[] = {
12429 (char *) "self",(char *) "file", NULL
12432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12434 if (!SWIG_IsOK(res1
)) {
12435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12437 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12440 arg2
= wxString_in_helper(obj1
);
12441 if (arg2
== NULL
) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12468 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12469 PyObject
*resultobj
= 0;
12470 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12473 PyObject
*swig_obj
[1] ;
12475 if (!args
) SWIG_fail
;
12476 swig_obj
[0] = args
;
12477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12478 if (!SWIG_IsOK(res1
)) {
12479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12481 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 (arg1
)->MarkDirty();
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= SWIG_Py_Void();
12495 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12496 PyObject
*resultobj
= 0;
12497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12500 PyObject
*swig_obj
[1] ;
12502 if (!args
) SWIG_fail
;
12503 swig_obj
[0] = args
;
12504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12505 if (!SWIG_IsOK(res1
)) {
12506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12508 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->DiscardEdits();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_Py_Void();
12522 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
= 0;
12524 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 char * kwnames
[] = {
12533 (char *) "self",(char *) "modified", NULL
12536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12538 if (!SWIG_IsOK(res1
)) {
12539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12541 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12542 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12543 if (!SWIG_IsOK(ecode2
)) {
12544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12546 arg2
= static_cast< bool >(val2
);
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 (arg1
)->SetModified(arg2
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= SWIG_Py_Void();
12560 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
= 0;
12562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12563 unsigned long arg2
;
12566 unsigned long val2
;
12568 PyObject
* obj0
= 0 ;
12569 PyObject
* obj1
= 0 ;
12570 char * kwnames
[] = {
12571 (char *) "self",(char *) "len", NULL
12574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12576 if (!SWIG_IsOK(res1
)) {
12577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12580 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12581 if (!SWIG_IsOK(ecode2
)) {
12582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12584 arg2
= static_cast< unsigned long >(val2
);
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 (arg1
)->SetMaxLength(arg2
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= SWIG_Py_Void();
12598 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
= 0;
12600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12601 wxString
*arg2
= 0 ;
12604 bool temp2
= false ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 char * kwnames
[] = {
12608 (char *) "self",(char *) "text", NULL
12611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12613 if (!SWIG_IsOK(res1
)) {
12614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12616 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12618 arg2
= wxString_in_helper(obj1
);
12619 if (arg2
== NULL
) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->WriteText((wxString
const &)*arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= SWIG_Py_Void();
12643 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
= 0;
12645 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12646 wxString
*arg2
= 0 ;
12649 bool temp2
= false ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 char * kwnames
[] = {
12653 (char *) "self",(char *) "text", NULL
12656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12661 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12663 arg2
= wxString_in_helper(obj1
);
12664 if (arg2
== NULL
) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 (arg1
)->AppendText((wxString
const &)*arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= SWIG_Py_Void();
12688 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
= 0;
12690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12691 wxKeyEvent
*arg2
= 0 ;
12697 PyObject
* obj0
= 0 ;
12698 PyObject
* obj1
= 0 ;
12699 char * kwnames
[] = {
12700 (char *) "self",(char *) "event", NULL
12703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12705 if (!SWIG_IsOK(res1
)) {
12706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12708 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12710 if (!SWIG_IsOK(res2
)) {
12711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12716 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12732 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
= 0;
12734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12737 wxTextAttr
*arg4
= 0 ;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 PyObject
* obj3
= 0 ;
12751 char * kwnames
[] = {
12752 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12757 if (!SWIG_IsOK(res1
)) {
12758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12760 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12762 if (!SWIG_IsOK(ecode2
)) {
12763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12765 arg2
= static_cast< long >(val2
);
12766 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12767 if (!SWIG_IsOK(ecode3
)) {
12768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12770 arg3
= static_cast< long >(val3
);
12771 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12772 if (!SWIG_IsOK(res4
)) {
12773 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12778 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12794 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
= 0;
12796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12798 wxTextAttr
*arg3
= 0 ;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 char * kwnames
[] = {
12810 (char *) "self",(char *) "position",(char *) "style", NULL
12813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12815 if (!SWIG_IsOK(res1
)) {
12816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12818 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12819 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12820 if (!SWIG_IsOK(ecode2
)) {
12821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12823 arg2
= static_cast< long >(val2
);
12824 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12825 if (!SWIG_IsOK(res3
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12831 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12847 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
= 0;
12849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12850 wxTextAttr
*arg2
= 0 ;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 char * kwnames
[] = {
12859 (char *) "self",(char *) "style", NULL
12862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12864 if (!SWIG_IsOK(res1
)) {
12865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12867 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12869 if (!SWIG_IsOK(res2
)) {
12870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12875 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12891 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12892 PyObject
*resultobj
= 0;
12893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12894 wxTextAttr
*result
= 0 ;
12897 PyObject
*swig_obj
[1] ;
12899 if (!args
) SWIG_fail
;
12900 swig_obj
[0] = args
;
12901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12902 if (!SWIG_IsOK(res1
)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12905 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12910 result
= (wxTextAttr
*) &_result_ref
;
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12922 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
= 0;
12924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 PyObject
* obj2
= 0 ;
12937 char * kwnames
[] = {
12938 (char *) "self",(char *) "x",(char *) "y", NULL
12941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12943 if (!SWIG_IsOK(res1
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12946 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12947 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12948 if (!SWIG_IsOK(ecode2
)) {
12949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12951 arg2
= static_cast< long >(val2
);
12952 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12953 if (!SWIG_IsOK(ecode3
)) {
12954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12956 arg3
= static_cast< long >(val3
);
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= SWIG_From_long(static_cast< long >(result
));
12970 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
= 0;
12972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12974 long *arg3
= (long *) 0 ;
12975 long *arg4
= (long *) 0 ;
12981 int res3
= SWIG_TMPOBJ
;
12983 int res4
= SWIG_TMPOBJ
;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 char * kwnames
[] = {
12987 (char *) "self",(char *) "pos", NULL
12992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12997 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12998 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12999 if (!SWIG_IsOK(ecode2
)) {
13000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13002 arg2
= static_cast< long >(val2
);
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_Py_Void();
13010 if (SWIG_IsTmpObj(res3
)) {
13011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13013 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13016 if (SWIG_IsTmpObj(res4
)) {
13017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13019 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13028 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
= 0;
13030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 char * kwnames
[] = {
13039 (char *) "self",(char *) "pos", NULL
13042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13044 if (!SWIG_IsOK(res1
)) {
13045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13047 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13048 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13049 if (!SWIG_IsOK(ecode2
)) {
13050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13052 arg2
= static_cast< long >(val2
);
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 (arg1
)->ShowPosition(arg2
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= SWIG_Py_Void();
13066 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
= 0;
13068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13069 wxPoint
*arg2
= 0 ;
13070 long *arg3
= (long *) 0 ;
13071 long *arg4
= (long *) 0 ;
13072 wxTextCtrlHitTestResult result
;
13077 int res3
= SWIG_TMPOBJ
;
13079 int res4
= SWIG_TMPOBJ
;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char * kwnames
[] = {
13083 (char *) "self",(char *) "pt", NULL
13088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13090 if (!SWIG_IsOK(res1
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13093 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_From_int(static_cast< int >(result
));
13105 if (SWIG_IsTmpObj(res3
)) {
13106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13108 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13111 if (SWIG_IsTmpObj(res4
)) {
13112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13114 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13123 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
= 0;
13125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13126 wxPoint
*arg2
= 0 ;
13127 long *arg3
= (long *) 0 ;
13128 wxTextCtrlHitTestResult result
;
13133 int res3
= SWIG_TMPOBJ
;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 char * kwnames
[] = {
13137 (char *) "self",(char *) "pt", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13146 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13149 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= SWIG_From_int(static_cast< int >(result
));
13158 if (SWIG_IsTmpObj(res3
)) {
13159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13161 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13170 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13171 PyObject
*resultobj
= 0;
13172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13175 PyObject
*swig_obj
[1] ;
13177 if (!args
) SWIG_fail
;
13178 swig_obj
[0] = args
;
13179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13180 if (!SWIG_IsOK(res1
)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13183 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 resultobj
= SWIG_Py_Void();
13197 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13198 PyObject
*resultobj
= 0;
13199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13202 PyObject
*swig_obj
[1] ;
13204 if (!args
) SWIG_fail
;
13205 swig_obj
[0] = args
;
13206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13207 if (!SWIG_IsOK(res1
)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13210 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_Py_Void();
13224 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13225 PyObject
*resultobj
= 0;
13226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13229 PyObject
*swig_obj
[1] ;
13231 if (!args
) SWIG_fail
;
13232 swig_obj
[0] = args
;
13233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13234 if (!SWIG_IsOK(res1
)) {
13235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13237 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= SWIG_Py_Void();
13251 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13252 PyObject
*resultobj
= 0;
13253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13257 PyObject
*swig_obj
[1] ;
13259 if (!args
) SWIG_fail
;
13260 swig_obj
[0] = args
;
13261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13262 if (!SWIG_IsOK(res1
)) {
13263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13265 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13281 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13282 PyObject
*resultobj
= 0;
13283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13287 PyObject
*swig_obj
[1] ;
13289 if (!args
) SWIG_fail
;
13290 swig_obj
[0] = args
;
13291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13292 if (!SWIG_IsOK(res1
)) {
13293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13295 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13311 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13312 PyObject
*resultobj
= 0;
13313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13317 PyObject
*swig_obj
[1] ;
13319 if (!args
) SWIG_fail
;
13320 swig_obj
[0] = args
;
13321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13322 if (!SWIG_IsOK(res1
)) {
13323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13325 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13341 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13342 PyObject
*resultobj
= 0;
13343 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13346 PyObject
*swig_obj
[1] ;
13348 if (!args
) SWIG_fail
;
13349 swig_obj
[0] = args
;
13350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13351 if (!SWIG_IsOK(res1
)) {
13352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13354 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_Py_Void();
13368 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13369 PyObject
*resultobj
= 0;
13370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13373 PyObject
*swig_obj
[1] ;
13375 if (!args
) SWIG_fail
;
13376 swig_obj
[0] = args
;
13377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13378 if (!SWIG_IsOK(res1
)) {
13379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13381 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_Py_Void();
13395 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13396 PyObject
*resultobj
= 0;
13397 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13401 PyObject
*swig_obj
[1] ;
13403 if (!args
) SWIG_fail
;
13404 swig_obj
[0] = args
;
13405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13406 if (!SWIG_IsOK(res1
)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13409 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13425 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13426 PyObject
*resultobj
= 0;
13427 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13431 PyObject
*swig_obj
[1] ;
13433 if (!args
) SWIG_fail
;
13434 swig_obj
[0] = args
;
13435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13436 if (!SWIG_IsOK(res1
)) {
13437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13439 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13455 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13456 PyObject
*resultobj
= 0;
13457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13463 PyObject
* obj0
= 0 ;
13464 PyObject
* obj1
= 0 ;
13465 char * kwnames
[] = {
13466 (char *) "self",(char *) "pos", NULL
13469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13471 if (!SWIG_IsOK(res1
)) {
13472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13474 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13475 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13476 if (!SWIG_IsOK(ecode2
)) {
13477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13479 arg2
= static_cast< long >(val2
);
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 (arg1
)->SetInsertionPoint(arg2
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_Py_Void();
13493 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13494 PyObject
*resultobj
= 0;
13495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13498 PyObject
*swig_obj
[1] ;
13500 if (!args
) SWIG_fail
;
13501 swig_obj
[0] = args
;
13502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13503 if (!SWIG_IsOK(res1
)) {
13504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13506 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 (arg1
)->SetInsertionPointEnd();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_Py_Void();
13520 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13521 PyObject
*resultobj
= 0;
13522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13526 PyObject
*swig_obj
[1] ;
13528 if (!args
) SWIG_fail
;
13529 swig_obj
[0] = args
;
13530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13531 if (!SWIG_IsOK(res1
)) {
13532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13534 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= SWIG_From_long(static_cast< long >(result
));
13548 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13549 PyObject
*resultobj
= 0;
13550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13554 PyObject
*swig_obj
[1] ;
13556 if (!args
) SWIG_fail
;
13557 swig_obj
[0] = args
;
13558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13559 if (!SWIG_IsOK(res1
)) {
13560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13562 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= SWIG_From_long(static_cast< long >(result
));
13576 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
= 0;
13578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 PyObject
* obj1
= 0 ;
13589 PyObject
* obj2
= 0 ;
13590 char * kwnames
[] = {
13591 (char *) "self",(char *) "from",(char *) "to", NULL
13594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13596 if (!SWIG_IsOK(res1
)) {
13597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13599 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13600 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13601 if (!SWIG_IsOK(ecode2
)) {
13602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13604 arg2
= static_cast< long >(val2
);
13605 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13606 if (!SWIG_IsOK(ecode3
)) {
13607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13609 arg3
= static_cast< long >(val3
);
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 (arg1
)->SetSelection(arg2
,arg3
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_Py_Void();
13623 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13624 PyObject
*resultobj
= 0;
13625 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13628 PyObject
*swig_obj
[1] ;
13630 if (!args
) SWIG_fail
;
13631 swig_obj
[0] = args
;
13632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13633 if (!SWIG_IsOK(res1
)) {
13634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13636 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 (arg1
)->SelectAll();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_Py_Void();
13650 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
= 0;
13652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 char * kwnames
[] = {
13661 (char *) "self",(char *) "editable", NULL
13664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13666 if (!SWIG_IsOK(res1
)) {
13667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13669 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13670 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13671 if (!SWIG_IsOK(ecode2
)) {
13672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13674 arg2
= static_cast< bool >(val2
);
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 (arg1
)->SetEditable(arg2
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= SWIG_Py_Void();
13688 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
= 0;
13690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13691 wxString
*arg2
= 0 ;
13694 bool temp2
= false ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 char * kwnames
[] = {
13698 (char *) "self",(char *) "text", NULL
13701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13703 if (!SWIG_IsOK(res1
)) {
13704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13706 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13708 arg2
= wxString_in_helper(obj1
);
13709 if (arg2
== NULL
) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_Py_Void();
13733 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
= 0;
13735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13745 PyObject
* obj0
= 0 ;
13746 PyObject
* obj1
= 0 ;
13747 PyObject
* obj2
= 0 ;
13748 char * kwnames
[] = {
13749 (char *) "self",(char *) "from",(char *) "to", NULL
13752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13754 if (!SWIG_IsOK(res1
)) {
13755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13757 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13758 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13759 if (!SWIG_IsOK(ecode2
)) {
13760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13762 arg2
= static_cast< long >(val2
);
13763 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13764 if (!SWIG_IsOK(ecode3
)) {
13765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13767 arg3
= static_cast< long >(val3
);
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13787 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
= 0;
13789 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13790 SwigValueWrapper
<wxVisualAttributes
> result
;
13793 PyObject
* obj0
= 0 ;
13794 char * kwnames
[] = {
13795 (char *) "variant", NULL
13798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13800 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13801 if (!SWIG_IsOK(ecode1
)) {
13802 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13804 arg1
= static_cast< wxWindowVariant
>(val1
);
13807 if (!wxPyCheckForApp()) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13820 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13823 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13824 return SWIG_Py_Void();
13827 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13828 return SWIG_Python_InitShadowInstance(args
);
13831 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
= 0;
13834 wxMouseEvent
*arg2
= 0 ;
13837 wxTextUrlEvent
*result
= 0 ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 PyObject
* obj2
= 0 ;
13849 PyObject
* obj3
= 0 ;
13850 char * kwnames
[] = {
13851 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13855 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13856 if (!SWIG_IsOK(ecode1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13859 arg1
= static_cast< int >(val1
);
13860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13861 if (!SWIG_IsOK(res2
)) {
13862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13867 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13868 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13869 if (!SWIG_IsOK(ecode3
)) {
13870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13872 arg3
= static_cast< long >(val3
);
13873 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13874 if (!SWIG_IsOK(ecode4
)) {
13875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13877 arg4
= static_cast< long >(val4
);
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13891 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13892 PyObject
*resultobj
= 0;
13893 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13894 wxMouseEvent
*result
= 0 ;
13897 PyObject
*swig_obj
[1] ;
13899 if (!args
) SWIG_fail
;
13900 swig_obj
[0] = args
;
13901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13902 if (!SWIG_IsOK(res1
)) {
13903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13905 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13910 result
= (wxMouseEvent
*) &_result_ref
;
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13922 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13923 PyObject
*resultobj
= 0;
13924 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13928 PyObject
*swig_obj
[1] ;
13930 if (!args
) SWIG_fail
;
13931 swig_obj
[0] = args
;
13932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13933 if (!SWIG_IsOK(res1
)) {
13934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13936 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= SWIG_From_long(static_cast< long >(result
));
13950 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13951 PyObject
*resultobj
= 0;
13952 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13956 PyObject
*swig_obj
[1] ;
13958 if (!args
) SWIG_fail
;
13959 swig_obj
[0] = args
;
13960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13961 if (!SWIG_IsOK(res1
)) {
13962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13964 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13971 resultobj
= SWIG_From_long(static_cast< long >(result
));
13978 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13981 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13982 return SWIG_Py_Void();
13985 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13986 return SWIG_Python_InitShadowInstance(args
);
13989 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13990 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13995 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13996 PyObject
*pyobj
= 0;
14000 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14002 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14009 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
= 0;
14011 wxWindow
*arg1
= (wxWindow
*) 0 ;
14012 int arg2
= (int) -1 ;
14013 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14014 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14015 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14016 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14017 long arg5
= (long) wxSB_HORIZONTAL
;
14018 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14019 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14020 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14022 wxScrollBar
*result
= 0 ;
14033 bool temp7
= false ;
14034 PyObject
* obj0
= 0 ;
14035 PyObject
* obj1
= 0 ;
14036 PyObject
* obj2
= 0 ;
14037 PyObject
* obj3
= 0 ;
14038 PyObject
* obj4
= 0 ;
14039 PyObject
* obj5
= 0 ;
14040 PyObject
* obj6
= 0 ;
14041 char * kwnames
[] = {
14042 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14050 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14053 if (!SWIG_IsOK(ecode2
)) {
14054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14056 arg2
= static_cast< int >(val2
);
14061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14067 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14071 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14072 if (!SWIG_IsOK(ecode5
)) {
14073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14075 arg5
= static_cast< long >(val5
);
14078 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14079 if (!SWIG_IsOK(res6
)) {
14080 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14085 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14089 arg7
= wxString_in_helper(obj6
);
14090 if (arg7
== NULL
) SWIG_fail
;
14095 if (!wxPyCheckForApp()) SWIG_fail
;
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14116 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14117 PyObject
*resultobj
= 0;
14118 wxScrollBar
*result
= 0 ;
14120 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14122 if (!wxPyCheckForApp()) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (wxScrollBar
*)new wxScrollBar();
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14135 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
= 0;
14137 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14138 wxWindow
*arg2
= (wxWindow
*) 0 ;
14139 int arg3
= (int) -1 ;
14140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14144 long arg6
= (long) wxSB_HORIZONTAL
;
14145 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14146 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14147 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14148 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14162 bool temp8
= false ;
14163 PyObject
* obj0
= 0 ;
14164 PyObject
* obj1
= 0 ;
14165 PyObject
* obj2
= 0 ;
14166 PyObject
* obj3
= 0 ;
14167 PyObject
* obj4
= 0 ;
14168 PyObject
* obj5
= 0 ;
14169 PyObject
* obj6
= 0 ;
14170 PyObject
* obj7
= 0 ;
14171 char * kwnames
[] = {
14172 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14177 if (!SWIG_IsOK(res1
)) {
14178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14180 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14182 if (!SWIG_IsOK(res2
)) {
14183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14185 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14188 if (!SWIG_IsOK(ecode3
)) {
14189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14191 arg3
= static_cast< int >(val3
);
14196 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14202 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14206 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14207 if (!SWIG_IsOK(ecode6
)) {
14208 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14210 arg6
= static_cast< long >(val6
);
14213 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14214 if (!SWIG_IsOK(res7
)) {
14215 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14220 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14224 arg8
= wxString_in_helper(obj7
);
14225 if (arg8
== NULL
) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14252 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14253 PyObject
*resultobj
= 0;
14254 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14258 PyObject
*swig_obj
[1] ;
14260 if (!args
) SWIG_fail
;
14261 swig_obj
[0] = args
;
14262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14263 if (!SWIG_IsOK(res1
)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14266 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= SWIG_From_int(static_cast< int >(result
));
14280 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14281 PyObject
*resultobj
= 0;
14282 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14286 PyObject
*swig_obj
[1] ;
14288 if (!args
) SWIG_fail
;
14289 swig_obj
[0] = args
;
14290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14291 if (!SWIG_IsOK(res1
)) {
14292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14294 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_From_int(static_cast< int >(result
));
14308 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14309 PyObject
*resultobj
= 0;
14310 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14314 PyObject
*swig_obj
[1] ;
14316 if (!args
) SWIG_fail
;
14317 swig_obj
[0] = args
;
14318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14319 if (!SWIG_IsOK(res1
)) {
14320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14322 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_From_int(static_cast< int >(result
));
14336 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14337 PyObject
*resultobj
= 0;
14338 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14342 PyObject
*swig_obj
[1] ;
14344 if (!args
) SWIG_fail
;
14345 swig_obj
[0] = args
;
14346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14347 if (!SWIG_IsOK(res1
)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14350 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= SWIG_From_int(static_cast< int >(result
));
14364 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14365 PyObject
*resultobj
= 0;
14366 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14370 PyObject
*swig_obj
[1] ;
14372 if (!args
) SWIG_fail
;
14373 swig_obj
[0] = args
;
14374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14378 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14394 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14396 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 PyObject
* obj1
= 0 ;
14404 char * kwnames
[] = {
14405 (char *) "self",(char *) "viewStart", NULL
14408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14410 if (!SWIG_IsOK(res1
)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14413 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14415 if (!SWIG_IsOK(ecode2
)) {
14416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14418 arg2
= static_cast< int >(val2
);
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 (arg1
)->SetThumbPosition(arg2
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_Py_Void();
14432 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
= 0;
14434 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14435 SwigValueWrapper
<wxVisualAttributes
> result
;
14438 PyObject
* obj0
= 0 ;
14439 char * kwnames
[] = {
14440 (char *) "variant", NULL
14443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14446 if (!SWIG_IsOK(ecode1
)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14449 arg1
= static_cast< wxWindowVariant
>(val1
);
14452 if (!wxPyCheckForApp()) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14465 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14468 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14469 return SWIG_Py_Void();
14472 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14473 return SWIG_Python_InitShadowInstance(args
);
14476 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14477 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14482 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14483 PyObject
*pyobj
= 0;
14487 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14489 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14496 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14497 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14502 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14503 PyObject
*pyobj
= 0;
14507 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14509 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14516 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
= 0;
14518 wxWindow
*arg1
= (wxWindow
*) 0 ;
14519 int arg2
= (int) -1 ;
14520 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14521 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14522 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14523 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14524 long arg5
= (long) wxSP_HORIZONTAL
;
14525 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14526 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14527 wxSpinButton
*result
= 0 ;
14536 bool temp6
= false ;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 PyObject
* obj3
= 0 ;
14541 PyObject
* obj4
= 0 ;
14542 PyObject
* obj5
= 0 ;
14543 char * kwnames
[] = {
14544 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14549 if (!SWIG_IsOK(res1
)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14555 if (!SWIG_IsOK(ecode2
)) {
14556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14558 arg2
= static_cast< int >(val2
);
14563 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14569 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14573 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14574 if (!SWIG_IsOK(ecode5
)) {
14575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14577 arg5
= static_cast< long >(val5
);
14581 arg6
= wxString_in_helper(obj5
);
14582 if (arg6
== NULL
) SWIG_fail
;
14587 if (!wxPyCheckForApp()) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14608 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14609 PyObject
*resultobj
= 0;
14610 wxSpinButton
*result
= 0 ;
14612 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14614 if (!wxPyCheckForApp()) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (wxSpinButton
*)new wxSpinButton();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14627 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
= 0;
14629 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14630 wxWindow
*arg2
= (wxWindow
*) 0 ;
14631 int arg3
= (int) -1 ;
14632 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14633 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14634 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14635 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14636 long arg6
= (long) wxSP_HORIZONTAL
;
14637 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14638 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14650 bool temp7
= false ;
14651 PyObject
* obj0
= 0 ;
14652 PyObject
* obj1
= 0 ;
14653 PyObject
* obj2
= 0 ;
14654 PyObject
* obj3
= 0 ;
14655 PyObject
* obj4
= 0 ;
14656 PyObject
* obj5
= 0 ;
14657 PyObject
* obj6
= 0 ;
14658 char * kwnames
[] = {
14659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14664 if (!SWIG_IsOK(res1
)) {
14665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14667 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14669 if (!SWIG_IsOK(res2
)) {
14670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14672 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14675 if (!SWIG_IsOK(ecode3
)) {
14676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14678 arg3
= static_cast< int >(val3
);
14683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14693 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14694 if (!SWIG_IsOK(ecode6
)) {
14695 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14697 arg6
= static_cast< long >(val6
);
14701 arg7
= wxString_in_helper(obj6
);
14702 if (arg7
== NULL
) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14729 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14730 PyObject
*resultobj
= 0;
14731 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14735 PyObject
*swig_obj
[1] ;
14737 if (!args
) SWIG_fail
;
14738 swig_obj
[0] = args
;
14739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14740 if (!SWIG_IsOK(res1
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14743 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_From_int(static_cast< int >(result
));
14757 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14758 PyObject
*resultobj
= 0;
14759 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14763 PyObject
*swig_obj
[1] ;
14765 if (!args
) SWIG_fail
;
14766 swig_obj
[0] = args
;
14767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14771 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= SWIG_From_int(static_cast< int >(result
));
14785 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14786 PyObject
*resultobj
= 0;
14787 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14791 PyObject
*swig_obj
[1] ;
14793 if (!args
) SWIG_fail
;
14794 swig_obj
[0] = args
;
14795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14796 if (!SWIG_IsOK(res1
)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14799 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= SWIG_From_int(static_cast< int >(result
));
14813 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
= 0;
14815 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 PyObject
* obj1
= 0 ;
14823 char * kwnames
[] = {
14824 (char *) "self",(char *) "val", NULL
14827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14829 if (!SWIG_IsOK(res1
)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14832 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14834 if (!SWIG_IsOK(ecode2
)) {
14835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14837 arg2
= static_cast< int >(val2
);
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 (arg1
)->SetValue(arg2
);
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= SWIG_Py_Void();
14851 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
= 0;
14853 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14859 PyObject
* obj0
= 0 ;
14860 PyObject
* obj1
= 0 ;
14861 char * kwnames
[] = {
14862 (char *) "self",(char *) "minVal", NULL
14865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14867 if (!SWIG_IsOK(res1
)) {
14868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14870 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14872 if (!SWIG_IsOK(ecode2
)) {
14873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14875 arg2
= static_cast< int >(val2
);
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->SetMin(arg2
);
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= SWIG_Py_Void();
14889 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
= 0;
14891 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 char * kwnames
[] = {
14900 (char *) "self",(char *) "maxVal", NULL
14903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14905 if (!SWIG_IsOK(res1
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14908 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14910 if (!SWIG_IsOK(ecode2
)) {
14911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14913 arg2
= static_cast< int >(val2
);
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 (arg1
)->SetMax(arg2
);
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= SWIG_Py_Void();
14927 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
= 0;
14929 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj1
= 0 ;
14940 PyObject
* obj2
= 0 ;
14941 char * kwnames
[] = {
14942 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14947 if (!SWIG_IsOK(res1
)) {
14948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14950 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14952 if (!SWIG_IsOK(ecode2
)) {
14953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14955 arg2
= static_cast< int >(val2
);
14956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14957 if (!SWIG_IsOK(ecode3
)) {
14958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14960 arg3
= static_cast< int >(val3
);
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 (arg1
)->SetRange(arg2
,arg3
);
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= SWIG_Py_Void();
14974 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14975 PyObject
*resultobj
= 0;
14976 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14980 PyObject
*swig_obj
[1] ;
14982 if (!args
) SWIG_fail
;
14983 swig_obj
[0] = args
;
14984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14985 if (!SWIG_IsOK(res1
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14988 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15004 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
= 0;
15006 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15007 SwigValueWrapper
<wxVisualAttributes
> result
;
15010 PyObject
* obj0
= 0 ;
15011 char * kwnames
[] = {
15012 (char *) "variant", NULL
15015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15017 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15018 if (!SWIG_IsOK(ecode1
)) {
15019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15021 arg1
= static_cast< wxWindowVariant
>(val1
);
15024 if (!wxPyCheckForApp()) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15037 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15040 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15041 return SWIG_Py_Void();
15044 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15045 return SWIG_Python_InitShadowInstance(args
);
15048 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
= 0;
15050 wxWindow
*arg1
= (wxWindow
*) 0 ;
15051 int arg2
= (int) -1 ;
15052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15058 long arg6
= (long) wxSP_ARROW_KEYS
;
15059 int arg7
= (int) 0 ;
15060 int arg8
= (int) 100 ;
15061 int arg9
= (int) 0 ;
15062 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15063 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15064 wxSpinCtrl
*result
= 0 ;
15069 bool temp3
= false ;
15080 bool temp10
= false ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 PyObject
* obj2
= 0 ;
15084 PyObject
* obj3
= 0 ;
15085 PyObject
* obj4
= 0 ;
15086 PyObject
* obj5
= 0 ;
15087 PyObject
* obj6
= 0 ;
15088 PyObject
* obj7
= 0 ;
15089 PyObject
* obj8
= 0 ;
15090 PyObject
* obj9
= 0 ;
15091 char * kwnames
[] = {
15092 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15097 if (!SWIG_IsOK(res1
)) {
15098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15100 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15103 if (!SWIG_IsOK(ecode2
)) {
15104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15106 arg2
= static_cast< int >(val2
);
15110 arg3
= wxString_in_helper(obj2
);
15111 if (arg3
== NULL
) SWIG_fail
;
15118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15128 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15129 if (!SWIG_IsOK(ecode6
)) {
15130 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15132 arg6
= static_cast< long >(val6
);
15135 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15136 if (!SWIG_IsOK(ecode7
)) {
15137 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15139 arg7
= static_cast< int >(val7
);
15142 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15143 if (!SWIG_IsOK(ecode8
)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15146 arg8
= static_cast< int >(val8
);
15149 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15150 if (!SWIG_IsOK(ecode9
)) {
15151 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15153 arg9
= static_cast< int >(val9
);
15157 arg10
= wxString_in_helper(obj9
);
15158 if (arg10
== NULL
) SWIG_fail
;
15163 if (!wxPyCheckForApp()) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15192 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15193 PyObject
*resultobj
= 0;
15194 wxSpinCtrl
*result
= 0 ;
15196 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15198 if (!wxPyCheckForApp()) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15211 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15214 wxWindow
*arg2
= (wxWindow
*) 0 ;
15215 int arg3
= (int) -1 ;
15216 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15217 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15218 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15219 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15220 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15221 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15222 long arg7
= (long) wxSP_ARROW_KEYS
;
15223 int arg8
= (int) 0 ;
15224 int arg9
= (int) 100 ;
15225 int arg10
= (int) 0 ;
15226 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15227 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15235 bool temp4
= false ;
15246 bool temp11
= false ;
15247 PyObject
* obj0
= 0 ;
15248 PyObject
* obj1
= 0 ;
15249 PyObject
* obj2
= 0 ;
15250 PyObject
* obj3
= 0 ;
15251 PyObject
* obj4
= 0 ;
15252 PyObject
* obj5
= 0 ;
15253 PyObject
* obj6
= 0 ;
15254 PyObject
* obj7
= 0 ;
15255 PyObject
* obj8
= 0 ;
15256 PyObject
* obj9
= 0 ;
15257 PyObject
* obj10
= 0 ;
15258 char * kwnames
[] = {
15259 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15264 if (!SWIG_IsOK(res1
)) {
15265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15267 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15269 if (!SWIG_IsOK(res2
)) {
15270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15275 if (!SWIG_IsOK(ecode3
)) {
15276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15278 arg3
= static_cast< int >(val3
);
15282 arg4
= wxString_in_helper(obj3
);
15283 if (arg4
== NULL
) SWIG_fail
;
15290 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15296 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15300 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15301 if (!SWIG_IsOK(ecode7
)) {
15302 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15304 arg7
= static_cast< long >(val7
);
15307 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15308 if (!SWIG_IsOK(ecode8
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15311 arg8
= static_cast< int >(val8
);
15314 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15315 if (!SWIG_IsOK(ecode9
)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15318 arg9
= static_cast< int >(val9
);
15321 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15322 if (!SWIG_IsOK(ecode10
)) {
15323 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15325 arg10
= static_cast< int >(val10
);
15329 arg11
= wxString_in_helper(obj10
);
15330 if (arg11
== NULL
) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15365 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15366 PyObject
*resultobj
= 0;
15367 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15371 PyObject
*swig_obj
[1] ;
15373 if (!args
) SWIG_fail
;
15374 swig_obj
[0] = args
;
15375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15376 if (!SWIG_IsOK(res1
)) {
15377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15379 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= SWIG_From_int(static_cast< int >(result
));
15393 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
= 0;
15395 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 char * kwnames
[] = {
15404 (char *) "self",(char *) "value", NULL
15407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15409 if (!SWIG_IsOK(res1
)) {
15410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15412 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15414 if (!SWIG_IsOK(ecode2
)) {
15415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15417 arg2
= static_cast< int >(val2
);
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 (arg1
)->SetValue(arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_Py_Void();
15431 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
= 0;
15433 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15434 wxString
*arg2
= 0 ;
15437 bool temp2
= false ;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char * kwnames
[] = {
15441 (char *) "self",(char *) "text", NULL
15444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15446 if (!SWIG_IsOK(res1
)) {
15447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15449 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15451 arg2
= wxString_in_helper(obj1
);
15452 if (arg2
== NULL
) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 (arg1
)->SetValue((wxString
const &)*arg2
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_Py_Void();
15476 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
= 0;
15478 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15487 PyObject
* obj0
= 0 ;
15488 PyObject
* obj1
= 0 ;
15489 PyObject
* obj2
= 0 ;
15490 char * kwnames
[] = {
15491 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15496 if (!SWIG_IsOK(res1
)) {
15497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15499 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15501 if (!SWIG_IsOK(ecode2
)) {
15502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15504 arg2
= static_cast< int >(val2
);
15505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15506 if (!SWIG_IsOK(ecode3
)) {
15507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15509 arg3
= static_cast< int >(val3
);
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 (arg1
)->SetRange(arg2
,arg3
);
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= SWIG_Py_Void();
15523 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15524 PyObject
*resultobj
= 0;
15525 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15529 PyObject
*swig_obj
[1] ;
15531 if (!args
) SWIG_fail
;
15532 swig_obj
[0] = args
;
15533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15537 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 resultobj
= SWIG_From_int(static_cast< int >(result
));
15551 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15552 PyObject
*resultobj
= 0;
15553 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15557 PyObject
*swig_obj
[1] ;
15559 if (!args
) SWIG_fail
;
15560 swig_obj
[0] = args
;
15561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15562 if (!SWIG_IsOK(res1
)) {
15563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15565 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15572 resultobj
= SWIG_From_int(static_cast< int >(result
));
15579 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
= 0;
15581 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15590 PyObject
* obj0
= 0 ;
15591 PyObject
* obj1
= 0 ;
15592 PyObject
* obj2
= 0 ;
15593 char * kwnames
[] = {
15594 (char *) "self",(char *) "from",(char *) "to", NULL
15597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15599 if (!SWIG_IsOK(res1
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15602 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15603 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15604 if (!SWIG_IsOK(ecode2
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15607 arg2
= static_cast< long >(val2
);
15608 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15609 if (!SWIG_IsOK(ecode3
)) {
15610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15612 arg3
= static_cast< long >(val3
);
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 (arg1
)->SetSelection(arg2
,arg3
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_Py_Void();
15626 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
= 0;
15628 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15629 SwigValueWrapper
<wxVisualAttributes
> result
;
15632 PyObject
* obj0
= 0 ;
15633 char * kwnames
[] = {
15634 (char *) "variant", NULL
15637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15639 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15640 if (!SWIG_IsOK(ecode1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15643 arg1
= static_cast< wxWindowVariant
>(val1
);
15646 if (!wxPyCheckForApp()) SWIG_fail
;
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15659 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15662 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15663 return SWIG_Py_Void();
15666 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15667 return SWIG_Python_InitShadowInstance(args
);
15670 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
= 0;
15672 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15673 int arg2
= (int) 0 ;
15674 wxSpinEvent
*result
= 0 ;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 char * kwnames
[] = {
15682 (char *) "commandType",(char *) "winid", NULL
15685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15688 if (!SWIG_IsOK(ecode1
)) {
15689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15691 arg1
= static_cast< wxEventType
>(val1
);
15694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15695 if (!SWIG_IsOK(ecode2
)) {
15696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15698 arg2
= static_cast< int >(val2
);
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15713 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15714 PyObject
*resultobj
= 0;
15715 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15719 PyObject
*swig_obj
[1] ;
15721 if (!args
) SWIG_fail
;
15722 swig_obj
[0] = args
;
15723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15724 if (!SWIG_IsOK(res1
)) {
15725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15727 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_From_int(static_cast< int >(result
));
15741 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
= 0;
15743 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 PyObject
* obj1
= 0 ;
15751 char * kwnames
[] = {
15752 (char *) "self",(char *) "pos", NULL
15755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15757 if (!SWIG_IsOK(res1
)) {
15758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15760 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15762 if (!SWIG_IsOK(ecode2
)) {
15763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15765 arg2
= static_cast< int >(val2
);
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 (arg1
)->SetPosition(arg2
);
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 resultobj
= SWIG_Py_Void();
15779 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15782 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15783 return SWIG_Py_Void();
15786 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15787 return SWIG_Python_InitShadowInstance(args
);
15790 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15791 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15796 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15797 PyObject
*pyobj
= 0;
15801 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15803 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15810 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15811 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15816 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15817 PyObject
*pyobj
= 0;
15821 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15823 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15830 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
= 0;
15832 wxWindow
*arg1
= (wxWindow
*) 0 ;
15833 int arg2
= (int) -1 ;
15834 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15835 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15836 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15837 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15838 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15839 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15840 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15841 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15842 int arg7
= (int) 0 ;
15843 long arg8
= (long) wxRA_HORIZONTAL
;
15844 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15845 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15846 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15847 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15848 wxRadioBox
*result
= 0 ;
15853 bool temp3
= false ;
15856 bool temp6
= false ;
15863 bool temp10
= false ;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 PyObject
* obj2
= 0 ;
15867 PyObject
* obj3
= 0 ;
15868 PyObject
* obj4
= 0 ;
15869 PyObject
* obj5
= 0 ;
15870 PyObject
* obj6
= 0 ;
15871 PyObject
* obj7
= 0 ;
15872 PyObject
* obj8
= 0 ;
15873 PyObject
* obj9
= 0 ;
15874 char * kwnames
[] = {
15875 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15883 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15886 if (!SWIG_IsOK(ecode2
)) {
15887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15889 arg2
= static_cast< int >(val2
);
15893 arg3
= wxString_in_helper(obj2
);
15894 if (arg3
== NULL
) SWIG_fail
;
15901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15912 if (! PySequence_Check(obj5
)) {
15913 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15916 arg6
= new wxArrayString
;
15918 int i
, len
=PySequence_Length(obj5
);
15919 for (i
=0; i
<len
; i
++) {
15920 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15921 wxString
* s
= wxString_in_helper(item
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15930 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15931 if (!SWIG_IsOK(ecode7
)) {
15932 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15934 arg7
= static_cast< int >(val7
);
15937 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15938 if (!SWIG_IsOK(ecode8
)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15941 arg8
= static_cast< long >(val8
);
15944 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15945 if (!SWIG_IsOK(res9
)) {
15946 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15951 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15955 arg10
= wxString_in_helper(obj9
);
15956 if (arg10
== NULL
) SWIG_fail
;
15961 if (!wxPyCheckForApp()) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (wxRadioBox
*)new wxRadioBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15973 if (temp6
) delete arg6
;
15986 if (temp6
) delete arg6
;
15996 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15997 PyObject
*resultobj
= 0;
15998 wxRadioBox
*result
= 0 ;
16000 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16002 if (!wxPyCheckForApp()) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 result
= (wxRadioBox
*)new wxRadioBox();
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16015 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
= 0;
16017 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16018 wxWindow
*arg2
= (wxWindow
*) 0 ;
16019 int arg3
= (int) -1 ;
16020 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16021 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16022 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16023 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16024 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16025 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16026 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16027 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16028 int arg8
= (int) 0 ;
16029 long arg9
= (long) wxRA_HORIZONTAL
;
16030 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16031 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16032 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16033 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16041 bool temp4
= false ;
16044 bool temp7
= false ;
16051 bool temp11
= false ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 PyObject
* obj2
= 0 ;
16055 PyObject
* obj3
= 0 ;
16056 PyObject
* obj4
= 0 ;
16057 PyObject
* obj5
= 0 ;
16058 PyObject
* obj6
= 0 ;
16059 PyObject
* obj7
= 0 ;
16060 PyObject
* obj8
= 0 ;
16061 PyObject
* obj9
= 0 ;
16062 PyObject
* obj10
= 0 ;
16063 char * kwnames
[] = {
16064 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16069 if (!SWIG_IsOK(res1
)) {
16070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16072 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16074 if (!SWIG_IsOK(res2
)) {
16075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16077 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16080 if (!SWIG_IsOK(ecode3
)) {
16081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16083 arg3
= static_cast< int >(val3
);
16087 arg4
= wxString_in_helper(obj3
);
16088 if (arg4
== NULL
) SWIG_fail
;
16095 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16101 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16106 if (! PySequence_Check(obj6
)) {
16107 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16110 arg7
= new wxArrayString
;
16112 int i
, len
=PySequence_Length(obj6
);
16113 for (i
=0; i
<len
; i
++) {
16114 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16115 wxString
* s
= wxString_in_helper(item
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16124 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16125 if (!SWIG_IsOK(ecode8
)) {
16126 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16128 arg8
= static_cast< int >(val8
);
16131 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16132 if (!SWIG_IsOK(ecode9
)) {
16133 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16135 arg9
= static_cast< long >(val9
);
16138 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16139 if (!SWIG_IsOK(res10
)) {
16140 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16145 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16149 arg11
= wxString_in_helper(obj10
);
16150 if (arg11
== NULL
) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16168 if (temp7
) delete arg7
;
16181 if (temp7
) delete arg7
;
16191 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
= 0;
16193 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 PyObject
* obj1
= 0 ;
16201 char * kwnames
[] = {
16202 (char *) "self",(char *) "n", NULL
16205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16207 if (!SWIG_IsOK(res1
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16210 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16212 if (!SWIG_IsOK(ecode2
)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16215 arg2
= static_cast< int >(val2
);
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 (arg1
)->SetSelection(arg2
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= SWIG_Py_Void();
16229 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16230 PyObject
*resultobj
= 0;
16231 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16235 PyObject
*swig_obj
[1] ;
16237 if (!args
) SWIG_fail
;
16238 swig_obj
[0] = args
;
16239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16240 if (!SWIG_IsOK(res1
)) {
16241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16243 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= SWIG_From_int(static_cast< int >(result
));
16257 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16258 PyObject
*resultobj
= 0;
16259 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16263 PyObject
*swig_obj
[1] ;
16265 if (!args
) SWIG_fail
;
16266 swig_obj
[0] = args
;
16267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16268 if (!SWIG_IsOK(res1
)) {
16269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16271 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16291 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
= 0;
16293 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16294 wxString
*arg2
= 0 ;
16298 bool temp2
= false ;
16299 PyObject
* obj0
= 0 ;
16300 PyObject
* obj1
= 0 ;
16301 char * kwnames
[] = {
16302 (char *) "self",(char *) "s", NULL
16305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16307 if (!SWIG_IsOK(res1
)) {
16308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16310 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16312 arg2
= wxString_in_helper(obj1
);
16313 if (arg2
== NULL
) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16340 PyObject
*resultobj
= 0;
16341 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16345 PyObject
*swig_obj
[1] ;
16347 if (!args
) SWIG_fail
;
16348 swig_obj
[0] = args
;
16349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16350 if (!SWIG_IsOK(res1
)) {
16351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16353 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16367 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
= 0;
16369 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16370 wxString
*arg2
= 0 ;
16374 bool temp2
= false ;
16375 PyObject
* obj0
= 0 ;
16376 PyObject
* obj1
= 0 ;
16377 char * kwnames
[] = {
16378 (char *) "self",(char *) "s", NULL
16381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16383 if (!SWIG_IsOK(res1
)) {
16384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16386 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16388 arg2
= wxString_in_helper(obj1
);
16389 if (arg2
== NULL
) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= SWIG_From_int(static_cast< int >(result
));
16413 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
= 0;
16415 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 char * kwnames
[] = {
16425 (char *) "self",(char *) "n", NULL
16428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16430 if (!SWIG_IsOK(res1
)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16433 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16435 if (!SWIG_IsOK(ecode2
)) {
16436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16438 arg2
= static_cast< int >(val2
);
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16458 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
= 0;
16460 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16462 wxString
*arg3
= 0 ;
16467 bool temp3
= false ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 PyObject
* obj2
= 0 ;
16471 char * kwnames
[] = {
16472 (char *) "self",(char *) "n",(char *) "label", NULL
16475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16477 if (!SWIG_IsOK(res1
)) {
16478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16480 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16482 if (!SWIG_IsOK(ecode2
)) {
16483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16485 arg2
= static_cast< int >(val2
);
16487 arg3
= wxString_in_helper(obj2
);
16488 if (arg3
== NULL
) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= SWIG_Py_Void();
16512 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
= 0;
16514 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16515 unsigned int arg2
;
16516 bool arg3
= (bool) true ;
16519 unsigned int val2
;
16523 PyObject
* obj0
= 0 ;
16524 PyObject
* obj1
= 0 ;
16525 PyObject
* obj2
= 0 ;
16526 char * kwnames
[] = {
16527 (char *) "self",(char *) "n",(char *) "enable", NULL
16530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16532 if (!SWIG_IsOK(res1
)) {
16533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16535 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16536 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16537 if (!SWIG_IsOK(ecode2
)) {
16538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16540 arg2
= static_cast< unsigned int >(val2
);
16542 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16543 if (!SWIG_IsOK(ecode3
)) {
16544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16546 arg3
= static_cast< bool >(val3
);
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 (arg1
)->Enable(arg2
,arg3
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= SWIG_Py_Void();
16561 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
= 0;
16563 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16564 unsigned int arg2
;
16565 bool arg3
= (bool) true ;
16568 unsigned int val2
;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 PyObject
* obj2
= 0 ;
16575 char * kwnames
[] = {
16576 (char *) "self",(char *) "n",(char *) "show", NULL
16579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16581 if (!SWIG_IsOK(res1
)) {
16582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16584 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16585 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16586 if (!SWIG_IsOK(ecode2
)) {
16587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16589 arg2
= static_cast< unsigned int >(val2
);
16591 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16592 if (!SWIG_IsOK(ecode3
)) {
16593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16595 arg3
= static_cast< bool >(val3
);
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->Show(arg2
,arg3
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_Py_Void();
16610 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
= 0;
16612 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16613 unsigned int arg2
;
16617 unsigned int val2
;
16619 PyObject
* obj0
= 0 ;
16620 PyObject
* obj1
= 0 ;
16621 char * kwnames
[] = {
16622 (char *) "self",(char *) "n", NULL
16625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16627 if (!SWIG_IsOK(res1
)) {
16628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16630 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16631 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16632 if (!SWIG_IsOK(ecode2
)) {
16633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16635 arg2
= static_cast< unsigned int >(val2
);
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16651 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
= 0;
16653 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16654 unsigned int arg2
;
16658 unsigned int val2
;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 char * kwnames
[] = {
16663 (char *) "self",(char *) "n", NULL
16666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16668 if (!SWIG_IsOK(res1
)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16671 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16672 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16673 if (!SWIG_IsOK(ecode2
)) {
16674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16676 arg2
= static_cast< unsigned int >(val2
);
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16692 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16693 PyObject
*resultobj
= 0;
16694 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16695 unsigned int result
;
16698 PyObject
*swig_obj
[1] ;
16700 if (!args
) SWIG_fail
;
16701 swig_obj
[0] = args
;
16702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16703 if (!SWIG_IsOK(res1
)) {
16704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16706 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16720 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16721 PyObject
*resultobj
= 0;
16722 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16723 unsigned int result
;
16726 PyObject
*swig_obj
[1] ;
16728 if (!args
) SWIG_fail
;
16729 swig_obj
[0] = args
;
16730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16731 if (!SWIG_IsOK(res1
)) {
16732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16734 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16741 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16748 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
= 0;
16750 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 PyObject
* obj2
= 0 ;
16766 PyObject
* obj3
= 0 ;
16767 char * kwnames
[] = {
16768 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16773 if (!SWIG_IsOK(res1
)) {
16774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16776 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16778 if (!SWIG_IsOK(ecode2
)) {
16779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16781 arg2
= static_cast< int >(val2
);
16782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16783 if (!SWIG_IsOK(ecode3
)) {
16784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16786 arg3
= static_cast< wxDirection
>(val3
);
16787 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16788 if (!SWIG_IsOK(ecode4
)) {
16789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16791 arg4
= static_cast< long >(val4
);
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_From_int(static_cast< int >(result
));
16805 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
= 0;
16807 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16808 unsigned int arg2
;
16809 wxString
*arg3
= 0 ;
16812 unsigned int val2
;
16814 bool temp3
= false ;
16815 PyObject
* obj0
= 0 ;
16816 PyObject
* obj1
= 0 ;
16817 PyObject
* obj2
= 0 ;
16818 char * kwnames
[] = {
16819 (char *) "self",(char *) "item",(char *) "text", NULL
16822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16824 if (!SWIG_IsOK(res1
)) {
16825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16827 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16828 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16829 if (!SWIG_IsOK(ecode2
)) {
16830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16832 arg2
= static_cast< unsigned int >(val2
);
16834 arg3
= wxString_in_helper(obj2
);
16835 if (arg3
== NULL
) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= SWIG_Py_Void();
16859 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
= 0;
16861 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16862 unsigned int arg2
;
16863 wxToolTip
*result
= 0 ;
16866 unsigned int val2
;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj1
= 0 ;
16870 char * kwnames
[] = {
16871 (char *) "self",(char *) "item", NULL
16874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16876 if (!SWIG_IsOK(res1
)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16879 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16880 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16881 if (!SWIG_IsOK(ecode2
)) {
16882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16884 arg2
= static_cast< unsigned int >(val2
);
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16900 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
= 0;
16902 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16903 unsigned int arg2
;
16904 wxString
*arg3
= 0 ;
16907 unsigned int val2
;
16909 bool temp3
= false ;
16910 PyObject
* obj0
= 0 ;
16911 PyObject
* obj1
= 0 ;
16912 PyObject
* obj2
= 0 ;
16913 char * kwnames
[] = {
16914 (char *) "self",(char *) "n",(char *) "helpText", NULL
16917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16919 if (!SWIG_IsOK(res1
)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16922 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16923 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16924 if (!SWIG_IsOK(ecode2
)) {
16925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16927 arg2
= static_cast< unsigned int >(val2
);
16929 arg3
= wxString_in_helper(obj2
);
16930 if (arg3
== NULL
) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= SWIG_Py_Void();
16954 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
= 0;
16956 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16957 unsigned int arg2
;
16961 unsigned int val2
;
16963 PyObject
* obj0
= 0 ;
16964 PyObject
* obj1
= 0 ;
16965 char * kwnames
[] = {
16966 (char *) "self",(char *) "n", NULL
16969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16971 if (!SWIG_IsOK(res1
)) {
16972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16974 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16975 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16976 if (!SWIG_IsOK(ecode2
)) {
16977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16979 arg2
= static_cast< unsigned int >(val2
);
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16999 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
= 0;
17001 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17002 SwigValueWrapper
<wxVisualAttributes
> result
;
17005 PyObject
* obj0
= 0 ;
17006 char * kwnames
[] = {
17007 (char *) "variant", NULL
17010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17013 if (!SWIG_IsOK(ecode1
)) {
17014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17016 arg1
= static_cast< wxWindowVariant
>(val1
);
17019 if (!wxPyCheckForApp()) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17032 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17035 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17036 return SWIG_Py_Void();
17039 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17040 return SWIG_Python_InitShadowInstance(args
);
17043 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
= 0;
17045 wxWindow
*arg1
= (wxWindow
*) 0 ;
17046 int arg2
= (int) -1 ;
17047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17053 long arg6
= (long) 0 ;
17054 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17055 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17056 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17057 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17058 wxRadioButton
*result
= 0 ;
17063 bool temp3
= false ;
17070 bool temp8
= false ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 PyObject
* obj2
= 0 ;
17074 PyObject
* obj3
= 0 ;
17075 PyObject
* obj4
= 0 ;
17076 PyObject
* obj5
= 0 ;
17077 PyObject
* obj6
= 0 ;
17078 PyObject
* obj7
= 0 ;
17079 char * kwnames
[] = {
17080 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17085 if (!SWIG_IsOK(res1
)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17091 if (!SWIG_IsOK(ecode2
)) {
17092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17094 arg2
= static_cast< int >(val2
);
17098 arg3
= wxString_in_helper(obj2
);
17099 if (arg3
== NULL
) SWIG_fail
;
17106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17116 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17117 if (!SWIG_IsOK(ecode6
)) {
17118 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17120 arg6
= static_cast< long >(val6
);
17123 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17124 if (!SWIG_IsOK(res7
)) {
17125 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17130 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17134 arg8
= wxString_in_helper(obj7
);
17135 if (arg8
== NULL
) SWIG_fail
;
17140 if (!wxPyCheckForApp()) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17169 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17170 PyObject
*resultobj
= 0;
17171 wxRadioButton
*result
= 0 ;
17173 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17175 if (!wxPyCheckForApp()) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (wxRadioButton
*)new wxRadioButton();
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17188 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
= 0;
17190 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17191 wxWindow
*arg2
= (wxWindow
*) 0 ;
17192 int arg3
= (int) -1 ;
17193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17199 long arg7
= (long) 0 ;
17200 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17201 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17202 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17203 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17211 bool temp4
= false ;
17218 bool temp9
= false ;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 PyObject
* obj2
= 0 ;
17222 PyObject
* obj3
= 0 ;
17223 PyObject
* obj4
= 0 ;
17224 PyObject
* obj5
= 0 ;
17225 PyObject
* obj6
= 0 ;
17226 PyObject
* obj7
= 0 ;
17227 PyObject
* obj8
= 0 ;
17228 char * kwnames
[] = {
17229 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17234 if (!SWIG_IsOK(res1
)) {
17235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17237 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17239 if (!SWIG_IsOK(res2
)) {
17240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17242 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17245 if (!SWIG_IsOK(ecode3
)) {
17246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17248 arg3
= static_cast< int >(val3
);
17252 arg4
= wxString_in_helper(obj3
);
17253 if (arg4
== NULL
) SWIG_fail
;
17260 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17266 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17270 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17271 if (!SWIG_IsOK(ecode7
)) {
17272 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17274 arg7
= static_cast< long >(val7
);
17277 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17278 if (!SWIG_IsOK(res8
)) {
17279 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17284 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17288 arg9
= wxString_in_helper(obj8
);
17289 if (arg9
== NULL
) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17324 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17325 PyObject
*resultobj
= 0;
17326 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17330 PyObject
*swig_obj
[1] ;
17332 if (!args
) SWIG_fail
;
17333 swig_obj
[0] = args
;
17334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17335 if (!SWIG_IsOK(res1
)) {
17336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17338 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (bool)(arg1
)->GetValue();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17354 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
= 0;
17356 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17362 PyObject
* obj0
= 0 ;
17363 PyObject
* obj1
= 0 ;
17364 char * kwnames
[] = {
17365 (char *) "self",(char *) "value", NULL
17368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17370 if (!SWIG_IsOK(res1
)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17373 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17374 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17375 if (!SWIG_IsOK(ecode2
)) {
17376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17378 arg2
= static_cast< bool >(val2
);
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 (arg1
)->SetValue(arg2
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= SWIG_Py_Void();
17392 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
= 0;
17394 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17395 SwigValueWrapper
<wxVisualAttributes
> result
;
17398 PyObject
* obj0
= 0 ;
17399 char * kwnames
[] = {
17400 (char *) "variant", NULL
17403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17406 if (!SWIG_IsOK(ecode1
)) {
17407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17409 arg1
= static_cast< wxWindowVariant
>(val1
);
17412 if (!wxPyCheckForApp()) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17425 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17428 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17429 return SWIG_Py_Void();
17432 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17433 return SWIG_Python_InitShadowInstance(args
);
17436 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17437 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17442 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17443 PyObject
*pyobj
= 0;
17447 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17449 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17456 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
= 0;
17458 wxWindow
*arg1
= (wxWindow
*) 0 ;
17459 int arg2
= (int) -1 ;
17460 int arg3
= (int) 0 ;
17461 int arg4
= (int) 0 ;
17462 int arg5
= (int) 100 ;
17463 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17464 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17465 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17466 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17467 long arg8
= (long) wxSL_HORIZONTAL
;
17468 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17469 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17470 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17471 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17472 wxSlider
*result
= 0 ;
17489 bool temp10
= false ;
17490 PyObject
* obj0
= 0 ;
17491 PyObject
* obj1
= 0 ;
17492 PyObject
* obj2
= 0 ;
17493 PyObject
* obj3
= 0 ;
17494 PyObject
* obj4
= 0 ;
17495 PyObject
* obj5
= 0 ;
17496 PyObject
* obj6
= 0 ;
17497 PyObject
* obj7
= 0 ;
17498 PyObject
* obj8
= 0 ;
17499 PyObject
* obj9
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17509 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17512 if (!SWIG_IsOK(ecode2
)) {
17513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17515 arg2
= static_cast< int >(val2
);
17518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17519 if (!SWIG_IsOK(ecode3
)) {
17520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17522 arg3
= static_cast< int >(val3
);
17525 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17526 if (!SWIG_IsOK(ecode4
)) {
17527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17529 arg4
= static_cast< int >(val4
);
17532 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17533 if (!SWIG_IsOK(ecode5
)) {
17534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17536 arg5
= static_cast< int >(val5
);
17541 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17547 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17551 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17552 if (!SWIG_IsOK(ecode8
)) {
17553 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17555 arg8
= static_cast< long >(val8
);
17558 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17559 if (!SWIG_IsOK(res9
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17565 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17569 arg10
= wxString_in_helper(obj9
);
17570 if (arg10
== NULL
) SWIG_fail
;
17575 if (!wxPyCheckForApp()) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17596 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17597 PyObject
*resultobj
= 0;
17598 wxSlider
*result
= 0 ;
17600 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17602 if (!wxPyCheckForApp()) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (wxSlider
*)new wxSlider();
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17615 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
= 0;
17617 wxSlider
*arg1
= (wxSlider
*) 0 ;
17618 wxWindow
*arg2
= (wxWindow
*) 0 ;
17619 int arg3
= (int) -1 ;
17620 int arg4
= (int) 0 ;
17621 int arg5
= (int) 0 ;
17622 int arg6
= (int) 100 ;
17623 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17624 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17625 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17626 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17627 long arg9
= (long) wxSL_HORIZONTAL
;
17628 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17629 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17630 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17631 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17651 bool temp11
= false ;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 PyObject
* obj2
= 0 ;
17655 PyObject
* obj3
= 0 ;
17656 PyObject
* obj4
= 0 ;
17657 PyObject
* obj5
= 0 ;
17658 PyObject
* obj6
= 0 ;
17659 PyObject
* obj7
= 0 ;
17660 PyObject
* obj8
= 0 ;
17661 PyObject
* obj9
= 0 ;
17662 PyObject
* obj10
= 0 ;
17663 char * kwnames
[] = {
17664 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17669 if (!SWIG_IsOK(res1
)) {
17670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17672 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17674 if (!SWIG_IsOK(res2
)) {
17675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17677 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17679 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17680 if (!SWIG_IsOK(ecode3
)) {
17681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17683 arg3
= static_cast< int >(val3
);
17686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17687 if (!SWIG_IsOK(ecode4
)) {
17688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17690 arg4
= static_cast< int >(val4
);
17693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17694 if (!SWIG_IsOK(ecode5
)) {
17695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17697 arg5
= static_cast< int >(val5
);
17700 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17701 if (!SWIG_IsOK(ecode6
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17704 arg6
= static_cast< int >(val6
);
17709 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17715 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17719 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17720 if (!SWIG_IsOK(ecode9
)) {
17721 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17723 arg9
= static_cast< long >(val9
);
17726 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17727 if (!SWIG_IsOK(res10
)) {
17728 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17733 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17737 arg11
= wxString_in_helper(obj10
);
17738 if (arg11
== NULL
) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17765 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17766 PyObject
*resultobj
= 0;
17767 wxSlider
*arg1
= (wxSlider
*) 0 ;
17771 PyObject
*swig_obj
[1] ;
17773 if (!args
) SWIG_fail
;
17774 swig_obj
[0] = args
;
17775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17776 if (!SWIG_IsOK(res1
)) {
17777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17779 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= SWIG_From_int(static_cast< int >(result
));
17793 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
= 0;
17795 wxSlider
*arg1
= (wxSlider
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 char * kwnames
[] = {
17804 (char *) "self",(char *) "value", NULL
17807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17809 if (!SWIG_IsOK(res1
)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17812 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17814 if (!SWIG_IsOK(ecode2
)) {
17815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17817 arg2
= static_cast< int >(val2
);
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 (arg1
)->SetValue(arg2
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= SWIG_Py_Void();
17831 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
= 0;
17833 wxSlider
*arg1
= (wxSlider
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 PyObject
* obj2
= 0 ;
17845 char * kwnames
[] = {
17846 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17851 if (!SWIG_IsOK(res1
)) {
17852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17854 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17856 if (!SWIG_IsOK(ecode2
)) {
17857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17859 arg2
= static_cast< int >(val2
);
17860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17861 if (!SWIG_IsOK(ecode3
)) {
17862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17864 arg3
= static_cast< int >(val3
);
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 (arg1
)->SetRange(arg2
,arg3
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_Py_Void();
17878 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17879 PyObject
*resultobj
= 0;
17880 wxSlider
*arg1
= (wxSlider
*) 0 ;
17884 PyObject
*swig_obj
[1] ;
17886 if (!args
) SWIG_fail
;
17887 swig_obj
[0] = args
;
17888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17889 if (!SWIG_IsOK(res1
)) {
17890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17892 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_From_int(static_cast< int >(result
));
17906 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17907 PyObject
*resultobj
= 0;
17908 wxSlider
*arg1
= (wxSlider
*) 0 ;
17912 PyObject
*swig_obj
[1] ;
17914 if (!args
) SWIG_fail
;
17915 swig_obj
[0] = args
;
17916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17917 if (!SWIG_IsOK(res1
)) {
17918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17920 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_From_int(static_cast< int >(result
));
17934 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
= 0;
17936 wxSlider
*arg1
= (wxSlider
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char * kwnames
[] = {
17945 (char *) "self",(char *) "minValue", NULL
17948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17950 if (!SWIG_IsOK(res1
)) {
17951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17953 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17955 if (!SWIG_IsOK(ecode2
)) {
17956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17958 arg2
= static_cast< int >(val2
);
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 (arg1
)->SetMin(arg2
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= SWIG_Py_Void();
17972 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
= 0;
17974 wxSlider
*arg1
= (wxSlider
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 char * kwnames
[] = {
17983 (char *) "self",(char *) "maxValue", NULL
17986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17988 if (!SWIG_IsOK(res1
)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17991 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17993 if (!SWIG_IsOK(ecode2
)) {
17994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17996 arg2
= static_cast< int >(val2
);
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 (arg1
)->SetMax(arg2
);
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 resultobj
= SWIG_Py_Void();
18010 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
= 0;
18012 wxSlider
*arg1
= (wxSlider
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char * kwnames
[] = {
18021 (char *) "self",(char *) "lineSize", NULL
18024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18026 if (!SWIG_IsOK(res1
)) {
18027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18029 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18031 if (!SWIG_IsOK(ecode2
)) {
18032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18034 arg2
= static_cast< int >(val2
);
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 (arg1
)->SetLineSize(arg2
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_Py_Void();
18048 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= 0;
18050 wxSlider
*arg1
= (wxSlider
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 char * kwnames
[] = {
18059 (char *) "self",(char *) "pageSize", NULL
18062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18064 if (!SWIG_IsOK(res1
)) {
18065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18067 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18069 if (!SWIG_IsOK(ecode2
)) {
18070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18072 arg2
= static_cast< int >(val2
);
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->SetPageSize(arg2
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_Py_Void();
18086 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18087 PyObject
*resultobj
= 0;
18088 wxSlider
*arg1
= (wxSlider
*) 0 ;
18092 PyObject
*swig_obj
[1] ;
18094 if (!args
) SWIG_fail
;
18095 swig_obj
[0] = args
;
18096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18100 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_From_int(static_cast< int >(result
));
18114 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18115 PyObject
*resultobj
= 0;
18116 wxSlider
*arg1
= (wxSlider
*) 0 ;
18120 PyObject
*swig_obj
[1] ;
18122 if (!args
) SWIG_fail
;
18123 swig_obj
[0] = args
;
18124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18125 if (!SWIG_IsOK(res1
)) {
18126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18128 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 resultobj
= SWIG_From_int(static_cast< int >(result
));
18142 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
= 0;
18144 wxSlider
*arg1
= (wxSlider
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 PyObject
* obj1
= 0 ;
18152 char * kwnames
[] = {
18153 (char *) "self",(char *) "lenPixels", NULL
18156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18158 if (!SWIG_IsOK(res1
)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18161 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18163 if (!SWIG_IsOK(ecode2
)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18166 arg2
= static_cast< int >(val2
);
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 (arg1
)->SetThumbLength(arg2
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= SWIG_Py_Void();
18180 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18181 PyObject
*resultobj
= 0;
18182 wxSlider
*arg1
= (wxSlider
*) 0 ;
18186 PyObject
*swig_obj
[1] ;
18188 if (!args
) SWIG_fail
;
18189 swig_obj
[0] = args
;
18190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18191 if (!SWIG_IsOK(res1
)) {
18192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18194 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= SWIG_From_int(static_cast< int >(result
));
18208 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
= 0;
18210 wxSlider
*arg1
= (wxSlider
*) 0 ;
18212 int arg3
= (int) 1 ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 PyObject
* obj2
= 0 ;
18222 char * kwnames
[] = {
18223 (char *) "self",(char *) "n",(char *) "pos", NULL
18226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18228 if (!SWIG_IsOK(res1
)) {
18229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18231 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18233 if (!SWIG_IsOK(ecode2
)) {
18234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18236 arg2
= static_cast< int >(val2
);
18238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18239 if (!SWIG_IsOK(ecode3
)) {
18240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18242 arg3
= static_cast< int >(val3
);
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->SetTickFreq(arg2
,arg3
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= SWIG_Py_Void();
18257 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18258 PyObject
*resultobj
= 0;
18259 wxSlider
*arg1
= (wxSlider
*) 0 ;
18263 PyObject
*swig_obj
[1] ;
18265 if (!args
) SWIG_fail
;
18266 swig_obj
[0] = args
;
18267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18268 if (!SWIG_IsOK(res1
)) {
18269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18271 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= SWIG_From_int(static_cast< int >(result
));
18285 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18286 PyObject
*resultobj
= 0;
18287 wxSlider
*arg1
= (wxSlider
*) 0 ;
18290 PyObject
*swig_obj
[1] ;
18292 if (!args
) SWIG_fail
;
18293 swig_obj
[0] = args
;
18294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18295 if (!SWIG_IsOK(res1
)) {
18296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18298 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 (arg1
)->ClearTicks();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_Py_Void();
18312 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
= 0;
18314 wxSlider
*arg1
= (wxSlider
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 PyObject
* obj1
= 0 ;
18322 char * kwnames
[] = {
18323 (char *) "self",(char *) "tickPos", NULL
18326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18328 if (!SWIG_IsOK(res1
)) {
18329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18331 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18333 if (!SWIG_IsOK(ecode2
)) {
18334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18336 arg2
= static_cast< int >(val2
);
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 (arg1
)->SetTick(arg2
);
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= SWIG_Py_Void();
18350 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18351 PyObject
*resultobj
= 0;
18352 wxSlider
*arg1
= (wxSlider
*) 0 ;
18355 PyObject
*swig_obj
[1] ;
18357 if (!args
) SWIG_fail
;
18358 swig_obj
[0] = args
;
18359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18360 if (!SWIG_IsOK(res1
)) {
18361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18363 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 (arg1
)->ClearSel();
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= SWIG_Py_Void();
18377 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18378 PyObject
*resultobj
= 0;
18379 wxSlider
*arg1
= (wxSlider
*) 0 ;
18383 PyObject
*swig_obj
[1] ;
18385 if (!args
) SWIG_fail
;
18386 swig_obj
[0] = args
;
18387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18388 if (!SWIG_IsOK(res1
)) {
18389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18391 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 resultobj
= SWIG_From_int(static_cast< int >(result
));
18405 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18406 PyObject
*resultobj
= 0;
18407 wxSlider
*arg1
= (wxSlider
*) 0 ;
18411 PyObject
*swig_obj
[1] ;
18413 if (!args
) SWIG_fail
;
18414 swig_obj
[0] = args
;
18415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18416 if (!SWIG_IsOK(res1
)) {
18417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18419 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= SWIG_From_int(static_cast< int >(result
));
18433 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
= 0;
18435 wxSlider
*arg1
= (wxSlider
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 PyObject
* obj2
= 0 ;
18447 char * kwnames
[] = {
18448 (char *) "self",(char *) "min",(char *) "max", NULL
18451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18453 if (!SWIG_IsOK(res1
)) {
18454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18456 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18458 if (!SWIG_IsOK(ecode2
)) {
18459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18461 arg2
= static_cast< int >(val2
);
18462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18463 if (!SWIG_IsOK(ecode3
)) {
18464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18466 arg3
= static_cast< int >(val3
);
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetSelection(arg2
,arg3
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_Py_Void();
18480 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
= 0;
18482 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18483 SwigValueWrapper
<wxVisualAttributes
> result
;
18486 PyObject
* obj0
= 0 ;
18487 char * kwnames
[] = {
18488 (char *) "variant", NULL
18491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18494 if (!SWIG_IsOK(ecode1
)) {
18495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18497 arg1
= static_cast< wxWindowVariant
>(val1
);
18500 if (!wxPyCheckForApp()) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18513 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18516 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18517 return SWIG_Py_Void();
18520 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18521 return SWIG_Python_InitShadowInstance(args
);
18524 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18525 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18530 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18531 PyObject
*pyobj
= 0;
18535 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18537 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18544 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
= 0;
18546 wxWindow
*arg1
= (wxWindow
*) 0 ;
18547 int arg2
= (int) -1 ;
18548 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18549 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18554 long arg6
= (long) 0 ;
18555 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18556 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18557 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18558 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18559 wxToggleButton
*result
= 0 ;
18564 bool temp3
= false ;
18571 bool temp8
= false ;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 PyObject
* obj2
= 0 ;
18575 PyObject
* obj3
= 0 ;
18576 PyObject
* obj4
= 0 ;
18577 PyObject
* obj5
= 0 ;
18578 PyObject
* obj6
= 0 ;
18579 PyObject
* obj7
= 0 ;
18580 char * kwnames
[] = {
18581 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18586 if (!SWIG_IsOK(res1
)) {
18587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18589 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18592 if (!SWIG_IsOK(ecode2
)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18595 arg2
= static_cast< int >(val2
);
18599 arg3
= wxString_in_helper(obj2
);
18600 if (arg3
== NULL
) SWIG_fail
;
18607 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18613 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18617 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18618 if (!SWIG_IsOK(ecode6
)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18621 arg6
= static_cast< long >(val6
);
18624 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18625 if (!SWIG_IsOK(res7
)) {
18626 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18631 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18635 arg8
= wxString_in_helper(obj7
);
18636 if (arg8
== NULL
) SWIG_fail
;
18641 if (!wxPyCheckForApp()) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18670 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18671 PyObject
*resultobj
= 0;
18672 wxToggleButton
*result
= 0 ;
18674 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18676 if (!wxPyCheckForApp()) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 result
= (wxToggleButton
*)new wxToggleButton();
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18689 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
= 0;
18691 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18692 wxWindow
*arg2
= (wxWindow
*) 0 ;
18693 int arg3
= (int) -1 ;
18694 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18695 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18696 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18697 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18698 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18699 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18700 long arg7
= (long) 0 ;
18701 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18702 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18703 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18704 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18712 bool temp4
= false ;
18719 bool temp9
= false ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 PyObject
* obj2
= 0 ;
18723 PyObject
* obj3
= 0 ;
18724 PyObject
* obj4
= 0 ;
18725 PyObject
* obj5
= 0 ;
18726 PyObject
* obj6
= 0 ;
18727 PyObject
* obj7
= 0 ;
18728 PyObject
* obj8
= 0 ;
18729 char * kwnames
[] = {
18730 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18735 if (!SWIG_IsOK(res1
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18738 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18740 if (!SWIG_IsOK(res2
)) {
18741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18743 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18746 if (!SWIG_IsOK(ecode3
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18749 arg3
= static_cast< int >(val3
);
18753 arg4
= wxString_in_helper(obj3
);
18754 if (arg4
== NULL
) SWIG_fail
;
18761 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18767 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18771 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18772 if (!SWIG_IsOK(ecode7
)) {
18773 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18775 arg7
= static_cast< long >(val7
);
18778 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18779 if (!SWIG_IsOK(res8
)) {
18780 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18785 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18789 arg9
= wxString_in_helper(obj8
);
18790 if (arg9
== NULL
) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18825 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
= 0;
18827 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18833 PyObject
* obj0
= 0 ;
18834 PyObject
* obj1
= 0 ;
18835 char * kwnames
[] = {
18836 (char *) "self",(char *) "value", NULL
18839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18841 if (!SWIG_IsOK(res1
)) {
18842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18844 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18845 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18846 if (!SWIG_IsOK(ecode2
)) {
18847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18849 arg2
= static_cast< bool >(val2
);
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 (arg1
)->SetValue(arg2
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_Py_Void();
18863 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18864 PyObject
*resultobj
= 0;
18865 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18869 PyObject
*swig_obj
[1] ;
18871 if (!args
) SWIG_fail
;
18872 swig_obj
[0] = args
;
18873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18874 if (!SWIG_IsOK(res1
)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18877 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18893 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
= 0;
18895 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18896 SwigValueWrapper
<wxVisualAttributes
> result
;
18899 PyObject
* obj0
= 0 ;
18900 char * kwnames
[] = {
18901 (char *) "variant", NULL
18904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18906 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18907 if (!SWIG_IsOK(ecode1
)) {
18908 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18910 arg1
= static_cast< wxWindowVariant
>(val1
);
18913 if (!wxPyCheckForApp()) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18926 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18929 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18930 return SWIG_Py_Void();
18933 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18934 return SWIG_Python_InitShadowInstance(args
);
18937 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18938 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18943 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18944 PyObject
*pyobj
= 0;
18948 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18950 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18957 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18958 PyObject
*resultobj
= 0;
18959 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18963 PyObject
*swig_obj
[1] ;
18965 if (!args
) SWIG_fail
;
18966 swig_obj
[0] = args
;
18967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18968 if (!SWIG_IsOK(res1
)) {
18969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18971 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18985 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
= 0;
18987 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18989 wxWindow
*result
= 0 ;
18994 PyObject
* obj0
= 0 ;
18995 PyObject
* obj1
= 0 ;
18996 char * kwnames
[] = {
18997 (char *) "self",(char *) "n", NULL
19000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19002 if (!SWIG_IsOK(res1
)) {
19003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19005 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19006 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19007 if (!SWIG_IsOK(ecode2
)) {
19008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19010 arg2
= static_cast< size_t >(val2
);
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= wxPyMake_wxObject(result
, 0);
19026 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19027 PyObject
*resultobj
= 0;
19028 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19029 wxWindow
*result
= 0 ;
19032 PyObject
*swig_obj
[1] ;
19034 if (!args
) SWIG_fail
;
19035 swig_obj
[0] = args
;
19036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19037 if (!SWIG_IsOK(res1
)) {
19038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19040 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= wxPyMake_wxObject(result
, 0);
19056 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19057 PyObject
*resultobj
= 0;
19058 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19062 PyObject
*swig_obj
[1] ;
19064 if (!args
) SWIG_fail
;
19065 swig_obj
[0] = args
;
19066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19067 if (!SWIG_IsOK(res1
)) {
19068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19070 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= SWIG_From_int(static_cast< int >(result
));
19084 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
= 0;
19086 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19088 wxString
*arg3
= 0 ;
19094 bool temp3
= false ;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 PyObject
* obj2
= 0 ;
19098 char * kwnames
[] = {
19099 (char *) "self",(char *) "n",(char *) "strText", NULL
19102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19104 if (!SWIG_IsOK(res1
)) {
19105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19107 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19108 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19109 if (!SWIG_IsOK(ecode2
)) {
19110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19112 arg2
= static_cast< size_t >(val2
);
19114 arg3
= wxString_in_helper(obj2
);
19115 if (arg3
== NULL
) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19141 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
= 0;
19143 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19150 PyObject
* obj0
= 0 ;
19151 PyObject
* obj1
= 0 ;
19152 char * kwnames
[] = {
19153 (char *) "self",(char *) "n", NULL
19156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19158 if (!SWIG_IsOK(res1
)) {
19159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19161 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19162 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19163 if (!SWIG_IsOK(ecode2
)) {
19164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19166 arg2
= static_cast< size_t >(val2
);
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19186 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
= 0;
19188 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19189 wxImageList
*arg2
= (wxImageList
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 char * kwnames
[] = {
19197 (char *) "self",(char *) "imageList", NULL
19200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19205 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19207 if (!SWIG_IsOK(res2
)) {
19208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19210 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 (arg1
)->SetImageList(arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_Py_Void();
19224 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
= 0;
19226 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19227 wxImageList
*arg2
= (wxImageList
*) 0 ;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char * kwnames
[] = {
19234 (char *) "self",(char *) "imageList", NULL
19237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19239 if (!SWIG_IsOK(res1
)) {
19240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19242 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19243 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19244 if (!SWIG_IsOK(res2
)) {
19245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 (arg1
)->AssignImageList(arg2
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= SWIG_Py_Void();
19260 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19261 PyObject
*resultobj
= 0;
19262 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19263 wxImageList
*result
= 0 ;
19266 PyObject
*swig_obj
[1] ;
19268 if (!args
) SWIG_fail
;
19269 swig_obj
[0] = args
;
19270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19271 if (!SWIG_IsOK(res1
)) {
19272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19274 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19290 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
= 0;
19292 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 char * kwnames
[] = {
19302 (char *) "self",(char *) "n", NULL
19305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19307 if (!SWIG_IsOK(res1
)) {
19308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19310 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19311 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19312 if (!SWIG_IsOK(ecode2
)) {
19313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19315 arg2
= static_cast< size_t >(val2
);
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 resultobj
= SWIG_From_int(static_cast< int >(result
));
19329 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
= 0;
19331 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 PyObject
* obj2
= 0 ;
19344 char * kwnames
[] = {
19345 (char *) "self",(char *) "n",(char *) "imageId", NULL
19348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19350 if (!SWIG_IsOK(res1
)) {
19351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19353 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19354 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19355 if (!SWIG_IsOK(ecode2
)) {
19356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19358 arg2
= static_cast< size_t >(val2
);
19359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19360 if (!SWIG_IsOK(ecode3
)) {
19361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19363 arg3
= static_cast< int >(val3
);
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
= 0;
19381 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 char * kwnames
[] = {
19389 (char *) "self",(char *) "size", NULL
19392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19394 if (!SWIG_IsOK(res1
)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19397 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= SWIG_Py_Void();
19415 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
= 0;
19417 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 char * kwnames
[] = {
19426 (char *) "self",(char *) "sizePage", NULL
19429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19431 if (!SWIG_IsOK(res1
)) {
19432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19434 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19437 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19452 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19453 PyObject
*resultobj
= 0;
19454 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19455 unsigned int result
;
19458 PyObject
*swig_obj
[1] ;
19460 if (!args
) SWIG_fail
;
19461 swig_obj
[0] = args
;
19462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19463 if (!SWIG_IsOK(res1
)) {
19464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19466 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19480 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
= 0;
19482 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19483 unsigned int arg2
;
19486 unsigned int val2
;
19488 PyObject
* obj0
= 0 ;
19489 PyObject
* obj1
= 0 ;
19490 char * kwnames
[] = {
19491 (char *) "self",(char *) "internalBorder", NULL
19494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19496 if (!SWIG_IsOK(res1
)) {
19497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19499 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19500 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19501 if (!SWIG_IsOK(ecode2
)) {
19502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19504 arg2
= static_cast< unsigned int >(val2
);
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 (arg1
)->SetInternalBorder(arg2
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= SWIG_Py_Void();
19518 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19519 PyObject
*resultobj
= 0;
19520 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19524 PyObject
*swig_obj
[1] ;
19526 if (!args
) SWIG_fail
;
19527 swig_obj
[0] = args
;
19528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19529 if (!SWIG_IsOK(res1
)) {
19530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19532 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19548 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
= 0;
19550 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 char * kwnames
[] = {
19559 (char *) "self",(char *) "margin", NULL
19562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19564 if (!SWIG_IsOK(res1
)) {
19565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19567 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19569 if (!SWIG_IsOK(ecode2
)) {
19570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19572 arg2
= static_cast< int >(val2
);
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 (arg1
)->SetControlMargin(arg2
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= SWIG_Py_Void();
19586 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19587 PyObject
*resultobj
= 0;
19588 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19592 PyObject
*swig_obj
[1] ;
19594 if (!args
) SWIG_fail
;
19595 swig_obj
[0] = args
;
19596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19597 if (!SWIG_IsOK(res1
)) {
19598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19600 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_From_int(static_cast< int >(result
));
19614 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= 0;
19616 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 char * kwnames
[] = {
19625 (char *) "self",(char *) "fit", NULL
19628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19630 if (!SWIG_IsOK(res1
)) {
19631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19633 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19634 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19635 if (!SWIG_IsOK(ecode2
)) {
19636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19638 arg2
= static_cast< bool >(val2
);
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->SetFitToCurrentPage(arg2
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= SWIG_Py_Void();
19652 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19653 PyObject
*resultobj
= 0;
19654 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19658 PyObject
*swig_obj
[1] ;
19660 if (!args
) SWIG_fail
;
19661 swig_obj
[0] = args
;
19662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19663 if (!SWIG_IsOK(res1
)) {
19664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19666 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19682 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19683 PyObject
*resultobj
= 0;
19684 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19685 wxSizer
*result
= 0 ;
19688 PyObject
*swig_obj
[1] ;
19690 if (!args
) SWIG_fail
;
19691 swig_obj
[0] = args
;
19692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19693 if (!SWIG_IsOK(res1
)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19696 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19712 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
= 0;
19714 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 PyObject
* obj1
= 0 ;
19723 char * kwnames
[] = {
19724 (char *) "self",(char *) "n", NULL
19727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19729 if (!SWIG_IsOK(res1
)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19732 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19733 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19734 if (!SWIG_IsOK(ecode2
)) {
19735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19737 arg2
= static_cast< size_t >(val2
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)(arg1
)->DeletePage(arg2
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19755 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 char * kwnames
[] = {
19765 (char *) "self",(char *) "n", NULL
19768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19770 if (!SWIG_IsOK(res1
)) {
19771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19773 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19774 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19775 if (!SWIG_IsOK(ecode2
)) {
19776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19778 arg2
= static_cast< size_t >(val2
);
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (bool)(arg1
)->RemovePage(arg2
);
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19794 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19795 PyObject
*resultobj
= 0;
19796 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19800 PyObject
*swig_obj
[1] ;
19802 if (!args
) SWIG_fail
;
19803 swig_obj
[0] = args
;
19804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19805 if (!SWIG_IsOK(res1
)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19808 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (bool)(arg1
)->DeleteAllPages();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19824 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
= 0;
19826 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19827 wxWindow
*arg2
= (wxWindow
*) 0 ;
19828 wxString
*arg3
= 0 ;
19829 bool arg4
= (bool) false ;
19830 int arg5
= (int) -1 ;
19836 bool temp3
= false ;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 PyObject
* obj2
= 0 ;
19844 PyObject
* obj3
= 0 ;
19845 PyObject
* obj4
= 0 ;
19846 char * kwnames
[] = {
19847 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19852 if (!SWIG_IsOK(res1
)) {
19853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19855 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19857 if (!SWIG_IsOK(res2
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19860 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19862 arg3
= wxString_in_helper(obj2
);
19863 if (arg3
== NULL
) SWIG_fail
;
19867 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19868 if (!SWIG_IsOK(ecode4
)) {
19869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19871 arg4
= static_cast< bool >(val4
);
19874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19875 if (!SWIG_IsOK(ecode5
)) {
19876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19878 arg5
= static_cast< int >(val5
);
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19903 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
= 0;
19905 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19907 wxWindow
*arg3
= (wxWindow
*) 0 ;
19908 wxString
*arg4
= 0 ;
19909 bool arg5
= (bool) false ;
19910 int arg6
= (int) -1 ;
19918 bool temp4
= false ;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19925 PyObject
* obj2
= 0 ;
19926 PyObject
* obj3
= 0 ;
19927 PyObject
* obj4
= 0 ;
19928 PyObject
* obj5
= 0 ;
19929 char * kwnames
[] = {
19930 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19935 if (!SWIG_IsOK(res1
)) {
19936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19938 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19939 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19940 if (!SWIG_IsOK(ecode2
)) {
19941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19943 arg2
= static_cast< size_t >(val2
);
19944 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19945 if (!SWIG_IsOK(res3
)) {
19946 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19948 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19950 arg4
= wxString_in_helper(obj3
);
19951 if (arg4
== NULL
) SWIG_fail
;
19955 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19956 if (!SWIG_IsOK(ecode5
)) {
19957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19959 arg5
= static_cast< bool >(val5
);
19962 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19963 if (!SWIG_IsOK(ecode6
)) {
19964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19966 arg6
= static_cast< int >(val6
);
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19991 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
= 0;
19993 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 char * kwnames
[] = {
20003 (char *) "self",(char *) "n", NULL
20006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20008 if (!SWIG_IsOK(res1
)) {
20009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20011 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20012 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20013 if (!SWIG_IsOK(ecode2
)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20016 arg2
= static_cast< size_t >(val2
);
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (int)(arg1
)->SetSelection(arg2
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= SWIG_From_int(static_cast< int >(result
));
20030 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
= 0;
20032 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20033 bool arg2
= (bool) true ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char * kwnames
[] = {
20041 (char *) "self",(char *) "forward", NULL
20044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20046 if (!SWIG_IsOK(res1
)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20049 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20051 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20052 if (!SWIG_IsOK(ecode2
)) {
20053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20055 arg2
= static_cast< bool >(val2
);
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 (arg1
)->AdvanceSelection(arg2
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_Py_Void();
20070 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
= 0;
20072 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20073 wxPoint
*arg2
= 0 ;
20074 long *arg3
= (long *) 0 ;
20080 int res3
= SWIG_TMPOBJ
;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 char * kwnames
[] = {
20084 (char *) "self",(char *) "pt", NULL
20088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20090 if (!SWIG_IsOK(res1
)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20093 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= SWIG_From_int(static_cast< int >(result
));
20105 if (SWIG_IsTmpObj(res3
)) {
20106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20108 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20117 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
= 0;
20119 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20120 SwigValueWrapper
<wxVisualAttributes
> result
;
20123 PyObject
* obj0
= 0 ;
20124 char * kwnames
[] = {
20125 (char *) "variant", NULL
20128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20130 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20131 if (!SWIG_IsOK(ecode1
)) {
20132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20134 arg1
= static_cast< wxWindowVariant
>(val1
);
20137 if (!wxPyCheckForApp()) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20150 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20153 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20154 return SWIG_Py_Void();
20157 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
= 0;
20159 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20160 int arg2
= (int) 0 ;
20161 int arg3
= (int) -1 ;
20162 int arg4
= (int) -1 ;
20163 wxBookCtrlBaseEvent
*result
= 0 ;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 PyObject
* obj2
= 0 ;
20175 PyObject
* obj3
= 0 ;
20176 char * kwnames
[] = {
20177 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20182 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20183 if (!SWIG_IsOK(ecode1
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20186 arg1
= static_cast< wxEventType
>(val1
);
20189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20190 if (!SWIG_IsOK(ecode2
)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20193 arg2
= static_cast< int >(val2
);
20196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20197 if (!SWIG_IsOK(ecode3
)) {
20198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20200 arg3
= static_cast< int >(val3
);
20203 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20204 if (!SWIG_IsOK(ecode4
)) {
20205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20207 arg4
= static_cast< int >(val4
);
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20222 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20223 PyObject
*resultobj
= 0;
20224 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20228 PyObject
*swig_obj
[1] ;
20230 if (!args
) SWIG_fail
;
20231 swig_obj
[0] = args
;
20232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20233 if (!SWIG_IsOK(res1
)) {
20234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20236 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_From_int(static_cast< int >(result
));
20250 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
= 0;
20252 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 PyObject
* obj1
= 0 ;
20260 char * kwnames
[] = {
20261 (char *) "self",(char *) "nSel", NULL
20264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20266 if (!SWIG_IsOK(res1
)) {
20267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20269 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20271 if (!SWIG_IsOK(ecode2
)) {
20272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20274 arg2
= static_cast< int >(val2
);
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 (arg1
)->SetSelection(arg2
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_Py_Void();
20288 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20289 PyObject
*resultobj
= 0;
20290 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20294 PyObject
*swig_obj
[1] ;
20296 if (!args
) SWIG_fail
;
20297 swig_obj
[0] = args
;
20298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20299 if (!SWIG_IsOK(res1
)) {
20300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20302 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_From_int(static_cast< int >(result
));
20316 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
= 0;
20318 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 char * kwnames
[] = {
20327 (char *) "self",(char *) "nOldSel", NULL
20330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20332 if (!SWIG_IsOK(res1
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20335 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20337 if (!SWIG_IsOK(ecode2
)) {
20338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20340 arg2
= static_cast< int >(val2
);
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 (arg1
)->SetOldSelection(arg2
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= SWIG_Py_Void();
20354 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20357 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20358 return SWIG_Py_Void();
20361 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20362 return SWIG_Python_InitShadowInstance(args
);
20365 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
= 0;
20367 wxWindow
*arg1
= (wxWindow
*) 0 ;
20368 int arg2
= (int) -1 ;
20369 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20370 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20371 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20372 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20373 long arg5
= (long) 0 ;
20374 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20375 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20376 wxNotebook
*result
= 0 ;
20385 bool temp6
= false ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 PyObject
* obj2
= 0 ;
20389 PyObject
* obj3
= 0 ;
20390 PyObject
* obj4
= 0 ;
20391 PyObject
* obj5
= 0 ;
20392 char * kwnames
[] = {
20393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20398 if (!SWIG_IsOK(res1
)) {
20399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20401 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20404 if (!SWIG_IsOK(ecode2
)) {
20405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20407 arg2
= static_cast< int >(val2
);
20412 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20418 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20422 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20423 if (!SWIG_IsOK(ecode5
)) {
20424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20426 arg5
= static_cast< long >(val5
);
20430 arg6
= wxString_in_helper(obj5
);
20431 if (arg6
== NULL
) SWIG_fail
;
20436 if (!wxPyCheckForApp()) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20457 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20458 PyObject
*resultobj
= 0;
20459 wxNotebook
*result
= 0 ;
20461 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20463 if (!wxPyCheckForApp()) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= (wxNotebook
*)new wxNotebook();
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20476 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
= 0;
20478 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20479 wxWindow
*arg2
= (wxWindow
*) 0 ;
20480 int arg3
= (int) -1 ;
20481 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20482 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20483 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20484 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20485 long arg6
= (long) 0 ;
20486 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20487 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20499 bool temp7
= false ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 PyObject
* obj2
= 0 ;
20503 PyObject
* obj3
= 0 ;
20504 PyObject
* obj4
= 0 ;
20505 PyObject
* obj5
= 0 ;
20506 PyObject
* obj6
= 0 ;
20507 char * kwnames
[] = {
20508 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20513 if (!SWIG_IsOK(res1
)) {
20514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20516 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20518 if (!SWIG_IsOK(res2
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20521 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20524 if (!SWIG_IsOK(ecode3
)) {
20525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20527 arg3
= static_cast< int >(val3
);
20532 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20538 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20542 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20543 if (!SWIG_IsOK(ecode6
)) {
20544 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20546 arg6
= static_cast< long >(val6
);
20550 arg7
= wxString_in_helper(obj6
);
20551 if (arg7
== NULL
) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20578 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20579 PyObject
*resultobj
= 0;
20580 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20584 PyObject
*swig_obj
[1] ;
20586 if (!args
) SWIG_fail
;
20587 swig_obj
[0] = args
;
20588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20589 if (!SWIG_IsOK(res1
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20592 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_From_int(static_cast< int >(result
));
20606 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
= 0;
20608 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20615 char * kwnames
[] = {
20616 (char *) "self",(char *) "padding", NULL
20619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20621 if (!SWIG_IsOK(res1
)) {
20622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20624 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20627 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_Py_Void();
20642 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
= 0;
20644 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char * kwnames
[] = {
20652 (char *) "self",(char *) "sz", NULL
20655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20657 if (!SWIG_IsOK(res1
)) {
20658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20660 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20663 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_Py_Void();
20678 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20679 PyObject
*resultobj
= 0;
20680 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20684 PyObject
*swig_obj
[1] ;
20686 if (!args
) SWIG_fail
;
20687 swig_obj
[0] = args
;
20688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20689 if (!SWIG_IsOK(res1
)) {
20690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20692 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20706 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
= 0;
20708 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20709 SwigValueWrapper
<wxVisualAttributes
> result
;
20712 PyObject
* obj0
= 0 ;
20713 char * kwnames
[] = {
20714 (char *) "variant", NULL
20717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20720 if (!SWIG_IsOK(ecode1
)) {
20721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20723 arg1
= static_cast< wxWindowVariant
>(val1
);
20726 if (!wxPyCheckForApp()) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20739 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20742 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20743 return SWIG_Py_Void();
20746 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20747 return SWIG_Python_InitShadowInstance(args
);
20750 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
= 0;
20752 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20753 int arg2
= (int) 0 ;
20754 int arg3
= (int) -1 ;
20755 int arg4
= (int) -1 ;
20756 wxNotebookEvent
*result
= 0 ;
20765 PyObject
* obj0
= 0 ;
20766 PyObject
* obj1
= 0 ;
20767 PyObject
* obj2
= 0 ;
20768 PyObject
* obj3
= 0 ;
20769 char * kwnames
[] = {
20770 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20775 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20776 if (!SWIG_IsOK(ecode1
)) {
20777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20779 arg1
= static_cast< wxEventType
>(val1
);
20782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20783 if (!SWIG_IsOK(ecode2
)) {
20784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20786 arg2
= static_cast< int >(val2
);
20789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20790 if (!SWIG_IsOK(ecode3
)) {
20791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20793 arg3
= static_cast< int >(val3
);
20796 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20797 if (!SWIG_IsOK(ecode4
)) {
20798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20800 arg4
= static_cast< int >(val4
);
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20815 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20818 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20819 return SWIG_Py_Void();
20822 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20823 return SWIG_Python_InitShadowInstance(args
);
20826 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
= 0;
20828 wxWindow
*arg1
= (wxWindow
*) 0 ;
20829 int arg2
= (int) -1 ;
20830 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20831 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20832 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20833 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20834 long arg5
= (long) 0 ;
20835 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20836 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20837 wxListbook
*result
= 0 ;
20846 bool temp6
= false ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 PyObject
* obj2
= 0 ;
20850 PyObject
* obj3
= 0 ;
20851 PyObject
* obj4
= 0 ;
20852 PyObject
* obj5
= 0 ;
20853 char * kwnames
[] = {
20854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20859 if (!SWIG_IsOK(res1
)) {
20860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20862 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20865 if (!SWIG_IsOK(ecode2
)) {
20866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20868 arg2
= static_cast< int >(val2
);
20873 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20879 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20883 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20884 if (!SWIG_IsOK(ecode5
)) {
20885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20887 arg5
= static_cast< long >(val5
);
20891 arg6
= wxString_in_helper(obj5
);
20892 if (arg6
== NULL
) SWIG_fail
;
20897 if (!wxPyCheckForApp()) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20918 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20919 PyObject
*resultobj
= 0;
20920 wxListbook
*result
= 0 ;
20922 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20924 if (!wxPyCheckForApp()) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (wxListbook
*)new wxListbook();
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20937 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
= 0;
20939 wxListbook
*arg1
= (wxListbook
*) 0 ;
20940 wxWindow
*arg2
= (wxWindow
*) 0 ;
20941 int arg3
= (int) -1 ;
20942 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20943 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20944 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20945 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20946 long arg6
= (long) 0 ;
20947 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20948 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20960 bool temp7
= false ;
20961 PyObject
* obj0
= 0 ;
20962 PyObject
* obj1
= 0 ;
20963 PyObject
* obj2
= 0 ;
20964 PyObject
* obj3
= 0 ;
20965 PyObject
* obj4
= 0 ;
20966 PyObject
* obj5
= 0 ;
20967 PyObject
* obj6
= 0 ;
20968 char * kwnames
[] = {
20969 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20974 if (!SWIG_IsOK(res1
)) {
20975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20977 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20979 if (!SWIG_IsOK(res2
)) {
20980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20982 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20985 if (!SWIG_IsOK(ecode3
)) {
20986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20988 arg3
= static_cast< int >(val3
);
20993 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20999 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21003 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21004 if (!SWIG_IsOK(ecode6
)) {
21005 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21007 arg6
= static_cast< long >(val6
);
21011 arg7
= wxString_in_helper(obj6
);
21012 if (arg7
== NULL
) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21039 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21040 PyObject
*resultobj
= 0;
21041 wxListbook
*arg1
= (wxListbook
*) 0 ;
21042 wxListView
*result
= 0 ;
21045 PyObject
*swig_obj
[1] ;
21047 if (!args
) SWIG_fail
;
21048 swig_obj
[0] = args
;
21049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21050 if (!SWIG_IsOK(res1
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21053 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (wxListView
*)(arg1
)->GetListView();
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21067 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21070 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21071 return SWIG_Py_Void();
21074 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21075 return SWIG_Python_InitShadowInstance(args
);
21078 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
= 0;
21080 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21081 int arg2
= (int) 0 ;
21082 int arg3
= (int) -1 ;
21083 int arg4
= (int) -1 ;
21084 wxListbookEvent
*result
= 0 ;
21093 PyObject
* obj0
= 0 ;
21094 PyObject
* obj1
= 0 ;
21095 PyObject
* obj2
= 0 ;
21096 PyObject
* obj3
= 0 ;
21097 char * kwnames
[] = {
21098 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21103 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21104 if (!SWIG_IsOK(ecode1
)) {
21105 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21107 arg1
= static_cast< wxEventType
>(val1
);
21110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21111 if (!SWIG_IsOK(ecode2
)) {
21112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21114 arg2
= static_cast< int >(val2
);
21117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21118 if (!SWIG_IsOK(ecode3
)) {
21119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21121 arg3
= static_cast< int >(val3
);
21124 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21125 if (!SWIG_IsOK(ecode4
)) {
21126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21128 arg4
= static_cast< int >(val4
);
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21143 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21146 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21147 return SWIG_Py_Void();
21150 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21151 return SWIG_Python_InitShadowInstance(args
);
21154 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
= 0;
21156 wxWindow
*arg1
= (wxWindow
*) 0 ;
21158 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21159 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21160 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21161 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21162 long arg5
= (long) 0 ;
21163 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21164 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21165 wxChoicebook
*result
= 0 ;
21174 bool temp6
= false ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 PyObject
* obj2
= 0 ;
21178 PyObject
* obj3
= 0 ;
21179 PyObject
* obj4
= 0 ;
21180 PyObject
* obj5
= 0 ;
21181 char * kwnames
[] = {
21182 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21187 if (!SWIG_IsOK(res1
)) {
21188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21190 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21192 if (!SWIG_IsOK(ecode2
)) {
21193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21195 arg2
= static_cast< int >(val2
);
21199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21209 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21210 if (!SWIG_IsOK(ecode5
)) {
21211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21213 arg5
= static_cast< long >(val5
);
21217 arg6
= wxString_in_helper(obj5
);
21218 if (arg6
== NULL
) SWIG_fail
;
21223 if (!wxPyCheckForApp()) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21244 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21245 PyObject
*resultobj
= 0;
21246 wxChoicebook
*result
= 0 ;
21248 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21250 if (!wxPyCheckForApp()) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (wxChoicebook
*)new wxChoicebook();
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21263 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
= 0;
21265 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21266 wxWindow
*arg2
= (wxWindow
*) 0 ;
21268 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21269 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21270 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21271 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21272 long arg6
= (long) 0 ;
21273 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21274 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21286 bool temp7
= false ;
21287 PyObject
* obj0
= 0 ;
21288 PyObject
* obj1
= 0 ;
21289 PyObject
* obj2
= 0 ;
21290 PyObject
* obj3
= 0 ;
21291 PyObject
* obj4
= 0 ;
21292 PyObject
* obj5
= 0 ;
21293 PyObject
* obj6
= 0 ;
21294 char * kwnames
[] = {
21295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21300 if (!SWIG_IsOK(res1
)) {
21301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21303 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21305 if (!SWIG_IsOK(res2
)) {
21306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21310 if (!SWIG_IsOK(ecode3
)) {
21311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21313 arg3
= static_cast< int >(val3
);
21317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21327 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21328 if (!SWIG_IsOK(ecode6
)) {
21329 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21331 arg6
= static_cast< long >(val6
);
21335 arg7
= wxString_in_helper(obj6
);
21336 if (arg7
== NULL
) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21363 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21364 PyObject
*resultobj
= 0;
21365 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21366 wxChoice
*result
= 0 ;
21369 PyObject
*swig_obj
[1] ;
21371 if (!args
) SWIG_fail
;
21372 swig_obj
[0] = args
;
21373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21374 if (!SWIG_IsOK(res1
)) {
21375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21377 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21391 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21394 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21395 return SWIG_Py_Void();
21398 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21399 return SWIG_Python_InitShadowInstance(args
);
21402 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
= 0;
21404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21405 int arg2
= (int) 0 ;
21406 int arg3
= (int) -1 ;
21407 int arg4
= (int) -1 ;
21408 wxChoicebookEvent
*result
= 0 ;
21417 PyObject
* obj0
= 0 ;
21418 PyObject
* obj1
= 0 ;
21419 PyObject
* obj2
= 0 ;
21420 PyObject
* obj3
= 0 ;
21421 char * kwnames
[] = {
21422 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21428 if (!SWIG_IsOK(ecode1
)) {
21429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21431 arg1
= static_cast< wxEventType
>(val1
);
21434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21435 if (!SWIG_IsOK(ecode2
)) {
21436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21438 arg2
= static_cast< int >(val2
);
21441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21442 if (!SWIG_IsOK(ecode3
)) {
21443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21445 arg3
= static_cast< int >(val3
);
21448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21449 if (!SWIG_IsOK(ecode4
)) {
21450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21452 arg4
= static_cast< int >(val4
);
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21467 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21470 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21471 return SWIG_Py_Void();
21474 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21475 return SWIG_Python_InitShadowInstance(args
);
21478 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
= 0;
21480 wxWindow
*arg1
= (wxWindow
*) 0 ;
21482 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21483 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21484 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21485 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21486 long arg5
= (long) wxBK_DEFAULT
;
21487 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21488 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21489 wxTreebook
*result
= 0 ;
21498 bool temp6
= false ;
21499 PyObject
* obj0
= 0 ;
21500 PyObject
* obj1
= 0 ;
21501 PyObject
* obj2
= 0 ;
21502 PyObject
* obj3
= 0 ;
21503 PyObject
* obj4
= 0 ;
21504 PyObject
* obj5
= 0 ;
21505 char * kwnames
[] = {
21506 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21511 if (!SWIG_IsOK(res1
)) {
21512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21514 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21516 if (!SWIG_IsOK(ecode2
)) {
21517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21519 arg2
= static_cast< int >(val2
);
21523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21529 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21533 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21534 if (!SWIG_IsOK(ecode5
)) {
21535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21537 arg5
= static_cast< long >(val5
);
21541 arg6
= wxString_in_helper(obj5
);
21542 if (arg6
== NULL
) SWIG_fail
;
21547 if (!wxPyCheckForApp()) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21568 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21569 PyObject
*resultobj
= 0;
21570 wxTreebook
*result
= 0 ;
21572 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21574 if (!wxPyCheckForApp()) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (wxTreebook
*)new wxTreebook();
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21587 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
= 0;
21589 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21590 wxWindow
*arg2
= (wxWindow
*) 0 ;
21592 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21593 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21594 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21595 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21596 long arg6
= (long) wxBK_DEFAULT
;
21597 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21598 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21610 bool temp7
= false ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 PyObject
* obj2
= 0 ;
21614 PyObject
* obj3
= 0 ;
21615 PyObject
* obj4
= 0 ;
21616 PyObject
* obj5
= 0 ;
21617 PyObject
* obj6
= 0 ;
21618 char * kwnames
[] = {
21619 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21624 if (!SWIG_IsOK(res1
)) {
21625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21627 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21629 if (!SWIG_IsOK(res2
)) {
21630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21632 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21634 if (!SWIG_IsOK(ecode3
)) {
21635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21637 arg3
= static_cast< int >(val3
);
21641 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21647 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21651 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21652 if (!SWIG_IsOK(ecode6
)) {
21653 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21655 arg6
= static_cast< long >(val6
);
21659 arg7
= wxString_in_helper(obj6
);
21660 if (arg7
== NULL
) SWIG_fail
;
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21687 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
= 0;
21689 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21691 wxWindow
*arg3
= (wxWindow
*) 0 ;
21692 wxString
*arg4
= 0 ;
21693 bool arg5
= (bool) false ;
21694 int arg6
= (int) wxNOT_FOUND
;
21702 bool temp4
= false ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 PyObject
* obj2
= 0 ;
21710 PyObject
* obj3
= 0 ;
21711 PyObject
* obj4
= 0 ;
21712 PyObject
* obj5
= 0 ;
21713 char * kwnames
[] = {
21714 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21719 if (!SWIG_IsOK(res1
)) {
21720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21722 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21723 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21724 if (!SWIG_IsOK(ecode2
)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21727 arg2
= static_cast< size_t >(val2
);
21728 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21729 if (!SWIG_IsOK(res3
)) {
21730 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21732 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21734 arg4
= wxString_in_helper(obj3
);
21735 if (arg4
== NULL
) SWIG_fail
;
21739 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21740 if (!SWIG_IsOK(ecode5
)) {
21741 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21743 arg5
= static_cast< bool >(val5
);
21746 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21747 if (!SWIG_IsOK(ecode6
)) {
21748 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21750 arg6
= static_cast< int >(val6
);
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21775 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
= 0;
21777 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21778 wxWindow
*arg2
= (wxWindow
*) 0 ;
21779 wxString
*arg3
= 0 ;
21780 bool arg4
= (bool) false ;
21781 int arg5
= (int) wxNOT_FOUND
;
21787 bool temp3
= false ;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 PyObject
* obj2
= 0 ;
21795 PyObject
* obj3
= 0 ;
21796 PyObject
* obj4
= 0 ;
21797 char * kwnames
[] = {
21798 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21803 if (!SWIG_IsOK(res1
)) {
21804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21806 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21808 if (!SWIG_IsOK(res2
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21811 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21813 arg3
= wxString_in_helper(obj2
);
21814 if (arg3
== NULL
) SWIG_fail
;
21818 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21819 if (!SWIG_IsOK(ecode4
)) {
21820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21822 arg4
= static_cast< bool >(val4
);
21825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21826 if (!SWIG_IsOK(ecode5
)) {
21827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21829 arg5
= static_cast< int >(val5
);
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21854 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
= 0;
21856 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 char * kwnames
[] = {
21866 (char *) "self",(char *) "pos", NULL
21869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21871 if (!SWIG_IsOK(res1
)) {
21872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21874 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21875 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21876 if (!SWIG_IsOK(ecode2
)) {
21877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21879 arg2
= static_cast< size_t >(val2
);
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21895 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
= 0;
21897 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21899 bool arg3
= (bool) true ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 PyObject
* obj2
= 0 ;
21910 char * kwnames
[] = {
21911 (char *) "self",(char *) "pos",(char *) "expand", NULL
21914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21919 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21920 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21921 if (!SWIG_IsOK(ecode2
)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21924 arg2
= static_cast< size_t >(val2
);
21926 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21927 if (!SWIG_IsOK(ecode3
)) {
21928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21930 arg3
= static_cast< bool >(val3
);
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21947 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21948 PyObject
*resultobj
= 0;
21949 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 char * kwnames
[] = {
21959 (char *) "self",(char *) "pos", NULL
21962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21964 if (!SWIG_IsOK(res1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21967 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21968 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21969 if (!SWIG_IsOK(ecode2
)) {
21970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21972 arg2
= static_cast< size_t >(val2
);
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (bool)(arg1
)->CollapseNode(arg2
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21988 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
= 0;
21990 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 char * kwnames
[] = {
22000 (char *) "self",(char *) "pos", NULL
22003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22005 if (!SWIG_IsOK(res1
)) {
22006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22008 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22009 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22010 if (!SWIG_IsOK(ecode2
)) {
22011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22013 arg2
= static_cast< size_t >(val2
);
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_From_int(static_cast< int >(result
));
22027 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22028 PyObject
*resultobj
= 0;
22029 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22030 wxPyTreeCtrl
*result
= 0 ;
22033 PyObject
*swig_obj
[1] ;
22035 if (!args
) SWIG_fail
;
22036 swig_obj
[0] = args
;
22037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22038 if (!SWIG_IsOK(res1
)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22041 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22057 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22060 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22061 return SWIG_Py_Void();
22064 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22065 return SWIG_Python_InitShadowInstance(args
);
22068 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
= 0;
22070 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22071 int arg2
= (int) 0 ;
22072 int arg3
= (int) wxNOT_FOUND
;
22073 int arg4
= (int) wxNOT_FOUND
;
22074 wxTreebookEvent
*result
= 0 ;
22083 PyObject
* obj0
= 0 ;
22084 PyObject
* obj1
= 0 ;
22085 PyObject
* obj2
= 0 ;
22086 PyObject
* obj3
= 0 ;
22087 char * kwnames
[] = {
22088 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22093 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22094 if (!SWIG_IsOK(ecode1
)) {
22095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22097 arg1
= static_cast< wxEventType
>(val1
);
22100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22101 if (!SWIG_IsOK(ecode2
)) {
22102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22104 arg2
= static_cast< int >(val2
);
22107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22108 if (!SWIG_IsOK(ecode3
)) {
22109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22111 arg3
= static_cast< int >(val3
);
22114 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22115 if (!SWIG_IsOK(ecode4
)) {
22116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22118 arg4
= static_cast< int >(val4
);
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22133 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22136 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22137 return SWIG_Py_Void();
22140 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22141 return SWIG_Python_InitShadowInstance(args
);
22144 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
= 0;
22146 wxWindow
*arg1
= (wxWindow
*) 0 ;
22148 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22149 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22150 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22151 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22152 long arg5
= (long) wxBK_DEFAULT
;
22153 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22154 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22155 wxToolbook
*result
= 0 ;
22164 bool temp6
= false ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 PyObject
* obj2
= 0 ;
22168 PyObject
* obj3
= 0 ;
22169 PyObject
* obj4
= 0 ;
22170 PyObject
* obj5
= 0 ;
22171 char * kwnames
[] = {
22172 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22177 if (!SWIG_IsOK(res1
)) {
22178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22180 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22182 if (!SWIG_IsOK(ecode2
)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22185 arg2
= static_cast< int >(val2
);
22189 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22195 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22199 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22200 if (!SWIG_IsOK(ecode5
)) {
22201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22203 arg5
= static_cast< long >(val5
);
22207 arg6
= wxString_in_helper(obj5
);
22208 if (arg6
== NULL
) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22233 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22234 PyObject
*resultobj
= 0;
22235 wxToolbook
*result
= 0 ;
22237 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (wxToolbook
*)new wxToolbook();
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22251 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
= 0;
22253 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22254 wxWindow
*arg2
= (wxWindow
*) 0 ;
22256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22260 long arg6
= (long) 0 ;
22261 wxString
const &arg7_defvalue
= wxEmptyString
;
22262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22274 bool temp7
= false ;
22275 PyObject
* obj0
= 0 ;
22276 PyObject
* obj1
= 0 ;
22277 PyObject
* obj2
= 0 ;
22278 PyObject
* obj3
= 0 ;
22279 PyObject
* obj4
= 0 ;
22280 PyObject
* obj5
= 0 ;
22281 PyObject
* obj6
= 0 ;
22282 char * kwnames
[] = {
22283 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22288 if (!SWIG_IsOK(res1
)) {
22289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22291 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22292 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22293 if (!SWIG_IsOK(res2
)) {
22294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22296 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22298 if (!SWIG_IsOK(ecode3
)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22301 arg3
= static_cast< int >(val3
);
22305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22315 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22316 if (!SWIG_IsOK(ecode6
)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22319 arg6
= static_cast< long >(val6
);
22323 arg7
= wxString_in_helper(obj6
);
22324 if (arg7
== NULL
) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22351 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22352 PyObject
*resultobj
= 0;
22353 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22354 wxToolBarBase
*result
= 0 ;
22357 PyObject
*swig_obj
[1] ;
22359 if (!args
) SWIG_fail
;
22360 swig_obj
[0] = args
;
22361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22362 if (!SWIG_IsOK(res1
)) {
22363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22365 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22381 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22382 PyObject
*resultobj
= 0;
22383 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22386 PyObject
*swig_obj
[1] ;
22388 if (!args
) SWIG_fail
;
22389 swig_obj
[0] = args
;
22390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22391 if (!SWIG_IsOK(res1
)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22394 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= SWIG_Py_Void();
22408 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22411 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22412 return SWIG_Py_Void();
22415 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22416 return SWIG_Python_InitShadowInstance(args
);
22419 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
= 0;
22421 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22422 int arg2
= (int) 0 ;
22423 int arg3
= (int) wxNOT_FOUND
;
22424 int arg4
= (int) wxNOT_FOUND
;
22425 wxToolbookEvent
*result
= 0 ;
22434 PyObject
* obj0
= 0 ;
22435 PyObject
* obj1
= 0 ;
22436 PyObject
* obj2
= 0 ;
22437 PyObject
* obj3
= 0 ;
22438 char * kwnames
[] = {
22439 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22444 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22445 if (!SWIG_IsOK(ecode1
)) {
22446 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22448 arg1
= static_cast< wxEventType
>(val1
);
22451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22452 if (!SWIG_IsOK(ecode2
)) {
22453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22455 arg2
= static_cast< int >(val2
);
22458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22459 if (!SWIG_IsOK(ecode3
)) {
22460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22462 arg3
= static_cast< int >(val3
);
22465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22466 if (!SWIG_IsOK(ecode4
)) {
22467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22469 arg4
= static_cast< int >(val4
);
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22484 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22487 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22488 return SWIG_Py_Void();
22491 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22492 return SWIG_Python_InitShadowInstance(args
);
22495 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22496 PyObject
*resultobj
= 0;
22497 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22501 PyObject
*swig_obj
[1] ;
22503 if (!args
) SWIG_fail
;
22504 swig_obj
[0] = args
;
22505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22506 if (!SWIG_IsOK(res1
)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22509 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 result
= (int)(arg1
)->GetId();
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= SWIG_From_int(static_cast< int >(result
));
22523 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22524 PyObject
*resultobj
= 0;
22525 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22526 wxControl
*result
= 0 ;
22529 PyObject
*swig_obj
[1] ;
22531 if (!args
) SWIG_fail
;
22532 swig_obj
[0] = args
;
22533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22534 if (!SWIG_IsOK(res1
)) {
22535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22537 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (wxControl
*)(arg1
)->GetControl();
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= wxPyMake_wxObject(result
, 0);
22553 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22554 PyObject
*resultobj
= 0;
22555 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22556 wxToolBarBase
*result
= 0 ;
22559 PyObject
*swig_obj
[1] ;
22561 if (!args
) SWIG_fail
;
22562 swig_obj
[0] = args
;
22563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22564 if (!SWIG_IsOK(res1
)) {
22565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22567 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22583 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22584 PyObject
*resultobj
= 0;
22585 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22589 PyObject
*swig_obj
[1] ;
22591 if (!args
) SWIG_fail
;
22592 swig_obj
[0] = args
;
22593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22594 if (!SWIG_IsOK(res1
)) {
22595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22597 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (int)(arg1
)->IsButton();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= SWIG_From_int(static_cast< int >(result
));
22611 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22612 PyObject
*resultobj
= 0;
22613 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22617 PyObject
*swig_obj
[1] ;
22619 if (!args
) SWIG_fail
;
22620 swig_obj
[0] = args
;
22621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22622 if (!SWIG_IsOK(res1
)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22625 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (int)(arg1
)->IsControl();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= SWIG_From_int(static_cast< int >(result
));
22639 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22640 PyObject
*resultobj
= 0;
22641 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22645 PyObject
*swig_obj
[1] ;
22647 if (!args
) SWIG_fail
;
22648 swig_obj
[0] = args
;
22649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22650 if (!SWIG_IsOK(res1
)) {
22651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22653 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 result
= (int)(arg1
)->IsSeparator();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 resultobj
= SWIG_From_int(static_cast< int >(result
));
22667 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22668 PyObject
*resultobj
= 0;
22669 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22673 PyObject
*swig_obj
[1] ;
22675 if (!args
) SWIG_fail
;
22676 swig_obj
[0] = args
;
22677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22678 if (!SWIG_IsOK(res1
)) {
22679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22681 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 result
= (int)(arg1
)->GetStyle();
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= SWIG_From_int(static_cast< int >(result
));
22695 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22696 PyObject
*resultobj
= 0;
22697 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22701 PyObject
*swig_obj
[1] ;
22703 if (!args
) SWIG_fail
;
22704 swig_obj
[0] = args
;
22705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22706 if (!SWIG_IsOK(res1
)) {
22707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22709 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 result
= (wxItemKind
)(arg1
)->GetKind();
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= SWIG_From_int(static_cast< int >(result
));
22723 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22724 PyObject
*resultobj
= 0;
22725 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22729 PyObject
*swig_obj
[1] ;
22731 if (!args
) SWIG_fail
;
22732 swig_obj
[0] = args
;
22733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22734 if (!SWIG_IsOK(res1
)) {
22735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22737 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= (bool)(arg1
)->IsEnabled();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22753 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22754 PyObject
*resultobj
= 0;
22755 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22759 PyObject
*swig_obj
[1] ;
22761 if (!args
) SWIG_fail
;
22762 swig_obj
[0] = args
;
22763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22764 if (!SWIG_IsOK(res1
)) {
22765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22767 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 result
= (bool)(arg1
)->IsToggled();
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22783 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22784 PyObject
*resultobj
= 0;
22785 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22789 PyObject
*swig_obj
[1] ;
22791 if (!args
) SWIG_fail
;
22792 swig_obj
[0] = args
;
22793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22794 if (!SWIG_IsOK(res1
)) {
22795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22797 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 result
= (bool)(arg1
)->CanBeToggled();
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22813 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22814 PyObject
*resultobj
= 0;
22815 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22816 wxBitmap
*result
= 0 ;
22819 PyObject
*swig_obj
[1] ;
22821 if (!args
) SWIG_fail
;
22822 swig_obj
[0] = args
;
22823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22824 if (!SWIG_IsOK(res1
)) {
22825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22827 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22832 result
= (wxBitmap
*) &_result_ref
;
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22838 wxBitmap
* resultptr
= new wxBitmap(*result
);
22839 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22847 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22848 PyObject
*resultobj
= 0;
22849 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22850 wxBitmap
*result
= 0 ;
22853 PyObject
*swig_obj
[1] ;
22855 if (!args
) SWIG_fail
;
22856 swig_obj
[0] = args
;
22857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22858 if (!SWIG_IsOK(res1
)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22861 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22866 result
= (wxBitmap
*) &_result_ref
;
22868 wxPyEndAllowThreads(__tstate
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22872 wxBitmap
* resultptr
= new wxBitmap(*result
);
22873 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22881 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22882 PyObject
*resultobj
= 0;
22883 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22887 PyObject
*swig_obj
[1] ;
22889 if (!args
) SWIG_fail
;
22890 swig_obj
[0] = args
;
22891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22892 if (!SWIG_IsOK(res1
)) {
22893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22895 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (arg1
)->GetBitmap();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22909 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22910 PyObject
*resultobj
= 0;
22911 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22915 PyObject
*swig_obj
[1] ;
22917 if (!args
) SWIG_fail
;
22918 swig_obj
[0] = args
;
22919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22920 if (!SWIG_IsOK(res1
)) {
22921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22923 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= (arg1
)->GetLabel();
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22943 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22944 PyObject
*resultobj
= 0;
22945 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22949 PyObject
*swig_obj
[1] ;
22951 if (!args
) SWIG_fail
;
22952 swig_obj
[0] = args
;
22953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22954 if (!SWIG_IsOK(res1
)) {
22955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22957 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= (arg1
)->GetShortHelp();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22977 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22978 PyObject
*resultobj
= 0;
22979 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22983 PyObject
*swig_obj
[1] ;
22985 if (!args
) SWIG_fail
;
22986 swig_obj
[0] = args
;
22987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22988 if (!SWIG_IsOK(res1
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22991 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= (arg1
)->GetLongHelp();
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
23000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23011 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
= 0;
23013 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char * kwnames
[] = {
23023 (char *) "self",(char *) "enable", NULL
23026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23031 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23032 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23033 if (!SWIG_IsOK(ecode2
)) {
23034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23036 arg2
= static_cast< bool >(val2
);
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 result
= (bool)(arg1
)->Enable(arg2
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23052 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23053 PyObject
*resultobj
= 0;
23054 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23057 PyObject
*swig_obj
[1] ;
23059 if (!args
) SWIG_fail
;
23060 swig_obj
[0] = args
;
23061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23062 if (!SWIG_IsOK(res1
)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23065 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= SWIG_Py_Void();
23079 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23080 PyObject
*resultobj
= 0;
23081 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 char * kwnames
[] = {
23091 (char *) "self",(char *) "toggle", NULL
23094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23096 if (!SWIG_IsOK(res1
)) {
23097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23099 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23100 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23101 if (!SWIG_IsOK(ecode2
)) {
23102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23104 arg2
= static_cast< bool >(val2
);
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 result
= (bool)(arg1
)->SetToggle(arg2
);
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23120 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
= 0;
23122 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23123 wxString
*arg2
= 0 ;
23127 bool temp2
= false ;
23128 PyObject
* obj0
= 0 ;
23129 PyObject
* obj1
= 0 ;
23130 char * kwnames
[] = {
23131 (char *) "self",(char *) "help", NULL
23134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23136 if (!SWIG_IsOK(res1
)) {
23137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23139 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23141 arg2
= wxString_in_helper(obj1
);
23142 if (arg2
== NULL
) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23168 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
= 0;
23170 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23171 wxString
*arg2
= 0 ;
23175 bool temp2
= false ;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 char * kwnames
[] = {
23179 (char *) "self",(char *) "help", NULL
23182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23184 if (!SWIG_IsOK(res1
)) {
23185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23187 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23189 arg2
= wxString_in_helper(obj1
);
23190 if (arg2
== NULL
) SWIG_fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23216 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
= 0;
23218 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23219 wxBitmap
*arg2
= 0 ;
23224 PyObject
* obj0
= 0 ;
23225 PyObject
* obj1
= 0 ;
23226 char * kwnames
[] = {
23227 (char *) "self",(char *) "bmp", NULL
23230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23232 if (!SWIG_IsOK(res1
)) {
23233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23235 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23237 if (!SWIG_IsOK(res2
)) {
23238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23243 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= SWIG_Py_Void();
23257 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
= 0;
23259 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23260 wxBitmap
*arg2
= 0 ;
23265 PyObject
* obj0
= 0 ;
23266 PyObject
* obj1
= 0 ;
23267 char * kwnames
[] = {
23268 (char *) "self",(char *) "bmp", NULL
23271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23273 if (!SWIG_IsOK(res1
)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23276 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23277 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23278 if (!SWIG_IsOK(res2
)) {
23279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23284 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= SWIG_Py_Void();
23298 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
= 0;
23300 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23301 wxString
*arg2
= 0 ;
23304 bool temp2
= false ;
23305 PyObject
* obj0
= 0 ;
23306 PyObject
* obj1
= 0 ;
23307 char * kwnames
[] = {
23308 (char *) "self",(char *) "label", NULL
23311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23313 if (!SWIG_IsOK(res1
)) {
23314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23316 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23318 arg2
= wxString_in_helper(obj1
);
23319 if (arg2
== NULL
) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 (arg1
)->SetLabel((wxString
const &)*arg2
);
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 resultobj
= SWIG_Py_Void();
23343 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23344 PyObject
*resultobj
= 0;
23345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23348 PyObject
*swig_obj
[1] ;
23350 if (!args
) SWIG_fail
;
23351 swig_obj
[0] = args
;
23352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23353 if (!SWIG_IsOK(res1
)) {
23354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23356 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 resultobj
= SWIG_Py_Void();
23370 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
= 0;
23372 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23373 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23378 PyObject
* obj0
= 0 ;
23379 PyObject
* obj1
= 0 ;
23380 char * kwnames
[] = {
23381 (char *) "self",(char *) "tbar", NULL
23384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23386 if (!SWIG_IsOK(res1
)) {
23387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23389 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23391 if (!SWIG_IsOK(res2
)) {
23392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23394 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 (arg1
)->Attach(arg2
);
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= SWIG_Py_Void();
23408 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23409 PyObject
*resultobj
= 0;
23410 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23411 PyObject
*result
= 0 ;
23414 PyObject
*swig_obj
[1] ;
23416 if (!args
) SWIG_fail
;
23417 swig_obj
[0] = args
;
23418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23419 if (!SWIG_IsOK(res1
)) {
23420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23422 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= result
;
23436 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
= 0;
23438 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23439 PyObject
*arg2
= (PyObject
*) 0 ;
23442 PyObject
* obj0
= 0 ;
23443 PyObject
* obj1
= 0 ;
23444 char * kwnames
[] = {
23445 (char *) "self",(char *) "clientData", NULL
23448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23450 if (!SWIG_IsOK(res1
)) {
23451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23453 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= SWIG_Py_Void();
23468 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23471 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23472 return SWIG_Py_Void();
23475 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
= 0;
23477 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23479 wxString
*arg3
= 0 ;
23480 wxBitmap
*arg4
= 0 ;
23481 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23482 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23483 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23484 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23485 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23486 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23487 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23488 PyObject
*arg9
= (PyObject
*) NULL
;
23489 wxToolBarToolBase
*result
= 0 ;
23494 bool temp3
= false ;
23501 bool temp7
= false ;
23502 bool temp8
= false ;
23503 PyObject
* obj0
= 0 ;
23504 PyObject
* obj1
= 0 ;
23505 PyObject
* obj2
= 0 ;
23506 PyObject
* obj3
= 0 ;
23507 PyObject
* obj4
= 0 ;
23508 PyObject
* obj5
= 0 ;
23509 PyObject
* obj6
= 0 ;
23510 PyObject
* obj7
= 0 ;
23511 PyObject
* obj8
= 0 ;
23512 char * kwnames
[] = {
23513 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23521 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23523 if (!SWIG_IsOK(ecode2
)) {
23524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23526 arg2
= static_cast< int >(val2
);
23528 arg3
= wxString_in_helper(obj2
);
23529 if (arg3
== NULL
) SWIG_fail
;
23532 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23533 if (!SWIG_IsOK(res4
)) {
23534 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23539 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23541 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23542 if (!SWIG_IsOK(res5
)) {
23543 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23548 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23551 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23552 if (!SWIG_IsOK(ecode6
)) {
23553 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23555 arg6
= static_cast< wxItemKind
>(val6
);
23559 arg7
= wxString_in_helper(obj6
);
23560 if (arg7
== NULL
) SWIG_fail
;
23566 arg8
= wxString_in_helper(obj7
);
23567 if (arg8
== NULL
) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23613 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
= 0;
23615 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23618 wxString
*arg4
= 0 ;
23619 wxBitmap
*arg5
= 0 ;
23620 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23621 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23622 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23623 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23624 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23625 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23626 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23627 PyObject
*arg10
= (PyObject
*) NULL
;
23628 wxToolBarToolBase
*result
= 0 ;
23635 bool temp4
= false ;
23642 bool temp8
= false ;
23643 bool temp9
= false ;
23644 PyObject
* obj0
= 0 ;
23645 PyObject
* obj1
= 0 ;
23646 PyObject
* obj2
= 0 ;
23647 PyObject
* obj3
= 0 ;
23648 PyObject
* obj4
= 0 ;
23649 PyObject
* obj5
= 0 ;
23650 PyObject
* obj6
= 0 ;
23651 PyObject
* obj7
= 0 ;
23652 PyObject
* obj8
= 0 ;
23653 PyObject
* obj9
= 0 ;
23654 char * kwnames
[] = {
23655 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23660 if (!SWIG_IsOK(res1
)) {
23661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23663 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23664 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23665 if (!SWIG_IsOK(ecode2
)) {
23666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23668 arg2
= static_cast< size_t >(val2
);
23669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23670 if (!SWIG_IsOK(ecode3
)) {
23671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23673 arg3
= static_cast< int >(val3
);
23675 arg4
= wxString_in_helper(obj3
);
23676 if (arg4
== NULL
) SWIG_fail
;
23679 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23680 if (!SWIG_IsOK(res5
)) {
23681 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23686 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23688 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23689 if (!SWIG_IsOK(res6
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23695 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23698 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23699 if (!SWIG_IsOK(ecode7
)) {
23700 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23702 arg7
= static_cast< wxItemKind
>(val7
);
23706 arg8
= wxString_in_helper(obj7
);
23707 if (arg8
== NULL
) SWIG_fail
;
23713 arg9
= wxString_in_helper(obj8
);
23714 if (arg9
== NULL
) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23728 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23760 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
= 0;
23762 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23763 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23764 wxToolBarToolBase
*result
= 0 ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 char * kwnames
[] = {
23772 (char *) "self",(char *) "tool", NULL
23775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23777 if (!SWIG_IsOK(res1
)) {
23778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23780 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23782 if (!SWIG_IsOK(res2
)) {
23783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23785 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23801 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23802 PyObject
*resultobj
= 0;
23803 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23805 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23806 wxToolBarToolBase
*result
= 0 ;
23813 PyObject
* obj0
= 0 ;
23814 PyObject
* obj1
= 0 ;
23815 PyObject
* obj2
= 0 ;
23816 char * kwnames
[] = {
23817 (char *) "self",(char *) "pos",(char *) "tool", NULL
23820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23822 if (!SWIG_IsOK(res1
)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23825 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23826 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23827 if (!SWIG_IsOK(ecode2
)) {
23828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23830 arg2
= static_cast< size_t >(val2
);
23831 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23832 if (!SWIG_IsOK(res3
)) {
23833 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23835 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23851 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
= 0;
23853 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23854 wxControl
*arg2
= (wxControl
*) 0 ;
23855 wxToolBarToolBase
*result
= 0 ;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj1
= 0 ;
23862 char * kwnames
[] = {
23863 (char *) "self",(char *) "control", NULL
23866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23868 if (!SWIG_IsOK(res1
)) {
23869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23871 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23873 if (!SWIG_IsOK(res2
)) {
23874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23876 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23892 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
= 0;
23894 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23896 wxControl
*arg3
= (wxControl
*) 0 ;
23897 wxToolBarToolBase
*result
= 0 ;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 PyObject
* obj2
= 0 ;
23907 char * kwnames
[] = {
23908 (char *) "self",(char *) "pos",(char *) "control", NULL
23911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23913 if (!SWIG_IsOK(res1
)) {
23914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23916 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23917 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23918 if (!SWIG_IsOK(ecode2
)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23921 arg2
= static_cast< size_t >(val2
);
23922 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23923 if (!SWIG_IsOK(res3
)) {
23924 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23926 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23934 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23942 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
= 0;
23944 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23946 wxControl
*result
= 0 ;
23951 PyObject
* obj0
= 0 ;
23952 PyObject
* obj1
= 0 ;
23953 char * kwnames
[] = {
23954 (char *) "self",(char *) "id", NULL
23957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23959 if (!SWIG_IsOK(res1
)) {
23960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23962 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23964 if (!SWIG_IsOK(ecode2
)) {
23965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23967 arg2
= static_cast< int >(val2
);
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23975 resultobj
= wxPyMake_wxObject(result
, 0);
23983 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23984 PyObject
*resultobj
= 0;
23985 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23986 wxToolBarToolBase
*result
= 0 ;
23989 PyObject
*swig_obj
[1] ;
23991 if (!args
) SWIG_fail
;
23992 swig_obj
[0] = args
;
23993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23994 if (!SWIG_IsOK(res1
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23997 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24005 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24013 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
= 0;
24015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24017 wxToolBarToolBase
*result
= 0 ;
24022 PyObject
* obj0
= 0 ;
24023 PyObject
* obj1
= 0 ;
24024 char * kwnames
[] = {
24025 (char *) "self",(char *) "pos", NULL
24028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24030 if (!SWIG_IsOK(res1
)) {
24031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24033 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24034 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24035 if (!SWIG_IsOK(ecode2
)) {
24036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24038 arg2
= static_cast< size_t >(val2
);
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24054 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
= 0;
24056 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24058 wxToolBarToolBase
*result
= 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char * kwnames
[] = {
24066 (char *) "self",(char *) "id", NULL
24069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24074 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24076 if (!SWIG_IsOK(ecode2
)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24079 arg2
= static_cast< int >(val2
);
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24095 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
= 0;
24097 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 char * kwnames
[] = {
24107 (char *) "self",(char *) "pos", NULL
24110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24112 if (!SWIG_IsOK(res1
)) {
24113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24115 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24116 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24117 if (!SWIG_IsOK(ecode2
)) {
24118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24120 arg2
= static_cast< size_t >(val2
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24136 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
= 0;
24138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 PyObject
* obj1
= 0 ;
24147 char * kwnames
[] = {
24148 (char *) "self",(char *) "id", NULL
24151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24153 if (!SWIG_IsOK(res1
)) {
24154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24156 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24158 if (!SWIG_IsOK(ecode2
)) {
24159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24161 arg2
= static_cast< int >(val2
);
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (bool)(arg1
)->DeleteTool(arg2
);
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24177 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24178 PyObject
*resultobj
= 0;
24179 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24182 PyObject
*swig_obj
[1] ;
24184 if (!args
) SWIG_fail
;
24185 swig_obj
[0] = args
;
24186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24187 if (!SWIG_IsOK(res1
)) {
24188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24190 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 (arg1
)->ClearTools();
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 resultobj
= SWIG_Py_Void();
24204 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24205 PyObject
*resultobj
= 0;
24206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24210 PyObject
*swig_obj
[1] ;
24212 if (!args
) SWIG_fail
;
24213 swig_obj
[0] = args
;
24214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24215 if (!SWIG_IsOK(res1
)) {
24216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24218 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (bool)(arg1
)->Realize();
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24234 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
= 0;
24236 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 PyObject
* obj2
= 0 ;
24248 char * kwnames
[] = {
24249 (char *) "self",(char *) "id",(char *) "enable", NULL
24252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24254 if (!SWIG_IsOK(res1
)) {
24255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24257 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24259 if (!SWIG_IsOK(ecode2
)) {
24260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24262 arg2
= static_cast< int >(val2
);
24263 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24264 if (!SWIG_IsOK(ecode3
)) {
24265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24267 arg3
= static_cast< bool >(val3
);
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 (arg1
)->EnableTool(arg2
,arg3
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= SWIG_Py_Void();
24281 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
= 0;
24283 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 PyObject
* obj2
= 0 ;
24295 char * kwnames
[] = {
24296 (char *) "self",(char *) "id",(char *) "toggle", NULL
24299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24301 if (!SWIG_IsOK(res1
)) {
24302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24304 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24306 if (!SWIG_IsOK(ecode2
)) {
24307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24309 arg2
= static_cast< int >(val2
);
24310 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24311 if (!SWIG_IsOK(ecode3
)) {
24312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24314 arg3
= static_cast< bool >(val3
);
24316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 (arg1
)->ToggleTool(arg2
,arg3
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= SWIG_Py_Void();
24328 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
= 0;
24330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24339 PyObject
* obj0
= 0 ;
24340 PyObject
* obj1
= 0 ;
24341 PyObject
* obj2
= 0 ;
24342 char * kwnames
[] = {
24343 (char *) "self",(char *) "id",(char *) "toggle", NULL
24346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24348 if (!SWIG_IsOK(res1
)) {
24349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24351 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24353 if (!SWIG_IsOK(ecode2
)) {
24354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24356 arg2
= static_cast< int >(val2
);
24357 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24358 if (!SWIG_IsOK(ecode3
)) {
24359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24361 arg3
= static_cast< bool >(val3
);
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 (arg1
)->SetToggle(arg2
,arg3
);
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= SWIG_Py_Void();
24375 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
= 0;
24377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24379 PyObject
*result
= 0 ;
24384 PyObject
* obj0
= 0 ;
24385 PyObject
* obj1
= 0 ;
24386 char * kwnames
[] = {
24387 (char *) "self",(char *) "id", NULL
24390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24392 if (!SWIG_IsOK(res1
)) {
24393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24395 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24397 if (!SWIG_IsOK(ecode2
)) {
24398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24400 arg2
= static_cast< int >(val2
);
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= result
;
24414 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
= 0;
24416 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24418 PyObject
*arg3
= (PyObject
*) 0 ;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj1
= 0 ;
24425 PyObject
* obj2
= 0 ;
24426 char * kwnames
[] = {
24427 (char *) "self",(char *) "id",(char *) "clientData", NULL
24430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24432 if (!SWIG_IsOK(res1
)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24435 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24437 if (!SWIG_IsOK(ecode2
)) {
24438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24440 arg2
= static_cast< int >(val2
);
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24445 wxPyEndAllowThreads(__tstate
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24448 resultobj
= SWIG_Py_Void();
24455 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
= 0;
24457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 PyObject
* obj1
= 0 ;
24466 char * kwnames
[] = {
24467 (char *) "self",(char *) "id", NULL
24470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24472 if (!SWIG_IsOK(res1
)) {
24473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24475 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24477 if (!SWIG_IsOK(ecode2
)) {
24478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24480 arg2
= static_cast< int >(val2
);
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24487 resultobj
= SWIG_From_int(static_cast< int >(result
));
24494 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24495 PyObject
*resultobj
= 0;
24496 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 PyObject
* obj1
= 0 ;
24505 char * kwnames
[] = {
24506 (char *) "self",(char *) "id", NULL
24509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24511 if (!SWIG_IsOK(res1
)) {
24512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24514 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24516 if (!SWIG_IsOK(ecode2
)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24519 arg2
= static_cast< int >(val2
);
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (bool)(arg1
)->GetToolState(arg2
);
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24535 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
= 0;
24537 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char * kwnames
[] = {
24547 (char *) "self",(char *) "id", NULL
24550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24552 if (!SWIG_IsOK(res1
)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24555 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24557 if (!SWIG_IsOK(ecode2
)) {
24558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24560 arg2
= static_cast< int >(val2
);
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24576 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
= 0;
24578 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24580 wxString
*arg3
= 0 ;
24585 bool temp3
= false ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 PyObject
* obj2
= 0 ;
24589 char * kwnames
[] = {
24590 (char *) "self",(char *) "id",(char *) "helpString", NULL
24593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24595 if (!SWIG_IsOK(res1
)) {
24596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24598 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24600 if (!SWIG_IsOK(ecode2
)) {
24601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24603 arg2
= static_cast< int >(val2
);
24605 arg3
= wxString_in_helper(obj2
);
24606 if (arg3
== NULL
) SWIG_fail
;
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= SWIG_Py_Void();
24630 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
= 0;
24632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char * kwnames
[] = {
24642 (char *) "self",(char *) "id", NULL
24645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24647 if (!SWIG_IsOK(res1
)) {
24648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24650 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24652 if (!SWIG_IsOK(ecode2
)) {
24653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24655 arg2
= static_cast< int >(val2
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= (arg1
)->GetToolShortHelp(arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24675 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
= 0;
24677 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24679 wxString
*arg3
= 0 ;
24684 bool temp3
= false ;
24685 PyObject
* obj0
= 0 ;
24686 PyObject
* obj1
= 0 ;
24687 PyObject
* obj2
= 0 ;
24688 char * kwnames
[] = {
24689 (char *) "self",(char *) "id",(char *) "helpString", NULL
24692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24694 if (!SWIG_IsOK(res1
)) {
24695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24697 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24699 if (!SWIG_IsOK(ecode2
)) {
24700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24702 arg2
= static_cast< int >(val2
);
24704 arg3
= wxString_in_helper(obj2
);
24705 if (arg3
== NULL
) SWIG_fail
;
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= SWIG_Py_Void();
24729 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
= 0;
24731 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char * kwnames
[] = {
24741 (char *) "self",(char *) "id", NULL
24744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24746 if (!SWIG_IsOK(res1
)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24749 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24751 if (!SWIG_IsOK(ecode2
)) {
24752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24754 arg2
= static_cast< int >(val2
);
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (arg1
)->GetToolLongHelp(arg2
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24774 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
= 0;
24776 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 PyObject
* obj2
= 0 ;
24788 char * kwnames
[] = {
24789 (char *) "self",(char *) "x",(char *) "y", NULL
24792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24794 if (!SWIG_IsOK(res1
)) {
24795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24797 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24799 if (!SWIG_IsOK(ecode2
)) {
24800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24802 arg2
= static_cast< int >(val2
);
24803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24804 if (!SWIG_IsOK(ecode3
)) {
24805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24807 arg3
= static_cast< int >(val3
);
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 (arg1
)->SetMargins(arg2
,arg3
);
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= SWIG_Py_Void();
24821 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
= 0;
24823 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj1
= 0 ;
24830 char * kwnames
[] = {
24831 (char *) "self",(char *) "size", NULL
24834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24836 if (!SWIG_IsOK(res1
)) {
24837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24839 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24842 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= SWIG_Py_Void();
24857 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
= 0;
24859 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 PyObject
* obj1
= 0 ;
24867 char * kwnames
[] = {
24868 (char *) "self",(char *) "packing", NULL
24871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24873 if (!SWIG_IsOK(res1
)) {
24874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24876 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24878 if (!SWIG_IsOK(ecode2
)) {
24879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24881 arg2
= static_cast< int >(val2
);
24883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24884 (arg1
)->SetToolPacking(arg2
);
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 resultobj
= SWIG_Py_Void();
24895 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
= 0;
24897 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 PyObject
* obj1
= 0 ;
24905 char * kwnames
[] = {
24906 (char *) "self",(char *) "separation", NULL
24909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24911 if (!SWIG_IsOK(res1
)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24914 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24916 if (!SWIG_IsOK(ecode2
)) {
24917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24919 arg2
= static_cast< int >(val2
);
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 (arg1
)->SetToolSeparation(arg2
);
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= SWIG_Py_Void();
24933 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24934 PyObject
*resultobj
= 0;
24935 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24939 PyObject
*swig_obj
[1] ;
24941 if (!args
) SWIG_fail
;
24942 swig_obj
[0] = args
;
24943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24944 if (!SWIG_IsOK(res1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24947 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (arg1
)->GetToolMargins();
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24961 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24962 PyObject
*resultobj
= 0;
24963 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24967 PyObject
*swig_obj
[1] ;
24969 if (!args
) SWIG_fail
;
24970 swig_obj
[0] = args
;
24971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24972 if (!SWIG_IsOK(res1
)) {
24973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24975 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 result
= (arg1
)->GetMargins();
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24989 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24990 PyObject
*resultobj
= 0;
24991 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24995 PyObject
*swig_obj
[1] ;
24997 if (!args
) SWIG_fail
;
24998 swig_obj
[0] = args
;
24999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25000 if (!SWIG_IsOK(res1
)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25003 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 result
= (int)(arg1
)->GetToolPacking();
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= SWIG_From_int(static_cast< int >(result
));
25017 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25018 PyObject
*resultobj
= 0;
25019 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25023 PyObject
*swig_obj
[1] ;
25025 if (!args
) SWIG_fail
;
25026 swig_obj
[0] = args
;
25027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25028 if (!SWIG_IsOK(res1
)) {
25029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25031 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= (int)(arg1
)->GetToolSeparation();
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25038 resultobj
= SWIG_From_int(static_cast< int >(result
));
25045 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
= 0;
25047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 char * kwnames
[] = {
25056 (char *) "self",(char *) "nRows", NULL
25059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25061 if (!SWIG_IsOK(res1
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25064 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25066 if (!SWIG_IsOK(ecode2
)) {
25067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25069 arg2
= static_cast< int >(val2
);
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 (arg1
)->SetRows(arg2
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 resultobj
= SWIG_Py_Void();
25083 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
= 0;
25085 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 PyObject
* obj1
= 0 ;
25096 PyObject
* obj2
= 0 ;
25097 char * kwnames
[] = {
25098 (char *) "self",(char *) "rows",(char *) "cols", NULL
25101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25103 if (!SWIG_IsOK(res1
)) {
25104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25106 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25108 if (!SWIG_IsOK(ecode2
)) {
25109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25111 arg2
= static_cast< int >(val2
);
25112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25113 if (!SWIG_IsOK(ecode3
)) {
25114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25116 arg3
= static_cast< int >(val3
);
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= SWIG_Py_Void();
25130 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25131 PyObject
*resultobj
= 0;
25132 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25136 PyObject
*swig_obj
[1] ;
25138 if (!args
) SWIG_fail
;
25139 swig_obj
[0] = args
;
25140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25141 if (!SWIG_IsOK(res1
)) {
25142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25144 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= (int)(arg1
)->GetMaxRows();
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= SWIG_From_int(static_cast< int >(result
));
25158 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25159 PyObject
*resultobj
= 0;
25160 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25164 PyObject
*swig_obj
[1] ;
25166 if (!args
) SWIG_fail
;
25167 swig_obj
[0] = args
;
25168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25169 if (!SWIG_IsOK(res1
)) {
25170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25172 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 result
= (int)(arg1
)->GetMaxCols();
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25179 resultobj
= SWIG_From_int(static_cast< int >(result
));
25186 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
= 0;
25188 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 char * kwnames
[] = {
25196 (char *) "self",(char *) "size", NULL
25199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25201 if (!SWIG_IsOK(res1
)) {
25202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25204 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25207 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= SWIG_Py_Void();
25222 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25223 PyObject
*resultobj
= 0;
25224 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25228 PyObject
*swig_obj
[1] ;
25230 if (!args
) SWIG_fail
;
25231 swig_obj
[0] = args
;
25232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25233 if (!SWIG_IsOK(res1
)) {
25234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25236 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 result
= (arg1
)->GetToolBitmapSize();
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25250 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25251 PyObject
*resultobj
= 0;
25252 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25256 PyObject
*swig_obj
[1] ;
25258 if (!args
) SWIG_fail
;
25259 swig_obj
[0] = args
;
25260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25261 if (!SWIG_IsOK(res1
)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25264 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 result
= (arg1
)->GetToolSize();
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25278 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
= 0;
25280 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25283 wxToolBarToolBase
*result
= 0 ;
25290 PyObject
* obj0
= 0 ;
25291 PyObject
* obj1
= 0 ;
25292 PyObject
* obj2
= 0 ;
25293 char * kwnames
[] = {
25294 (char *) "self",(char *) "x",(char *) "y", NULL
25297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25299 if (!SWIG_IsOK(res1
)) {
25300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25302 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25304 if (!SWIG_IsOK(ecode2
)) {
25305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25307 arg2
= static_cast< int >(val2
);
25308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25309 if (!SWIG_IsOK(ecode3
)) {
25310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25312 arg3
= static_cast< int >(val3
);
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25328 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
= 0;
25330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25332 wxToolBarToolBase
*result
= 0 ;
25337 PyObject
* obj0
= 0 ;
25338 PyObject
* obj1
= 0 ;
25339 char * kwnames
[] = {
25340 (char *) "self",(char *) "toolid", NULL
25343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25345 if (!SWIG_IsOK(res1
)) {
25346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25348 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25350 if (!SWIG_IsOK(ecode2
)) {
25351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25353 arg2
= static_cast< int >(val2
);
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25361 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25369 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25370 PyObject
*resultobj
= 0;
25371 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25375 PyObject
*swig_obj
[1] ;
25377 if (!args
) SWIG_fail
;
25378 swig_obj
[0] = args
;
25379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25380 if (!SWIG_IsOK(res1
)) {
25381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25383 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 result
= (bool)(arg1
)->IsVertical();
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25399 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25400 PyObject
*resultobj
= 0;
25401 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25405 PyObject
*swig_obj
[1] ;
25407 if (!args
) SWIG_fail
;
25408 swig_obj
[0] = args
;
25409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25410 if (!SWIG_IsOK(res1
)) {
25411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25413 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25427 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25430 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25431 return SWIG_Py_Void();
25434 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
= 0;
25436 wxWindow
*arg1
= (wxWindow
*) 0 ;
25437 int arg2
= (int) -1 ;
25438 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25439 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25440 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25441 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25442 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25443 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25444 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25445 wxToolBar
*result
= 0 ;
25454 bool temp6
= false ;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 PyObject
* obj2
= 0 ;
25458 PyObject
* obj3
= 0 ;
25459 PyObject
* obj4
= 0 ;
25460 PyObject
* obj5
= 0 ;
25461 char * kwnames
[] = {
25462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25467 if (!SWIG_IsOK(res1
)) {
25468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25473 if (!SWIG_IsOK(ecode2
)) {
25474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25476 arg2
= static_cast< int >(val2
);
25481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25487 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25491 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25492 if (!SWIG_IsOK(ecode5
)) {
25493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25495 arg5
= static_cast< long >(val5
);
25499 arg6
= wxString_in_helper(obj5
);
25500 if (arg6
== NULL
) SWIG_fail
;
25505 if (!wxPyCheckForApp()) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25526 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25527 PyObject
*resultobj
= 0;
25528 wxToolBar
*result
= 0 ;
25530 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25532 if (!wxPyCheckForApp()) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= (wxToolBar
*)new wxToolBar();
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25545 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
= 0;
25547 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25548 wxWindow
*arg2
= (wxWindow
*) 0 ;
25549 int arg3
= (int) -1 ;
25550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25554 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25555 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25568 bool temp7
= false ;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 PyObject
* obj2
= 0 ;
25572 PyObject
* obj3
= 0 ;
25573 PyObject
* obj4
= 0 ;
25574 PyObject
* obj5
= 0 ;
25575 PyObject
* obj6
= 0 ;
25576 char * kwnames
[] = {
25577 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25582 if (!SWIG_IsOK(res1
)) {
25583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25585 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25587 if (!SWIG_IsOK(res2
)) {
25588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25590 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25593 if (!SWIG_IsOK(ecode3
)) {
25594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25596 arg3
= static_cast< int >(val3
);
25601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25611 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25612 if (!SWIG_IsOK(ecode6
)) {
25613 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25615 arg6
= static_cast< long >(val6
);
25619 arg7
= wxString_in_helper(obj6
);
25620 if (arg7
== NULL
) SWIG_fail
;
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25647 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
= 0;
25649 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25650 SwigValueWrapper
<wxVisualAttributes
> result
;
25653 PyObject
* obj0
= 0 ;
25654 char * kwnames
[] = {
25655 (char *) "variant", NULL
25658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25660 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25661 if (!SWIG_IsOK(ecode1
)) {
25662 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25664 arg1
= static_cast< wxWindowVariant
>(val1
);
25667 if (!wxPyCheckForApp()) SWIG_fail
;
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25673 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25680 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25683 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25684 return SWIG_Py_Void();
25687 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25688 return SWIG_Python_InitShadowInstance(args
);
25691 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25692 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25697 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25698 PyObject
*pyobj
= 0;
25702 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25704 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25711 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
= 0;
25713 wxColour
const &arg1_defvalue
= wxNullColour
;
25714 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25715 wxColour
const &arg2_defvalue
= wxNullColour
;
25716 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25717 wxFont
const &arg3_defvalue
= wxNullFont
;
25718 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25719 wxListItemAttr
*result
= 0 ;
25724 PyObject
* obj0
= 0 ;
25725 PyObject
* obj1
= 0 ;
25726 PyObject
* obj2
= 0 ;
25727 char * kwnames
[] = {
25728 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25735 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25741 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25745 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25746 if (!SWIG_IsOK(res3
)) {
25747 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25752 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25767 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25768 PyObject
*resultobj
= 0;
25769 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25772 PyObject
*swig_obj
[1] ;
25774 if (!args
) SWIG_fail
;
25775 swig_obj
[0] = args
;
25776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25777 if (!SWIG_IsOK(res1
)) {
25778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25780 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_Py_Void();
25795 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
= 0;
25797 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25798 wxColour
*arg2
= 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 char * kwnames
[] = {
25805 (char *) "self",(char *) "colText", NULL
25808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25810 if (!SWIG_IsOK(res1
)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25813 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25816 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 resultobj
= SWIG_Py_Void();
25831 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
= 0;
25833 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25834 wxColour
*arg2
= 0 ;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 char * kwnames
[] = {
25841 (char *) "self",(char *) "colBack", NULL
25844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25846 if (!SWIG_IsOK(res1
)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25849 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25852 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= SWIG_Py_Void();
25867 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
= 0;
25869 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25875 PyObject
* obj0
= 0 ;
25876 PyObject
* obj1
= 0 ;
25877 char * kwnames
[] = {
25878 (char *) "self",(char *) "font", NULL
25881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25883 if (!SWIG_IsOK(res1
)) {
25884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25886 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25888 if (!SWIG_IsOK(res2
)) {
25889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25894 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 (arg1
)->SetFont((wxFont
const &)*arg2
);
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 resultobj
= SWIG_Py_Void();
25908 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25909 PyObject
*resultobj
= 0;
25910 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25914 PyObject
*swig_obj
[1] ;
25916 if (!args
) SWIG_fail
;
25917 swig_obj
[0] = args
;
25918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25919 if (!SWIG_IsOK(res1
)) {
25920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25922 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= (bool)(arg1
)->HasTextColour();
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25938 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25939 PyObject
*resultobj
= 0;
25940 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25944 PyObject
*swig_obj
[1] ;
25946 if (!args
) SWIG_fail
;
25947 swig_obj
[0] = args
;
25948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25949 if (!SWIG_IsOK(res1
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25952 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 result
= (bool)(arg1
)->HasBackgroundColour();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25968 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25969 PyObject
*resultobj
= 0;
25970 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25974 PyObject
*swig_obj
[1] ;
25976 if (!args
) SWIG_fail
;
25977 swig_obj
[0] = args
;
25978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25979 if (!SWIG_IsOK(res1
)) {
25980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25982 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 result
= (bool)(arg1
)->HasFont();
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25998 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25999 PyObject
*resultobj
= 0;
26000 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26004 PyObject
*swig_obj
[1] ;
26006 if (!args
) SWIG_fail
;
26007 swig_obj
[0] = args
;
26008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26009 if (!SWIG_IsOK(res1
)) {
26010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26012 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 result
= (arg1
)->GetTextColour();
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26026 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26027 PyObject
*resultobj
= 0;
26028 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26032 PyObject
*swig_obj
[1] ;
26034 if (!args
) SWIG_fail
;
26035 swig_obj
[0] = args
;
26036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26037 if (!SWIG_IsOK(res1
)) {
26038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26040 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 result
= (arg1
)->GetBackgroundColour();
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26047 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26054 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26055 PyObject
*resultobj
= 0;
26056 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26060 PyObject
*swig_obj
[1] ;
26062 if (!args
) SWIG_fail
;
26063 swig_obj
[0] = args
;
26064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26065 if (!SWIG_IsOK(res1
)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26068 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 result
= (arg1
)->GetFont();
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26082 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
= 0;
26084 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26085 wxListItemAttr
*arg2
= 0 ;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 char * kwnames
[] = {
26093 (char *) "self",(char *) "source", NULL
26096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26098 if (!SWIG_IsOK(res1
)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26101 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26103 if (!SWIG_IsOK(res2
)) {
26104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26109 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 resultobj
= SWIG_Py_Void();
26123 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26124 PyObject
*resultobj
= 0;
26125 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26128 PyObject
*swig_obj
[1] ;
26130 if (!args
) SWIG_fail
;
26131 swig_obj
[0] = args
;
26132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26133 if (!SWIG_IsOK(res1
)) {
26134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26136 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 wxListItemAttr_Destroy(arg1
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= SWIG_Py_Void();
26150 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26153 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26154 return SWIG_Py_Void();
26157 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26158 return SWIG_Python_InitShadowInstance(args
);
26161 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26162 PyObject
*resultobj
= 0;
26163 wxListItem
*result
= 0 ;
26165 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 result
= (wxListItem
*)new wxListItem();
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26181 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26182 PyObject
*resultobj
= 0;
26183 wxListItem
*arg1
= (wxListItem
*) 0 ;
26186 PyObject
*swig_obj
[1] ;
26188 if (!args
) SWIG_fail
;
26189 swig_obj
[0] = args
;
26190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26191 if (!SWIG_IsOK(res1
)) {
26192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26194 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_Py_Void();
26209 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26210 PyObject
*resultobj
= 0;
26211 wxListItem
*arg1
= (wxListItem
*) 0 ;
26214 PyObject
*swig_obj
[1] ;
26216 if (!args
) SWIG_fail
;
26217 swig_obj
[0] = args
;
26218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26219 if (!SWIG_IsOK(res1
)) {
26220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26222 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_Py_Void();
26236 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26237 PyObject
*resultobj
= 0;
26238 wxListItem
*arg1
= (wxListItem
*) 0 ;
26241 PyObject
*swig_obj
[1] ;
26243 if (!args
) SWIG_fail
;
26244 swig_obj
[0] = args
;
26245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26246 if (!SWIG_IsOK(res1
)) {
26247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26249 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 (arg1
)->ClearAttributes();
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= SWIG_Py_Void();
26263 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
= 0;
26265 wxListItem
*arg1
= (wxListItem
*) 0 ;
26271 PyObject
* obj0
= 0 ;
26272 PyObject
* obj1
= 0 ;
26273 char * kwnames
[] = {
26274 (char *) "self",(char *) "mask", NULL
26277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26279 if (!SWIG_IsOK(res1
)) {
26280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26282 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26283 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26284 if (!SWIG_IsOK(ecode2
)) {
26285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26287 arg2
= static_cast< long >(val2
);
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 (arg1
)->SetMask(arg2
);
26291 wxPyEndAllowThreads(__tstate
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= SWIG_Py_Void();
26301 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
= 0;
26303 wxListItem
*arg1
= (wxListItem
*) 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char * kwnames
[] = {
26312 (char *) "self",(char *) "id", NULL
26315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26317 if (!SWIG_IsOK(res1
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26320 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26321 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26322 if (!SWIG_IsOK(ecode2
)) {
26323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26325 arg2
= static_cast< long >(val2
);
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 (arg1
)->SetId(arg2
);
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= SWIG_Py_Void();
26339 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
= 0;
26341 wxListItem
*arg1
= (wxListItem
*) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 PyObject
* obj1
= 0 ;
26349 char * kwnames
[] = {
26350 (char *) "self",(char *) "col", NULL
26353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26355 if (!SWIG_IsOK(res1
)) {
26356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26358 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26360 if (!SWIG_IsOK(ecode2
)) {
26361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26363 arg2
= static_cast< int >(val2
);
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 (arg1
)->SetColumn(arg2
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= SWIG_Py_Void();
26377 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26378 PyObject
*resultobj
= 0;
26379 wxListItem
*arg1
= (wxListItem
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 PyObject
* obj1
= 0 ;
26387 char * kwnames
[] = {
26388 (char *) "self",(char *) "state", NULL
26391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26393 if (!SWIG_IsOK(res1
)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26396 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26397 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26398 if (!SWIG_IsOK(ecode2
)) {
26399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26401 arg2
= static_cast< long >(val2
);
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 (arg1
)->SetState(arg2
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 resultobj
= SWIG_Py_Void();
26415 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
= 0;
26417 wxListItem
*arg1
= (wxListItem
*) 0 ;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 char * kwnames
[] = {
26426 (char *) "self",(char *) "stateMask", NULL
26429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26431 if (!SWIG_IsOK(res1
)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26434 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26435 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26436 if (!SWIG_IsOK(ecode2
)) {
26437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26439 arg2
= static_cast< long >(val2
);
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 (arg1
)->SetStateMask(arg2
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= SWIG_Py_Void();
26453 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
= 0;
26455 wxListItem
*arg1
= (wxListItem
*) 0 ;
26456 wxString
*arg2
= 0 ;
26459 bool temp2
= false ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char * kwnames
[] = {
26463 (char *) "self",(char *) "text", NULL
26466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26468 if (!SWIG_IsOK(res1
)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26471 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26473 arg2
= wxString_in_helper(obj1
);
26474 if (arg2
== NULL
) SWIG_fail
;
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 (arg1
)->SetText((wxString
const &)*arg2
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_Py_Void();
26498 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
= 0;
26500 wxListItem
*arg1
= (wxListItem
*) 0 ;
26506 PyObject
* obj0
= 0 ;
26507 PyObject
* obj1
= 0 ;
26508 char * kwnames
[] = {
26509 (char *) "self",(char *) "image", NULL
26512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26517 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26519 if (!SWIG_IsOK(ecode2
)) {
26520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26522 arg2
= static_cast< int >(val2
);
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26525 (arg1
)->SetImage(arg2
);
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= SWIG_Py_Void();
26536 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26537 PyObject
*resultobj
= 0;
26538 wxListItem
*arg1
= (wxListItem
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 PyObject
* obj1
= 0 ;
26546 char * kwnames
[] = {
26547 (char *) "self",(char *) "data", NULL
26550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26552 if (!SWIG_IsOK(res1
)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26555 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26556 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26557 if (!SWIG_IsOK(ecode2
)) {
26558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26560 arg2
= static_cast< long >(val2
);
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 (arg1
)->SetData(arg2
);
26564 wxPyEndAllowThreads(__tstate
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26567 resultobj
= SWIG_Py_Void();
26574 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26575 PyObject
*resultobj
= 0;
26576 wxListItem
*arg1
= (wxListItem
*) 0 ;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 char * kwnames
[] = {
26585 (char *) "self",(char *) "width", NULL
26588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26590 if (!SWIG_IsOK(res1
)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26593 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26595 if (!SWIG_IsOK(ecode2
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26598 arg2
= static_cast< int >(val2
);
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 (arg1
)->SetWidth(arg2
);
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26605 resultobj
= SWIG_Py_Void();
26612 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
= 0;
26614 wxListItem
*arg1
= (wxListItem
*) 0 ;
26615 wxListColumnFormat arg2
;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 char * kwnames
[] = {
26623 (char *) "self",(char *) "align", NULL
26626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26628 if (!SWIG_IsOK(res1
)) {
26629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26631 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26633 if (!SWIG_IsOK(ecode2
)) {
26634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26636 arg2
= static_cast< wxListColumnFormat
>(val2
);
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 (arg1
)->SetAlign(arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= SWIG_Py_Void();
26650 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
= 0;
26652 wxListItem
*arg1
= (wxListItem
*) 0 ;
26653 wxColour
*arg2
= 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char * kwnames
[] = {
26660 (char *) "self",(char *) "colText", NULL
26663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26665 if (!SWIG_IsOK(res1
)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26668 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26679 resultobj
= SWIG_Py_Void();
26686 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
= 0;
26688 wxListItem
*arg1
= (wxListItem
*) 0 ;
26689 wxColour
*arg2
= 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char * kwnames
[] = {
26696 (char *) "self",(char *) "colBack", NULL
26699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26701 if (!SWIG_IsOK(res1
)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26704 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= SWIG_Py_Void();
26722 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
= 0;
26724 wxListItem
*arg1
= (wxListItem
*) 0 ;
26730 PyObject
* obj0
= 0 ;
26731 PyObject
* obj1
= 0 ;
26732 char * kwnames
[] = {
26733 (char *) "self",(char *) "font", NULL
26736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26738 if (!SWIG_IsOK(res1
)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26741 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26743 if (!SWIG_IsOK(res2
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26749 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 (arg1
)->SetFont((wxFont
const &)*arg2
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= SWIG_Py_Void();
26763 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26764 PyObject
*resultobj
= 0;
26765 wxListItem
*arg1
= (wxListItem
*) 0 ;
26769 PyObject
*swig_obj
[1] ;
26771 if (!args
) SWIG_fail
;
26772 swig_obj
[0] = args
;
26773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26777 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 result
= (long)(arg1
)->GetMask();
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= SWIG_From_long(static_cast< long >(result
));
26791 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26792 PyObject
*resultobj
= 0;
26793 wxListItem
*arg1
= (wxListItem
*) 0 ;
26797 PyObject
*swig_obj
[1] ;
26799 if (!args
) SWIG_fail
;
26800 swig_obj
[0] = args
;
26801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26802 if (!SWIG_IsOK(res1
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26805 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= (long)(arg1
)->GetId();
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= SWIG_From_long(static_cast< long >(result
));
26819 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26820 PyObject
*resultobj
= 0;
26821 wxListItem
*arg1
= (wxListItem
*) 0 ;
26825 PyObject
*swig_obj
[1] ;
26827 if (!args
) SWIG_fail
;
26828 swig_obj
[0] = args
;
26829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26830 if (!SWIG_IsOK(res1
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26833 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= (int)(arg1
)->GetColumn();
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= SWIG_From_int(static_cast< int >(result
));
26847 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26848 PyObject
*resultobj
= 0;
26849 wxListItem
*arg1
= (wxListItem
*) 0 ;
26853 PyObject
*swig_obj
[1] ;
26855 if (!args
) SWIG_fail
;
26856 swig_obj
[0] = args
;
26857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26858 if (!SWIG_IsOK(res1
)) {
26859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26861 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 result
= (long)(arg1
)->GetState();
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= SWIG_From_long(static_cast< long >(result
));
26875 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26876 PyObject
*resultobj
= 0;
26877 wxListItem
*arg1
= (wxListItem
*) 0 ;
26878 wxString
*result
= 0 ;
26881 PyObject
*swig_obj
[1] ;
26883 if (!args
) SWIG_fail
;
26884 swig_obj
[0] = args
;
26885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26886 if (!SWIG_IsOK(res1
)) {
26887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26889 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 wxString
const &_result_ref
= (arg1
)->GetText();
26894 result
= (wxString
*) &_result_ref
;
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26903 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26912 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26913 PyObject
*resultobj
= 0;
26914 wxListItem
*arg1
= (wxListItem
*) 0 ;
26918 PyObject
*swig_obj
[1] ;
26920 if (!args
) SWIG_fail
;
26921 swig_obj
[0] = args
;
26922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26923 if (!SWIG_IsOK(res1
)) {
26924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26926 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 result
= (int)(arg1
)->GetImage();
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= SWIG_From_int(static_cast< int >(result
));
26940 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26941 PyObject
*resultobj
= 0;
26942 wxListItem
*arg1
= (wxListItem
*) 0 ;
26946 PyObject
*swig_obj
[1] ;
26948 if (!args
) SWIG_fail
;
26949 swig_obj
[0] = args
;
26950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26951 if (!SWIG_IsOK(res1
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26954 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= (long)(arg1
)->GetData();
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26961 resultobj
= SWIG_From_long(static_cast< long >(result
));
26968 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26969 PyObject
*resultobj
= 0;
26970 wxListItem
*arg1
= (wxListItem
*) 0 ;
26974 PyObject
*swig_obj
[1] ;
26976 if (!args
) SWIG_fail
;
26977 swig_obj
[0] = args
;
26978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26979 if (!SWIG_IsOK(res1
)) {
26980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26982 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26985 result
= (int)(arg1
)->GetWidth();
26986 wxPyEndAllowThreads(__tstate
);
26987 if (PyErr_Occurred()) SWIG_fail
;
26989 resultobj
= SWIG_From_int(static_cast< int >(result
));
26996 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26997 PyObject
*resultobj
= 0;
26998 wxListItem
*arg1
= (wxListItem
*) 0 ;
26999 wxListColumnFormat result
;
27002 PyObject
*swig_obj
[1] ;
27004 if (!args
) SWIG_fail
;
27005 swig_obj
[0] = args
;
27006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27007 if (!SWIG_IsOK(res1
)) {
27008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27010 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= SWIG_From_int(static_cast< int >(result
));
27024 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27025 PyObject
*resultobj
= 0;
27026 wxListItem
*arg1
= (wxListItem
*) 0 ;
27027 wxListItemAttr
*result
= 0 ;
27030 PyObject
*swig_obj
[1] ;
27032 if (!args
) SWIG_fail
;
27033 swig_obj
[0] = args
;
27034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27035 if (!SWIG_IsOK(res1
)) {
27036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27038 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27052 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27053 PyObject
*resultobj
= 0;
27054 wxListItem
*arg1
= (wxListItem
*) 0 ;
27058 PyObject
*swig_obj
[1] ;
27060 if (!args
) SWIG_fail
;
27061 swig_obj
[0] = args
;
27062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27063 if (!SWIG_IsOK(res1
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27066 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 result
= (bool)(arg1
)->HasAttributes();
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27082 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27083 PyObject
*resultobj
= 0;
27084 wxListItem
*arg1
= (wxListItem
*) 0 ;
27088 PyObject
*swig_obj
[1] ;
27090 if (!args
) SWIG_fail
;
27091 swig_obj
[0] = args
;
27092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27093 if (!SWIG_IsOK(res1
)) {
27094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27096 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27103 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27110 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27111 PyObject
*resultobj
= 0;
27112 wxListItem
*arg1
= (wxListItem
*) 0 ;
27116 PyObject
*swig_obj
[1] ;
27118 if (!args
) SWIG_fail
;
27119 swig_obj
[0] = args
;
27120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27121 if (!SWIG_IsOK(res1
)) {
27122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27124 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27138 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27139 PyObject
*resultobj
= 0;
27140 wxListItem
*arg1
= (wxListItem
*) 0 ;
27144 PyObject
*swig_obj
[1] ;
27146 if (!args
) SWIG_fail
;
27147 swig_obj
[0] = args
;
27148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27149 if (!SWIG_IsOK(res1
)) {
27150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27152 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 result
= ((wxListItem
const *)arg1
)->GetFont();
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27166 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27167 PyObject
*resultobj
= 0;
27168 wxListItem
*arg1
= (wxListItem
*) 0 ;
27174 PyObject
*swig_obj
[2] ;
27176 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27178 if (!SWIG_IsOK(res1
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27181 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27182 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27183 if (!SWIG_IsOK(ecode2
)) {
27184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27186 arg2
= static_cast< long >(val2
);
27187 if (arg1
) (arg1
)->m_mask
= arg2
;
27189 resultobj
= SWIG_Py_Void();
27196 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27197 PyObject
*resultobj
= 0;
27198 wxListItem
*arg1
= (wxListItem
*) 0 ;
27202 PyObject
*swig_obj
[1] ;
27204 if (!args
) SWIG_fail
;
27205 swig_obj
[0] = args
;
27206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27207 if (!SWIG_IsOK(res1
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27210 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27211 result
= (long) ((arg1
)->m_mask
);
27212 resultobj
= SWIG_From_long(static_cast< long >(result
));
27219 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27220 PyObject
*resultobj
= 0;
27221 wxListItem
*arg1
= (wxListItem
*) 0 ;
27227 PyObject
*swig_obj
[2] ;
27229 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27231 if (!SWIG_IsOK(res1
)) {
27232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27234 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27235 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27236 if (!SWIG_IsOK(ecode2
)) {
27237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27239 arg2
= static_cast< long >(val2
);
27240 if (arg1
) (arg1
)->m_itemId
= arg2
;
27242 resultobj
= SWIG_Py_Void();
27249 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27250 PyObject
*resultobj
= 0;
27251 wxListItem
*arg1
= (wxListItem
*) 0 ;
27255 PyObject
*swig_obj
[1] ;
27257 if (!args
) SWIG_fail
;
27258 swig_obj
[0] = args
;
27259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27260 if (!SWIG_IsOK(res1
)) {
27261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27263 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27264 result
= (long) ((arg1
)->m_itemId
);
27265 resultobj
= SWIG_From_long(static_cast< long >(result
));
27272 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27273 PyObject
*resultobj
= 0;
27274 wxListItem
*arg1
= (wxListItem
*) 0 ;
27280 PyObject
*swig_obj
[2] ;
27282 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27284 if (!SWIG_IsOK(res1
)) {
27285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27287 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27288 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27289 if (!SWIG_IsOK(ecode2
)) {
27290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27292 arg2
= static_cast< int >(val2
);
27293 if (arg1
) (arg1
)->m_col
= arg2
;
27295 resultobj
= SWIG_Py_Void();
27302 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27303 PyObject
*resultobj
= 0;
27304 wxListItem
*arg1
= (wxListItem
*) 0 ;
27308 PyObject
*swig_obj
[1] ;
27310 if (!args
) SWIG_fail
;
27311 swig_obj
[0] = args
;
27312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27313 if (!SWIG_IsOK(res1
)) {
27314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27316 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27317 result
= (int) ((arg1
)->m_col
);
27318 resultobj
= SWIG_From_int(static_cast< int >(result
));
27325 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27326 PyObject
*resultobj
= 0;
27327 wxListItem
*arg1
= (wxListItem
*) 0 ;
27333 PyObject
*swig_obj
[2] ;
27335 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27337 if (!SWIG_IsOK(res1
)) {
27338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27340 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27341 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27342 if (!SWIG_IsOK(ecode2
)) {
27343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27345 arg2
= static_cast< long >(val2
);
27346 if (arg1
) (arg1
)->m_state
= arg2
;
27348 resultobj
= SWIG_Py_Void();
27355 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27356 PyObject
*resultobj
= 0;
27357 wxListItem
*arg1
= (wxListItem
*) 0 ;
27361 PyObject
*swig_obj
[1] ;
27363 if (!args
) SWIG_fail
;
27364 swig_obj
[0] = args
;
27365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27366 if (!SWIG_IsOK(res1
)) {
27367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27369 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27370 result
= (long) ((arg1
)->m_state
);
27371 resultobj
= SWIG_From_long(static_cast< long >(result
));
27378 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27379 PyObject
*resultobj
= 0;
27380 wxListItem
*arg1
= (wxListItem
*) 0 ;
27386 PyObject
*swig_obj
[2] ;
27388 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27390 if (!SWIG_IsOK(res1
)) {
27391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27393 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27394 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27395 if (!SWIG_IsOK(ecode2
)) {
27396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27398 arg2
= static_cast< long >(val2
);
27399 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27401 resultobj
= SWIG_Py_Void();
27408 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27409 PyObject
*resultobj
= 0;
27410 wxListItem
*arg1
= (wxListItem
*) 0 ;
27414 PyObject
*swig_obj
[1] ;
27416 if (!args
) SWIG_fail
;
27417 swig_obj
[0] = args
;
27418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27419 if (!SWIG_IsOK(res1
)) {
27420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27422 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27423 result
= (long) ((arg1
)->m_stateMask
);
27424 resultobj
= SWIG_From_long(static_cast< long >(result
));
27431 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27432 PyObject
*resultobj
= 0;
27433 wxListItem
*arg1
= (wxListItem
*) 0 ;
27434 wxString
*arg2
= (wxString
*) 0 ;
27437 bool temp2
= false ;
27438 PyObject
*swig_obj
[2] ;
27440 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27442 if (!SWIG_IsOK(res1
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27445 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27447 arg2
= wxString_in_helper(swig_obj
[1]);
27448 if (arg2
== NULL
) SWIG_fail
;
27451 if (arg1
) (arg1
)->m_text
= *arg2
;
27453 resultobj
= SWIG_Py_Void();
27468 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27469 PyObject
*resultobj
= 0;
27470 wxListItem
*arg1
= (wxListItem
*) 0 ;
27471 wxString
*result
= 0 ;
27474 PyObject
*swig_obj
[1] ;
27476 if (!args
) SWIG_fail
;
27477 swig_obj
[0] = args
;
27478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27479 if (!SWIG_IsOK(res1
)) {
27480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27482 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27483 result
= (wxString
*)& ((arg1
)->m_text
);
27486 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27488 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27497 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27498 PyObject
*resultobj
= 0;
27499 wxListItem
*arg1
= (wxListItem
*) 0 ;
27505 PyObject
*swig_obj
[2] ;
27507 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27509 if (!SWIG_IsOK(res1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27512 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27513 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27514 if (!SWIG_IsOK(ecode2
)) {
27515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27517 arg2
= static_cast< int >(val2
);
27518 if (arg1
) (arg1
)->m_image
= arg2
;
27520 resultobj
= SWIG_Py_Void();
27527 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27528 PyObject
*resultobj
= 0;
27529 wxListItem
*arg1
= (wxListItem
*) 0 ;
27533 PyObject
*swig_obj
[1] ;
27535 if (!args
) SWIG_fail
;
27536 swig_obj
[0] = args
;
27537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27538 if (!SWIG_IsOK(res1
)) {
27539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27541 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27542 result
= (int) ((arg1
)->m_image
);
27543 resultobj
= SWIG_From_int(static_cast< int >(result
));
27550 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27551 PyObject
*resultobj
= 0;
27552 wxListItem
*arg1
= (wxListItem
*) 0 ;
27558 PyObject
*swig_obj
[2] ;
27560 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27562 if (!SWIG_IsOK(res1
)) {
27563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27565 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27566 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27567 if (!SWIG_IsOK(ecode2
)) {
27568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27570 arg2
= static_cast< long >(val2
);
27571 if (arg1
) (arg1
)->m_data
= arg2
;
27573 resultobj
= SWIG_Py_Void();
27580 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27581 PyObject
*resultobj
= 0;
27582 wxListItem
*arg1
= (wxListItem
*) 0 ;
27586 PyObject
*swig_obj
[1] ;
27588 if (!args
) SWIG_fail
;
27589 swig_obj
[0] = args
;
27590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27591 if (!SWIG_IsOK(res1
)) {
27592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27594 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27595 result
= (long) ((arg1
)->m_data
);
27596 resultobj
= SWIG_From_long(static_cast< long >(result
));
27603 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27604 PyObject
*resultobj
= 0;
27605 wxListItem
*arg1
= (wxListItem
*) 0 ;
27611 PyObject
*swig_obj
[2] ;
27613 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27615 if (!SWIG_IsOK(res1
)) {
27616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27618 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27619 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27620 if (!SWIG_IsOK(ecode2
)) {
27621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27623 arg2
= static_cast< int >(val2
);
27624 if (arg1
) (arg1
)->m_format
= arg2
;
27626 resultobj
= SWIG_Py_Void();
27633 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27634 PyObject
*resultobj
= 0;
27635 wxListItem
*arg1
= (wxListItem
*) 0 ;
27639 PyObject
*swig_obj
[1] ;
27641 if (!args
) SWIG_fail
;
27642 swig_obj
[0] = args
;
27643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27644 if (!SWIG_IsOK(res1
)) {
27645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27647 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27648 result
= (int) ((arg1
)->m_format
);
27649 resultobj
= SWIG_From_int(static_cast< int >(result
));
27656 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27657 PyObject
*resultobj
= 0;
27658 wxListItem
*arg1
= (wxListItem
*) 0 ;
27664 PyObject
*swig_obj
[2] ;
27666 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27668 if (!SWIG_IsOK(res1
)) {
27669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27671 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27672 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27673 if (!SWIG_IsOK(ecode2
)) {
27674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27676 arg2
= static_cast< int >(val2
);
27677 if (arg1
) (arg1
)->m_width
= arg2
;
27679 resultobj
= SWIG_Py_Void();
27686 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27687 PyObject
*resultobj
= 0;
27688 wxListItem
*arg1
= (wxListItem
*) 0 ;
27692 PyObject
*swig_obj
[1] ;
27694 if (!args
) SWIG_fail
;
27695 swig_obj
[0] = args
;
27696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27697 if (!SWIG_IsOK(res1
)) {
27698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27700 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27701 result
= (int) ((arg1
)->m_width
);
27702 resultobj
= SWIG_From_int(static_cast< int >(result
));
27709 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27712 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27713 return SWIG_Py_Void();
27716 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27717 return SWIG_Python_InitShadowInstance(args
);
27720 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27721 PyObject
*resultobj
= 0;
27722 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27723 int arg2
= (int) 0 ;
27724 wxListEvent
*result
= 0 ;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 char * kwnames
[] = {
27732 (char *) "commandType",(char *) "id", NULL
27735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27738 if (!SWIG_IsOK(ecode1
)) {
27739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27741 arg1
= static_cast< wxEventType
>(val1
);
27744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27745 if (!SWIG_IsOK(ecode2
)) {
27746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27748 arg2
= static_cast< int >(val2
);
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27752 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27753 wxPyEndAllowThreads(__tstate
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27763 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27764 PyObject
*resultobj
= 0;
27765 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27771 PyObject
*swig_obj
[2] ;
27773 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27775 if (!SWIG_IsOK(res1
)) {
27776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27778 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27779 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27780 if (!SWIG_IsOK(ecode2
)) {
27781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27783 arg2
= static_cast< int >(val2
);
27784 if (arg1
) (arg1
)->m_code
= arg2
;
27786 resultobj
= SWIG_Py_Void();
27793 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27794 PyObject
*resultobj
= 0;
27795 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27799 PyObject
*swig_obj
[1] ;
27801 if (!args
) SWIG_fail
;
27802 swig_obj
[0] = args
;
27803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27807 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27808 result
= (int) ((arg1
)->m_code
);
27809 resultobj
= SWIG_From_int(static_cast< int >(result
));
27816 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27817 PyObject
*resultobj
= 0;
27818 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27824 PyObject
*swig_obj
[2] ;
27826 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27831 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27832 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27833 if (!SWIG_IsOK(ecode2
)) {
27834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27836 arg2
= static_cast< long >(val2
);
27837 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27839 resultobj
= SWIG_Py_Void();
27846 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27847 PyObject
*resultobj
= 0;
27848 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27852 PyObject
*swig_obj
[1] ;
27854 if (!args
) SWIG_fail
;
27855 swig_obj
[0] = args
;
27856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27857 if (!SWIG_IsOK(res1
)) {
27858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27860 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27861 result
= (long) ((arg1
)->m_oldItemIndex
);
27862 resultobj
= SWIG_From_long(static_cast< long >(result
));
27869 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27870 PyObject
*resultobj
= 0;
27871 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27877 PyObject
*swig_obj
[2] ;
27879 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27881 if (!SWIG_IsOK(res1
)) {
27882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27884 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27885 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27886 if (!SWIG_IsOK(ecode2
)) {
27887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27889 arg2
= static_cast< long >(val2
);
27890 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27892 resultobj
= SWIG_Py_Void();
27899 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27900 PyObject
*resultobj
= 0;
27901 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27905 PyObject
*swig_obj
[1] ;
27907 if (!args
) SWIG_fail
;
27908 swig_obj
[0] = args
;
27909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27910 if (!SWIG_IsOK(res1
)) {
27911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27913 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27914 result
= (long) ((arg1
)->m_itemIndex
);
27915 resultobj
= SWIG_From_long(static_cast< long >(result
));
27922 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27923 PyObject
*resultobj
= 0;
27924 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27930 PyObject
*swig_obj
[2] ;
27932 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27934 if (!SWIG_IsOK(res1
)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27937 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27938 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27939 if (!SWIG_IsOK(ecode2
)) {
27940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27942 arg2
= static_cast< int >(val2
);
27943 if (arg1
) (arg1
)->m_col
= arg2
;
27945 resultobj
= SWIG_Py_Void();
27952 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27953 PyObject
*resultobj
= 0;
27954 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27958 PyObject
*swig_obj
[1] ;
27960 if (!args
) SWIG_fail
;
27961 swig_obj
[0] = args
;
27962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27963 if (!SWIG_IsOK(res1
)) {
27964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27966 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27967 result
= (int) ((arg1
)->m_col
);
27968 resultobj
= SWIG_From_int(static_cast< int >(result
));
27975 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27976 PyObject
*resultobj
= 0;
27977 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27978 wxPoint
*arg2
= (wxPoint
*) 0 ;
27983 PyObject
*swig_obj
[2] ;
27985 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27987 if (!SWIG_IsOK(res1
)) {
27988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27990 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27991 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27992 if (!SWIG_IsOK(res2
)) {
27993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27995 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27996 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27998 resultobj
= SWIG_Py_Void();
28005 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28006 PyObject
*resultobj
= 0;
28007 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28008 wxPoint
*result
= 0 ;
28011 PyObject
*swig_obj
[1] ;
28013 if (!args
) SWIG_fail
;
28014 swig_obj
[0] = args
;
28015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28016 if (!SWIG_IsOK(res1
)) {
28017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28019 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28020 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28028 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28029 PyObject
*resultobj
= 0;
28030 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28031 wxListItem
*result
= 0 ;
28034 PyObject
*swig_obj
[1] ;
28036 if (!args
) SWIG_fail
;
28037 swig_obj
[0] = args
;
28038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28039 if (!SWIG_IsOK(res1
)) {
28040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28042 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28043 result
= (wxListItem
*)& ((arg1
)->m_item
);
28045 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28053 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28054 PyObject
*resultobj
= 0;
28055 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28059 PyObject
*swig_obj
[1] ;
28061 if (!args
) SWIG_fail
;
28062 swig_obj
[0] = args
;
28063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28064 if (!SWIG_IsOK(res1
)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28067 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= (int)(arg1
)->GetKeyCode();
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= SWIG_From_int(static_cast< int >(result
));
28081 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28082 PyObject
*resultobj
= 0;
28083 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28087 PyObject
*swig_obj
[1] ;
28089 if (!args
) SWIG_fail
;
28090 swig_obj
[0] = args
;
28091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28092 if (!SWIG_IsOK(res1
)) {
28093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28095 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28098 result
= (long)(arg1
)->GetIndex();
28099 wxPyEndAllowThreads(__tstate
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28102 resultobj
= SWIG_From_long(static_cast< long >(result
));
28109 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28110 PyObject
*resultobj
= 0;
28111 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28115 PyObject
*swig_obj
[1] ;
28117 if (!args
) SWIG_fail
;
28118 swig_obj
[0] = args
;
28119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28120 if (!SWIG_IsOK(res1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28123 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 result
= (int)(arg1
)->GetColumn();
28127 wxPyEndAllowThreads(__tstate
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28130 resultobj
= SWIG_From_int(static_cast< int >(result
));
28137 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28138 PyObject
*resultobj
= 0;
28139 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28143 PyObject
*swig_obj
[1] ;
28145 if (!args
) SWIG_fail
;
28146 swig_obj
[0] = args
;
28147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28148 if (!SWIG_IsOK(res1
)) {
28149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28151 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 result
= (arg1
)->GetPoint();
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28165 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28166 PyObject
*resultobj
= 0;
28167 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28168 wxString
*result
= 0 ;
28171 PyObject
*swig_obj
[1] ;
28173 if (!args
) SWIG_fail
;
28174 swig_obj
[0] = args
;
28175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28176 if (!SWIG_IsOK(res1
)) {
28177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28179 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 wxString
const &_result_ref
= (arg1
)->GetLabel();
28184 result
= (wxString
*) &_result_ref
;
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28191 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28193 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28202 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28203 PyObject
*resultobj
= 0;
28204 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28205 wxString
*result
= 0 ;
28208 PyObject
*swig_obj
[1] ;
28210 if (!args
) SWIG_fail
;
28211 swig_obj
[0] = args
;
28212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28213 if (!SWIG_IsOK(res1
)) {
28214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28216 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 wxString
const &_result_ref
= (arg1
)->GetText();
28221 result
= (wxString
*) &_result_ref
;
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28228 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28230 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28239 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28240 PyObject
*resultobj
= 0;
28241 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28245 PyObject
*swig_obj
[1] ;
28247 if (!args
) SWIG_fail
;
28248 swig_obj
[0] = args
;
28249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28250 if (!SWIG_IsOK(res1
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28253 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28256 result
= (int)(arg1
)->GetImage();
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= SWIG_From_int(static_cast< int >(result
));
28267 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28268 PyObject
*resultobj
= 0;
28269 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28273 PyObject
*swig_obj
[1] ;
28275 if (!args
) SWIG_fail
;
28276 swig_obj
[0] = args
;
28277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28278 if (!SWIG_IsOK(res1
)) {
28279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28281 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 result
= (long)(arg1
)->GetData();
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28288 resultobj
= SWIG_From_long(static_cast< long >(result
));
28295 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28296 PyObject
*resultobj
= 0;
28297 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28301 PyObject
*swig_obj
[1] ;
28303 if (!args
) SWIG_fail
;
28304 swig_obj
[0] = args
;
28305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28306 if (!SWIG_IsOK(res1
)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28309 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= (long)(arg1
)->GetMask();
28313 wxPyEndAllowThreads(__tstate
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= SWIG_From_long(static_cast< long >(result
));
28323 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28324 PyObject
*resultobj
= 0;
28325 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28326 wxListItem
*result
= 0 ;
28329 PyObject
*swig_obj
[1] ;
28331 if (!args
) SWIG_fail
;
28332 swig_obj
[0] = args
;
28333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28334 if (!SWIG_IsOK(res1
)) {
28335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28337 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28342 result
= (wxListItem
*) &_result_ref
;
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28354 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28355 PyObject
*resultobj
= 0;
28356 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28360 PyObject
*swig_obj
[1] ;
28362 if (!args
) SWIG_fail
;
28363 swig_obj
[0] = args
;
28364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28368 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 result
= (long)(arg1
)->GetCacheFrom();
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28375 resultobj
= SWIG_From_long(static_cast< long >(result
));
28382 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28383 PyObject
*resultobj
= 0;
28384 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28388 PyObject
*swig_obj
[1] ;
28390 if (!args
) SWIG_fail
;
28391 swig_obj
[0] = args
;
28392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28393 if (!SWIG_IsOK(res1
)) {
28394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28396 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28399 result
= (long)(arg1
)->GetCacheTo();
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= SWIG_From_long(static_cast< long >(result
));
28410 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28411 PyObject
*resultobj
= 0;
28412 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28416 PyObject
*swig_obj
[1] ;
28418 if (!args
) SWIG_fail
;
28419 swig_obj
[0] = args
;
28420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28421 if (!SWIG_IsOK(res1
)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28424 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28440 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28441 PyObject
*resultobj
= 0;
28442 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28448 PyObject
* obj0
= 0 ;
28449 PyObject
* obj1
= 0 ;
28450 char * kwnames
[] = {
28451 (char *) "self",(char *) "editCancelled", NULL
28454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28456 if (!SWIG_IsOK(res1
)) {
28457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28459 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28460 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28461 if (!SWIG_IsOK(ecode2
)) {
28462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28464 arg2
= static_cast< bool >(val2
);
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 (arg1
)->SetEditCanceled(arg2
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 resultobj
= SWIG_Py_Void();
28478 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28481 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28482 return SWIG_Py_Void();
28485 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28486 return SWIG_Python_InitShadowInstance(args
);
28489 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28490 PyObject
*resultobj
= 0;
28491 wxWindow
*arg1
= (wxWindow
*) 0 ;
28492 int arg2
= (int) -1 ;
28493 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28494 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28495 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28496 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28497 long arg5
= (long) wxLC_ICON
;
28498 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28499 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28500 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28501 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28502 wxPyListCtrl
*result
= 0 ;
28513 bool temp7
= false ;
28514 PyObject
* obj0
= 0 ;
28515 PyObject
* obj1
= 0 ;
28516 PyObject
* obj2
= 0 ;
28517 PyObject
* obj3
= 0 ;
28518 PyObject
* obj4
= 0 ;
28519 PyObject
* obj5
= 0 ;
28520 PyObject
* obj6
= 0 ;
28521 char * kwnames
[] = {
28522 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28527 if (!SWIG_IsOK(res1
)) {
28528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28533 if (!SWIG_IsOK(ecode2
)) {
28534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28536 arg2
= static_cast< int >(val2
);
28541 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28547 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28551 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28552 if (!SWIG_IsOK(ecode5
)) {
28553 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28555 arg5
= static_cast< long >(val5
);
28558 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28559 if (!SWIG_IsOK(res6
)) {
28560 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28565 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28569 arg7
= wxString_in_helper(obj6
);
28570 if (arg7
== NULL
) SWIG_fail
;
28575 if (!wxPyCheckForApp()) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28578 wxPyEndAllowThreads(__tstate
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28596 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28597 PyObject
*resultobj
= 0;
28598 wxPyListCtrl
*result
= 0 ;
28600 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28602 if (!wxPyCheckForApp()) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28605 wxPyEndAllowThreads(__tstate
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28615 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
= 0;
28617 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28618 wxWindow
*arg2
= (wxWindow
*) 0 ;
28619 int arg3
= (int) -1 ;
28620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28624 long arg6
= (long) wxLC_ICON
;
28625 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28626 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28627 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28628 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28642 bool temp8
= false ;
28643 PyObject
* obj0
= 0 ;
28644 PyObject
* obj1
= 0 ;
28645 PyObject
* obj2
= 0 ;
28646 PyObject
* obj3
= 0 ;
28647 PyObject
* obj4
= 0 ;
28648 PyObject
* obj5
= 0 ;
28649 PyObject
* obj6
= 0 ;
28650 PyObject
* obj7
= 0 ;
28651 char * kwnames
[] = {
28652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28657 if (!SWIG_IsOK(res1
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28660 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28662 if (!SWIG_IsOK(res2
)) {
28663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28665 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28668 if (!SWIG_IsOK(ecode3
)) {
28669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28671 arg3
= static_cast< int >(val3
);
28676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28686 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28687 if (!SWIG_IsOK(ecode6
)) {
28688 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28690 arg6
= static_cast< long >(val6
);
28693 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28694 if (!SWIG_IsOK(res7
)) {
28695 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28700 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28704 arg8
= wxString_in_helper(obj7
);
28705 if (arg8
== NULL
) SWIG_fail
;
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28732 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
= 0;
28734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28735 PyObject
*arg2
= (PyObject
*) 0 ;
28736 PyObject
*arg3
= (PyObject
*) 0 ;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 PyObject
* obj2
= 0 ;
28742 char * kwnames
[] = {
28743 (char *) "self",(char *) "self",(char *) "_class", NULL
28746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28748 if (!SWIG_IsOK(res1
)) {
28749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28751 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28760 resultobj
= SWIG_Py_Void();
28767 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
= 0;
28769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28771 wxListItem
*result
= 0 ;
28776 PyObject
* obj0
= 0 ;
28777 PyObject
* obj1
= 0 ;
28778 char * kwnames
[] = {
28779 (char *) "self",(char *) "col", NULL
28782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28784 if (!SWIG_IsOK(res1
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28787 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28789 if (!SWIG_IsOK(ecode2
)) {
28790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28792 arg2
= static_cast< int >(val2
);
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28808 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28809 PyObject
*resultobj
= 0;
28810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28812 wxListItem
*arg3
= 0 ;
28820 PyObject
* obj0
= 0 ;
28821 PyObject
* obj1
= 0 ;
28822 PyObject
* obj2
= 0 ;
28823 char * kwnames
[] = {
28824 (char *) "self",(char *) "col",(char *) "item", NULL
28827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28829 if (!SWIG_IsOK(res1
)) {
28830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28832 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28834 if (!SWIG_IsOK(ecode2
)) {
28835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28837 arg2
= static_cast< int >(val2
);
28838 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28839 if (!SWIG_IsOK(res3
)) {
28840 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28845 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28861 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
= 0;
28863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28870 PyObject
* obj0
= 0 ;
28871 PyObject
* obj1
= 0 ;
28872 char * kwnames
[] = {
28873 (char *) "self",(char *) "col", NULL
28876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28878 if (!SWIG_IsOK(res1
)) {
28879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28883 if (!SWIG_IsOK(ecode2
)) {
28884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28886 arg2
= static_cast< int >(val2
);
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28889 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28890 wxPyEndAllowThreads(__tstate
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28893 resultobj
= SWIG_From_int(static_cast< int >(result
));
28900 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28901 PyObject
*resultobj
= 0;
28902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28912 PyObject
* obj0
= 0 ;
28913 PyObject
* obj1
= 0 ;
28914 PyObject
* obj2
= 0 ;
28915 char * kwnames
[] = {
28916 (char *) "self",(char *) "col",(char *) "width", NULL
28919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28921 if (!SWIG_IsOK(res1
)) {
28922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28924 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28926 if (!SWIG_IsOK(ecode2
)) {
28927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28929 arg2
= static_cast< int >(val2
);
28930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28931 if (!SWIG_IsOK(ecode3
)) {
28932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28934 arg3
= static_cast< int >(val3
);
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28937 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28950 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28951 PyObject
*resultobj
= 0;
28952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28956 PyObject
*swig_obj
[1] ;
28958 if (!args
) SWIG_fail
;
28959 swig_obj
[0] = args
;
28960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28961 if (!SWIG_IsOK(res1
)) {
28962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28964 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28971 resultobj
= SWIG_From_int(static_cast< int >(result
));
28978 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28979 PyObject
*resultobj
= 0;
28980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28984 PyObject
*swig_obj
[1] ;
28986 if (!args
) SWIG_fail
;
28987 swig_obj
[0] = args
;
28988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28989 if (!SWIG_IsOK(res1
)) {
28990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28992 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29006 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29007 PyObject
*resultobj
= 0;
29008 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29009 wxTextCtrl
*result
= 0 ;
29012 PyObject
*swig_obj
[1] ;
29014 if (!args
) SWIG_fail
;
29015 swig_obj
[0] = args
;
29016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29017 if (!SWIG_IsOK(res1
)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29020 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= wxPyMake_wxObject(result
, 0);
29036 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
= 0;
29038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29040 int arg3
= (int) 0 ;
29041 wxListItem
*result
= 0 ;
29048 PyObject
* obj0
= 0 ;
29049 PyObject
* obj1
= 0 ;
29050 PyObject
* obj2
= 0 ;
29051 char * kwnames
[] = {
29052 (char *) "self",(char *) "itemId",(char *) "col", NULL
29055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29057 if (!SWIG_IsOK(res1
)) {
29058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29060 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29061 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29062 if (!SWIG_IsOK(ecode2
)) {
29063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29065 arg2
= static_cast< long >(val2
);
29067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29068 if (!SWIG_IsOK(ecode3
)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29071 arg3
= static_cast< int >(val3
);
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29075 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29080 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29088 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29089 PyObject
*resultobj
= 0;
29090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29091 wxListItem
*arg2
= 0 ;
29097 PyObject
* obj0
= 0 ;
29098 PyObject
* obj1
= 0 ;
29099 char * kwnames
[] = {
29100 (char *) "self",(char *) "info", NULL
29103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29105 if (!SWIG_IsOK(res1
)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29108 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29110 if (!SWIG_IsOK(res2
)) {
29111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29116 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 result
= (bool)(arg1
)->SetItem(*arg2
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29132 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
= 0;
29134 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29137 wxString
*arg4
= 0 ;
29138 int arg5
= (int) -1 ;
29146 bool temp4
= false ;
29149 PyObject
* obj0
= 0 ;
29150 PyObject
* obj1
= 0 ;
29151 PyObject
* obj2
= 0 ;
29152 PyObject
* obj3
= 0 ;
29153 PyObject
* obj4
= 0 ;
29154 char * kwnames
[] = {
29155 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29160 if (!SWIG_IsOK(res1
)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29163 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29164 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29165 if (!SWIG_IsOK(ecode2
)) {
29166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29168 arg2
= static_cast< long >(val2
);
29169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29170 if (!SWIG_IsOK(ecode3
)) {
29171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29173 arg3
= static_cast< int >(val3
);
29175 arg4
= wxString_in_helper(obj3
);
29176 if (arg4
== NULL
) SWIG_fail
;
29180 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29181 if (!SWIG_IsOK(ecode5
)) {
29182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29184 arg5
= static_cast< int >(val5
);
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29189 wxPyEndAllowThreads(__tstate
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29192 resultobj
= SWIG_From_long(static_cast< long >(result
));
29207 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
= 0;
29209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29219 PyObject
* obj0
= 0 ;
29220 PyObject
* obj1
= 0 ;
29221 PyObject
* obj2
= 0 ;
29222 char * kwnames
[] = {
29223 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29228 if (!SWIG_IsOK(res1
)) {
29229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29231 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29232 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29233 if (!SWIG_IsOK(ecode2
)) {
29234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29236 arg2
= static_cast< long >(val2
);
29237 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29238 if (!SWIG_IsOK(ecode3
)) {
29239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29241 arg3
= static_cast< long >(val3
);
29243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29244 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29245 wxPyEndAllowThreads(__tstate
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29248 resultobj
= SWIG_From_int(static_cast< int >(result
));
29255 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29256 PyObject
*resultobj
= 0;
29257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29270 PyObject
* obj0
= 0 ;
29271 PyObject
* obj1
= 0 ;
29272 PyObject
* obj2
= 0 ;
29273 PyObject
* obj3
= 0 ;
29274 char * kwnames
[] = {
29275 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29280 if (!SWIG_IsOK(res1
)) {
29281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29283 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29284 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29285 if (!SWIG_IsOK(ecode2
)) {
29286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29288 arg2
= static_cast< long >(val2
);
29289 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29290 if (!SWIG_IsOK(ecode3
)) {
29291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29293 arg3
= static_cast< long >(val3
);
29294 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29295 if (!SWIG_IsOK(ecode4
)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29298 arg4
= static_cast< long >(val4
);
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29314 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
= 0;
29316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29319 int arg4
= (int) -1 ;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 PyObject
* obj2
= 0 ;
29332 PyObject
* obj3
= 0 ;
29333 char * kwnames
[] = {
29334 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29339 if (!SWIG_IsOK(res1
)) {
29340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29342 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29343 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29344 if (!SWIG_IsOK(ecode2
)) {
29345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29347 arg2
= static_cast< long >(val2
);
29348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29349 if (!SWIG_IsOK(ecode3
)) {
29350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29352 arg3
= static_cast< int >(val3
);
29354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29355 if (!SWIG_IsOK(ecode4
)) {
29356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29358 arg4
= static_cast< int >(val4
);
29361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29363 wxPyEndAllowThreads(__tstate
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29375 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29376 PyObject
*resultobj
= 0;
29377 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29390 PyObject
* obj0
= 0 ;
29391 PyObject
* obj1
= 0 ;
29392 PyObject
* obj2
= 0 ;
29393 PyObject
* obj3
= 0 ;
29394 char * kwnames
[] = {
29395 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29400 if (!SWIG_IsOK(res1
)) {
29401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29403 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29405 if (!SWIG_IsOK(ecode2
)) {
29406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29408 arg2
= static_cast< long >(val2
);
29409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29410 if (!SWIG_IsOK(ecode3
)) {
29411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29413 arg3
= static_cast< long >(val3
);
29414 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29415 if (!SWIG_IsOK(ecode4
)) {
29416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29418 arg4
= static_cast< int >(val4
);
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29434 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29435 PyObject
*resultobj
= 0;
29436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29443 PyObject
* obj0
= 0 ;
29444 PyObject
* obj1
= 0 ;
29445 char * kwnames
[] = {
29446 (char *) "self",(char *) "item", NULL
29449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29451 if (!SWIG_IsOK(res1
)) {
29452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29454 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29455 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29456 if (!SWIG_IsOK(ecode2
)) {
29457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29459 arg2
= static_cast< long >(val2
);
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29479 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29480 PyObject
*resultobj
= 0;
29481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29483 wxString
*arg3
= 0 ;
29488 bool temp3
= false ;
29489 PyObject
* obj0
= 0 ;
29490 PyObject
* obj1
= 0 ;
29491 PyObject
* obj2
= 0 ;
29492 char * kwnames
[] = {
29493 (char *) "self",(char *) "item",(char *) "str", NULL
29496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29498 if (!SWIG_IsOK(res1
)) {
29499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29501 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29502 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29503 if (!SWIG_IsOK(ecode2
)) {
29504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29506 arg2
= static_cast< long >(val2
);
29508 arg3
= wxString_in_helper(obj2
);
29509 if (arg3
== NULL
) SWIG_fail
;
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= SWIG_Py_Void();
29533 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29534 PyObject
*resultobj
= 0;
29535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29542 PyObject
* obj0
= 0 ;
29543 PyObject
* obj1
= 0 ;
29544 char * kwnames
[] = {
29545 (char *) "self",(char *) "item", NULL
29548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29550 if (!SWIG_IsOK(res1
)) {
29551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29553 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29554 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29555 if (!SWIG_IsOK(ecode2
)) {
29556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29558 arg2
= static_cast< long >(val2
);
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29562 wxPyEndAllowThreads(__tstate
);
29563 if (PyErr_Occurred()) SWIG_fail
;
29565 resultobj
= SWIG_From_long(static_cast< long >(result
));
29572 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29573 PyObject
*resultobj
= 0;
29574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29584 PyObject
* obj0
= 0 ;
29585 PyObject
* obj1
= 0 ;
29586 PyObject
* obj2
= 0 ;
29587 char * kwnames
[] = {
29588 (char *) "self",(char *) "item",(char *) "data", NULL
29591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29593 if (!SWIG_IsOK(res1
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29596 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29597 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29598 if (!SWIG_IsOK(ecode2
)) {
29599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29601 arg2
= static_cast< long >(val2
);
29602 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29603 if (!SWIG_IsOK(ecode3
)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29606 arg3
= static_cast< long >(val3
);
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29622 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
= 0;
29624 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29631 PyObject
* obj0
= 0 ;
29632 PyObject
* obj1
= 0 ;
29633 char * kwnames
[] = {
29634 (char *) "self",(char *) "item", NULL
29637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29639 if (!SWIG_IsOK(res1
)) {
29640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29642 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29643 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29644 if (!SWIG_IsOK(ecode2
)) {
29645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29647 arg2
= static_cast< long >(val2
);
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29654 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29661 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29662 PyObject
*resultobj
= 0;
29663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29665 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 PyObject
* obj2
= 0 ;
29676 char * kwnames
[] = {
29677 (char *) "self",(char *) "item",(char *) "code", NULL
29680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29682 if (!SWIG_IsOK(res1
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29685 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29686 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29687 if (!SWIG_IsOK(ecode2
)) {
29688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29690 arg2
= static_cast< long >(val2
);
29692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29693 if (!SWIG_IsOK(ecode3
)) {
29694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29696 arg3
= static_cast< int >(val3
);
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29711 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
= 0;
29713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29715 wxPoint
*arg3
= 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 PyObject
* obj2
= 0 ;
29725 char * kwnames
[] = {
29726 (char *) "self",(char *) "item",(char *) "pos", NULL
29729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29731 if (!SWIG_IsOK(res1
)) {
29732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29734 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29735 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29736 if (!SWIG_IsOK(ecode2
)) {
29737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29739 arg2
= static_cast< long >(val2
);
29742 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29747 wxPyEndAllowThreads(__tstate
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29759 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29760 PyObject
*resultobj
= 0;
29761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29765 PyObject
*swig_obj
[1] ;
29767 if (!args
) SWIG_fail
;
29768 swig_obj
[0] = args
;
29769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29770 if (!SWIG_IsOK(res1
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29773 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= SWIG_From_int(static_cast< int >(result
));
29787 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29788 PyObject
*resultobj
= 0;
29789 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29793 PyObject
*swig_obj
[1] ;
29795 if (!args
) SWIG_fail
;
29796 swig_obj
[0] = args
;
29797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29798 if (!SWIG_IsOK(res1
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29801 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29808 resultobj
= SWIG_From_int(static_cast< int >(result
));
29815 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29816 PyObject
*resultobj
= 0;
29817 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29821 PyObject
*swig_obj
[1] ;
29823 if (!args
) SWIG_fail
;
29824 swig_obj
[0] = args
;
29825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29826 if (!SWIG_IsOK(res1
)) {
29827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29829 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29832 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29833 wxPyEndAllowThreads(__tstate
);
29834 if (PyErr_Occurred()) SWIG_fail
;
29836 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29843 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29844 PyObject
*resultobj
= 0;
29845 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29847 bool arg3
= (bool) false ;
29854 PyObject
* obj0
= 0 ;
29855 PyObject
* obj1
= 0 ;
29856 PyObject
* obj2
= 0 ;
29857 char * kwnames
[] = {
29858 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29863 if (!SWIG_IsOK(res1
)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29866 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29868 if (!SWIG_IsOK(ecode2
)) {
29869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29871 arg2
= static_cast< int >(val2
);
29873 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29874 if (!SWIG_IsOK(ecode3
)) {
29875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29877 arg3
= static_cast< bool >(val3
);
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 (arg1
)->SetItemSpacing(arg2
,arg3
);
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29885 resultobj
= SWIG_Py_Void();
29892 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29893 PyObject
*resultobj
= 0;
29894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29898 PyObject
*swig_obj
[1] ;
29900 if (!args
) SWIG_fail
;
29901 swig_obj
[0] = args
;
29902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29903 if (!SWIG_IsOK(res1
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29906 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= SWIG_From_int(static_cast< int >(result
));
29920 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29921 PyObject
*resultobj
= 0;
29922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29926 PyObject
*swig_obj
[1] ;
29928 if (!args
) SWIG_fail
;
29929 swig_obj
[0] = args
;
29930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29931 if (!SWIG_IsOK(res1
)) {
29932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29934 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29938 wxPyEndAllowThreads(__tstate
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29948 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29949 PyObject
*resultobj
= 0;
29950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29951 wxColour
*arg2
= 0 ;
29955 PyObject
* obj0
= 0 ;
29956 PyObject
* obj1
= 0 ;
29957 char * kwnames
[] = {
29958 (char *) "self",(char *) "col", NULL
29961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29963 if (!SWIG_IsOK(res1
)) {
29964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29966 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29977 resultobj
= SWIG_Py_Void();
29984 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29985 PyObject
*resultobj
= 0;
29986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29990 PyObject
*swig_obj
[1] ;
29992 if (!args
) SWIG_fail
;
29993 swig_obj
[0] = args
;
29994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29995 if (!SWIG_IsOK(res1
)) {
29996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29998 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30001 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30005 resultobj
= SWIG_From_long(static_cast< long >(result
));
30012 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
= 0;
30014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30016 bool arg3
= (bool) true ;
30023 PyObject
* obj0
= 0 ;
30024 PyObject
* obj1
= 0 ;
30025 PyObject
* obj2
= 0 ;
30026 char * kwnames
[] = {
30027 (char *) "self",(char *) "style",(char *) "add", NULL
30030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30032 if (!SWIG_IsOK(res1
)) {
30033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30035 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30036 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30037 if (!SWIG_IsOK(ecode2
)) {
30038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30040 arg2
= static_cast< long >(val2
);
30042 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30043 if (!SWIG_IsOK(ecode3
)) {
30044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30046 arg3
= static_cast< bool >(val3
);
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 (arg1
)->SetSingleStyle(arg2
,arg3
);
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= SWIG_Py_Void();
30061 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30062 PyObject
*resultobj
= 0;
30063 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30065 int arg3
= (int) wxLIST_NEXT_ALL
;
30066 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30076 PyObject
* obj0
= 0 ;
30077 PyObject
* obj1
= 0 ;
30078 PyObject
* obj2
= 0 ;
30079 PyObject
* obj3
= 0 ;
30080 char * kwnames
[] = {
30081 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30086 if (!SWIG_IsOK(res1
)) {
30087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30089 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30090 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30091 if (!SWIG_IsOK(ecode2
)) {
30092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30094 arg2
= static_cast< long >(val2
);
30096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30097 if (!SWIG_IsOK(ecode3
)) {
30098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30100 arg3
= static_cast< int >(val3
);
30103 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30104 if (!SWIG_IsOK(ecode4
)) {
30105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30107 arg4
= static_cast< int >(val4
);
30110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30111 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 resultobj
= SWIG_From_long(static_cast< long >(result
));
30122 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
= 0;
30124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30126 wxImageList
*result
= 0 ;
30131 PyObject
* obj0
= 0 ;
30132 PyObject
* obj1
= 0 ;
30133 char * kwnames
[] = {
30134 (char *) "self",(char *) "which", NULL
30137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30139 if (!SWIG_IsOK(res1
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30142 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30144 if (!SWIG_IsOK(ecode2
)) {
30145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30147 arg2
= static_cast< int >(val2
);
30149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30150 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30151 wxPyEndAllowThreads(__tstate
);
30152 if (PyErr_Occurred()) SWIG_fail
;
30155 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30163 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30164 PyObject
*resultobj
= 0;
30165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30166 wxImageList
*arg2
= (wxImageList
*) 0 ;
30174 PyObject
* obj0
= 0 ;
30175 PyObject
* obj1
= 0 ;
30176 PyObject
* obj2
= 0 ;
30177 char * kwnames
[] = {
30178 (char *) "self",(char *) "imageList",(char *) "which", NULL
30181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30183 if (!SWIG_IsOK(res1
)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30186 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30188 if (!SWIG_IsOK(res2
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30191 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30193 if (!SWIG_IsOK(ecode3
)) {
30194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30196 arg3
= static_cast< int >(val3
);
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 (arg1
)->SetImageList(arg2
,arg3
);
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= SWIG_Py_Void();
30210 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
= 0;
30212 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30213 wxImageList
*arg2
= (wxImageList
*) 0 ;
30220 PyObject
* obj0
= 0 ;
30221 PyObject
* obj1
= 0 ;
30222 PyObject
* obj2
= 0 ;
30223 char * kwnames
[] = {
30224 (char *) "self",(char *) "imageList",(char *) "which", NULL
30227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30229 if (!SWIG_IsOK(res1
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30233 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30234 if (!SWIG_IsOK(res2
)) {
30235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30238 if (!SWIG_IsOK(ecode3
)) {
30239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30241 arg3
= static_cast< int >(val3
);
30243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30244 (arg1
)->AssignImageList(arg2
,arg3
);
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 resultobj
= SWIG_Py_Void();
30255 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30256 PyObject
*resultobj
= 0;
30257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30261 PyObject
*swig_obj
[1] ;
30263 if (!args
) SWIG_fail
;
30264 swig_obj
[0] = args
;
30265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30266 if (!SWIG_IsOK(res1
)) {
30267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30269 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30285 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30286 PyObject
*resultobj
= 0;
30287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30291 PyObject
*swig_obj
[1] ;
30293 if (!args
) SWIG_fail
;
30294 swig_obj
[0] = args
;
30295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30296 if (!SWIG_IsOK(res1
)) {
30297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30299 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30315 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
= 0;
30317 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 char * kwnames
[] = {
30326 (char *) "self",(char *) "item", NULL
30329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30331 if (!SWIG_IsOK(res1
)) {
30332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30334 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30335 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30336 if (!SWIG_IsOK(ecode2
)) {
30337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30339 arg2
= static_cast< long >(val2
);
30341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30342 (arg1
)->RefreshItem(arg2
);
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= SWIG_Py_Void();
30353 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
= 0;
30355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30364 PyObject
* obj0
= 0 ;
30365 PyObject
* obj1
= 0 ;
30366 PyObject
* obj2
= 0 ;
30367 char * kwnames
[] = {
30368 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30373 if (!SWIG_IsOK(res1
)) {
30374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30376 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30377 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30378 if (!SWIG_IsOK(ecode2
)) {
30379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30381 arg2
= static_cast< long >(val2
);
30382 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30383 if (!SWIG_IsOK(ecode3
)) {
30384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30386 arg3
= static_cast< long >(val3
);
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 (arg1
)->RefreshItems(arg2
,arg3
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= SWIG_Py_Void();
30400 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
= 0;
30402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30403 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30409 PyObject
* obj0
= 0 ;
30410 PyObject
* obj1
= 0 ;
30411 char * kwnames
[] = {
30412 (char *) "self",(char *) "flag", NULL
30415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30417 if (!SWIG_IsOK(res1
)) {
30418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30420 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30423 if (!SWIG_IsOK(ecode2
)) {
30424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30426 arg2
= static_cast< int >(val2
);
30429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30430 result
= (bool)(arg1
)->Arrange(arg2
);
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30443 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
= 0;
30445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30452 PyObject
* obj0
= 0 ;
30453 PyObject
* obj1
= 0 ;
30454 char * kwnames
[] = {
30455 (char *) "self",(char *) "item", NULL
30458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30460 if (!SWIG_IsOK(res1
)) {
30461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30463 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30464 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30465 if (!SWIG_IsOK(ecode2
)) {
30466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30468 arg2
= static_cast< long >(val2
);
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 result
= (bool)(arg1
)->DeleteItem(arg2
);
30472 wxPyEndAllowThreads(__tstate
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30484 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30485 PyObject
*resultobj
= 0;
30486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30490 PyObject
*swig_obj
[1] ;
30492 if (!args
) SWIG_fail
;
30493 swig_obj
[0] = args
;
30494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30495 if (!SWIG_IsOK(res1
)) {
30496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30498 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 result
= (bool)(arg1
)->DeleteAllItems();
30502 wxPyEndAllowThreads(__tstate
);
30503 if (PyErr_Occurred()) SWIG_fail
;
30506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30514 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30515 PyObject
*resultobj
= 0;
30516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30523 PyObject
* obj0
= 0 ;
30524 PyObject
* obj1
= 0 ;
30525 char * kwnames
[] = {
30526 (char *) "self",(char *) "col", NULL
30529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30531 if (!SWIG_IsOK(res1
)) {
30532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30534 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30536 if (!SWIG_IsOK(ecode2
)) {
30537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30539 arg2
= static_cast< int >(val2
);
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30555 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30561 PyObject
*swig_obj
[1] ;
30563 if (!args
) SWIG_fail
;
30564 swig_obj
[0] = args
;
30565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30569 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 result
= (bool)(arg1
)->DeleteAllColumns();
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30585 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30586 PyObject
*resultobj
= 0;
30587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30590 PyObject
*swig_obj
[1] ;
30592 if (!args
) SWIG_fail
;
30593 swig_obj
[0] = args
;
30594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30595 if (!SWIG_IsOK(res1
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30598 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30601 (arg1
)->ClearAll();
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= SWIG_Py_Void();
30612 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30613 PyObject
*resultobj
= 0;
30614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30620 PyObject
* obj0
= 0 ;
30621 PyObject
* obj1
= 0 ;
30622 char * kwnames
[] = {
30623 (char *) "self",(char *) "item", NULL
30626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30628 if (!SWIG_IsOK(res1
)) {
30629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30631 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30632 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30633 if (!SWIG_IsOK(ecode2
)) {
30634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30636 arg2
= static_cast< long >(val2
);
30638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30639 (arg1
)->EditLabel(arg2
);
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30643 resultobj
= SWIG_Py_Void();
30650 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30651 PyObject
*resultobj
= 0;
30652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30659 PyObject
* obj0
= 0 ;
30660 PyObject
* obj1
= 0 ;
30661 char * kwnames
[] = {
30662 (char *) "self",(char *) "item", NULL
30665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30667 if (!SWIG_IsOK(res1
)) {
30668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30670 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30671 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30672 if (!SWIG_IsOK(ecode2
)) {
30673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30675 arg2
= static_cast< long >(val2
);
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30691 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
= 0;
30693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30695 wxString
*arg3
= 0 ;
30696 bool arg4
= (bool) false ;
30702 bool temp3
= false ;
30705 PyObject
* obj0
= 0 ;
30706 PyObject
* obj1
= 0 ;
30707 PyObject
* obj2
= 0 ;
30708 PyObject
* obj3
= 0 ;
30709 char * kwnames
[] = {
30710 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30715 if (!SWIG_IsOK(res1
)) {
30716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30718 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30719 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30720 if (!SWIG_IsOK(ecode2
)) {
30721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30723 arg2
= static_cast< long >(val2
);
30725 arg3
= wxString_in_helper(obj2
);
30726 if (arg3
== NULL
) SWIG_fail
;
30730 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30731 if (!SWIG_IsOK(ecode4
)) {
30732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30734 arg4
= static_cast< bool >(val4
);
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_From_long(static_cast< long >(result
));
30757 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
= 0;
30759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30769 PyObject
* obj0
= 0 ;
30770 PyObject
* obj1
= 0 ;
30771 PyObject
* obj2
= 0 ;
30772 char * kwnames
[] = {
30773 (char *) "self",(char *) "start",(char *) "data", NULL
30776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30778 if (!SWIG_IsOK(res1
)) {
30779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30781 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30782 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30783 if (!SWIG_IsOK(ecode2
)) {
30784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30786 arg2
= static_cast< long >(val2
);
30787 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30788 if (!SWIG_IsOK(ecode3
)) {
30789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30791 arg3
= static_cast< long >(val3
);
30793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30794 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30795 wxPyEndAllowThreads(__tstate
);
30796 if (PyErr_Occurred()) SWIG_fail
;
30798 resultobj
= SWIG_From_long(static_cast< long >(result
));
30805 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
= 0;
30807 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30809 wxPoint
*arg3
= 0 ;
30819 PyObject
* obj0
= 0 ;
30820 PyObject
* obj1
= 0 ;
30821 PyObject
* obj2
= 0 ;
30822 PyObject
* obj3
= 0 ;
30823 char * kwnames
[] = {
30824 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30829 if (!SWIG_IsOK(res1
)) {
30830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30832 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30833 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30834 if (!SWIG_IsOK(ecode2
)) {
30835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30837 arg2
= static_cast< long >(val2
);
30840 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30842 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30843 if (!SWIG_IsOK(ecode4
)) {
30844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30846 arg4
= static_cast< int >(val4
);
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= SWIG_From_long(static_cast< long >(result
));
30860 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
= 0;
30862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30863 wxPoint
*arg2
= 0 ;
30870 int res3
= SWIG_TMPOBJ
;
30871 PyObject
* obj0
= 0 ;
30872 PyObject
* obj1
= 0 ;
30873 char * kwnames
[] = {
30874 (char *) "self",(char *) "point", NULL
30878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30880 if (!SWIG_IsOK(res1
)) {
30881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30883 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30890 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30894 resultobj
= SWIG_From_long(static_cast< long >(result
));
30895 if (SWIG_IsTmpObj(res3
)) {
30896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30898 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30907 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
= 0;
30909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30910 wxPoint
*arg2
= 0 ;
30912 long *arg4
= (long *) 0 ;
30918 int res3
= SWIG_TMPOBJ
;
30920 int res4
= SWIG_TMPOBJ
;
30921 PyObject
* obj0
= 0 ;
30922 PyObject
* obj1
= 0 ;
30923 char * kwnames
[] = {
30924 (char *) "self",(char *) "point", NULL
30929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30931 if (!SWIG_IsOK(res1
)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30934 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30937 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30941 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30945 resultobj
= SWIG_From_long(static_cast< long >(result
));
30946 if (SWIG_IsTmpObj(res3
)) {
30947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30949 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30952 if (SWIG_IsTmpObj(res4
)) {
30953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30955 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30964 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
= 0;
30966 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30967 wxListItem
*arg2
= 0 ;
30973 PyObject
* obj0
= 0 ;
30974 PyObject
* obj1
= 0 ;
30975 char * kwnames
[] = {
30976 (char *) "self",(char *) "info", NULL
30979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30981 if (!SWIG_IsOK(res1
)) {
30982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30984 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30986 if (!SWIG_IsOK(res2
)) {
30987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30992 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30995 result
= (long)(arg1
)->InsertItem(*arg2
);
30996 wxPyEndAllowThreads(__tstate
);
30997 if (PyErr_Occurred()) SWIG_fail
;
30999 resultobj
= SWIG_From_long(static_cast< long >(result
));
31006 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31007 PyObject
*resultobj
= 0;
31008 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31010 wxString
*arg3
= 0 ;
31011 int arg4
= (int) -1 ;
31017 bool temp3
= false ;
31020 PyObject
* obj0
= 0 ;
31021 PyObject
* obj1
= 0 ;
31022 PyObject
* obj2
= 0 ;
31023 PyObject
* obj3
= 0 ;
31024 char * kwnames
[] = {
31025 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31030 if (!SWIG_IsOK(res1
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31033 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31034 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31035 if (!SWIG_IsOK(ecode2
)) {
31036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31038 arg2
= static_cast< long >(val2
);
31040 arg3
= wxString_in_helper(obj2
);
31041 if (arg3
== NULL
) SWIG_fail
;
31045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31046 if (!SWIG_IsOK(ecode4
)) {
31047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31049 arg4
= static_cast< int >(val4
);
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31054 wxPyEndAllowThreads(__tstate
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31057 resultobj
= SWIG_From_long(static_cast< long >(result
));
31072 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31073 PyObject
*resultobj
= 0;
31074 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31084 PyObject
* obj0
= 0 ;
31085 PyObject
* obj1
= 0 ;
31086 PyObject
* obj2
= 0 ;
31087 char * kwnames
[] = {
31088 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31093 if (!SWIG_IsOK(res1
)) {
31094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31096 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31097 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31098 if (!SWIG_IsOK(ecode2
)) {
31099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31101 arg2
= static_cast< long >(val2
);
31102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31103 if (!SWIG_IsOK(ecode3
)) {
31104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31106 arg3
= static_cast< int >(val3
);
31108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31109 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31110 wxPyEndAllowThreads(__tstate
);
31111 if (PyErr_Occurred()) SWIG_fail
;
31113 resultobj
= SWIG_From_long(static_cast< long >(result
));
31120 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31121 PyObject
*resultobj
= 0;
31122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31124 wxString
*arg3
= 0 ;
31131 bool temp3
= false ;
31134 PyObject
* obj0
= 0 ;
31135 PyObject
* obj1
= 0 ;
31136 PyObject
* obj2
= 0 ;
31137 PyObject
* obj3
= 0 ;
31138 char * kwnames
[] = {
31139 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31144 if (!SWIG_IsOK(res1
)) {
31145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31147 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31148 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31149 if (!SWIG_IsOK(ecode2
)) {
31150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31152 arg2
= static_cast< long >(val2
);
31154 arg3
= wxString_in_helper(obj2
);
31155 if (arg3
== NULL
) SWIG_fail
;
31158 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31159 if (!SWIG_IsOK(ecode4
)) {
31160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31162 arg4
= static_cast< int >(val4
);
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31169 resultobj
= SWIG_From_long(static_cast< long >(result
));
31184 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
= 0;
31186 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31188 wxListItem
*arg3
= 0 ;
31196 PyObject
* obj0
= 0 ;
31197 PyObject
* obj1
= 0 ;
31198 PyObject
* obj2
= 0 ;
31199 char * kwnames
[] = {
31200 (char *) "self",(char *) "col",(char *) "info", NULL
31203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31205 if (!SWIG_IsOK(res1
)) {
31206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31208 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31209 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31210 if (!SWIG_IsOK(ecode2
)) {
31211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31213 arg2
= static_cast< long >(val2
);
31214 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31215 if (!SWIG_IsOK(res3
)) {
31216 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31221 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31225 wxPyEndAllowThreads(__tstate
);
31226 if (PyErr_Occurred()) SWIG_fail
;
31228 resultobj
= SWIG_From_long(static_cast< long >(result
));
31235 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
= 0;
31237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31239 wxString
*arg3
= 0 ;
31240 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31241 int arg5
= (int) -1 ;
31247 bool temp3
= false ;
31252 PyObject
* obj0
= 0 ;
31253 PyObject
* obj1
= 0 ;
31254 PyObject
* obj2
= 0 ;
31255 PyObject
* obj3
= 0 ;
31256 PyObject
* obj4
= 0 ;
31257 char * kwnames
[] = {
31258 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31263 if (!SWIG_IsOK(res1
)) {
31264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31266 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31267 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31268 if (!SWIG_IsOK(ecode2
)) {
31269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31271 arg2
= static_cast< long >(val2
);
31273 arg3
= wxString_in_helper(obj2
);
31274 if (arg3
== NULL
) SWIG_fail
;
31278 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31279 if (!SWIG_IsOK(ecode4
)) {
31280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31282 arg4
= static_cast< int >(val4
);
31285 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31286 if (!SWIG_IsOK(ecode5
)) {
31287 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31289 arg5
= static_cast< int >(val5
);
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31294 wxPyEndAllowThreads(__tstate
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31297 resultobj
= SWIG_From_long(static_cast< long >(result
));
31312 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
= 0;
31314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31320 PyObject
* obj0
= 0 ;
31321 PyObject
* obj1
= 0 ;
31322 char * kwnames
[] = {
31323 (char *) "self",(char *) "count", NULL
31326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31328 if (!SWIG_IsOK(res1
)) {
31329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31331 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31332 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31333 if (!SWIG_IsOK(ecode2
)) {
31334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31336 arg2
= static_cast< long >(val2
);
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 (arg1
)->SetItemCount(arg2
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 resultobj
= SWIG_Py_Void();
31350 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
= 0;
31352 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 PyObject
* obj1
= 0 ;
31364 PyObject
* obj2
= 0 ;
31365 char * kwnames
[] = {
31366 (char *) "self",(char *) "dx",(char *) "dy", NULL
31369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31371 if (!SWIG_IsOK(res1
)) {
31372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31374 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31376 if (!SWIG_IsOK(ecode2
)) {
31377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31379 arg2
= static_cast< int >(val2
);
31380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31381 if (!SWIG_IsOK(ecode3
)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31384 arg3
= static_cast< int >(val3
);
31386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31387 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31400 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= 0;
31402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31404 wxColour
*arg3
= 0 ;
31410 PyObject
* obj0
= 0 ;
31411 PyObject
* obj1
= 0 ;
31412 PyObject
* obj2
= 0 ;
31413 char * kwnames
[] = {
31414 (char *) "self",(char *) "item",(char *) "col", NULL
31417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31419 if (!SWIG_IsOK(res1
)) {
31420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31422 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31423 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31424 if (!SWIG_IsOK(ecode2
)) {
31425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31427 arg2
= static_cast< long >(val2
);
31430 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= SWIG_Py_Void();
31445 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
= 0;
31447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31454 PyObject
* obj0
= 0 ;
31455 PyObject
* obj1
= 0 ;
31456 char * kwnames
[] = {
31457 (char *) "self",(char *) "item", NULL
31460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31462 if (!SWIG_IsOK(res1
)) {
31463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31465 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31466 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31467 if (!SWIG_IsOK(ecode2
)) {
31468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31470 arg2
= static_cast< long >(val2
);
31472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31473 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31474 wxPyEndAllowThreads(__tstate
);
31475 if (PyErr_Occurred()) SWIG_fail
;
31477 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31484 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
= 0;
31486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31488 wxColour
*arg3
= 0 ;
31494 PyObject
* obj0
= 0 ;
31495 PyObject
* obj1
= 0 ;
31496 PyObject
* obj2
= 0 ;
31497 char * kwnames
[] = {
31498 (char *) "self",(char *) "item",(char *) "col", NULL
31501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31503 if (!SWIG_IsOK(res1
)) {
31504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31506 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31507 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31508 if (!SWIG_IsOK(ecode2
)) {
31509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31511 arg2
= static_cast< long >(val2
);
31514 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31518 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31522 resultobj
= SWIG_Py_Void();
31529 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31530 PyObject
*resultobj
= 0;
31531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31538 PyObject
* obj0
= 0 ;
31539 PyObject
* obj1
= 0 ;
31540 char * kwnames
[] = {
31541 (char *) "self",(char *) "item", NULL
31544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31546 if (!SWIG_IsOK(res1
)) {
31547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31549 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31550 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31551 if (!SWIG_IsOK(ecode2
)) {
31552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31554 arg2
= static_cast< long >(val2
);
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31557 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31561 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31568 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
= 0;
31570 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31579 PyObject
* obj0
= 0 ;
31580 PyObject
* obj1
= 0 ;
31581 PyObject
* obj2
= 0 ;
31582 char * kwnames
[] = {
31583 (char *) "self",(char *) "item",(char *) "f", NULL
31586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31588 if (!SWIG_IsOK(res1
)) {
31589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31591 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31592 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31593 if (!SWIG_IsOK(ecode2
)) {
31594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31596 arg2
= static_cast< long >(val2
);
31597 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31598 if (!SWIG_IsOK(res3
)) {
31599 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31604 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31607 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31608 wxPyEndAllowThreads(__tstate
);
31609 if (PyErr_Occurred()) SWIG_fail
;
31611 resultobj
= SWIG_Py_Void();
31618 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31619 PyObject
*resultobj
= 0;
31620 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31627 PyObject
* obj0
= 0 ;
31628 PyObject
* obj1
= 0 ;
31629 char * kwnames
[] = {
31630 (char *) "self",(char *) "item", NULL
31633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31635 if (!SWIG_IsOK(res1
)) {
31636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31638 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31639 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31640 if (!SWIG_IsOK(ecode2
)) {
31641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31643 arg2
= static_cast< long >(val2
);
31645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31646 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31657 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31658 PyObject
*resultobj
= 0;
31659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31660 PyObject
*arg2
= (PyObject
*) 0 ;
31664 PyObject
* obj0
= 0 ;
31665 PyObject
* obj1
= 0 ;
31666 char * kwnames
[] = {
31667 (char *) "self",(char *) "func", NULL
31670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31672 if (!SWIG_IsOK(res1
)) {
31673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31675 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31679 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31692 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31693 PyObject
*resultobj
= 0;
31694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31695 wxWindow
*result
= 0 ;
31698 PyObject
*swig_obj
[1] ;
31700 if (!args
) SWIG_fail
;
31701 swig_obj
[0] = args
;
31702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31703 if (!SWIG_IsOK(res1
)) {
31704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31706 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31714 resultobj
= wxPyMake_wxObject(result
, 0);
31722 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31723 PyObject
*resultobj
= 0;
31724 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31725 SwigValueWrapper
<wxVisualAttributes
> result
;
31728 PyObject
* obj0
= 0 ;
31729 char * kwnames
[] = {
31730 (char *) "variant", NULL
31733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31736 if (!SWIG_IsOK(ecode1
)) {
31737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31739 arg1
= static_cast< wxWindowVariant
>(val1
);
31742 if (!wxPyCheckForApp()) SWIG_fail
;
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31748 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31755 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31758 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31759 return SWIG_Py_Void();
31762 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31763 return SWIG_Python_InitShadowInstance(args
);
31766 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31767 PyObject
*resultobj
= 0;
31768 wxWindow
*arg1
= (wxWindow
*) 0 ;
31769 int arg2
= (int) -1 ;
31770 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31771 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31772 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31773 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31774 long arg5
= (long) wxLC_REPORT
;
31775 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31776 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31777 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31778 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31779 wxListView
*result
= 0 ;
31790 bool temp7
= false ;
31791 PyObject
* obj0
= 0 ;
31792 PyObject
* obj1
= 0 ;
31793 PyObject
* obj2
= 0 ;
31794 PyObject
* obj3
= 0 ;
31795 PyObject
* obj4
= 0 ;
31796 PyObject
* obj5
= 0 ;
31797 PyObject
* obj6
= 0 ;
31798 char * kwnames
[] = {
31799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31804 if (!SWIG_IsOK(res1
)) {
31805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31807 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31810 if (!SWIG_IsOK(ecode2
)) {
31811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31813 arg2
= static_cast< int >(val2
);
31818 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31824 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31828 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31829 if (!SWIG_IsOK(ecode5
)) {
31830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31832 arg5
= static_cast< long >(val5
);
31835 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31836 if (!SWIG_IsOK(res6
)) {
31837 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31842 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31846 arg7
= wxString_in_helper(obj6
);
31847 if (arg7
== NULL
) SWIG_fail
;
31852 if (!wxPyCheckForApp()) SWIG_fail
;
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31855 wxPyEndAllowThreads(__tstate
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31873 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31874 PyObject
*resultobj
= 0;
31875 wxListView
*result
= 0 ;
31877 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31879 if (!wxPyCheckForApp()) SWIG_fail
;
31880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31881 result
= (wxListView
*)new wxListView();
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31892 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31893 PyObject
*resultobj
= 0;
31894 wxListView
*arg1
= (wxListView
*) 0 ;
31895 wxWindow
*arg2
= (wxWindow
*) 0 ;
31896 int arg3
= (int) -1 ;
31897 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31898 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31899 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31900 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31901 long arg6
= (long) wxLC_REPORT
;
31902 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31903 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31904 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31905 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31919 bool temp8
= false ;
31920 PyObject
* obj0
= 0 ;
31921 PyObject
* obj1
= 0 ;
31922 PyObject
* obj2
= 0 ;
31923 PyObject
* obj3
= 0 ;
31924 PyObject
* obj4
= 0 ;
31925 PyObject
* obj5
= 0 ;
31926 PyObject
* obj6
= 0 ;
31927 PyObject
* obj7
= 0 ;
31928 char * kwnames
[] = {
31929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31934 if (!SWIG_IsOK(res1
)) {
31935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31937 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31939 if (!SWIG_IsOK(res2
)) {
31940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31942 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31945 if (!SWIG_IsOK(ecode3
)) {
31946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31948 arg3
= static_cast< int >(val3
);
31953 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31959 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31963 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31964 if (!SWIG_IsOK(ecode6
)) {
31965 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31967 arg6
= static_cast< long >(val6
);
31970 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31971 if (!SWIG_IsOK(res7
)) {
31972 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31977 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31981 arg8
= wxString_in_helper(obj7
);
31982 if (arg8
== NULL
) SWIG_fail
;
31987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31988 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32009 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
= 0;
32011 wxListView
*arg1
= (wxListView
*) 0 ;
32013 bool arg3
= (bool) true ;
32020 PyObject
* obj0
= 0 ;
32021 PyObject
* obj1
= 0 ;
32022 PyObject
* obj2
= 0 ;
32023 char * kwnames
[] = {
32024 (char *) "self",(char *) "n",(char *) "on", NULL
32027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32029 if (!SWIG_IsOK(res1
)) {
32030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32032 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32033 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32034 if (!SWIG_IsOK(ecode2
)) {
32035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32037 arg2
= static_cast< long >(val2
);
32039 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32040 if (!SWIG_IsOK(ecode3
)) {
32041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32043 arg3
= static_cast< bool >(val3
);
32046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 (arg1
)->Select(arg2
,arg3
);
32048 wxPyEndAllowThreads(__tstate
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32051 resultobj
= SWIG_Py_Void();
32058 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
= 0;
32060 wxListView
*arg1
= (wxListView
*) 0 ;
32066 PyObject
* obj0
= 0 ;
32067 PyObject
* obj1
= 0 ;
32068 char * kwnames
[] = {
32069 (char *) "self",(char *) "index", NULL
32072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32074 if (!SWIG_IsOK(res1
)) {
32075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32077 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32078 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32079 if (!SWIG_IsOK(ecode2
)) {
32080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32082 arg2
= static_cast< long >(val2
);
32084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32085 (arg1
)->Focus(arg2
);
32086 wxPyEndAllowThreads(__tstate
);
32087 if (PyErr_Occurred()) SWIG_fail
;
32089 resultobj
= SWIG_Py_Void();
32096 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32097 PyObject
*resultobj
= 0;
32098 wxListView
*arg1
= (wxListView
*) 0 ;
32102 PyObject
*swig_obj
[1] ;
32104 if (!args
) SWIG_fail
;
32105 swig_obj
[0] = args
;
32106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32107 if (!SWIG_IsOK(res1
)) {
32108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32110 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32113 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32114 wxPyEndAllowThreads(__tstate
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32117 resultobj
= SWIG_From_long(static_cast< long >(result
));
32124 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32125 PyObject
*resultobj
= 0;
32126 wxListView
*arg1
= (wxListView
*) 0 ;
32133 PyObject
* obj0
= 0 ;
32134 PyObject
* obj1
= 0 ;
32135 char * kwnames
[] = {
32136 (char *) "self",(char *) "item", NULL
32139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32141 if (!SWIG_IsOK(res1
)) {
32142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32144 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32146 if (!SWIG_IsOK(ecode2
)) {
32147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32149 arg2
= static_cast< long >(val2
);
32151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32152 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32153 wxPyEndAllowThreads(__tstate
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32156 resultobj
= SWIG_From_long(static_cast< long >(result
));
32163 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32164 PyObject
*resultobj
= 0;
32165 wxListView
*arg1
= (wxListView
*) 0 ;
32169 PyObject
*swig_obj
[1] ;
32171 if (!args
) SWIG_fail
;
32172 swig_obj
[0] = args
;
32173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32174 if (!SWIG_IsOK(res1
)) {
32175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32177 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32180 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32181 wxPyEndAllowThreads(__tstate
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32184 resultobj
= SWIG_From_long(static_cast< long >(result
));
32191 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32192 PyObject
*resultobj
= 0;
32193 wxListView
*arg1
= (wxListView
*) 0 ;
32200 PyObject
* obj0
= 0 ;
32201 PyObject
* obj1
= 0 ;
32202 char * kwnames
[] = {
32203 (char *) "self",(char *) "index", NULL
32206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32208 if (!SWIG_IsOK(res1
)) {
32209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32211 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32212 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32213 if (!SWIG_IsOK(ecode2
)) {
32214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32216 arg2
= static_cast< long >(val2
);
32218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32219 result
= (bool)(arg1
)->IsSelected(arg2
);
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32232 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32233 PyObject
*resultobj
= 0;
32234 wxListView
*arg1
= (wxListView
*) 0 ;
32243 PyObject
* obj0
= 0 ;
32244 PyObject
* obj1
= 0 ;
32245 PyObject
* obj2
= 0 ;
32246 char * kwnames
[] = {
32247 (char *) "self",(char *) "col",(char *) "image", NULL
32250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32252 if (!SWIG_IsOK(res1
)) {
32253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32255 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32257 if (!SWIG_IsOK(ecode2
)) {
32258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32260 arg2
= static_cast< int >(val2
);
32261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32262 if (!SWIG_IsOK(ecode3
)) {
32263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32265 arg3
= static_cast< int >(val3
);
32267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32268 (arg1
)->SetColumnImage(arg2
,arg3
);
32269 wxPyEndAllowThreads(__tstate
);
32270 if (PyErr_Occurred()) SWIG_fail
;
32272 resultobj
= SWIG_Py_Void();
32279 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32280 PyObject
*resultobj
= 0;
32281 wxListView
*arg1
= (wxListView
*) 0 ;
32287 PyObject
* obj0
= 0 ;
32288 PyObject
* obj1
= 0 ;
32289 char * kwnames
[] = {
32290 (char *) "self",(char *) "col", NULL
32293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32295 if (!SWIG_IsOK(res1
)) {
32296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32298 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32300 if (!SWIG_IsOK(ecode2
)) {
32301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32303 arg2
= static_cast< int >(val2
);
32305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32306 (arg1
)->ClearColumnImage(arg2
);
32307 wxPyEndAllowThreads(__tstate
);
32308 if (PyErr_Occurred()) SWIG_fail
;
32310 resultobj
= SWIG_Py_Void();
32317 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32320 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32321 return SWIG_Py_Void();
32324 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32325 return SWIG_Python_InitShadowInstance(args
);
32328 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32329 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32334 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32335 PyObject
*pyobj
= 0;
32339 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32341 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32348 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32349 PyObject
*resultobj
= 0;
32350 wxTreeItemId
*result
= 0 ;
32352 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 result
= (wxTreeItemId
*)new wxTreeItemId();
32356 wxPyEndAllowThreads(__tstate
);
32357 if (PyErr_Occurred()) SWIG_fail
;
32359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32366 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32367 PyObject
*resultobj
= 0;
32368 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32371 PyObject
*swig_obj
[1] ;
32373 if (!args
) SWIG_fail
;
32374 swig_obj
[0] = args
;
32375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32376 if (!SWIG_IsOK(res1
)) {
32377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32379 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32384 wxPyEndAllowThreads(__tstate
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32387 resultobj
= SWIG_Py_Void();
32394 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32395 PyObject
*resultobj
= 0;
32396 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32400 PyObject
*swig_obj
[1] ;
32402 if (!args
) SWIG_fail
;
32403 swig_obj
[0] = args
;
32404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32405 if (!SWIG_IsOK(res1
)) {
32406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32408 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32411 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32412 wxPyEndAllowThreads(__tstate
);
32413 if (PyErr_Occurred()) SWIG_fail
;
32416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32424 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
= 0;
32426 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32427 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32433 PyObject
* obj0
= 0 ;
32434 PyObject
* obj1
= 0 ;
32435 char * kwnames
[] = {
32436 (char *) "self",(char *) "other", NULL
32439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32441 if (!SWIG_IsOK(res1
)) {
32442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32444 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32446 if (!SWIG_IsOK(res2
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32449 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32452 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32465 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32466 PyObject
*resultobj
= 0;
32467 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32468 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32474 PyObject
* obj0
= 0 ;
32475 PyObject
* obj1
= 0 ;
32476 char * kwnames
[] = {
32477 (char *) "self",(char *) "other", NULL
32480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32482 if (!SWIG_IsOK(res1
)) {
32483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32485 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32486 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32487 if (!SWIG_IsOK(res2
)) {
32488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32490 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32493 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32494 wxPyEndAllowThreads(__tstate
);
32495 if (PyErr_Occurred()) SWIG_fail
;
32498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32506 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32507 PyObject
*resultobj
= 0;
32508 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32509 void *arg2
= (void *) 0 ;
32513 PyObject
*swig_obj
[2] ;
32515 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32517 if (!SWIG_IsOK(res1
)) {
32518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32520 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32521 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32522 if (!SWIG_IsOK(res2
)) {
32523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32525 if (arg1
) (arg1
)->m_pItem
= arg2
;
32527 resultobj
= SWIG_Py_Void();
32534 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32535 PyObject
*resultobj
= 0;
32536 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32540 PyObject
*swig_obj
[1] ;
32542 if (!args
) SWIG_fail
;
32543 swig_obj
[0] = args
;
32544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32545 if (!SWIG_IsOK(res1
)) {
32546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32548 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32549 result
= (void *) ((arg1
)->m_pItem
);
32550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32557 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32560 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32561 return SWIG_Py_Void();
32564 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32565 return SWIG_Python_InitShadowInstance(args
);
32568 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32569 PyObject
*resultobj
= 0;
32570 PyObject
*arg1
= (PyObject
*) NULL
;
32571 wxPyTreeItemData
*result
= 0 ;
32572 PyObject
* obj0
= 0 ;
32573 char * kwnames
[] = {
32574 (char *) "obj", NULL
32577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32594 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32595 PyObject
*resultobj
= 0;
32596 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32599 PyObject
*swig_obj
[1] ;
32601 if (!args
) SWIG_fail
;
32602 swig_obj
[0] = args
;
32603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32604 if (!SWIG_IsOK(res1
)) {
32605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32607 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32612 wxPyEndAllowThreads(__tstate
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32615 resultobj
= SWIG_Py_Void();
32622 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32623 PyObject
*resultobj
= 0;
32624 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32625 PyObject
*result
= 0 ;
32628 PyObject
*swig_obj
[1] ;
32630 if (!args
) SWIG_fail
;
32631 swig_obj
[0] = args
;
32632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32633 if (!SWIG_IsOK(res1
)) {
32634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32636 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 result
= (PyObject
*)(arg1
)->GetData();
32640 wxPyEndAllowThreads(__tstate
);
32641 if (PyErr_Occurred()) SWIG_fail
;
32643 resultobj
= result
;
32650 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32651 PyObject
*resultobj
= 0;
32652 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32653 PyObject
*arg2
= (PyObject
*) 0 ;
32656 PyObject
* obj0
= 0 ;
32657 PyObject
* obj1
= 0 ;
32658 char * kwnames
[] = {
32659 (char *) "self",(char *) "obj", NULL
32662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32664 if (!SWIG_IsOK(res1
)) {
32665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32667 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 (arg1
)->SetData(arg2
);
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= SWIG_Py_Void();
32682 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32683 PyObject
*resultobj
= 0;
32684 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32685 wxTreeItemId
*result
= 0 ;
32688 PyObject
*swig_obj
[1] ;
32690 if (!args
) SWIG_fail
;
32691 swig_obj
[0] = args
;
32692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32693 if (!SWIG_IsOK(res1
)) {
32694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32696 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32700 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32701 result
= (wxTreeItemId
*) &_result_ref
;
32703 wxPyEndAllowThreads(__tstate
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32713 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
= 0;
32715 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32716 wxTreeItemId
*arg2
= 0 ;
32721 PyObject
* obj0
= 0 ;
32722 PyObject
* obj1
= 0 ;
32723 char * kwnames
[] = {
32724 (char *) "self",(char *) "id", NULL
32727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32729 if (!SWIG_IsOK(res1
)) {
32730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32732 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32734 if (!SWIG_IsOK(res2
)) {
32735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32740 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32743 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32744 wxPyEndAllowThreads(__tstate
);
32745 if (PyErr_Occurred()) SWIG_fail
;
32747 resultobj
= SWIG_Py_Void();
32754 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32755 PyObject
*resultobj
= 0;
32756 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32759 PyObject
*swig_obj
[1] ;
32761 if (!args
) SWIG_fail
;
32762 swig_obj
[0] = args
;
32763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32764 if (!SWIG_IsOK(res1
)) {
32765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32767 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 wxPyTreeItemData_Destroy(arg1
);
32771 wxPyEndAllowThreads(__tstate
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= SWIG_Py_Void();
32781 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32784 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32785 return SWIG_Py_Void();
32788 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32789 return SWIG_Python_InitShadowInstance(args
);
32792 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32795 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32796 if (!SWIG_IsOK(res
)) {
32797 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32802 wxTreeItemId
* temp
;
32803 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32804 wxNullTreeItemId
= *temp
;
32805 if (SWIG_IsNewObj(res
)) delete temp
;
32814 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32815 PyObject
*pyobj
= 0;
32817 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32822 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32823 PyObject
*resultobj
= 0;
32824 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32825 int arg2
= (int) 0 ;
32826 wxTreeEvent
*result
= 0 ;
32832 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32834 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32835 if (!SWIG_IsOK(ecode1
)) {
32836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32838 arg1
= static_cast< wxEventType
>(val1
);
32841 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32842 if (!SWIG_IsOK(ecode2
)) {
32843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32845 arg2
= static_cast< int >(val2
);
32848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32849 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32850 wxPyEndAllowThreads(__tstate
);
32851 if (PyErr_Occurred()) SWIG_fail
;
32853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32860 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32861 PyObject
*resultobj
= 0;
32863 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
32864 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
32865 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
32866 wxTreeEvent
*result
= 0 ;
32874 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32875 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32876 if (!SWIG_IsOK(ecode1
)) {
32877 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32879 arg1
= static_cast< wxEventType
>(val1
);
32880 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
32881 if (!SWIG_IsOK(res2
)) {
32882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
32884 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
32886 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
32887 if (!SWIG_IsOK(res3
)) {
32888 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32893 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
32896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32897 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
32898 wxPyEndAllowThreads(__tstate
);
32899 if (PyErr_Occurred()) SWIG_fail
;
32901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32908 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
32912 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
32914 if ((argc
>= 0) && (argc
<= 2)) {
32919 int res
= SWIG_AsVal_int(argv
[1], NULL
);
32920 _v
= SWIG_CheckState(res
);
32923 if (!_v
) goto check_1
;
32925 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
32929 if ((argc
>= 2) && (argc
<= 3)) {
32930 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
32934 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
32939 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32940 PyObject
*resultobj
= 0;
32941 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32942 wxTreeItemId result
;
32945 PyObject
*swig_obj
[1] ;
32947 if (!args
) SWIG_fail
;
32948 swig_obj
[0] = args
;
32949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32950 if (!SWIG_IsOK(res1
)) {
32951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32953 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32956 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32957 wxPyEndAllowThreads(__tstate
);
32958 if (PyErr_Occurred()) SWIG_fail
;
32960 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32967 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32968 PyObject
*resultobj
= 0;
32969 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32970 wxTreeItemId
*arg2
= 0 ;
32975 PyObject
* obj0
= 0 ;
32976 PyObject
* obj1
= 0 ;
32977 char * kwnames
[] = {
32978 (char *) "self",(char *) "item", NULL
32981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32983 if (!SWIG_IsOK(res1
)) {
32984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32986 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32988 if (!SWIG_IsOK(res2
)) {
32989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32994 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32998 wxPyEndAllowThreads(__tstate
);
32999 if (PyErr_Occurred()) SWIG_fail
;
33001 resultobj
= SWIG_Py_Void();
33008 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33009 PyObject
*resultobj
= 0;
33010 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33011 wxTreeItemId result
;
33014 PyObject
*swig_obj
[1] ;
33016 if (!args
) SWIG_fail
;
33017 swig_obj
[0] = args
;
33018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33019 if (!SWIG_IsOK(res1
)) {
33020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33022 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33025 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33026 wxPyEndAllowThreads(__tstate
);
33027 if (PyErr_Occurred()) SWIG_fail
;
33029 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33036 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33037 PyObject
*resultobj
= 0;
33038 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33039 wxTreeItemId
*arg2
= 0 ;
33044 PyObject
* obj0
= 0 ;
33045 PyObject
* obj1
= 0 ;
33046 char * kwnames
[] = {
33047 (char *) "self",(char *) "item", NULL
33050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33052 if (!SWIG_IsOK(res1
)) {
33053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33055 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33057 if (!SWIG_IsOK(res2
)) {
33058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33070 resultobj
= SWIG_Py_Void();
33077 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33078 PyObject
*resultobj
= 0;
33079 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33083 PyObject
*swig_obj
[1] ;
33085 if (!args
) SWIG_fail
;
33086 swig_obj
[0] = args
;
33087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33088 if (!SWIG_IsOK(res1
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33091 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33094 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33105 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33106 PyObject
*resultobj
= 0;
33107 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33108 wxPoint
*arg2
= 0 ;
33112 PyObject
* obj0
= 0 ;
33113 PyObject
* obj1
= 0 ;
33114 char * kwnames
[] = {
33115 (char *) "self",(char *) "pt", NULL
33118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33120 if (!SWIG_IsOK(res1
)) {
33121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33123 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33126 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33131 wxPyEndAllowThreads(__tstate
);
33132 if (PyErr_Occurred()) SWIG_fail
;
33134 resultobj
= SWIG_Py_Void();
33141 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33142 PyObject
*resultobj
= 0;
33143 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33144 wxKeyEvent
*result
= 0 ;
33147 PyObject
*swig_obj
[1] ;
33149 if (!args
) SWIG_fail
;
33150 swig_obj
[0] = args
;
33151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33152 if (!SWIG_IsOK(res1
)) {
33153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33155 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33159 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33160 result
= (wxKeyEvent
*) &_result_ref
;
33162 wxPyEndAllowThreads(__tstate
);
33163 if (PyErr_Occurred()) SWIG_fail
;
33165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33172 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33173 PyObject
*resultobj
= 0;
33174 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33178 PyObject
*swig_obj
[1] ;
33180 if (!args
) SWIG_fail
;
33181 swig_obj
[0] = args
;
33182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33183 if (!SWIG_IsOK(res1
)) {
33184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33186 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= SWIG_From_int(static_cast< int >(result
));
33200 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33201 PyObject
*resultobj
= 0;
33202 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33203 wxKeyEvent
*arg2
= 0 ;
33208 PyObject
* obj0
= 0 ;
33209 PyObject
* obj1
= 0 ;
33210 char * kwnames
[] = {
33211 (char *) "self",(char *) "evt", NULL
33214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33216 if (!SWIG_IsOK(res1
)) {
33217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33219 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33221 if (!SWIG_IsOK(res2
)) {
33222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33227 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= SWIG_Py_Void();
33241 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33242 PyObject
*resultobj
= 0;
33243 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33244 wxString
*result
= 0 ;
33247 PyObject
*swig_obj
[1] ;
33249 if (!args
) SWIG_fail
;
33250 swig_obj
[0] = args
;
33251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33252 if (!SWIG_IsOK(res1
)) {
33253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33255 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33259 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33260 result
= (wxString
*) &_result_ref
;
33262 wxPyEndAllowThreads(__tstate
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33267 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33269 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33278 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33279 PyObject
*resultobj
= 0;
33280 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33281 wxString
*arg2
= 0 ;
33284 bool temp2
= false ;
33285 PyObject
* obj0
= 0 ;
33286 PyObject
* obj1
= 0 ;
33287 char * kwnames
[] = {
33288 (char *) "self",(char *) "label", NULL
33291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33293 if (!SWIG_IsOK(res1
)) {
33294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33296 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33298 arg2
= wxString_in_helper(obj1
);
33299 if (arg2
== NULL
) SWIG_fail
;
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 (arg1
)->SetLabel((wxString
const &)*arg2
);
33305 wxPyEndAllowThreads(__tstate
);
33306 if (PyErr_Occurred()) SWIG_fail
;
33308 resultobj
= SWIG_Py_Void();
33323 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33324 PyObject
*resultobj
= 0;
33325 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33329 PyObject
*swig_obj
[1] ;
33331 if (!args
) SWIG_fail
;
33332 swig_obj
[0] = args
;
33333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33334 if (!SWIG_IsOK(res1
)) {
33335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33337 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33340 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33341 wxPyEndAllowThreads(__tstate
);
33342 if (PyErr_Occurred()) SWIG_fail
;
33345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33353 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33354 PyObject
*resultobj
= 0;
33355 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33361 PyObject
* obj0
= 0 ;
33362 PyObject
* obj1
= 0 ;
33363 char * kwnames
[] = {
33364 (char *) "self",(char *) "editCancelled", NULL
33367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33369 if (!SWIG_IsOK(res1
)) {
33370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33372 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33374 if (!SWIG_IsOK(ecode2
)) {
33375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33377 arg2
= static_cast< bool >(val2
);
33379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33380 (arg1
)->SetEditCanceled(arg2
);
33381 wxPyEndAllowThreads(__tstate
);
33382 if (PyErr_Occurred()) SWIG_fail
;
33384 resultobj
= SWIG_Py_Void();
33391 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33392 PyObject
*resultobj
= 0;
33393 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33394 wxString
*arg2
= 0 ;
33397 bool temp2
= false ;
33398 PyObject
* obj0
= 0 ;
33399 PyObject
* obj1
= 0 ;
33400 char * kwnames
[] = {
33401 (char *) "self",(char *) "toolTip", NULL
33404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33406 if (!SWIG_IsOK(res1
)) {
33407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33409 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33411 arg2
= wxString_in_helper(obj1
);
33412 if (arg2
== NULL
) SWIG_fail
;
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= SWIG_Py_Void();
33436 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33437 PyObject
*resultobj
= 0;
33438 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33442 PyObject
*swig_obj
[1] ;
33444 if (!args
) SWIG_fail
;
33445 swig_obj
[0] = args
;
33446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33447 if (!SWIG_IsOK(res1
)) {
33448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33450 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33453 result
= (arg1
)->GetToolTip();
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33470 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33473 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33474 return SWIG_Py_Void();
33477 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33478 return SWIG_Python_InitShadowInstance(args
);
33481 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33482 PyObject
*resultobj
= 0;
33483 wxWindow
*arg1
= (wxWindow
*) 0 ;
33484 int arg2
= (int) -1 ;
33485 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33486 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33487 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33488 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33489 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33490 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33491 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33492 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33493 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33494 wxPyTreeCtrl
*result
= 0 ;
33505 bool temp7
= false ;
33506 PyObject
* obj0
= 0 ;
33507 PyObject
* obj1
= 0 ;
33508 PyObject
* obj2
= 0 ;
33509 PyObject
* obj3
= 0 ;
33510 PyObject
* obj4
= 0 ;
33511 PyObject
* obj5
= 0 ;
33512 PyObject
* obj6
= 0 ;
33513 char * kwnames
[] = {
33514 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33519 if (!SWIG_IsOK(res1
)) {
33520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33522 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33525 if (!SWIG_IsOK(ecode2
)) {
33526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33528 arg2
= static_cast< int >(val2
);
33533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33539 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33543 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33544 if (!SWIG_IsOK(ecode5
)) {
33545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33547 arg5
= static_cast< long >(val5
);
33550 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33551 if (!SWIG_IsOK(res6
)) {
33552 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33557 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33561 arg7
= wxString_in_helper(obj6
);
33562 if (arg7
== NULL
) SWIG_fail
;
33567 if (!wxPyCheckForApp()) SWIG_fail
;
33568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33570 wxPyEndAllowThreads(__tstate
);
33571 if (PyErr_Occurred()) SWIG_fail
;
33573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33588 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33589 PyObject
*resultobj
= 0;
33590 wxPyTreeCtrl
*result
= 0 ;
33592 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33594 if (!wxPyCheckForApp()) SWIG_fail
;
33595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33596 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33597 wxPyEndAllowThreads(__tstate
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33607 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33608 PyObject
*resultobj
= 0;
33609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33610 wxWindow
*arg2
= (wxWindow
*) 0 ;
33611 int arg3
= (int) -1 ;
33612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33616 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33617 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33618 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33619 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33620 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33634 bool temp8
= false ;
33635 PyObject
* obj0
= 0 ;
33636 PyObject
* obj1
= 0 ;
33637 PyObject
* obj2
= 0 ;
33638 PyObject
* obj3
= 0 ;
33639 PyObject
* obj4
= 0 ;
33640 PyObject
* obj5
= 0 ;
33641 PyObject
* obj6
= 0 ;
33642 PyObject
* obj7
= 0 ;
33643 char * kwnames
[] = {
33644 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33649 if (!SWIG_IsOK(res1
)) {
33650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33652 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33654 if (!SWIG_IsOK(res2
)) {
33655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33657 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33660 if (!SWIG_IsOK(ecode3
)) {
33661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33663 arg3
= static_cast< int >(val3
);
33668 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33674 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33678 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33679 if (!SWIG_IsOK(ecode6
)) {
33680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33682 arg6
= static_cast< long >(val6
);
33685 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33686 if (!SWIG_IsOK(res7
)) {
33687 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33692 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33696 arg8
= wxString_in_helper(obj7
);
33697 if (arg8
== NULL
) SWIG_fail
;
33702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33704 wxPyEndAllowThreads(__tstate
);
33705 if (PyErr_Occurred()) SWIG_fail
;
33708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33724 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33725 PyObject
*resultobj
= 0;
33726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33727 PyObject
*arg2
= (PyObject
*) 0 ;
33728 PyObject
*arg3
= (PyObject
*) 0 ;
33731 PyObject
* obj0
= 0 ;
33732 PyObject
* obj1
= 0 ;
33733 PyObject
* obj2
= 0 ;
33734 char * kwnames
[] = {
33735 (char *) "self",(char *) "self",(char *) "_class", NULL
33738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33740 if (!SWIG_IsOK(res1
)) {
33741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33743 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33748 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= SWIG_Py_Void();
33759 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33760 PyObject
*resultobj
= 0;
33761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33762 unsigned int result
;
33765 PyObject
*swig_obj
[1] ;
33767 if (!args
) SWIG_fail
;
33768 swig_obj
[0] = args
;
33769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33770 if (!SWIG_IsOK(res1
)) {
33771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33773 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33776 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33777 wxPyEndAllowThreads(__tstate
);
33778 if (PyErr_Occurred()) SWIG_fail
;
33780 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33787 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33788 PyObject
*resultobj
= 0;
33789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33790 unsigned int result
;
33793 PyObject
*swig_obj
[1] ;
33795 if (!args
) SWIG_fail
;
33796 swig_obj
[0] = args
;
33797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33798 if (!SWIG_IsOK(res1
)) {
33799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33801 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33804 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33815 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
= 0;
33817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33818 unsigned int arg2
;
33821 unsigned int val2
;
33823 PyObject
* obj0
= 0 ;
33824 PyObject
* obj1
= 0 ;
33825 char * kwnames
[] = {
33826 (char *) "self",(char *) "indent", NULL
33829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33831 if (!SWIG_IsOK(res1
)) {
33832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33834 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33835 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33836 if (!SWIG_IsOK(ecode2
)) {
33837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33839 arg2
= static_cast< unsigned int >(val2
);
33841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33842 (arg1
)->SetIndent(arg2
);
33843 wxPyEndAllowThreads(__tstate
);
33844 if (PyErr_Occurred()) SWIG_fail
;
33846 resultobj
= SWIG_Py_Void();
33853 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33854 PyObject
*resultobj
= 0;
33855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33856 unsigned int result
;
33859 PyObject
*swig_obj
[1] ;
33861 if (!args
) SWIG_fail
;
33862 swig_obj
[0] = args
;
33863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33864 if (!SWIG_IsOK(res1
)) {
33865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33867 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33871 wxPyEndAllowThreads(__tstate
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33874 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33881 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33882 PyObject
*resultobj
= 0;
33883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33884 unsigned int arg2
;
33887 unsigned int val2
;
33889 PyObject
* obj0
= 0 ;
33890 PyObject
* obj1
= 0 ;
33891 char * kwnames
[] = {
33892 (char *) "self",(char *) "spacing", NULL
33895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33897 if (!SWIG_IsOK(res1
)) {
33898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33900 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33901 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33902 if (!SWIG_IsOK(ecode2
)) {
33903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33905 arg2
= static_cast< unsigned int >(val2
);
33907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33908 (arg1
)->SetSpacing(arg2
);
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33912 resultobj
= SWIG_Py_Void();
33919 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33920 PyObject
*resultobj
= 0;
33921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33922 wxImageList
*result
= 0 ;
33925 PyObject
*swig_obj
[1] ;
33927 if (!args
) SWIG_fail
;
33928 swig_obj
[0] = args
;
33929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33930 if (!SWIG_IsOK(res1
)) {
33931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33933 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33937 wxPyEndAllowThreads(__tstate
);
33938 if (PyErr_Occurred()) SWIG_fail
;
33941 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33949 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33950 PyObject
*resultobj
= 0;
33951 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33952 wxImageList
*result
= 0 ;
33955 PyObject
*swig_obj
[1] ;
33957 if (!args
) SWIG_fail
;
33958 swig_obj
[0] = args
;
33959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33960 if (!SWIG_IsOK(res1
)) {
33961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33963 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33967 wxPyEndAllowThreads(__tstate
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33971 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33979 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33980 PyObject
*resultobj
= 0;
33981 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33982 wxImageList
*arg2
= (wxImageList
*) 0 ;
33987 PyObject
* obj0
= 0 ;
33988 PyObject
* obj1
= 0 ;
33989 char * kwnames
[] = {
33990 (char *) "self",(char *) "imageList", NULL
33993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33995 if (!SWIG_IsOK(res1
)) {
33996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33998 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34000 if (!SWIG_IsOK(res2
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34003 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34006 (arg1
)->SetImageList(arg2
);
34007 wxPyEndAllowThreads(__tstate
);
34008 if (PyErr_Occurred()) SWIG_fail
;
34010 resultobj
= SWIG_Py_Void();
34017 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34018 PyObject
*resultobj
= 0;
34019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34020 wxImageList
*arg2
= (wxImageList
*) 0 ;
34025 PyObject
* obj0
= 0 ;
34026 PyObject
* obj1
= 0 ;
34027 char * kwnames
[] = {
34028 (char *) "self",(char *) "imageList", NULL
34031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34033 if (!SWIG_IsOK(res1
)) {
34034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34036 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34038 if (!SWIG_IsOK(res2
)) {
34039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34041 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34044 (arg1
)->SetStateImageList(arg2
);
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34048 resultobj
= SWIG_Py_Void();
34055 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34056 PyObject
*resultobj
= 0;
34057 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34058 wxImageList
*arg2
= (wxImageList
*) 0 ;
34062 PyObject
* obj0
= 0 ;
34063 PyObject
* obj1
= 0 ;
34064 char * kwnames
[] = {
34065 (char *) "self",(char *) "imageList", NULL
34068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34070 if (!SWIG_IsOK(res1
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34073 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34074 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34075 if (!SWIG_IsOK(res2
)) {
34076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 (arg1
)->AssignImageList(arg2
);
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= SWIG_Py_Void();
34091 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34092 PyObject
*resultobj
= 0;
34093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34094 wxImageList
*arg2
= (wxImageList
*) 0 ;
34098 PyObject
* obj0
= 0 ;
34099 PyObject
* obj1
= 0 ;
34100 char * kwnames
[] = {
34101 (char *) "self",(char *) "imageList", NULL
34104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34106 if (!SWIG_IsOK(res1
)) {
34107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34109 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34110 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34111 if (!SWIG_IsOK(res2
)) {
34112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34116 (arg1
)->AssignStateImageList(arg2
);
34117 wxPyEndAllowThreads(__tstate
);
34118 if (PyErr_Occurred()) SWIG_fail
;
34120 resultobj
= SWIG_Py_Void();
34127 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34128 PyObject
*resultobj
= 0;
34129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34130 wxTreeItemId
*arg2
= 0 ;
34136 PyObject
* obj0
= 0 ;
34137 PyObject
* obj1
= 0 ;
34138 char * kwnames
[] = {
34139 (char *) "self",(char *) "item", NULL
34142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34144 if (!SWIG_IsOK(res1
)) {
34145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34147 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34149 if (!SWIG_IsOK(res2
)) {
34150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34155 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34158 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34159 wxPyEndAllowThreads(__tstate
);
34160 if (PyErr_Occurred()) SWIG_fail
;
34164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34175 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34176 PyObject
*resultobj
= 0;
34177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34178 wxTreeItemId
*arg2
= 0 ;
34179 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34187 PyObject
* obj0
= 0 ;
34188 PyObject
* obj1
= 0 ;
34189 PyObject
* obj2
= 0 ;
34190 char * kwnames
[] = {
34191 (char *) "self",(char *) "item",(char *) "which", NULL
34194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34196 if (!SWIG_IsOK(res1
)) {
34197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34199 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34201 if (!SWIG_IsOK(res2
)) {
34202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34207 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34210 if (!SWIG_IsOK(ecode3
)) {
34211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34213 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34217 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34218 wxPyEndAllowThreads(__tstate
);
34219 if (PyErr_Occurred()) SWIG_fail
;
34221 resultobj
= SWIG_From_int(static_cast< int >(result
));
34228 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34229 PyObject
*resultobj
= 0;
34230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34231 wxTreeItemId
*arg2
= 0 ;
34232 wxPyTreeItemData
*result
= 0 ;
34237 PyObject
* obj0
= 0 ;
34238 PyObject
* obj1
= 0 ;
34239 char * kwnames
[] = {
34240 (char *) "self",(char *) "item", NULL
34243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34245 if (!SWIG_IsOK(res1
)) {
34246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34248 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34250 if (!SWIG_IsOK(res2
)) {
34251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34256 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34259 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34270 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
= 0;
34272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34273 wxTreeItemId
*arg2
= 0 ;
34274 PyObject
*result
= 0 ;
34279 PyObject
* obj0
= 0 ;
34280 PyObject
* obj1
= 0 ;
34281 char * kwnames
[] = {
34282 (char *) "self",(char *) "item", NULL
34285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34287 if (!SWIG_IsOK(res1
)) {
34288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34290 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34292 if (!SWIG_IsOK(res2
)) {
34293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34298 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= result
;
34312 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34313 PyObject
*resultobj
= 0;
34314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34315 wxTreeItemId
*arg2
= 0 ;
34321 PyObject
* obj0
= 0 ;
34322 PyObject
* obj1
= 0 ;
34323 char * kwnames
[] = {
34324 (char *) "self",(char *) "item", NULL
34327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34329 if (!SWIG_IsOK(res1
)) {
34330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34332 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34334 if (!SWIG_IsOK(res2
)) {
34335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34340 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34343 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34347 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34354 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34355 PyObject
*resultobj
= 0;
34356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34357 wxTreeItemId
*arg2
= 0 ;
34363 PyObject
* obj0
= 0 ;
34364 PyObject
* obj1
= 0 ;
34365 char * kwnames
[] = {
34366 (char *) "self",(char *) "item", NULL
34369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34371 if (!SWIG_IsOK(res1
)) {
34372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34374 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34376 if (!SWIG_IsOK(res2
)) {
34377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34382 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34385 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34386 wxPyEndAllowThreads(__tstate
);
34387 if (PyErr_Occurred()) SWIG_fail
;
34389 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34396 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34397 PyObject
*resultobj
= 0;
34398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34399 wxTreeItemId
*arg2
= 0 ;
34405 PyObject
* obj0
= 0 ;
34406 PyObject
* obj1
= 0 ;
34407 char * kwnames
[] = {
34408 (char *) "self",(char *) "item", NULL
34411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34413 if (!SWIG_IsOK(res1
)) {
34414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34416 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34418 if (!SWIG_IsOK(res2
)) {
34419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34424 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34427 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34428 wxPyEndAllowThreads(__tstate
);
34429 if (PyErr_Occurred()) SWIG_fail
;
34431 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34438 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34439 PyObject
*resultobj
= 0;
34440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34441 wxTreeItemId
*arg2
= 0 ;
34442 wxString
*arg3
= 0 ;
34447 bool temp3
= false ;
34448 PyObject
* obj0
= 0 ;
34449 PyObject
* obj1
= 0 ;
34450 PyObject
* obj2
= 0 ;
34451 char * kwnames
[] = {
34452 (char *) "self",(char *) "item",(char *) "text", NULL
34455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34457 if (!SWIG_IsOK(res1
)) {
34458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34460 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34462 if (!SWIG_IsOK(res2
)) {
34463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34468 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34470 arg3
= wxString_in_helper(obj2
);
34471 if (arg3
== NULL
) SWIG_fail
;
34475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34476 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34477 wxPyEndAllowThreads(__tstate
);
34478 if (PyErr_Occurred()) SWIG_fail
;
34480 resultobj
= SWIG_Py_Void();
34495 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34496 PyObject
*resultobj
= 0;
34497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34498 wxTreeItemId
*arg2
= 0 ;
34500 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34509 PyObject
* obj0
= 0 ;
34510 PyObject
* obj1
= 0 ;
34511 PyObject
* obj2
= 0 ;
34512 PyObject
* obj3
= 0 ;
34513 char * kwnames
[] = {
34514 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34519 if (!SWIG_IsOK(res1
)) {
34520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34522 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34524 if (!SWIG_IsOK(res2
)) {
34525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34530 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34532 if (!SWIG_IsOK(ecode3
)) {
34533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34535 arg3
= static_cast< int >(val3
);
34537 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34538 if (!SWIG_IsOK(ecode4
)) {
34539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34541 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34545 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34549 resultobj
= SWIG_Py_Void();
34556 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34557 PyObject
*resultobj
= 0;
34558 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34559 wxTreeItemId
*arg2
= 0 ;
34560 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34566 PyObject
* obj0
= 0 ;
34567 PyObject
* obj1
= 0 ;
34568 PyObject
* obj2
= 0 ;
34569 char * kwnames
[] = {
34570 (char *) "self",(char *) "item",(char *) "data", NULL
34573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34575 if (!SWIG_IsOK(res1
)) {
34576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34578 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34580 if (!SWIG_IsOK(res2
)) {
34581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34586 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34587 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34588 if (!SWIG_IsOK(res3
)) {
34589 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34594 wxPyEndAllowThreads(__tstate
);
34595 if (PyErr_Occurred()) SWIG_fail
;
34597 resultobj
= SWIG_Py_Void();
34604 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34605 PyObject
*resultobj
= 0;
34606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34607 wxTreeItemId
*arg2
= 0 ;
34608 PyObject
*arg3
= (PyObject
*) 0 ;
34613 PyObject
* obj0
= 0 ;
34614 PyObject
* obj1
= 0 ;
34615 PyObject
* obj2
= 0 ;
34616 char * kwnames
[] = {
34617 (char *) "self",(char *) "item",(char *) "obj", NULL
34620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34622 if (!SWIG_IsOK(res1
)) {
34623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34625 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34627 if (!SWIG_IsOK(res2
)) {
34628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34633 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34637 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34638 wxPyEndAllowThreads(__tstate
);
34639 if (PyErr_Occurred()) SWIG_fail
;
34641 resultobj
= SWIG_Py_Void();
34648 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
= 0;
34650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34651 wxTreeItemId
*arg2
= 0 ;
34652 bool arg3
= (bool) true ;
34659 PyObject
* obj0
= 0 ;
34660 PyObject
* obj1
= 0 ;
34661 PyObject
* obj2
= 0 ;
34662 char * kwnames
[] = {
34663 (char *) "self",(char *) "item",(char *) "has", NULL
34666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34668 if (!SWIG_IsOK(res1
)) {
34669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34671 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34673 if (!SWIG_IsOK(res2
)) {
34674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34679 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34681 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34682 if (!SWIG_IsOK(ecode3
)) {
34683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34685 arg3
= static_cast< bool >(val3
);
34688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34689 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34693 resultobj
= SWIG_Py_Void();
34700 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34701 PyObject
*resultobj
= 0;
34702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34703 wxTreeItemId
*arg2
= 0 ;
34704 bool arg3
= (bool) true ;
34711 PyObject
* obj0
= 0 ;
34712 PyObject
* obj1
= 0 ;
34713 PyObject
* obj2
= 0 ;
34714 char * kwnames
[] = {
34715 (char *) "self",(char *) "item",(char *) "bold", NULL
34718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34720 if (!SWIG_IsOK(res1
)) {
34721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34723 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34725 if (!SWIG_IsOK(res2
)) {
34726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34731 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34733 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34734 if (!SWIG_IsOK(ecode3
)) {
34735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34737 arg3
= static_cast< bool >(val3
);
34740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34741 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34742 wxPyEndAllowThreads(__tstate
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34745 resultobj
= SWIG_Py_Void();
34752 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34753 PyObject
*resultobj
= 0;
34754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34755 wxTreeItemId
*arg2
= 0 ;
34756 bool arg3
= (bool) true ;
34763 PyObject
* obj0
= 0 ;
34764 PyObject
* obj1
= 0 ;
34765 PyObject
* obj2
= 0 ;
34766 char * kwnames
[] = {
34767 (char *) "self",(char *) "item",(char *) "highlight", NULL
34770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34772 if (!SWIG_IsOK(res1
)) {
34773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34775 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34777 if (!SWIG_IsOK(res2
)) {
34778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34783 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34785 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34786 if (!SWIG_IsOK(ecode3
)) {
34787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34789 arg3
= static_cast< bool >(val3
);
34792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34793 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34794 wxPyEndAllowThreads(__tstate
);
34795 if (PyErr_Occurred()) SWIG_fail
;
34797 resultobj
= SWIG_Py_Void();
34804 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34805 PyObject
*resultobj
= 0;
34806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34807 wxTreeItemId
*arg2
= 0 ;
34808 wxColour
*arg3
= 0 ;
34814 PyObject
* obj0
= 0 ;
34815 PyObject
* obj1
= 0 ;
34816 PyObject
* obj2
= 0 ;
34817 char * kwnames
[] = {
34818 (char *) "self",(char *) "item",(char *) "col", NULL
34821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34823 if (!SWIG_IsOK(res1
)) {
34824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34826 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34828 if (!SWIG_IsOK(res2
)) {
34829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34834 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34837 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34841 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34842 wxPyEndAllowThreads(__tstate
);
34843 if (PyErr_Occurred()) SWIG_fail
;
34845 resultobj
= SWIG_Py_Void();
34852 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34853 PyObject
*resultobj
= 0;
34854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34855 wxTreeItemId
*arg2
= 0 ;
34856 wxColour
*arg3
= 0 ;
34862 PyObject
* obj0
= 0 ;
34863 PyObject
* obj1
= 0 ;
34864 PyObject
* obj2
= 0 ;
34865 char * kwnames
[] = {
34866 (char *) "self",(char *) "item",(char *) "col", NULL
34869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34871 if (!SWIG_IsOK(res1
)) {
34872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34874 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34876 if (!SWIG_IsOK(res2
)) {
34877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34882 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34885 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34889 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34890 wxPyEndAllowThreads(__tstate
);
34891 if (PyErr_Occurred()) SWIG_fail
;
34893 resultobj
= SWIG_Py_Void();
34900 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34901 PyObject
*resultobj
= 0;
34902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34903 wxTreeItemId
*arg2
= 0 ;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 PyObject
* obj2
= 0 ;
34914 char * kwnames
[] = {
34915 (char *) "self",(char *) "item",(char *) "font", NULL
34918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34920 if (!SWIG_IsOK(res1
)) {
34921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34923 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34925 if (!SWIG_IsOK(res2
)) {
34926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34931 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34932 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34933 if (!SWIG_IsOK(res3
)) {
34934 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34939 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34942 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34943 wxPyEndAllowThreads(__tstate
);
34944 if (PyErr_Occurred()) SWIG_fail
;
34946 resultobj
= SWIG_Py_Void();
34953 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34954 PyObject
*resultobj
= 0;
34955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34956 wxTreeItemId
*arg2
= 0 ;
34962 PyObject
* obj0
= 0 ;
34963 PyObject
* obj1
= 0 ;
34964 char * kwnames
[] = {
34965 (char *) "self",(char *) "item", NULL
34968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34970 if (!SWIG_IsOK(res1
)) {
34971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34973 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34974 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34975 if (!SWIG_IsOK(res2
)) {
34976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34981 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34984 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34985 wxPyEndAllowThreads(__tstate
);
34986 if (PyErr_Occurred()) SWIG_fail
;
34989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34997 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34998 PyObject
*resultobj
= 0;
34999 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35000 wxTreeItemId
*arg2
= 0 ;
35006 PyObject
* obj0
= 0 ;
35007 PyObject
* obj1
= 0 ;
35008 char * kwnames
[] = {
35009 (char *) "self",(char *) "item", NULL
35012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35014 if (!SWIG_IsOK(res1
)) {
35015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35017 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35019 if (!SWIG_IsOK(res2
)) {
35020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35025 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35028 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35029 wxPyEndAllowThreads(__tstate
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35041 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35042 PyObject
*resultobj
= 0;
35043 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35044 wxTreeItemId
*arg2
= 0 ;
35050 PyObject
* obj0
= 0 ;
35051 PyObject
* obj1
= 0 ;
35052 char * kwnames
[] = {
35053 (char *) "self",(char *) "item", NULL
35056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35058 if (!SWIG_IsOK(res1
)) {
35059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35061 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35063 if (!SWIG_IsOK(res2
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35069 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35072 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35073 wxPyEndAllowThreads(__tstate
);
35074 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35085 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35086 PyObject
*resultobj
= 0;
35087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35088 wxTreeItemId
*arg2
= 0 ;
35094 PyObject
* obj0
= 0 ;
35095 PyObject
* obj1
= 0 ;
35096 char * kwnames
[] = {
35097 (char *) "self",(char *) "item", NULL
35100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35102 if (!SWIG_IsOK(res1
)) {
35103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35107 if (!SWIG_IsOK(res2
)) {
35108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35113 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35117 wxPyEndAllowThreads(__tstate
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35129 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35130 PyObject
*resultobj
= 0;
35131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35132 wxTreeItemId
*arg2
= 0 ;
35138 PyObject
* obj0
= 0 ;
35139 PyObject
* obj1
= 0 ;
35140 char * kwnames
[] = {
35141 (char *) "self",(char *) "item", NULL
35144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35146 if (!SWIG_IsOK(res1
)) {
35147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35149 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35151 if (!SWIG_IsOK(res2
)) {
35152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35157 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35160 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35161 wxPyEndAllowThreads(__tstate
);
35162 if (PyErr_Occurred()) SWIG_fail
;
35165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35173 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35174 PyObject
*resultobj
= 0;
35175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35176 wxTreeItemId
*arg2
= 0 ;
35177 bool arg3
= (bool) true ;
35185 PyObject
* obj0
= 0 ;
35186 PyObject
* obj1
= 0 ;
35187 PyObject
* obj2
= 0 ;
35188 char * kwnames
[] = {
35189 (char *) "self",(char *) "item",(char *) "recursively", NULL
35192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35194 if (!SWIG_IsOK(res1
)) {
35195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35197 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35199 if (!SWIG_IsOK(res2
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35205 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35207 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35208 if (!SWIG_IsOK(ecode3
)) {
35209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35211 arg3
= static_cast< bool >(val3
);
35214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35215 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35216 wxPyEndAllowThreads(__tstate
);
35217 if (PyErr_Occurred()) SWIG_fail
;
35219 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35226 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35227 PyObject
*resultobj
= 0;
35228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35229 wxTreeItemId result
;
35232 PyObject
*swig_obj
[1] ;
35234 if (!args
) SWIG_fail
;
35235 swig_obj
[0] = args
;
35236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35237 if (!SWIG_IsOK(res1
)) {
35238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35240 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35243 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35244 wxPyEndAllowThreads(__tstate
);
35245 if (PyErr_Occurred()) SWIG_fail
;
35247 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35254 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35255 PyObject
*resultobj
= 0;
35256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35257 wxTreeItemId result
;
35260 PyObject
*swig_obj
[1] ;
35262 if (!args
) SWIG_fail
;
35263 swig_obj
[0] = args
;
35264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35265 if (!SWIG_IsOK(res1
)) {
35266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35268 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35271 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35272 wxPyEndAllowThreads(__tstate
);
35273 if (PyErr_Occurred()) SWIG_fail
;
35275 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35282 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35283 PyObject
*resultobj
= 0;
35284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35285 PyObject
*result
= 0 ;
35288 PyObject
*swig_obj
[1] ;
35290 if (!args
) SWIG_fail
;
35291 swig_obj
[0] = args
;
35292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35293 if (!SWIG_IsOK(res1
)) {
35294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35296 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35299 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35300 wxPyEndAllowThreads(__tstate
);
35301 if (PyErr_Occurred()) SWIG_fail
;
35303 resultobj
= result
;
35310 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35311 PyObject
*resultobj
= 0;
35312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35313 wxTreeItemId
*arg2
= 0 ;
35314 wxTreeItemId result
;
35319 PyObject
* obj0
= 0 ;
35320 PyObject
* obj1
= 0 ;
35321 char * kwnames
[] = {
35322 (char *) "self",(char *) "item", NULL
35325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35327 if (!SWIG_IsOK(res1
)) {
35328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35330 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35332 if (!SWIG_IsOK(res2
)) {
35333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35338 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35341 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35342 wxPyEndAllowThreads(__tstate
);
35343 if (PyErr_Occurred()) SWIG_fail
;
35345 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35352 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35353 PyObject
*resultobj
= 0;
35354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35355 wxTreeItemId
*arg2
= 0 ;
35356 PyObject
*result
= 0 ;
35361 PyObject
* obj0
= 0 ;
35362 PyObject
* obj1
= 0 ;
35363 char * kwnames
[] = {
35364 (char *) "self",(char *) "item", NULL
35367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35369 if (!SWIG_IsOK(res1
)) {
35370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35372 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35374 if (!SWIG_IsOK(res2
)) {
35375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35380 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35383 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35384 wxPyEndAllowThreads(__tstate
);
35385 if (PyErr_Occurred()) SWIG_fail
;
35387 resultobj
= result
;
35394 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35395 PyObject
*resultobj
= 0;
35396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35397 wxTreeItemId
*arg2
= 0 ;
35398 void *arg3
= (void *) 0 ;
35399 PyObject
*result
= 0 ;
35405 PyObject
* obj0
= 0 ;
35406 PyObject
* obj1
= 0 ;
35407 PyObject
* obj2
= 0 ;
35408 char * kwnames
[] = {
35409 (char *) "self",(char *) "item",(char *) "cookie", NULL
35412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35414 if (!SWIG_IsOK(res1
)) {
35415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35417 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35419 if (!SWIG_IsOK(res2
)) {
35420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35425 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35426 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35427 if (!SWIG_IsOK(res3
)) {
35428 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35432 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35433 wxPyEndAllowThreads(__tstate
);
35434 if (PyErr_Occurred()) SWIG_fail
;
35436 resultobj
= result
;
35443 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35444 PyObject
*resultobj
= 0;
35445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35446 wxTreeItemId
*arg2
= 0 ;
35447 wxTreeItemId result
;
35452 PyObject
* obj0
= 0 ;
35453 PyObject
* obj1
= 0 ;
35454 char * kwnames
[] = {
35455 (char *) "self",(char *) "item", NULL
35458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35460 if (!SWIG_IsOK(res1
)) {
35461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35463 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35465 if (!SWIG_IsOK(res2
)) {
35466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35471 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35474 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35475 wxPyEndAllowThreads(__tstate
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35478 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35485 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35486 PyObject
*resultobj
= 0;
35487 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35488 wxTreeItemId
*arg2
= 0 ;
35489 wxTreeItemId result
;
35494 PyObject
* obj0
= 0 ;
35495 PyObject
* obj1
= 0 ;
35496 char * kwnames
[] = {
35497 (char *) "self",(char *) "item", NULL
35500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35502 if (!SWIG_IsOK(res1
)) {
35503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35505 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35507 if (!SWIG_IsOK(res2
)) {
35508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35513 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35516 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35517 wxPyEndAllowThreads(__tstate
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35527 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
= 0;
35529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35530 wxTreeItemId
*arg2
= 0 ;
35531 wxTreeItemId result
;
35536 PyObject
* obj0
= 0 ;
35537 PyObject
* obj1
= 0 ;
35538 char * kwnames
[] = {
35539 (char *) "self",(char *) "item", NULL
35542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35544 if (!SWIG_IsOK(res1
)) {
35545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35547 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35549 if (!SWIG_IsOK(res2
)) {
35550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35555 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35558 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35559 wxPyEndAllowThreads(__tstate
);
35560 if (PyErr_Occurred()) SWIG_fail
;
35562 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35569 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35570 PyObject
*resultobj
= 0;
35571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35572 wxTreeItemId result
;
35575 PyObject
*swig_obj
[1] ;
35577 if (!args
) SWIG_fail
;
35578 swig_obj
[0] = args
;
35579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35580 if (!SWIG_IsOK(res1
)) {
35581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35583 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35586 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35587 wxPyEndAllowThreads(__tstate
);
35588 if (PyErr_Occurred()) SWIG_fail
;
35590 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35597 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35598 PyObject
*resultobj
= 0;
35599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35600 wxTreeItemId
*arg2
= 0 ;
35601 wxTreeItemId result
;
35606 PyObject
* obj0
= 0 ;
35607 PyObject
* obj1
= 0 ;
35608 char * kwnames
[] = {
35609 (char *) "self",(char *) "item", NULL
35612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35614 if (!SWIG_IsOK(res1
)) {
35615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35617 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35619 if (!SWIG_IsOK(res2
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35625 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35628 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35629 wxPyEndAllowThreads(__tstate
);
35630 if (PyErr_Occurred()) SWIG_fail
;
35632 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35639 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35640 PyObject
*resultobj
= 0;
35641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35642 wxTreeItemId
*arg2
= 0 ;
35643 wxTreeItemId result
;
35648 PyObject
* obj0
= 0 ;
35649 PyObject
* obj1
= 0 ;
35650 char * kwnames
[] = {
35651 (char *) "self",(char *) "item", NULL
35654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35656 if (!SWIG_IsOK(res1
)) {
35657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35659 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35661 if (!SWIG_IsOK(res2
)) {
35662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35667 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35670 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35671 wxPyEndAllowThreads(__tstate
);
35672 if (PyErr_Occurred()) SWIG_fail
;
35674 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35681 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35682 PyObject
*resultobj
= 0;
35683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35684 wxString
*arg2
= 0 ;
35685 int arg3
= (int) -1 ;
35686 int arg4
= (int) -1 ;
35687 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35688 wxTreeItemId result
;
35691 bool temp2
= false ;
35697 PyObject
* obj0
= 0 ;
35698 PyObject
* obj1
= 0 ;
35699 PyObject
* obj2
= 0 ;
35700 PyObject
* obj3
= 0 ;
35701 PyObject
* obj4
= 0 ;
35702 char * kwnames
[] = {
35703 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35708 if (!SWIG_IsOK(res1
)) {
35709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35711 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35713 arg2
= wxString_in_helper(obj1
);
35714 if (arg2
== NULL
) SWIG_fail
;
35718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35719 if (!SWIG_IsOK(ecode3
)) {
35720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35722 arg3
= static_cast< int >(val3
);
35725 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35726 if (!SWIG_IsOK(ecode4
)) {
35727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35729 arg4
= static_cast< int >(val4
);
35732 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35733 if (!SWIG_IsOK(res5
)) {
35734 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35758 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35759 PyObject
*resultobj
= 0;
35760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35761 wxTreeItemId
*arg2
= 0 ;
35762 wxString
*arg3
= 0 ;
35763 int arg4
= (int) -1 ;
35764 int arg5
= (int) -1 ;
35765 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35766 wxTreeItemId result
;
35771 bool temp3
= false ;
35777 PyObject
* obj0
= 0 ;
35778 PyObject
* obj1
= 0 ;
35779 PyObject
* obj2
= 0 ;
35780 PyObject
* obj3
= 0 ;
35781 PyObject
* obj4
= 0 ;
35782 PyObject
* obj5
= 0 ;
35783 char * kwnames
[] = {
35784 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35789 if (!SWIG_IsOK(res1
)) {
35790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35792 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35794 if (!SWIG_IsOK(res2
)) {
35795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35800 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35802 arg3
= wxString_in_helper(obj2
);
35803 if (arg3
== NULL
) SWIG_fail
;
35807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35808 if (!SWIG_IsOK(ecode4
)) {
35809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35811 arg4
= static_cast< int >(val4
);
35814 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35815 if (!SWIG_IsOK(ecode5
)) {
35816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35818 arg5
= static_cast< int >(val5
);
35821 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35822 if (!SWIG_IsOK(res6
)) {
35823 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35828 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35829 wxPyEndAllowThreads(__tstate
);
35830 if (PyErr_Occurred()) SWIG_fail
;
35832 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35847 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35848 PyObject
*resultobj
= 0;
35849 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35850 wxTreeItemId
*arg2
= 0 ;
35851 wxTreeItemId
*arg3
= 0 ;
35852 wxString
*arg4
= 0 ;
35853 int arg5
= (int) -1 ;
35854 int arg6
= (int) -1 ;
35855 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35856 wxTreeItemId result
;
35863 bool temp4
= false ;
35869 PyObject
* obj0
= 0 ;
35870 PyObject
* obj1
= 0 ;
35871 PyObject
* obj2
= 0 ;
35872 PyObject
* obj3
= 0 ;
35873 PyObject
* obj4
= 0 ;
35874 PyObject
* obj5
= 0 ;
35875 PyObject
* obj6
= 0 ;
35876 char * kwnames
[] = {
35877 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35882 if (!SWIG_IsOK(res1
)) {
35883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35885 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35887 if (!SWIG_IsOK(res2
)) {
35888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35893 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35894 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35895 if (!SWIG_IsOK(res3
)) {
35896 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35901 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35903 arg4
= wxString_in_helper(obj3
);
35904 if (arg4
== NULL
) SWIG_fail
;
35908 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35909 if (!SWIG_IsOK(ecode5
)) {
35910 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35912 arg5
= static_cast< int >(val5
);
35915 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35916 if (!SWIG_IsOK(ecode6
)) {
35917 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35919 arg6
= static_cast< int >(val6
);
35922 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35923 if (!SWIG_IsOK(res7
)) {
35924 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35930 wxPyEndAllowThreads(__tstate
);
35931 if (PyErr_Occurred()) SWIG_fail
;
35933 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35948 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35949 PyObject
*resultobj
= 0;
35950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35951 wxTreeItemId
*arg2
= 0 ;
35953 wxString
*arg4
= 0 ;
35954 int arg5
= (int) -1 ;
35955 int arg6
= (int) -1 ;
35956 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35957 wxTreeItemId result
;
35964 bool temp4
= false ;
35970 PyObject
* obj0
= 0 ;
35971 PyObject
* obj1
= 0 ;
35972 PyObject
* obj2
= 0 ;
35973 PyObject
* obj3
= 0 ;
35974 PyObject
* obj4
= 0 ;
35975 PyObject
* obj5
= 0 ;
35976 PyObject
* obj6
= 0 ;
35977 char * kwnames
[] = {
35978 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35983 if (!SWIG_IsOK(res1
)) {
35984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35986 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35988 if (!SWIG_IsOK(res2
)) {
35989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35994 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35995 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35996 if (!SWIG_IsOK(ecode3
)) {
35997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35999 arg3
= static_cast< size_t >(val3
);
36001 arg4
= wxString_in_helper(obj3
);
36002 if (arg4
== NULL
) SWIG_fail
;
36006 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36007 if (!SWIG_IsOK(ecode5
)) {
36008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36010 arg5
= static_cast< int >(val5
);
36013 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36014 if (!SWIG_IsOK(ecode6
)) {
36015 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36017 arg6
= static_cast< int >(val6
);
36020 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36021 if (!SWIG_IsOK(res7
)) {
36022 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36028 wxPyEndAllowThreads(__tstate
);
36029 if (PyErr_Occurred()) SWIG_fail
;
36031 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36046 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36047 PyObject
*resultobj
= 0;
36048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36049 wxTreeItemId
*arg2
= 0 ;
36050 wxString
*arg3
= 0 ;
36051 int arg4
= (int) -1 ;
36052 int arg5
= (int) -1 ;
36053 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36054 wxTreeItemId result
;
36059 bool temp3
= false ;
36065 PyObject
* obj0
= 0 ;
36066 PyObject
* obj1
= 0 ;
36067 PyObject
* obj2
= 0 ;
36068 PyObject
* obj3
= 0 ;
36069 PyObject
* obj4
= 0 ;
36070 PyObject
* obj5
= 0 ;
36071 char * kwnames
[] = {
36072 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36077 if (!SWIG_IsOK(res1
)) {
36078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36082 if (!SWIG_IsOK(res2
)) {
36083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36088 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36090 arg3
= wxString_in_helper(obj2
);
36091 if (arg3
== NULL
) SWIG_fail
;
36095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36096 if (!SWIG_IsOK(ecode4
)) {
36097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36099 arg4
= static_cast< int >(val4
);
36102 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36103 if (!SWIG_IsOK(ecode5
)) {
36104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36106 arg5
= static_cast< int >(val5
);
36109 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36110 if (!SWIG_IsOK(res6
)) {
36111 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36116 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36135 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36136 PyObject
*resultobj
= 0;
36137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36138 wxTreeItemId
*arg2
= 0 ;
36143 PyObject
* obj0
= 0 ;
36144 PyObject
* obj1
= 0 ;
36145 char * kwnames
[] = {
36146 (char *) "self",(char *) "item", NULL
36149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36151 if (!SWIG_IsOK(res1
)) {
36152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36154 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36156 if (!SWIG_IsOK(res2
)) {
36157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36162 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36165 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36166 wxPyEndAllowThreads(__tstate
);
36167 if (PyErr_Occurred()) SWIG_fail
;
36169 resultobj
= SWIG_Py_Void();
36176 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36177 PyObject
*resultobj
= 0;
36178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36179 wxTreeItemId
*arg2
= 0 ;
36184 PyObject
* obj0
= 0 ;
36185 PyObject
* obj1
= 0 ;
36186 char * kwnames
[] = {
36187 (char *) "self",(char *) "item", NULL
36190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36192 if (!SWIG_IsOK(res1
)) {
36193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36195 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36197 if (!SWIG_IsOK(res2
)) {
36198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36203 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36206 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36207 wxPyEndAllowThreads(__tstate
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36210 resultobj
= SWIG_Py_Void();
36217 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36218 PyObject
*resultobj
= 0;
36219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36222 PyObject
*swig_obj
[1] ;
36224 if (!args
) SWIG_fail
;
36225 swig_obj
[0] = args
;
36226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36227 if (!SWIG_IsOK(res1
)) {
36228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36230 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36233 (arg1
)->DeleteAllItems();
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36237 resultobj
= SWIG_Py_Void();
36244 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36245 PyObject
*resultobj
= 0;
36246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36247 wxTreeItemId
*arg2
= 0 ;
36252 PyObject
* obj0
= 0 ;
36253 PyObject
* obj1
= 0 ;
36254 char * kwnames
[] = {
36255 (char *) "self",(char *) "item", NULL
36258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36260 if (!SWIG_IsOK(res1
)) {
36261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36263 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36265 if (!SWIG_IsOK(res2
)) {
36266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36271 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36274 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36275 wxPyEndAllowThreads(__tstate
);
36276 if (PyErr_Occurred()) SWIG_fail
;
36278 resultobj
= SWIG_Py_Void();
36285 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36286 PyObject
*resultobj
= 0;
36287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36288 wxTreeItemId
*arg2
= 0 ;
36293 PyObject
* obj0
= 0 ;
36294 PyObject
* obj1
= 0 ;
36295 char * kwnames
[] = {
36296 (char *) "self",(char *) "item", NULL
36299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36301 if (!SWIG_IsOK(res1
)) {
36302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36304 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36306 if (!SWIG_IsOK(res2
)) {
36307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36312 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36315 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36316 wxPyEndAllowThreads(__tstate
);
36317 if (PyErr_Occurred()) SWIG_fail
;
36319 resultobj
= SWIG_Py_Void();
36326 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36327 PyObject
*resultobj
= 0;
36328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36331 PyObject
*swig_obj
[1] ;
36333 if (!args
) SWIG_fail
;
36334 swig_obj
[0] = args
;
36335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36336 if (!SWIG_IsOK(res1
)) {
36337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36339 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36342 (arg1
)->ExpandAll();
36343 wxPyEndAllowThreads(__tstate
);
36344 if (PyErr_Occurred()) SWIG_fail
;
36346 resultobj
= SWIG_Py_Void();
36353 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36354 PyObject
*resultobj
= 0;
36355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36356 wxTreeItemId
*arg2
= 0 ;
36361 PyObject
* obj0
= 0 ;
36362 PyObject
* obj1
= 0 ;
36363 char * kwnames
[] = {
36364 (char *) "self",(char *) "item", NULL
36367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36369 if (!SWIG_IsOK(res1
)) {
36370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36372 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36374 if (!SWIG_IsOK(res2
)) {
36375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36380 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36383 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36384 wxPyEndAllowThreads(__tstate
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36387 resultobj
= SWIG_Py_Void();
36394 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36395 PyObject
*resultobj
= 0;
36396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36397 wxTreeItemId
*arg2
= 0 ;
36402 PyObject
* obj0
= 0 ;
36403 PyObject
* obj1
= 0 ;
36404 char * kwnames
[] = {
36405 (char *) "self",(char *) "item", NULL
36408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36410 if (!SWIG_IsOK(res1
)) {
36411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36413 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36414 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36415 if (!SWIG_IsOK(res2
)) {
36416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36421 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36424 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36425 wxPyEndAllowThreads(__tstate
);
36426 if (PyErr_Occurred()) SWIG_fail
;
36428 resultobj
= SWIG_Py_Void();
36435 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36436 PyObject
*resultobj
= 0;
36437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36438 wxTreeItemId
*arg2
= 0 ;
36443 PyObject
* obj0
= 0 ;
36444 PyObject
* obj1
= 0 ;
36445 char * kwnames
[] = {
36446 (char *) "self",(char *) "item", NULL
36449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36451 if (!SWIG_IsOK(res1
)) {
36452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36454 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36456 if (!SWIG_IsOK(res2
)) {
36457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36462 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36466 wxPyEndAllowThreads(__tstate
);
36467 if (PyErr_Occurred()) SWIG_fail
;
36469 resultobj
= SWIG_Py_Void();
36476 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36477 PyObject
*resultobj
= 0;
36478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36481 PyObject
*swig_obj
[1] ;
36483 if (!args
) SWIG_fail
;
36484 swig_obj
[0] = args
;
36485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36486 if (!SWIG_IsOK(res1
)) {
36487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36489 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36492 (arg1
)->Unselect();
36493 wxPyEndAllowThreads(__tstate
);
36494 if (PyErr_Occurred()) SWIG_fail
;
36496 resultobj
= SWIG_Py_Void();
36503 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36504 PyObject
*resultobj
= 0;
36505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36506 wxTreeItemId
*arg2
= 0 ;
36511 PyObject
* obj0
= 0 ;
36512 PyObject
* obj1
= 0 ;
36513 char * kwnames
[] = {
36514 (char *) "self",(char *) "item", NULL
36517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36519 if (!SWIG_IsOK(res1
)) {
36520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36522 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36524 if (!SWIG_IsOK(res2
)) {
36525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36530 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36533 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36534 wxPyEndAllowThreads(__tstate
);
36535 if (PyErr_Occurred()) SWIG_fail
;
36537 resultobj
= SWIG_Py_Void();
36544 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36545 PyObject
*resultobj
= 0;
36546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36549 PyObject
*swig_obj
[1] ;
36551 if (!args
) SWIG_fail
;
36552 swig_obj
[0] = args
;
36553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36554 if (!SWIG_IsOK(res1
)) {
36555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36557 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36560 (arg1
)->UnselectAll();
36561 wxPyEndAllowThreads(__tstate
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36564 resultobj
= SWIG_Py_Void();
36571 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36572 PyObject
*resultobj
= 0;
36573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36574 wxTreeItemId
*arg2
= 0 ;
36575 bool arg3
= (bool) true ;
36582 PyObject
* obj0
= 0 ;
36583 PyObject
* obj1
= 0 ;
36584 PyObject
* obj2
= 0 ;
36585 char * kwnames
[] = {
36586 (char *) "self",(char *) "item",(char *) "select", NULL
36589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36591 if (!SWIG_IsOK(res1
)) {
36592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36594 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36596 if (!SWIG_IsOK(res2
)) {
36597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36602 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36604 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36605 if (!SWIG_IsOK(ecode3
)) {
36606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36608 arg3
= static_cast< bool >(val3
);
36611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36612 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36613 wxPyEndAllowThreads(__tstate
);
36614 if (PyErr_Occurred()) SWIG_fail
;
36616 resultobj
= SWIG_Py_Void();
36623 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36624 PyObject
*resultobj
= 0;
36625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36626 wxTreeItemId
*arg2
= 0 ;
36631 PyObject
* obj0
= 0 ;
36632 PyObject
* obj1
= 0 ;
36633 char * kwnames
[] = {
36634 (char *) "self",(char *) "item", NULL
36637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36639 if (!SWIG_IsOK(res1
)) {
36640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36642 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36644 if (!SWIG_IsOK(res2
)) {
36645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36650 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36653 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36654 wxPyEndAllowThreads(__tstate
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36657 resultobj
= SWIG_Py_Void();
36664 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36665 PyObject
*resultobj
= 0;
36666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36667 wxTreeItemId
*arg2
= 0 ;
36672 PyObject
* obj0
= 0 ;
36673 PyObject
* obj1
= 0 ;
36674 char * kwnames
[] = {
36675 (char *) "self",(char *) "item", NULL
36678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36680 if (!SWIG_IsOK(res1
)) {
36681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36683 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36685 if (!SWIG_IsOK(res2
)) {
36686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36691 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36694 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36695 wxPyEndAllowThreads(__tstate
);
36696 if (PyErr_Occurred()) SWIG_fail
;
36698 resultobj
= SWIG_Py_Void();
36705 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36706 PyObject
*resultobj
= 0;
36707 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36708 wxTreeItemId
*arg2
= 0 ;
36713 PyObject
* obj0
= 0 ;
36714 PyObject
* obj1
= 0 ;
36715 char * kwnames
[] = {
36716 (char *) "self",(char *) "item", NULL
36719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36721 if (!SWIG_IsOK(res1
)) {
36722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36724 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36726 if (!SWIG_IsOK(res2
)) {
36727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36732 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36735 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36736 wxPyEndAllowThreads(__tstate
);
36737 if (PyErr_Occurred()) SWIG_fail
;
36739 resultobj
= SWIG_Py_Void();
36746 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36747 PyObject
*resultobj
= 0;
36748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36749 wxTreeItemId
*arg2
= 0 ;
36754 PyObject
* obj0
= 0 ;
36755 PyObject
* obj1
= 0 ;
36756 char * kwnames
[] = {
36757 (char *) "self",(char *) "item", NULL
36760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36762 if (!SWIG_IsOK(res1
)) {
36763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36765 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36767 if (!SWIG_IsOK(res2
)) {
36768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36773 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36776 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36777 wxPyEndAllowThreads(__tstate
);
36778 if (PyErr_Occurred()) SWIG_fail
;
36780 resultobj
= SWIG_Py_Void();
36787 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36788 PyObject
*resultobj
= 0;
36789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36790 wxTextCtrl
*result
= 0 ;
36793 PyObject
*swig_obj
[1] ;
36795 if (!args
) SWIG_fail
;
36796 swig_obj
[0] = args
;
36797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36798 if (!SWIG_IsOK(res1
)) {
36799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36801 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36805 wxPyEndAllowThreads(__tstate
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36809 resultobj
= wxPyMake_wxObject(result
, 0);
36817 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36818 PyObject
*resultobj
= 0;
36819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36820 wxTreeItemId
*arg2
= 0 ;
36825 PyObject
* obj0
= 0 ;
36826 PyObject
* obj1
= 0 ;
36827 char * kwnames
[] = {
36828 (char *) "self",(char *) "item", NULL
36831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36833 if (!SWIG_IsOK(res1
)) {
36834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36836 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36838 if (!SWIG_IsOK(res2
)) {
36839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36844 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36847 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36848 wxPyEndAllowThreads(__tstate
);
36849 if (PyErr_Occurred()) SWIG_fail
;
36851 resultobj
= SWIG_Py_Void();
36858 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36859 PyObject
*resultobj
= 0;
36860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36861 wxPoint
*arg2
= 0 ;
36863 wxTreeItemId result
;
36868 int res3
= SWIG_TMPOBJ
;
36869 PyObject
* obj0
= 0 ;
36870 PyObject
* obj1
= 0 ;
36871 char * kwnames
[] = {
36872 (char *) "self",(char *) "point", NULL
36876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36878 if (!SWIG_IsOK(res1
)) {
36879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36881 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36884 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36888 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36889 wxPyEndAllowThreads(__tstate
);
36890 if (PyErr_Occurred()) SWIG_fail
;
36892 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36893 if (SWIG_IsTmpObj(res3
)) {
36894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36896 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36905 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36906 PyObject
*resultobj
= 0;
36907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36908 wxTreeItemId
*arg2
= 0 ;
36909 bool arg3
= (bool) false ;
36910 PyObject
*result
= 0 ;
36917 PyObject
* obj0
= 0 ;
36918 PyObject
* obj1
= 0 ;
36919 PyObject
* obj2
= 0 ;
36920 char * kwnames
[] = {
36921 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36926 if (!SWIG_IsOK(res1
)) {
36927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36929 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36931 if (!SWIG_IsOK(res2
)) {
36932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36937 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36939 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36940 if (!SWIG_IsOK(ecode3
)) {
36941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36943 arg3
= static_cast< bool >(val3
);
36946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36947 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36948 wxPyEndAllowThreads(__tstate
);
36949 if (PyErr_Occurred()) SWIG_fail
;
36951 resultobj
= result
;
36958 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36959 PyObject
*resultobj
= 0;
36960 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36961 SwigValueWrapper
<wxVisualAttributes
> result
;
36964 PyObject
* obj0
= 0 ;
36965 char * kwnames
[] = {
36966 (char *) "variant", NULL
36969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36971 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36972 if (!SWIG_IsOK(ecode1
)) {
36973 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36975 arg1
= static_cast< wxWindowVariant
>(val1
);
36978 if (!wxPyCheckForApp()) SWIG_fail
;
36979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36980 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36981 wxPyEndAllowThreads(__tstate
);
36982 if (PyErr_Occurred()) SWIG_fail
;
36984 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36991 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36992 PyObject
*resultobj
= 0;
36993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36999 PyObject
* obj0
= 0 ;
37000 PyObject
* obj1
= 0 ;
37001 char * kwnames
[] = {
37002 (char *) "self",(char *) "q", NULL
37005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37007 if (!SWIG_IsOK(res1
)) {
37008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37010 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37011 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37012 if (!SWIG_IsOK(ecode2
)) {
37013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37015 arg2
= static_cast< bool >(val2
);
37017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37018 (arg1
)->SetQuickBestSize(arg2
);
37019 wxPyEndAllowThreads(__tstate
);
37020 if (PyErr_Occurred()) SWIG_fail
;
37022 resultobj
= SWIG_Py_Void();
37029 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37030 PyObject
*resultobj
= 0;
37031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37035 PyObject
*swig_obj
[1] ;
37037 if (!args
) SWIG_fail
;
37038 swig_obj
[0] = args
;
37039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37040 if (!SWIG_IsOK(res1
)) {
37041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37043 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37046 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37047 wxPyEndAllowThreads(__tstate
);
37048 if (PyErr_Occurred()) SWIG_fail
;
37051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37059 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37062 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37063 return SWIG_Py_Void();
37066 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37067 return SWIG_Python_InitShadowInstance(args
);
37070 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37071 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37076 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37077 PyObject
*pyobj
= 0;
37081 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37083 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37090 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37091 PyObject
*resultobj
= 0;
37092 wxWindow
*arg1
= (wxWindow
*) 0 ;
37093 int arg2
= (int) (int)-1 ;
37094 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37095 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37096 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37097 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37098 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37099 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37100 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37101 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37102 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37103 int arg8
= (int) 0 ;
37104 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37105 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37106 wxGenericDirCtrl
*result
= 0 ;
37111 bool temp3
= false ;
37116 bool temp7
= false ;
37119 bool temp9
= false ;
37120 PyObject
* obj0
= 0 ;
37121 PyObject
* obj1
= 0 ;
37122 PyObject
* obj2
= 0 ;
37123 PyObject
* obj3
= 0 ;
37124 PyObject
* obj4
= 0 ;
37125 PyObject
* obj5
= 0 ;
37126 PyObject
* obj6
= 0 ;
37127 PyObject
* obj7
= 0 ;
37128 PyObject
* obj8
= 0 ;
37129 char * kwnames
[] = {
37130 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37135 if (!SWIG_IsOK(res1
)) {
37136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37141 if (!SWIG_IsOK(ecode2
)) {
37142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37144 arg2
= static_cast< int >(val2
);
37148 arg3
= wxString_in_helper(obj2
);
37149 if (arg3
== NULL
) SWIG_fail
;
37156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37166 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37167 if (!SWIG_IsOK(ecode6
)) {
37168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37170 arg6
= static_cast< long >(val6
);
37174 arg7
= wxString_in_helper(obj6
);
37175 if (arg7
== NULL
) SWIG_fail
;
37180 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37181 if (!SWIG_IsOK(ecode8
)) {
37182 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37184 arg8
= static_cast< int >(val8
);
37188 arg9
= wxString_in_helper(obj8
);
37189 if (arg9
== NULL
) SWIG_fail
;
37194 if (!wxPyCheckForApp()) SWIG_fail
;
37195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37196 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37197 wxPyEndAllowThreads(__tstate
);
37198 if (PyErr_Occurred()) SWIG_fail
;
37200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37231 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37232 PyObject
*resultobj
= 0;
37233 wxGenericDirCtrl
*result
= 0 ;
37235 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37237 if (!wxPyCheckForApp()) SWIG_fail
;
37238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37239 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37240 wxPyEndAllowThreads(__tstate
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37250 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37251 PyObject
*resultobj
= 0;
37252 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37253 wxWindow
*arg2
= (wxWindow
*) 0 ;
37254 int arg3
= (int) (int)-1 ;
37255 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37256 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37257 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37258 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37259 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37260 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37261 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37262 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37263 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37264 int arg9
= (int) 0 ;
37265 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37266 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37274 bool temp4
= false ;
37279 bool temp8
= false ;
37282 bool temp10
= false ;
37283 PyObject
* obj0
= 0 ;
37284 PyObject
* obj1
= 0 ;
37285 PyObject
* obj2
= 0 ;
37286 PyObject
* obj3
= 0 ;
37287 PyObject
* obj4
= 0 ;
37288 PyObject
* obj5
= 0 ;
37289 PyObject
* obj6
= 0 ;
37290 PyObject
* obj7
= 0 ;
37291 PyObject
* obj8
= 0 ;
37292 PyObject
* obj9
= 0 ;
37293 char * kwnames
[] = {
37294 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37299 if (!SWIG_IsOK(res1
)) {
37300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37302 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37304 if (!SWIG_IsOK(res2
)) {
37305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37307 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37310 if (!SWIG_IsOK(ecode3
)) {
37311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37313 arg3
= static_cast< int >(val3
);
37317 arg4
= wxString_in_helper(obj3
);
37318 if (arg4
== NULL
) SWIG_fail
;
37325 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37331 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37335 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37336 if (!SWIG_IsOK(ecode7
)) {
37337 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37339 arg7
= static_cast< long >(val7
);
37343 arg8
= wxString_in_helper(obj7
);
37344 if (arg8
== NULL
) SWIG_fail
;
37349 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37350 if (!SWIG_IsOK(ecode9
)) {
37351 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37353 arg9
= static_cast< int >(val9
);
37357 arg10
= wxString_in_helper(obj9
);
37358 if (arg10
== NULL
) SWIG_fail
;
37363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37365 wxPyEndAllowThreads(__tstate
);
37366 if (PyErr_Occurred()) SWIG_fail
;
37369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37401 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37402 PyObject
*resultobj
= 0;
37403 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37404 wxString
*arg2
= 0 ;
37408 bool temp2
= false ;
37409 PyObject
* obj0
= 0 ;
37410 PyObject
* obj1
= 0 ;
37411 char * kwnames
[] = {
37412 (char *) "self",(char *) "path", NULL
37415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37417 if (!SWIG_IsOK(res1
)) {
37418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37420 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37422 arg2
= wxString_in_helper(obj1
);
37423 if (arg2
== NULL
) SWIG_fail
;
37427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37428 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37429 wxPyEndAllowThreads(__tstate
);
37430 if (PyErr_Occurred()) SWIG_fail
;
37433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37449 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37450 PyObject
*resultobj
= 0;
37451 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37452 wxString
*arg2
= 0 ;
37456 bool temp2
= false ;
37457 PyObject
* obj0
= 0 ;
37458 PyObject
* obj1
= 0 ;
37459 char * kwnames
[] = {
37460 (char *) "self",(char *) "path", NULL
37463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37465 if (!SWIG_IsOK(res1
)) {
37466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37468 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37470 arg2
= wxString_in_helper(obj1
);
37471 if (arg2
== NULL
) SWIG_fail
;
37475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37476 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37477 wxPyEndAllowThreads(__tstate
);
37478 if (PyErr_Occurred()) SWIG_fail
;
37481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37497 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37498 PyObject
*resultobj
= 0;
37499 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37503 PyObject
*swig_obj
[1] ;
37505 if (!args
) SWIG_fail
;
37506 swig_obj
[0] = args
;
37507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37508 if (!SWIG_IsOK(res1
)) {
37509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37511 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37514 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37515 wxPyEndAllowThreads(__tstate
);
37516 if (PyErr_Occurred()) SWIG_fail
;
37520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37531 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37532 PyObject
*resultobj
= 0;
37533 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37534 wxString
*arg2
= 0 ;
37537 bool temp2
= false ;
37538 PyObject
* obj0
= 0 ;
37539 PyObject
* obj1
= 0 ;
37540 char * kwnames
[] = {
37541 (char *) "self",(char *) "path", NULL
37544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37546 if (!SWIG_IsOK(res1
)) {
37547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37549 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37551 arg2
= wxString_in_helper(obj1
);
37552 if (arg2
== NULL
) SWIG_fail
;
37556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37557 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37558 wxPyEndAllowThreads(__tstate
);
37559 if (PyErr_Occurred()) SWIG_fail
;
37561 resultobj
= SWIG_Py_Void();
37576 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37577 PyObject
*resultobj
= 0;
37578 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37582 PyObject
*swig_obj
[1] ;
37584 if (!args
) SWIG_fail
;
37585 swig_obj
[0] = args
;
37586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37587 if (!SWIG_IsOK(res1
)) {
37588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37590 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37593 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37594 wxPyEndAllowThreads(__tstate
);
37595 if (PyErr_Occurred()) SWIG_fail
;
37599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37610 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37611 PyObject
*resultobj
= 0;
37612 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37616 PyObject
*swig_obj
[1] ;
37618 if (!args
) SWIG_fail
;
37619 swig_obj
[0] = args
;
37620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37621 if (!SWIG_IsOK(res1
)) {
37622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37624 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37627 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37628 wxPyEndAllowThreads(__tstate
);
37629 if (PyErr_Occurred()) SWIG_fail
;
37633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37644 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37645 PyObject
*resultobj
= 0;
37646 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37647 wxString
*arg2
= 0 ;
37650 bool temp2
= false ;
37651 PyObject
* obj0
= 0 ;
37652 PyObject
* obj1
= 0 ;
37653 char * kwnames
[] = {
37654 (char *) "self",(char *) "path", NULL
37657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37659 if (!SWIG_IsOK(res1
)) {
37660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37662 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37664 arg2
= wxString_in_helper(obj1
);
37665 if (arg2
== NULL
) SWIG_fail
;
37669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37670 (arg1
)->SetPath((wxString
const &)*arg2
);
37671 wxPyEndAllowThreads(__tstate
);
37672 if (PyErr_Occurred()) SWIG_fail
;
37674 resultobj
= SWIG_Py_Void();
37689 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37690 PyObject
*resultobj
= 0;
37691 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37697 PyObject
* obj0
= 0 ;
37698 PyObject
* obj1
= 0 ;
37699 char * kwnames
[] = {
37700 (char *) "self",(char *) "show", NULL
37703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37705 if (!SWIG_IsOK(res1
)) {
37706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37708 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37709 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37710 if (!SWIG_IsOK(ecode2
)) {
37711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37713 arg2
= static_cast< bool >(val2
);
37715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37716 (arg1
)->ShowHidden(arg2
);
37717 wxPyEndAllowThreads(__tstate
);
37718 if (PyErr_Occurred()) SWIG_fail
;
37720 resultobj
= SWIG_Py_Void();
37727 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37728 PyObject
*resultobj
= 0;
37729 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37733 PyObject
*swig_obj
[1] ;
37735 if (!args
) SWIG_fail
;
37736 swig_obj
[0] = args
;
37737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37738 if (!SWIG_IsOK(res1
)) {
37739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37741 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37744 result
= (bool)(arg1
)->GetShowHidden();
37745 wxPyEndAllowThreads(__tstate
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37757 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37758 PyObject
*resultobj
= 0;
37759 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37763 PyObject
*swig_obj
[1] ;
37765 if (!args
) SWIG_fail
;
37766 swig_obj
[0] = args
;
37767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37768 if (!SWIG_IsOK(res1
)) {
37769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37771 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37774 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37775 wxPyEndAllowThreads(__tstate
);
37776 if (PyErr_Occurred()) SWIG_fail
;
37780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37791 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37792 PyObject
*resultobj
= 0;
37793 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37794 wxString
*arg2
= 0 ;
37797 bool temp2
= false ;
37798 PyObject
* obj0
= 0 ;
37799 PyObject
* obj1
= 0 ;
37800 char * kwnames
[] = {
37801 (char *) "self",(char *) "filter", NULL
37804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37806 if (!SWIG_IsOK(res1
)) {
37807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37809 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37811 arg2
= wxString_in_helper(obj1
);
37812 if (arg2
== NULL
) SWIG_fail
;
37816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37817 (arg1
)->SetFilter((wxString
const &)*arg2
);
37818 wxPyEndAllowThreads(__tstate
);
37819 if (PyErr_Occurred()) SWIG_fail
;
37821 resultobj
= SWIG_Py_Void();
37836 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37837 PyObject
*resultobj
= 0;
37838 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37842 PyObject
*swig_obj
[1] ;
37844 if (!args
) SWIG_fail
;
37845 swig_obj
[0] = args
;
37846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37847 if (!SWIG_IsOK(res1
)) {
37848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37850 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37854 wxPyEndAllowThreads(__tstate
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37857 resultobj
= SWIG_From_int(static_cast< int >(result
));
37864 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37865 PyObject
*resultobj
= 0;
37866 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37872 PyObject
* obj0
= 0 ;
37873 PyObject
* obj1
= 0 ;
37874 char * kwnames
[] = {
37875 (char *) "self",(char *) "n", NULL
37878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37880 if (!SWIG_IsOK(res1
)) {
37881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37883 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37885 if (!SWIG_IsOK(ecode2
)) {
37886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37888 arg2
= static_cast< int >(val2
);
37890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37891 (arg1
)->SetFilterIndex(arg2
);
37892 wxPyEndAllowThreads(__tstate
);
37893 if (PyErr_Occurred()) SWIG_fail
;
37895 resultobj
= SWIG_Py_Void();
37902 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37903 PyObject
*resultobj
= 0;
37904 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37905 wxTreeItemId result
;
37908 PyObject
*swig_obj
[1] ;
37910 if (!args
) SWIG_fail
;
37911 swig_obj
[0] = args
;
37912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37913 if (!SWIG_IsOK(res1
)) {
37914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37916 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37919 result
= (arg1
)->GetRootId();
37920 wxPyEndAllowThreads(__tstate
);
37921 if (PyErr_Occurred()) SWIG_fail
;
37923 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37930 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37931 PyObject
*resultobj
= 0;
37932 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37933 wxPyTreeCtrl
*result
= 0 ;
37936 PyObject
*swig_obj
[1] ;
37938 if (!args
) SWIG_fail
;
37939 swig_obj
[0] = args
;
37940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37941 if (!SWIG_IsOK(res1
)) {
37942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37944 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37947 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37948 wxPyEndAllowThreads(__tstate
);
37949 if (PyErr_Occurred()) SWIG_fail
;
37952 resultobj
= wxPyMake_wxObject(result
, 0);
37960 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37961 PyObject
*resultobj
= 0;
37962 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37963 wxDirFilterListCtrl
*result
= 0 ;
37966 PyObject
*swig_obj
[1] ;
37968 if (!args
) SWIG_fail
;
37969 swig_obj
[0] = args
;
37970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37971 if (!SWIG_IsOK(res1
)) {
37972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37974 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37977 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37978 wxPyEndAllowThreads(__tstate
);
37979 if (PyErr_Occurred()) SWIG_fail
;
37981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37988 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37989 PyObject
*resultobj
= 0;
37990 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37991 wxTreeItemId arg2
;
37992 wxString
*arg3
= 0 ;
37994 wxTreeItemId result
;
37999 bool temp3
= false ;
38001 int res4
= SWIG_TMPOBJ
;
38002 PyObject
* obj0
= 0 ;
38003 PyObject
* obj1
= 0 ;
38004 PyObject
* obj2
= 0 ;
38005 char * kwnames
[] = {
38006 (char *) "self",(char *) "parentId",(char *) "path", NULL
38010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38012 if (!SWIG_IsOK(res1
)) {
38013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38015 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38018 if (!SWIG_IsOK(res2
)) {
38019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38024 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38026 if (SWIG_IsNewObj(res2
)) delete temp
;
38030 arg3
= wxString_in_helper(obj2
);
38031 if (arg3
== NULL
) SWIG_fail
;
38035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38036 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38037 wxPyEndAllowThreads(__tstate
);
38038 if (PyErr_Occurred()) SWIG_fail
;
38040 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38041 if (SWIG_IsTmpObj(res4
)) {
38042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38044 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38061 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38062 PyObject
*resultobj
= 0;
38063 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38066 PyObject
*swig_obj
[1] ;
38068 if (!args
) SWIG_fail
;
38069 swig_obj
[0] = args
;
38070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38071 if (!SWIG_IsOK(res1
)) {
38072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38074 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38077 (arg1
)->DoResize();
38078 wxPyEndAllowThreads(__tstate
);
38079 if (PyErr_Occurred()) SWIG_fail
;
38081 resultobj
= SWIG_Py_Void();
38088 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38089 PyObject
*resultobj
= 0;
38090 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38093 PyObject
*swig_obj
[1] ;
38095 if (!args
) SWIG_fail
;
38096 swig_obj
[0] = args
;
38097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38098 if (!SWIG_IsOK(res1
)) {
38099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38101 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38104 (arg1
)->ReCreateTree();
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38108 resultobj
= SWIG_Py_Void();
38115 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38118 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38119 return SWIG_Py_Void();
38122 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38123 return SWIG_Python_InitShadowInstance(args
);
38126 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38127 PyObject
*resultobj
= 0;
38128 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38129 int arg2
= (int) (int)-1 ;
38130 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38131 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38132 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38133 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38134 long arg5
= (long) 0 ;
38135 wxDirFilterListCtrl
*result
= 0 ;
38144 PyObject
* obj0
= 0 ;
38145 PyObject
* obj1
= 0 ;
38146 PyObject
* obj2
= 0 ;
38147 PyObject
* obj3
= 0 ;
38148 PyObject
* obj4
= 0 ;
38149 char * kwnames
[] = {
38150 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38155 if (!SWIG_IsOK(res1
)) {
38156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38158 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38161 if (!SWIG_IsOK(ecode2
)) {
38162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38164 arg2
= static_cast< int >(val2
);
38169 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38175 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38179 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38180 if (!SWIG_IsOK(ecode5
)) {
38181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38183 arg5
= static_cast< long >(val5
);
38186 if (!wxPyCheckForApp()) SWIG_fail
;
38187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38188 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38199 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38200 PyObject
*resultobj
= 0;
38201 wxDirFilterListCtrl
*result
= 0 ;
38203 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38205 if (!wxPyCheckForApp()) SWIG_fail
;
38206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38207 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38208 wxPyEndAllowThreads(__tstate
);
38209 if (PyErr_Occurred()) SWIG_fail
;
38211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38218 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38219 PyObject
*resultobj
= 0;
38220 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38221 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38222 int arg3
= (int) (int)-1 ;
38223 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38224 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38225 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38226 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38227 long arg6
= (long) 0 ;
38239 PyObject
* obj0
= 0 ;
38240 PyObject
* obj1
= 0 ;
38241 PyObject
* obj2
= 0 ;
38242 PyObject
* obj3
= 0 ;
38243 PyObject
* obj4
= 0 ;
38244 PyObject
* obj5
= 0 ;
38245 char * kwnames
[] = {
38246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38251 if (!SWIG_IsOK(res1
)) {
38252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38254 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38255 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38256 if (!SWIG_IsOK(res2
)) {
38257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38259 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38262 if (!SWIG_IsOK(ecode3
)) {
38263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38265 arg3
= static_cast< int >(val3
);
38270 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38276 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38280 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38281 if (!SWIG_IsOK(ecode6
)) {
38282 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38284 arg6
= static_cast< long >(val6
);
38287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38288 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38289 wxPyEndAllowThreads(__tstate
);
38290 if (PyErr_Occurred()) SWIG_fail
;
38293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38301 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38302 PyObject
*resultobj
= 0;
38303 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38304 wxString
*arg2
= 0 ;
38308 bool temp2
= false ;
38311 PyObject
* obj0
= 0 ;
38312 PyObject
* obj1
= 0 ;
38313 PyObject
* obj2
= 0 ;
38314 char * kwnames
[] = {
38315 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38320 if (!SWIG_IsOK(res1
)) {
38321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38323 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38325 arg2
= wxString_in_helper(obj1
);
38326 if (arg2
== NULL
) SWIG_fail
;
38329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38330 if (!SWIG_IsOK(ecode3
)) {
38331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38333 arg3
= static_cast< int >(val3
);
38335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38336 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38337 wxPyEndAllowThreads(__tstate
);
38338 if (PyErr_Occurred()) SWIG_fail
;
38340 resultobj
= SWIG_Py_Void();
38355 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38358 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38359 return SWIG_Py_Void();
38362 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38363 return SWIG_Python_InitShadowInstance(args
);
38366 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38367 PyObject
*resultobj
= 0;
38368 wxWindow
*arg1
= (wxWindow
*) 0 ;
38369 int arg2
= (int) (int)-1 ;
38370 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38371 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38372 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38373 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38374 long arg5
= (long) 0 ;
38375 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38376 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38377 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38378 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38379 wxPyControl
*result
= 0 ;
38390 bool temp7
= false ;
38391 PyObject
* obj0
= 0 ;
38392 PyObject
* obj1
= 0 ;
38393 PyObject
* obj2
= 0 ;
38394 PyObject
* obj3
= 0 ;
38395 PyObject
* obj4
= 0 ;
38396 PyObject
* obj5
= 0 ;
38397 PyObject
* obj6
= 0 ;
38398 char * kwnames
[] = {
38399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38404 if (!SWIG_IsOK(res1
)) {
38405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38407 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38410 if (!SWIG_IsOK(ecode2
)) {
38411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38413 arg2
= static_cast< int >(val2
);
38418 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38424 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38428 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38429 if (!SWIG_IsOK(ecode5
)) {
38430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38432 arg5
= static_cast< long >(val5
);
38435 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38436 if (!SWIG_IsOK(res6
)) {
38437 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38442 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38446 arg7
= wxString_in_helper(obj6
);
38447 if (arg7
== NULL
) SWIG_fail
;
38452 if (!wxPyCheckForApp()) SWIG_fail
;
38453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38454 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38473 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38474 PyObject
*resultobj
= 0;
38475 wxPyControl
*result
= 0 ;
38477 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38479 if (!wxPyCheckForApp()) SWIG_fail
;
38480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38481 result
= (wxPyControl
*)new wxPyControl();
38482 wxPyEndAllowThreads(__tstate
);
38483 if (PyErr_Occurred()) SWIG_fail
;
38485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38492 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38493 PyObject
*resultobj
= 0;
38494 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38495 PyObject
*arg2
= (PyObject
*) 0 ;
38496 PyObject
*arg3
= (PyObject
*) 0 ;
38499 PyObject
* obj0
= 0 ;
38500 PyObject
* obj1
= 0 ;
38501 PyObject
* obj2
= 0 ;
38502 char * kwnames
[] = {
38503 (char *) "self",(char *) "self",(char *) "_class", NULL
38506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38508 if (!SWIG_IsOK(res1
)) {
38509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38511 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38516 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38517 wxPyEndAllowThreads(__tstate
);
38518 if (PyErr_Occurred()) SWIG_fail
;
38520 resultobj
= SWIG_Py_Void();
38527 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38528 PyObject
*resultobj
= 0;
38529 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38534 PyObject
* obj0
= 0 ;
38535 PyObject
* obj1
= 0 ;
38536 char * kwnames
[] = {
38537 (char *) "self",(char *) "size", NULL
38540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38542 if (!SWIG_IsOK(res1
)) {
38543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38545 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38552 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38553 wxPyEndAllowThreads(__tstate
);
38554 if (PyErr_Occurred()) SWIG_fail
;
38556 resultobj
= SWIG_Py_Void();
38563 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38564 PyObject
*resultobj
= 0;
38565 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38566 wxDC
*arg2
= (wxDC
*) 0 ;
38572 PyObject
* obj0
= 0 ;
38573 PyObject
* obj1
= 0 ;
38574 char * kwnames
[] = {
38575 (char *) "self",(char *) "dc", NULL
38578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38580 if (!SWIG_IsOK(res1
)) {
38581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38583 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38585 if (!SWIG_IsOK(res2
)) {
38586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38588 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38591 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38592 wxPyEndAllowThreads(__tstate
);
38593 if (PyErr_Occurred()) SWIG_fail
;
38596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38604 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38605 PyObject
*resultobj
= 0;
38606 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38621 PyObject
* obj0
= 0 ;
38622 PyObject
* obj1
= 0 ;
38623 PyObject
* obj2
= 0 ;
38624 PyObject
* obj3
= 0 ;
38625 PyObject
* obj4
= 0 ;
38626 char * kwnames
[] = {
38627 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38632 if (!SWIG_IsOK(res1
)) {
38633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38635 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38637 if (!SWIG_IsOK(ecode2
)) {
38638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38640 arg2
= static_cast< int >(val2
);
38641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38642 if (!SWIG_IsOK(ecode3
)) {
38643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38645 arg3
= static_cast< int >(val3
);
38646 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38647 if (!SWIG_IsOK(ecode4
)) {
38648 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38650 arg4
= static_cast< int >(val4
);
38651 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38652 if (!SWIG_IsOK(ecode5
)) {
38653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38655 arg5
= static_cast< int >(val5
);
38657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38658 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38659 wxPyEndAllowThreads(__tstate
);
38660 if (PyErr_Occurred()) SWIG_fail
;
38662 resultobj
= SWIG_Py_Void();
38669 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38670 PyObject
*resultobj
= 0;
38671 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38676 int arg6
= (int) wxSIZE_AUTO
;
38689 PyObject
* obj0
= 0 ;
38690 PyObject
* obj1
= 0 ;
38691 PyObject
* obj2
= 0 ;
38692 PyObject
* obj3
= 0 ;
38693 PyObject
* obj4
= 0 ;
38694 PyObject
* obj5
= 0 ;
38695 char * kwnames
[] = {
38696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38701 if (!SWIG_IsOK(res1
)) {
38702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38704 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38706 if (!SWIG_IsOK(ecode2
)) {
38707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38709 arg2
= static_cast< int >(val2
);
38710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38711 if (!SWIG_IsOK(ecode3
)) {
38712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38714 arg3
= static_cast< int >(val3
);
38715 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38716 if (!SWIG_IsOK(ecode4
)) {
38717 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38719 arg4
= static_cast< int >(val4
);
38720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38721 if (!SWIG_IsOK(ecode5
)) {
38722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38724 arg5
= static_cast< int >(val5
);
38726 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38727 if (!SWIG_IsOK(ecode6
)) {
38728 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38730 arg6
= static_cast< int >(val6
);
38733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38734 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38735 wxPyEndAllowThreads(__tstate
);
38736 if (PyErr_Occurred()) SWIG_fail
;
38738 resultobj
= SWIG_Py_Void();
38745 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38746 PyObject
*resultobj
= 0;
38747 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38756 PyObject
* obj0
= 0 ;
38757 PyObject
* obj1
= 0 ;
38758 PyObject
* obj2
= 0 ;
38759 char * kwnames
[] = {
38760 (char *) "self",(char *) "width",(char *) "height", NULL
38763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38765 if (!SWIG_IsOK(res1
)) {
38766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38768 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38770 if (!SWIG_IsOK(ecode2
)) {
38771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38773 arg2
= static_cast< int >(val2
);
38774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38775 if (!SWIG_IsOK(ecode3
)) {
38776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38778 arg3
= static_cast< int >(val3
);
38780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38781 (arg1
)->DoSetClientSize(arg2
,arg3
);
38782 wxPyEndAllowThreads(__tstate
);
38783 if (PyErr_Occurred()) SWIG_fail
;
38785 resultobj
= SWIG_Py_Void();
38792 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38793 PyObject
*resultobj
= 0;
38794 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38803 PyObject
* obj0
= 0 ;
38804 PyObject
* obj1
= 0 ;
38805 PyObject
* obj2
= 0 ;
38806 char * kwnames
[] = {
38807 (char *) "self",(char *) "x",(char *) "y", NULL
38810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38812 if (!SWIG_IsOK(res1
)) {
38813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38815 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38817 if (!SWIG_IsOK(ecode2
)) {
38818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38820 arg2
= static_cast< int >(val2
);
38821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38822 if (!SWIG_IsOK(ecode3
)) {
38823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38825 arg3
= static_cast< int >(val3
);
38827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38828 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38829 wxPyEndAllowThreads(__tstate
);
38830 if (PyErr_Occurred()) SWIG_fail
;
38832 resultobj
= SWIG_Py_Void();
38839 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38840 PyObject
*resultobj
= 0;
38841 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38842 int *arg2
= (int *) 0 ;
38843 int *arg3
= (int *) 0 ;
38847 int res2
= SWIG_TMPOBJ
;
38849 int res3
= SWIG_TMPOBJ
;
38850 PyObject
*swig_obj
[1] ;
38854 if (!args
) SWIG_fail
;
38855 swig_obj
[0] = args
;
38856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38857 if (!SWIG_IsOK(res1
)) {
38858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38860 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38863 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38864 wxPyEndAllowThreads(__tstate
);
38865 if (PyErr_Occurred()) SWIG_fail
;
38867 resultobj
= SWIG_Py_Void();
38868 if (SWIG_IsTmpObj(res2
)) {
38869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38871 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38874 if (SWIG_IsTmpObj(res3
)) {
38875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38877 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38886 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38887 PyObject
*resultobj
= 0;
38888 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38889 int *arg2
= (int *) 0 ;
38890 int *arg3
= (int *) 0 ;
38894 int res2
= SWIG_TMPOBJ
;
38896 int res3
= SWIG_TMPOBJ
;
38897 PyObject
*swig_obj
[1] ;
38901 if (!args
) SWIG_fail
;
38902 swig_obj
[0] = args
;
38903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38904 if (!SWIG_IsOK(res1
)) {
38905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38907 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38910 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38911 wxPyEndAllowThreads(__tstate
);
38912 if (PyErr_Occurred()) SWIG_fail
;
38914 resultobj
= SWIG_Py_Void();
38915 if (SWIG_IsTmpObj(res2
)) {
38916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38918 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38921 if (SWIG_IsTmpObj(res3
)) {
38922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38924 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38933 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38934 PyObject
*resultobj
= 0;
38935 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38936 int *arg2
= (int *) 0 ;
38937 int *arg3
= (int *) 0 ;
38941 int res2
= SWIG_TMPOBJ
;
38943 int res3
= SWIG_TMPOBJ
;
38944 PyObject
*swig_obj
[1] ;
38948 if (!args
) SWIG_fail
;
38949 swig_obj
[0] = args
;
38950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38951 if (!SWIG_IsOK(res1
)) {
38952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38954 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38957 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38958 wxPyEndAllowThreads(__tstate
);
38959 if (PyErr_Occurred()) SWIG_fail
;
38961 resultobj
= SWIG_Py_Void();
38962 if (SWIG_IsTmpObj(res2
)) {
38963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38965 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38968 if (SWIG_IsTmpObj(res3
)) {
38969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38971 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38980 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38981 PyObject
*resultobj
= 0;
38982 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38986 PyObject
*swig_obj
[1] ;
38988 if (!args
) SWIG_fail
;
38989 swig_obj
[0] = args
;
38990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38991 if (!SWIG_IsOK(res1
)) {
38992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38994 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38997 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38998 wxPyEndAllowThreads(__tstate
);
38999 if (PyErr_Occurred()) SWIG_fail
;
39001 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39008 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39009 PyObject
*resultobj
= 0;
39010 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39014 PyObject
*swig_obj
[1] ;
39016 if (!args
) SWIG_fail
;
39017 swig_obj
[0] = args
;
39018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39019 if (!SWIG_IsOK(res1
)) {
39020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39022 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39025 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39026 wxPyEndAllowThreads(__tstate
);
39027 if (PyErr_Occurred()) SWIG_fail
;
39029 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39036 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39037 PyObject
*resultobj
= 0;
39038 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39039 SwigValueWrapper
<wxVisualAttributes
> result
;
39042 PyObject
*swig_obj
[1] ;
39044 if (!args
) SWIG_fail
;
39045 swig_obj
[0] = args
;
39046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39047 if (!SWIG_IsOK(res1
)) {
39048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39050 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39053 result
= (arg1
)->GetDefaultAttributes();
39054 wxPyEndAllowThreads(__tstate
);
39055 if (PyErr_Occurred()) SWIG_fail
;
39057 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39064 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39065 PyObject
*resultobj
= 0;
39066 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39069 PyObject
*swig_obj
[1] ;
39071 if (!args
) SWIG_fail
;
39072 swig_obj
[0] = args
;
39073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39074 if (!SWIG_IsOK(res1
)) {
39075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39077 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39080 (arg1
)->OnInternalIdle();
39081 wxPyEndAllowThreads(__tstate
);
39082 if (PyErr_Occurred()) SWIG_fail
;
39084 resultobj
= SWIG_Py_Void();
39091 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39094 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39095 return SWIG_Py_Void();
39098 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39099 return SWIG_Python_InitShadowInstance(args
);
39102 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39103 PyObject
*resultobj
= 0;
39104 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39105 int arg2
= (int) 0 ;
39106 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39107 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39108 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39109 wxHelpEvent
*result
= 0 ;
39117 PyObject
* obj0
= 0 ;
39118 PyObject
* obj1
= 0 ;
39119 PyObject
* obj2
= 0 ;
39120 PyObject
* obj3
= 0 ;
39121 char * kwnames
[] = {
39122 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39127 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39128 if (!SWIG_IsOK(ecode1
)) {
39129 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39131 arg1
= static_cast< wxEventType
>(val1
);
39134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39135 if (!SWIG_IsOK(ecode2
)) {
39136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39138 arg2
= static_cast< int >(val2
);
39143 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39147 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39148 if (!SWIG_IsOK(ecode4
)) {
39149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39151 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39155 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39156 wxPyEndAllowThreads(__tstate
);
39157 if (PyErr_Occurred()) SWIG_fail
;
39159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39166 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39167 PyObject
*resultobj
= 0;
39168 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39172 PyObject
*swig_obj
[1] ;
39174 if (!args
) SWIG_fail
;
39175 swig_obj
[0] = args
;
39176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39177 if (!SWIG_IsOK(res1
)) {
39178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39180 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39183 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39184 wxPyEndAllowThreads(__tstate
);
39185 if (PyErr_Occurred()) SWIG_fail
;
39187 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39194 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39195 PyObject
*resultobj
= 0;
39196 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39197 wxPoint
*arg2
= 0 ;
39201 PyObject
* obj0
= 0 ;
39202 PyObject
* obj1
= 0 ;
39203 char * kwnames
[] = {
39204 (char *) "self",(char *) "pos", NULL
39207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39209 if (!SWIG_IsOK(res1
)) {
39210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39212 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39215 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39219 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39220 wxPyEndAllowThreads(__tstate
);
39221 if (PyErr_Occurred()) SWIG_fail
;
39223 resultobj
= SWIG_Py_Void();
39230 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39231 PyObject
*resultobj
= 0;
39232 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39233 wxString
*result
= 0 ;
39236 PyObject
*swig_obj
[1] ;
39238 if (!args
) SWIG_fail
;
39239 swig_obj
[0] = args
;
39240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39241 if (!SWIG_IsOK(res1
)) {
39242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39244 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39248 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39249 result
= (wxString
*) &_result_ref
;
39251 wxPyEndAllowThreads(__tstate
);
39252 if (PyErr_Occurred()) SWIG_fail
;
39256 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39258 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39267 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39268 PyObject
*resultobj
= 0;
39269 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39270 wxString
*arg2
= 0 ;
39273 bool temp2
= false ;
39274 PyObject
* obj0
= 0 ;
39275 PyObject
* obj1
= 0 ;
39276 char * kwnames
[] = {
39277 (char *) "self",(char *) "link", NULL
39280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39282 if (!SWIG_IsOK(res1
)) {
39283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39285 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39287 arg2
= wxString_in_helper(obj1
);
39288 if (arg2
== NULL
) SWIG_fail
;
39292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39293 (arg1
)->SetLink((wxString
const &)*arg2
);
39294 wxPyEndAllowThreads(__tstate
);
39295 if (PyErr_Occurred()) SWIG_fail
;
39297 resultobj
= SWIG_Py_Void();
39312 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39313 PyObject
*resultobj
= 0;
39314 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39315 wxString
*result
= 0 ;
39318 PyObject
*swig_obj
[1] ;
39320 if (!args
) SWIG_fail
;
39321 swig_obj
[0] = args
;
39322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39323 if (!SWIG_IsOK(res1
)) {
39324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39326 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39330 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39331 result
= (wxString
*) &_result_ref
;
39333 wxPyEndAllowThreads(__tstate
);
39334 if (PyErr_Occurred()) SWIG_fail
;
39338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39349 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39350 PyObject
*resultobj
= 0;
39351 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39352 wxString
*arg2
= 0 ;
39355 bool temp2
= false ;
39356 PyObject
* obj0
= 0 ;
39357 PyObject
* obj1
= 0 ;
39358 char * kwnames
[] = {
39359 (char *) "self",(char *) "target", NULL
39362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39364 if (!SWIG_IsOK(res1
)) {
39365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39367 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39369 arg2
= wxString_in_helper(obj1
);
39370 if (arg2
== NULL
) SWIG_fail
;
39374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39375 (arg1
)->SetTarget((wxString
const &)*arg2
);
39376 wxPyEndAllowThreads(__tstate
);
39377 if (PyErr_Occurred()) SWIG_fail
;
39379 resultobj
= SWIG_Py_Void();
39394 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39395 PyObject
*resultobj
= 0;
39396 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39397 wxHelpEvent::Origin result
;
39400 PyObject
*swig_obj
[1] ;
39402 if (!args
) SWIG_fail
;
39403 swig_obj
[0] = args
;
39404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39405 if (!SWIG_IsOK(res1
)) {
39406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39408 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39411 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39412 wxPyEndAllowThreads(__tstate
);
39413 if (PyErr_Occurred()) SWIG_fail
;
39415 resultobj
= SWIG_From_int(static_cast< int >(result
));
39422 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39423 PyObject
*resultobj
= 0;
39424 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39425 wxHelpEvent::Origin arg2
;
39430 PyObject
* obj0
= 0 ;
39431 PyObject
* obj1
= 0 ;
39432 char * kwnames
[] = {
39433 (char *) "self",(char *) "origin", NULL
39436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39438 if (!SWIG_IsOK(res1
)) {
39439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39441 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39443 if (!SWIG_IsOK(ecode2
)) {
39444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39446 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39449 (arg1
)->SetOrigin(arg2
);
39450 wxPyEndAllowThreads(__tstate
);
39451 if (PyErr_Occurred()) SWIG_fail
;
39453 resultobj
= SWIG_Py_Void();
39460 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39463 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39464 return SWIG_Py_Void();
39467 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39468 return SWIG_Python_InitShadowInstance(args
);
39471 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39472 PyObject
*resultobj
= 0;
39473 wxWindow
*arg1
= (wxWindow
*) NULL
;
39474 bool arg2
= (bool) true ;
39475 wxContextHelp
*result
= 0 ;
39480 PyObject
* obj0
= 0 ;
39481 PyObject
* obj1
= 0 ;
39482 char * kwnames
[] = {
39483 (char *) "window",(char *) "doNow", NULL
39486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39489 if (!SWIG_IsOK(res1
)) {
39490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39492 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39495 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39496 if (!SWIG_IsOK(ecode2
)) {
39497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39499 arg2
= static_cast< bool >(val2
);
39502 if (!wxPyCheckForApp()) SWIG_fail
;
39503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39505 wxPyEndAllowThreads(__tstate
);
39506 if (PyErr_Occurred()) SWIG_fail
;
39508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39515 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39516 PyObject
*resultobj
= 0;
39517 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39520 PyObject
*swig_obj
[1] ;
39522 if (!args
) SWIG_fail
;
39523 swig_obj
[0] = args
;
39524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39525 if (!SWIG_IsOK(res1
)) {
39526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39528 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39533 wxPyEndAllowThreads(__tstate
);
39534 if (PyErr_Occurred()) SWIG_fail
;
39536 resultobj
= SWIG_Py_Void();
39543 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39544 PyObject
*resultobj
= 0;
39545 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39546 wxWindow
*arg2
= (wxWindow
*) NULL
;
39552 PyObject
* obj0
= 0 ;
39553 PyObject
* obj1
= 0 ;
39554 char * kwnames
[] = {
39555 (char *) "self",(char *) "window", NULL
39558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39560 if (!SWIG_IsOK(res1
)) {
39561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39563 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39566 if (!SWIG_IsOK(res2
)) {
39567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39569 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39573 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39574 wxPyEndAllowThreads(__tstate
);
39575 if (PyErr_Occurred()) SWIG_fail
;
39578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39586 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39587 PyObject
*resultobj
= 0;
39588 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39592 PyObject
*swig_obj
[1] ;
39594 if (!args
) SWIG_fail
;
39595 swig_obj
[0] = args
;
39596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39597 if (!SWIG_IsOK(res1
)) {
39598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39600 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39603 result
= (bool)(arg1
)->EndContextHelp();
39604 wxPyEndAllowThreads(__tstate
);
39605 if (PyErr_Occurred()) SWIG_fail
;
39608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39616 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39619 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39620 return SWIG_Py_Void();
39623 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39624 return SWIG_Python_InitShadowInstance(args
);
39627 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39628 PyObject
*resultobj
= 0;
39629 wxWindow
*arg1
= (wxWindow
*) 0 ;
39630 int arg2
= (int) wxID_CONTEXT_HELP
;
39631 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39632 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39633 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39634 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39635 long arg5
= (long) wxBU_AUTODRAW
;
39636 wxContextHelpButton
*result
= 0 ;
39645 PyObject
* obj0
= 0 ;
39646 PyObject
* obj1
= 0 ;
39647 PyObject
* obj2
= 0 ;
39648 PyObject
* obj3
= 0 ;
39649 PyObject
* obj4
= 0 ;
39650 char * kwnames
[] = {
39651 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39656 if (!SWIG_IsOK(res1
)) {
39657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39659 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39662 if (!SWIG_IsOK(ecode2
)) {
39663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39665 arg2
= static_cast< int >(val2
);
39670 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39676 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39680 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39681 if (!SWIG_IsOK(ecode5
)) {
39682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39684 arg5
= static_cast< long >(val5
);
39687 if (!wxPyCheckForApp()) SWIG_fail
;
39688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39689 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39690 wxPyEndAllowThreads(__tstate
);
39691 if (PyErr_Occurred()) SWIG_fail
;
39693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39700 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39703 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39704 return SWIG_Py_Void();
39707 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39708 return SWIG_Python_InitShadowInstance(args
);
39711 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39712 PyObject
*resultobj
= 0;
39713 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39716 PyObject
*swig_obj
[1] ;
39718 if (!args
) SWIG_fail
;
39719 swig_obj
[0] = args
;
39720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39721 if (!SWIG_IsOK(res1
)) {
39722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39724 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39729 wxPyEndAllowThreads(__tstate
);
39730 if (PyErr_Occurred()) SWIG_fail
;
39732 resultobj
= SWIG_Py_Void();
39739 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39740 PyObject
*resultobj
= 0;
39741 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39742 wxHelpProvider
*result
= 0 ;
39744 PyObject
* obj0
= 0 ;
39745 char * kwnames
[] = {
39746 (char *) "helpProvider", NULL
39749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39750 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39751 if (!SWIG_IsOK(res1
)) {
39752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39756 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39757 wxPyEndAllowThreads(__tstate
);
39758 if (PyErr_Occurred()) SWIG_fail
;
39760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39767 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39768 PyObject
*resultobj
= 0;
39769 wxHelpProvider
*result
= 0 ;
39771 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39774 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39775 wxPyEndAllowThreads(__tstate
);
39776 if (PyErr_Occurred()) SWIG_fail
;
39778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39785 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39786 PyObject
*resultobj
= 0;
39787 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39788 wxWindow
*arg2
= (wxWindow
*) 0 ;
39794 PyObject
* obj0
= 0 ;
39795 PyObject
* obj1
= 0 ;
39796 char * kwnames
[] = {
39797 (char *) "self",(char *) "window", NULL
39800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39802 if (!SWIG_IsOK(res1
)) {
39803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39805 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39807 if (!SWIG_IsOK(res2
)) {
39808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39810 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39813 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39814 wxPyEndAllowThreads(__tstate
);
39815 if (PyErr_Occurred()) SWIG_fail
;
39819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39830 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39831 PyObject
*resultobj
= 0;
39832 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39833 wxWindow
*arg2
= (wxWindow
*) 0 ;
39839 PyObject
* obj0
= 0 ;
39840 PyObject
* obj1
= 0 ;
39841 char * kwnames
[] = {
39842 (char *) "self",(char *) "window", NULL
39845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39847 if (!SWIG_IsOK(res1
)) {
39848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39850 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39852 if (!SWIG_IsOK(res2
)) {
39853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39855 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39858 result
= (bool)(arg1
)->ShowHelp(arg2
);
39859 wxPyEndAllowThreads(__tstate
);
39860 if (PyErr_Occurred()) SWIG_fail
;
39863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39871 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39872 PyObject
*resultobj
= 0;
39873 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39874 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39875 wxPoint
*arg3
= 0 ;
39876 wxHelpEvent::Origin arg4
;
39885 PyObject
* obj0
= 0 ;
39886 PyObject
* obj1
= 0 ;
39887 PyObject
* obj2
= 0 ;
39888 PyObject
* obj3
= 0 ;
39889 char * kwnames
[] = {
39890 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39895 if (!SWIG_IsOK(res1
)) {
39896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39898 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39899 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39900 if (!SWIG_IsOK(res2
)) {
39901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39903 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39906 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39909 if (!SWIG_IsOK(ecode4
)) {
39910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39912 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39915 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39916 wxPyEndAllowThreads(__tstate
);
39917 if (PyErr_Occurred()) SWIG_fail
;
39920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39928 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39929 PyObject
*resultobj
= 0;
39930 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39931 wxWindow
*arg2
= (wxWindow
*) 0 ;
39932 wxString
*arg3
= 0 ;
39937 bool temp3
= false ;
39938 PyObject
* obj0
= 0 ;
39939 PyObject
* obj1
= 0 ;
39940 PyObject
* obj2
= 0 ;
39941 char * kwnames
[] = {
39942 (char *) "self",(char *) "window",(char *) "text", NULL
39945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39947 if (!SWIG_IsOK(res1
)) {
39948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39950 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39952 if (!SWIG_IsOK(res2
)) {
39953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39955 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39957 arg3
= wxString_in_helper(obj2
);
39958 if (arg3
== NULL
) SWIG_fail
;
39962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39963 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39964 wxPyEndAllowThreads(__tstate
);
39965 if (PyErr_Occurred()) SWIG_fail
;
39967 resultobj
= SWIG_Py_Void();
39982 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39983 PyObject
*resultobj
= 0;
39984 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39986 wxString
*arg3
= 0 ;
39991 bool temp3
= false ;
39992 PyObject
* obj0
= 0 ;
39993 PyObject
* obj1
= 0 ;
39994 PyObject
* obj2
= 0 ;
39995 char * kwnames
[] = {
39996 (char *) "self",(char *) "id",(char *) "text", NULL
39999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40001 if (!SWIG_IsOK(res1
)) {
40002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40004 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40006 if (!SWIG_IsOK(ecode2
)) {
40007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40009 arg2
= static_cast< int >(val2
);
40011 arg3
= wxString_in_helper(obj2
);
40012 if (arg3
== NULL
) SWIG_fail
;
40016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40017 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40018 wxPyEndAllowThreads(__tstate
);
40019 if (PyErr_Occurred()) SWIG_fail
;
40021 resultobj
= SWIG_Py_Void();
40036 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40037 PyObject
*resultobj
= 0;
40038 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40039 wxWindow
*arg2
= (wxWindow
*) 0 ;
40044 PyObject
* obj0
= 0 ;
40045 PyObject
* obj1
= 0 ;
40046 char * kwnames
[] = {
40047 (char *) "self",(char *) "window", NULL
40050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40052 if (!SWIG_IsOK(res1
)) {
40053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40055 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40056 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40057 if (!SWIG_IsOK(res2
)) {
40058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40060 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40063 (arg1
)->RemoveHelp(arg2
);
40064 wxPyEndAllowThreads(__tstate
);
40065 if (PyErr_Occurred()) SWIG_fail
;
40067 resultobj
= SWIG_Py_Void();
40074 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40075 PyObject
*resultobj
= 0;
40076 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40079 PyObject
*swig_obj
[1] ;
40081 if (!args
) SWIG_fail
;
40082 swig_obj
[0] = args
;
40083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40084 if (!SWIG_IsOK(res1
)) {
40085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40087 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40090 wxHelpProvider_Destroy(arg1
);
40091 wxPyEndAllowThreads(__tstate
);
40092 if (PyErr_Occurred()) SWIG_fail
;
40094 resultobj
= SWIG_Py_Void();
40101 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40104 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40105 return SWIG_Py_Void();
40108 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40109 PyObject
*resultobj
= 0;
40110 wxSimpleHelpProvider
*result
= 0 ;
40112 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40115 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40116 wxPyEndAllowThreads(__tstate
);
40117 if (PyErr_Occurred()) SWIG_fail
;
40119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40126 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40129 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40130 return SWIG_Py_Void();
40133 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40134 return SWIG_Python_InitShadowInstance(args
);
40137 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40138 PyObject
*resultobj
= 0;
40139 wxBitmap
*arg1
= 0 ;
40140 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40141 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40142 wxGenericDragImage
*result
= 0 ;
40147 PyObject
* obj0
= 0 ;
40148 PyObject
* obj1
= 0 ;
40149 char * kwnames
[] = {
40150 (char *) "image",(char *) "cursor", NULL
40153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40154 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40155 if (!SWIG_IsOK(res1
)) {
40156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40161 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40164 if (!SWIG_IsOK(res2
)) {
40165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40170 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40173 if (!wxPyCheckForApp()) SWIG_fail
;
40174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40175 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40176 wxPyEndAllowThreads(__tstate
);
40177 if (PyErr_Occurred()) SWIG_fail
;
40179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40186 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40187 PyObject
*resultobj
= 0;
40189 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40190 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40191 wxGenericDragImage
*result
= 0 ;
40196 PyObject
* obj0
= 0 ;
40197 PyObject
* obj1
= 0 ;
40198 char * kwnames
[] = {
40199 (char *) "image",(char *) "cursor", NULL
40202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40203 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40204 if (!SWIG_IsOK(res1
)) {
40205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40210 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40213 if (!SWIG_IsOK(res2
)) {
40214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40219 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40222 if (!wxPyCheckForApp()) SWIG_fail
;
40223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40224 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40225 wxPyEndAllowThreads(__tstate
);
40226 if (PyErr_Occurred()) SWIG_fail
;
40228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40235 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40236 PyObject
*resultobj
= 0;
40237 wxString
*arg1
= 0 ;
40238 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40239 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40240 wxGenericDragImage
*result
= 0 ;
40241 bool temp1
= false ;
40244 PyObject
* obj0
= 0 ;
40245 PyObject
* obj1
= 0 ;
40246 char * kwnames
[] = {
40247 (char *) "str",(char *) "cursor", NULL
40250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40252 arg1
= wxString_in_helper(obj0
);
40253 if (arg1
== NULL
) SWIG_fail
;
40257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40258 if (!SWIG_IsOK(res2
)) {
40259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40264 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40267 if (!wxPyCheckForApp()) SWIG_fail
;
40268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40269 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40270 wxPyEndAllowThreads(__tstate
);
40271 if (PyErr_Occurred()) SWIG_fail
;
40273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40288 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40289 PyObject
*resultobj
= 0;
40290 wxPyTreeCtrl
*arg1
= 0 ;
40291 wxTreeItemId
*arg2
= 0 ;
40292 wxGenericDragImage
*result
= 0 ;
40297 PyObject
* obj0
= 0 ;
40298 PyObject
* obj1
= 0 ;
40299 char * kwnames
[] = {
40300 (char *) "treeCtrl",(char *) "id", NULL
40303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40304 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40305 if (!SWIG_IsOK(res1
)) {
40306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40311 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40313 if (!SWIG_IsOK(res2
)) {
40314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40319 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40321 if (!wxPyCheckForApp()) SWIG_fail
;
40322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40323 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40324 wxPyEndAllowThreads(__tstate
);
40325 if (PyErr_Occurred()) SWIG_fail
;
40327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40334 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40335 PyObject
*resultobj
= 0;
40336 wxPyListCtrl
*arg1
= 0 ;
40338 wxGenericDragImage
*result
= 0 ;
40343 PyObject
* obj0
= 0 ;
40344 PyObject
* obj1
= 0 ;
40345 char * kwnames
[] = {
40346 (char *) "listCtrl",(char *) "id", NULL
40349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40350 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40351 if (!SWIG_IsOK(res1
)) {
40352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40357 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40358 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40359 if (!SWIG_IsOK(ecode2
)) {
40360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40362 arg2
= static_cast< long >(val2
);
40364 if (!wxPyCheckForApp()) SWIG_fail
;
40365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40366 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40367 wxPyEndAllowThreads(__tstate
);
40368 if (PyErr_Occurred()) SWIG_fail
;
40370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40377 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40378 PyObject
*resultobj
= 0;
40379 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40382 PyObject
*swig_obj
[1] ;
40384 if (!args
) SWIG_fail
;
40385 swig_obj
[0] = args
;
40386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40387 if (!SWIG_IsOK(res1
)) {
40388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40390 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40395 wxPyEndAllowThreads(__tstate
);
40396 if (PyErr_Occurred()) SWIG_fail
;
40398 resultobj
= SWIG_Py_Void();
40405 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40406 PyObject
*resultobj
= 0;
40407 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40408 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40413 PyObject
* obj0
= 0 ;
40414 PyObject
* obj1
= 0 ;
40415 char * kwnames
[] = {
40416 (char *) "self",(char *) "bitmap", NULL
40419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40421 if (!SWIG_IsOK(res1
)) {
40422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40424 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40426 if (!SWIG_IsOK(res2
)) {
40427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40429 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40432 (arg1
)->SetBackingBitmap(arg2
);
40433 wxPyEndAllowThreads(__tstate
);
40434 if (PyErr_Occurred()) SWIG_fail
;
40436 resultobj
= SWIG_Py_Void();
40443 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40444 PyObject
*resultobj
= 0;
40445 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40446 wxPoint
*arg2
= 0 ;
40447 wxWindow
*arg3
= (wxWindow
*) 0 ;
40448 bool arg4
= (bool) false ;
40449 wxRect
*arg5
= (wxRect
*) NULL
;
40460 PyObject
* obj0
= 0 ;
40461 PyObject
* obj1
= 0 ;
40462 PyObject
* obj2
= 0 ;
40463 PyObject
* obj3
= 0 ;
40464 PyObject
* obj4
= 0 ;
40465 char * kwnames
[] = {
40466 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40471 if (!SWIG_IsOK(res1
)) {
40472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40474 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40477 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40479 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40480 if (!SWIG_IsOK(res3
)) {
40481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40483 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40485 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40486 if (!SWIG_IsOK(ecode4
)) {
40487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40489 arg4
= static_cast< bool >(val4
);
40492 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40493 if (!SWIG_IsOK(res5
)) {
40494 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40496 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40500 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40501 wxPyEndAllowThreads(__tstate
);
40502 if (PyErr_Occurred()) SWIG_fail
;
40505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40513 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40514 PyObject
*resultobj
= 0;
40515 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40516 wxPoint
*arg2
= 0 ;
40517 wxWindow
*arg3
= (wxWindow
*) 0 ;
40518 wxWindow
*arg4
= (wxWindow
*) 0 ;
40527 PyObject
* obj0
= 0 ;
40528 PyObject
* obj1
= 0 ;
40529 PyObject
* obj2
= 0 ;
40530 PyObject
* obj3
= 0 ;
40531 char * kwnames
[] = {
40532 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40537 if (!SWIG_IsOK(res1
)) {
40538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40540 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40545 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40546 if (!SWIG_IsOK(res3
)) {
40547 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40549 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40550 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40551 if (!SWIG_IsOK(res4
)) {
40552 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40554 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40557 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40558 wxPyEndAllowThreads(__tstate
);
40559 if (PyErr_Occurred()) SWIG_fail
;
40562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40570 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40571 PyObject
*resultobj
= 0;
40572 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40576 PyObject
*swig_obj
[1] ;
40578 if (!args
) SWIG_fail
;
40579 swig_obj
[0] = args
;
40580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40581 if (!SWIG_IsOK(res1
)) {
40582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40584 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40587 result
= (bool)(arg1
)->EndDrag();
40588 wxPyEndAllowThreads(__tstate
);
40589 if (PyErr_Occurred()) SWIG_fail
;
40592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40600 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40601 PyObject
*resultobj
= 0;
40602 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40603 wxPoint
*arg2
= 0 ;
40608 PyObject
* obj0
= 0 ;
40609 PyObject
* obj1
= 0 ;
40610 char * kwnames
[] = {
40611 (char *) "self",(char *) "pt", NULL
40614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40616 if (!SWIG_IsOK(res1
)) {
40617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40619 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40626 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40627 wxPyEndAllowThreads(__tstate
);
40628 if (PyErr_Occurred()) SWIG_fail
;
40631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40639 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40640 PyObject
*resultobj
= 0;
40641 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40645 PyObject
*swig_obj
[1] ;
40647 if (!args
) SWIG_fail
;
40648 swig_obj
[0] = args
;
40649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40650 if (!SWIG_IsOK(res1
)) {
40651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40653 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40656 result
= (bool)(arg1
)->Show();
40657 wxPyEndAllowThreads(__tstate
);
40658 if (PyErr_Occurred()) SWIG_fail
;
40661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40669 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40670 PyObject
*resultobj
= 0;
40671 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40675 PyObject
*swig_obj
[1] ;
40677 if (!args
) SWIG_fail
;
40678 swig_obj
[0] = args
;
40679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40680 if (!SWIG_IsOK(res1
)) {
40681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40683 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40686 result
= (bool)(arg1
)->Hide();
40687 wxPyEndAllowThreads(__tstate
);
40688 if (PyErr_Occurred()) SWIG_fail
;
40691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40699 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40700 PyObject
*resultobj
= 0;
40701 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40702 wxPoint
*arg2
= 0 ;
40707 PyObject
* obj0
= 0 ;
40708 PyObject
* obj1
= 0 ;
40709 char * kwnames
[] = {
40710 (char *) "self",(char *) "pos", NULL
40713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40715 if (!SWIG_IsOK(res1
)) {
40716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40718 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40725 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40726 wxPyEndAllowThreads(__tstate
);
40727 if (PyErr_Occurred()) SWIG_fail
;
40729 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40736 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40737 PyObject
*resultobj
= 0;
40738 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40740 wxPoint
*arg3
= 0 ;
40747 PyObject
* obj0
= 0 ;
40748 PyObject
* obj1
= 0 ;
40749 PyObject
* obj2
= 0 ;
40750 char * kwnames
[] = {
40751 (char *) "self",(char *) "dc",(char *) "pos", NULL
40754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40756 if (!SWIG_IsOK(res1
)) {
40757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40759 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40761 if (!SWIG_IsOK(res2
)) {
40762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40767 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40770 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40774 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40775 wxPyEndAllowThreads(__tstate
);
40776 if (PyErr_Occurred()) SWIG_fail
;
40779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40787 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40788 PyObject
*resultobj
= 0;
40789 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40791 wxMemoryDC
*arg3
= 0 ;
40803 PyObject
* obj0
= 0 ;
40804 PyObject
* obj1
= 0 ;
40805 PyObject
* obj2
= 0 ;
40806 PyObject
* obj3
= 0 ;
40807 PyObject
* obj4
= 0 ;
40808 char * kwnames
[] = {
40809 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40814 if (!SWIG_IsOK(res1
)) {
40815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40817 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40818 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40819 if (!SWIG_IsOK(res2
)) {
40820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40825 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40826 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40827 if (!SWIG_IsOK(res3
)) {
40828 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40833 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40836 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40840 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40844 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40845 wxPyEndAllowThreads(__tstate
);
40846 if (PyErr_Occurred()) SWIG_fail
;
40849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40857 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40858 PyObject
*resultobj
= 0;
40859 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40860 wxPoint
*arg2
= 0 ;
40861 wxPoint
*arg3
= 0 ;
40873 PyObject
* obj0
= 0 ;
40874 PyObject
* obj1
= 0 ;
40875 PyObject
* obj2
= 0 ;
40876 PyObject
* obj3
= 0 ;
40877 PyObject
* obj4
= 0 ;
40878 char * kwnames
[] = {
40879 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40884 if (!SWIG_IsOK(res1
)) {
40885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40887 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40890 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40894 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40896 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40897 if (!SWIG_IsOK(ecode4
)) {
40898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40900 arg4
= static_cast< bool >(val4
);
40901 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40902 if (!SWIG_IsOK(ecode5
)) {
40903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40905 arg5
= static_cast< bool >(val5
);
40907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40908 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40909 wxPyEndAllowThreads(__tstate
);
40910 if (PyErr_Occurred()) SWIG_fail
;
40913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40921 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40924 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40925 return SWIG_Py_Void();
40928 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40929 return SWIG_Python_InitShadowInstance(args
);
40932 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40933 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40938 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40939 PyObject
*pyobj
= 0;
40943 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40945 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40952 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40953 PyObject
*resultobj
= 0;
40954 wxWindow
*arg1
= (wxWindow
*) 0 ;
40955 int arg2
= (int) -1 ;
40956 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40957 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40958 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40959 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40960 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40961 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40962 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40963 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40964 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40965 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40966 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40967 wxDatePickerCtrl
*result
= 0 ;
40980 bool temp8
= false ;
40981 PyObject
* obj0
= 0 ;
40982 PyObject
* obj1
= 0 ;
40983 PyObject
* obj2
= 0 ;
40984 PyObject
* obj3
= 0 ;
40985 PyObject
* obj4
= 0 ;
40986 PyObject
* obj5
= 0 ;
40987 PyObject
* obj6
= 0 ;
40988 PyObject
* obj7
= 0 ;
40989 char * kwnames
[] = {
40990 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40995 if (!SWIG_IsOK(res1
)) {
40996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40998 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41001 if (!SWIG_IsOK(ecode2
)) {
41002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41004 arg2
= static_cast< int >(val2
);
41007 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41008 if (!SWIG_IsOK(res3
)) {
41009 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41014 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41025 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41029 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41030 if (!SWIG_IsOK(ecode6
)) {
41031 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41033 arg6
= static_cast< long >(val6
);
41036 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41037 if (!SWIG_IsOK(res7
)) {
41038 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41043 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41047 arg8
= wxString_in_helper(obj7
);
41048 if (arg8
== NULL
) SWIG_fail
;
41053 if (!wxPyCheckForApp()) SWIG_fail
;
41054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41055 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41056 wxPyEndAllowThreads(__tstate
);
41057 if (PyErr_Occurred()) SWIG_fail
;
41059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41074 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41075 PyObject
*resultobj
= 0;
41076 wxDatePickerCtrl
*result
= 0 ;
41078 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41080 if (!wxPyCheckForApp()) SWIG_fail
;
41081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41082 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41083 wxPyEndAllowThreads(__tstate
);
41084 if (PyErr_Occurred()) SWIG_fail
;
41086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41093 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41094 PyObject
*resultobj
= 0;
41095 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41096 wxWindow
*arg2
= (wxWindow
*) 0 ;
41097 int arg3
= (int) -1 ;
41098 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41099 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41100 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41101 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41102 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41103 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41104 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41105 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41106 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41107 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41108 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41124 bool temp9
= false ;
41125 PyObject
* obj0
= 0 ;
41126 PyObject
* obj1
= 0 ;
41127 PyObject
* obj2
= 0 ;
41128 PyObject
* obj3
= 0 ;
41129 PyObject
* obj4
= 0 ;
41130 PyObject
* obj5
= 0 ;
41131 PyObject
* obj6
= 0 ;
41132 PyObject
* obj7
= 0 ;
41133 PyObject
* obj8
= 0 ;
41134 char * kwnames
[] = {
41135 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41140 if (!SWIG_IsOK(res1
)) {
41141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41143 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41145 if (!SWIG_IsOK(res2
)) {
41146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41148 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41151 if (!SWIG_IsOK(ecode3
)) {
41152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41154 arg3
= static_cast< int >(val3
);
41157 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41158 if (!SWIG_IsOK(res4
)) {
41159 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41164 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41169 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41175 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41179 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41180 if (!SWIG_IsOK(ecode7
)) {
41181 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41183 arg7
= static_cast< long >(val7
);
41186 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41187 if (!SWIG_IsOK(res8
)) {
41188 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41193 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41197 arg9
= wxString_in_helper(obj8
);
41198 if (arg9
== NULL
) SWIG_fail
;
41203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41205 wxPyEndAllowThreads(__tstate
);
41206 if (PyErr_Occurred()) SWIG_fail
;
41209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41225 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41226 PyObject
*resultobj
= 0;
41227 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41228 wxDateTime
*arg2
= 0 ;
41233 PyObject
* obj0
= 0 ;
41234 PyObject
* obj1
= 0 ;
41235 char * kwnames
[] = {
41236 (char *) "self",(char *) "dt", NULL
41239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41241 if (!SWIG_IsOK(res1
)) {
41242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41244 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41246 if (!SWIG_IsOK(res2
)) {
41247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41252 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41255 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41256 wxPyEndAllowThreads(__tstate
);
41257 if (PyErr_Occurred()) SWIG_fail
;
41259 resultobj
= SWIG_Py_Void();
41266 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41267 PyObject
*resultobj
= 0;
41268 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41272 PyObject
*swig_obj
[1] ;
41274 if (!args
) SWIG_fail
;
41275 swig_obj
[0] = args
;
41276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41277 if (!SWIG_IsOK(res1
)) {
41278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41280 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41283 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41284 wxPyEndAllowThreads(__tstate
);
41285 if (PyErr_Occurred()) SWIG_fail
;
41287 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41294 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41295 PyObject
*resultobj
= 0;
41296 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41297 wxDateTime
*arg2
= 0 ;
41298 wxDateTime
*arg3
= 0 ;
41305 PyObject
* obj0
= 0 ;
41306 PyObject
* obj1
= 0 ;
41307 PyObject
* obj2
= 0 ;
41308 char * kwnames
[] = {
41309 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41314 if (!SWIG_IsOK(res1
)) {
41315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41317 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41319 if (!SWIG_IsOK(res2
)) {
41320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41325 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41326 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41327 if (!SWIG_IsOK(res3
)) {
41328 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41333 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41336 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41337 wxPyEndAllowThreads(__tstate
);
41338 if (PyErr_Occurred()) SWIG_fail
;
41340 resultobj
= SWIG_Py_Void();
41347 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41348 PyObject
*resultobj
= 0;
41349 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41353 PyObject
*swig_obj
[1] ;
41355 if (!args
) SWIG_fail
;
41356 swig_obj
[0] = args
;
41357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41358 if (!SWIG_IsOK(res1
)) {
41359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41361 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41364 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41365 wxPyEndAllowThreads(__tstate
);
41366 if (PyErr_Occurred()) SWIG_fail
;
41368 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41375 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41376 PyObject
*resultobj
= 0;
41377 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41381 PyObject
*swig_obj
[1] ;
41383 if (!args
) SWIG_fail
;
41384 swig_obj
[0] = args
;
41385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41386 if (!SWIG_IsOK(res1
)) {
41387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41389 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41392 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41393 wxPyEndAllowThreads(__tstate
);
41394 if (PyErr_Occurred()) SWIG_fail
;
41396 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41403 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41406 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41407 return SWIG_Py_Void();
41410 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41411 return SWIG_Python_InitShadowInstance(args
);
41414 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41415 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41420 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41421 PyObject
*pyobj
= 0;
41425 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41427 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41434 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41435 PyObject
*resultobj
= 0;
41436 wxWindow
*arg1
= (wxWindow
*) 0 ;
41438 wxString
*arg3
= 0 ;
41439 wxString
*arg4
= 0 ;
41440 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41441 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41442 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41443 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41444 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41445 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41446 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41447 wxHyperlinkCtrl
*result
= 0 ;
41452 bool temp3
= false ;
41453 bool temp4
= false ;
41458 bool temp8
= false ;
41459 PyObject
* obj0
= 0 ;
41460 PyObject
* obj1
= 0 ;
41461 PyObject
* obj2
= 0 ;
41462 PyObject
* obj3
= 0 ;
41463 PyObject
* obj4
= 0 ;
41464 PyObject
* obj5
= 0 ;
41465 PyObject
* obj6
= 0 ;
41466 PyObject
* obj7
= 0 ;
41467 char * kwnames
[] = {
41468 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41473 if (!SWIG_IsOK(res1
)) {
41474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41478 if (!SWIG_IsOK(ecode2
)) {
41479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41481 arg2
= static_cast< int >(val2
);
41483 arg3
= wxString_in_helper(obj2
);
41484 if (arg3
== NULL
) SWIG_fail
;
41488 arg4
= wxString_in_helper(obj3
);
41489 if (arg4
== NULL
) SWIG_fail
;
41495 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41501 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41505 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41506 if (!SWIG_IsOK(ecode7
)) {
41507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41509 arg7
= static_cast< long >(val7
);
41513 arg8
= wxString_in_helper(obj7
);
41514 if (arg8
== NULL
) SWIG_fail
;
41519 if (!wxPyCheckForApp()) SWIG_fail
;
41520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41521 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41522 wxPyEndAllowThreads(__tstate
);
41523 if (PyErr_Occurred()) SWIG_fail
;
41525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41556 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41557 PyObject
*resultobj
= 0;
41558 wxHyperlinkCtrl
*result
= 0 ;
41560 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41562 if (!wxPyCheckForApp()) SWIG_fail
;
41563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41564 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41565 wxPyEndAllowThreads(__tstate
);
41566 if (PyErr_Occurred()) SWIG_fail
;
41568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41575 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41576 PyObject
*resultobj
= 0;
41577 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41578 wxWindow
*arg2
= (wxWindow
*) 0 ;
41580 wxString
*arg4
= 0 ;
41581 wxString
*arg5
= 0 ;
41582 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41583 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41584 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41585 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41586 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41587 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41588 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41596 bool temp4
= false ;
41597 bool temp5
= false ;
41602 bool temp9
= false ;
41603 PyObject
* obj0
= 0 ;
41604 PyObject
* obj1
= 0 ;
41605 PyObject
* obj2
= 0 ;
41606 PyObject
* obj3
= 0 ;
41607 PyObject
* obj4
= 0 ;
41608 PyObject
* obj5
= 0 ;
41609 PyObject
* obj6
= 0 ;
41610 PyObject
* obj7
= 0 ;
41611 PyObject
* obj8
= 0 ;
41612 char * kwnames
[] = {
41613 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41618 if (!SWIG_IsOK(res1
)) {
41619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41621 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41623 if (!SWIG_IsOK(res2
)) {
41624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41626 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41628 if (!SWIG_IsOK(ecode3
)) {
41629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41631 arg3
= static_cast< int >(val3
);
41633 arg4
= wxString_in_helper(obj3
);
41634 if (arg4
== NULL
) SWIG_fail
;
41638 arg5
= wxString_in_helper(obj4
);
41639 if (arg5
== NULL
) SWIG_fail
;
41645 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41651 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41655 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41656 if (!SWIG_IsOK(ecode8
)) {
41657 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41659 arg8
= static_cast< long >(val8
);
41663 arg9
= wxString_in_helper(obj8
);
41664 if (arg9
== NULL
) SWIG_fail
;
41669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41671 wxPyEndAllowThreads(__tstate
);
41672 if (PyErr_Occurred()) SWIG_fail
;
41675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41707 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41708 PyObject
*resultobj
= 0;
41709 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41713 PyObject
*swig_obj
[1] ;
41715 if (!args
) SWIG_fail
;
41716 swig_obj
[0] = args
;
41717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41718 if (!SWIG_IsOK(res1
)) {
41719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41721 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41724 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41725 wxPyEndAllowThreads(__tstate
);
41726 if (PyErr_Occurred()) SWIG_fail
;
41728 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41735 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41736 PyObject
*resultobj
= 0;
41737 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41738 wxColour
*arg2
= 0 ;
41742 PyObject
* obj0
= 0 ;
41743 PyObject
* obj1
= 0 ;
41744 char * kwnames
[] = {
41745 (char *) "self",(char *) "colour", NULL
41748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41750 if (!SWIG_IsOK(res1
)) {
41751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41753 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41756 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41760 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41761 wxPyEndAllowThreads(__tstate
);
41762 if (PyErr_Occurred()) SWIG_fail
;
41764 resultobj
= SWIG_Py_Void();
41771 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41772 PyObject
*resultobj
= 0;
41773 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41777 PyObject
*swig_obj
[1] ;
41779 if (!args
) SWIG_fail
;
41780 swig_obj
[0] = args
;
41781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41782 if (!SWIG_IsOK(res1
)) {
41783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41785 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41788 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41789 wxPyEndAllowThreads(__tstate
);
41790 if (PyErr_Occurred()) SWIG_fail
;
41792 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41799 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41800 PyObject
*resultobj
= 0;
41801 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41802 wxColour
*arg2
= 0 ;
41806 PyObject
* obj0
= 0 ;
41807 PyObject
* obj1
= 0 ;
41808 char * kwnames
[] = {
41809 (char *) "self",(char *) "colour", NULL
41812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41814 if (!SWIG_IsOK(res1
)) {
41815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41817 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41824 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41825 wxPyEndAllowThreads(__tstate
);
41826 if (PyErr_Occurred()) SWIG_fail
;
41828 resultobj
= SWIG_Py_Void();
41835 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41836 PyObject
*resultobj
= 0;
41837 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41841 PyObject
*swig_obj
[1] ;
41843 if (!args
) SWIG_fail
;
41844 swig_obj
[0] = args
;
41845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41846 if (!SWIG_IsOK(res1
)) {
41847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41849 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41852 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41853 wxPyEndAllowThreads(__tstate
);
41854 if (PyErr_Occurred()) SWIG_fail
;
41856 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41863 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41864 PyObject
*resultobj
= 0;
41865 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41866 wxColour
*arg2
= 0 ;
41870 PyObject
* obj0
= 0 ;
41871 PyObject
* obj1
= 0 ;
41872 char * kwnames
[] = {
41873 (char *) "self",(char *) "colour", NULL
41876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41878 if (!SWIG_IsOK(res1
)) {
41879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41881 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41884 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41888 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41889 wxPyEndAllowThreads(__tstate
);
41890 if (PyErr_Occurred()) SWIG_fail
;
41892 resultobj
= SWIG_Py_Void();
41899 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41900 PyObject
*resultobj
= 0;
41901 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41905 PyObject
*swig_obj
[1] ;
41907 if (!args
) SWIG_fail
;
41908 swig_obj
[0] = args
;
41909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41910 if (!SWIG_IsOK(res1
)) {
41911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41913 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41916 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41917 wxPyEndAllowThreads(__tstate
);
41918 if (PyErr_Occurred()) SWIG_fail
;
41922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41933 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41934 PyObject
*resultobj
= 0;
41935 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41936 wxString
*arg2
= 0 ;
41939 bool temp2
= false ;
41940 PyObject
* obj0
= 0 ;
41941 PyObject
* obj1
= 0 ;
41942 char * kwnames
[] = {
41943 (char *) "self",(char *) "url", NULL
41946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41948 if (!SWIG_IsOK(res1
)) {
41949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41951 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41953 arg2
= wxString_in_helper(obj1
);
41954 if (arg2
== NULL
) SWIG_fail
;
41958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41959 (arg1
)->SetURL((wxString
const &)*arg2
);
41960 wxPyEndAllowThreads(__tstate
);
41961 if (PyErr_Occurred()) SWIG_fail
;
41963 resultobj
= SWIG_Py_Void();
41978 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41979 PyObject
*resultobj
= 0;
41980 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41981 bool arg2
= (bool) true ;
41986 PyObject
* obj0
= 0 ;
41987 PyObject
* obj1
= 0 ;
41988 char * kwnames
[] = {
41989 (char *) "self",(char *) "visited", NULL
41992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41994 if (!SWIG_IsOK(res1
)) {
41995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41997 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41999 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42000 if (!SWIG_IsOK(ecode2
)) {
42001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42003 arg2
= static_cast< bool >(val2
);
42006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42007 (arg1
)->SetVisited(arg2
);
42008 wxPyEndAllowThreads(__tstate
);
42009 if (PyErr_Occurred()) SWIG_fail
;
42011 resultobj
= SWIG_Py_Void();
42018 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42019 PyObject
*resultobj
= 0;
42020 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42024 PyObject
*swig_obj
[1] ;
42026 if (!args
) SWIG_fail
;
42027 swig_obj
[0] = args
;
42028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42029 if (!SWIG_IsOK(res1
)) {
42030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42032 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42035 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42036 wxPyEndAllowThreads(__tstate
);
42037 if (PyErr_Occurred()) SWIG_fail
;
42040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42048 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42051 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42052 return SWIG_Py_Void();
42055 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42056 return SWIG_Python_InitShadowInstance(args
);
42059 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42060 PyObject
*resultobj
= 0;
42061 wxObject
*arg1
= (wxObject
*) 0 ;
42063 wxString
*arg3
= 0 ;
42064 wxHyperlinkEvent
*result
= 0 ;
42069 bool temp3
= false ;
42070 PyObject
* obj0
= 0 ;
42071 PyObject
* obj1
= 0 ;
42072 PyObject
* obj2
= 0 ;
42073 char * kwnames
[] = {
42074 (char *) "generator",(char *) "id",(char *) "url", NULL
42077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42079 if (!SWIG_IsOK(res1
)) {
42080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42082 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42084 if (!SWIG_IsOK(ecode2
)) {
42085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42087 arg2
= static_cast< int >(val2
);
42089 arg3
= wxString_in_helper(obj2
);
42090 if (arg3
== NULL
) SWIG_fail
;
42094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42095 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42096 wxPyEndAllowThreads(__tstate
);
42097 if (PyErr_Occurred()) SWIG_fail
;
42099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42114 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42115 PyObject
*resultobj
= 0;
42116 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42120 PyObject
*swig_obj
[1] ;
42122 if (!args
) SWIG_fail
;
42123 swig_obj
[0] = args
;
42124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42125 if (!SWIG_IsOK(res1
)) {
42126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42128 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42131 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42132 wxPyEndAllowThreads(__tstate
);
42133 if (PyErr_Occurred()) SWIG_fail
;
42137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42148 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42149 PyObject
*resultobj
= 0;
42150 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42151 wxString
*arg2
= 0 ;
42154 bool temp2
= false ;
42155 PyObject
* obj0
= 0 ;
42156 PyObject
* obj1
= 0 ;
42157 char * kwnames
[] = {
42158 (char *) "self",(char *) "url", NULL
42161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42163 if (!SWIG_IsOK(res1
)) {
42164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42166 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42168 arg2
= wxString_in_helper(obj1
);
42169 if (arg2
== NULL
) SWIG_fail
;
42173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42174 (arg1
)->SetURL((wxString
const &)*arg2
);
42175 wxPyEndAllowThreads(__tstate
);
42176 if (PyErr_Occurred()) SWIG_fail
;
42178 resultobj
= SWIG_Py_Void();
42193 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42196 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42197 return SWIG_Py_Void();
42200 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42201 return SWIG_Python_InitShadowInstance(args
);
42204 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42205 PyObject
*resultobj
= 0;
42206 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42207 wxWindow
*arg2
= (wxWindow
*) 0 ;
42209 wxString
const &arg4_defvalue
= wxEmptyString
;
42210 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42211 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42212 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42213 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42214 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42215 long arg7
= (long) 0 ;
42216 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42217 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42218 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42219 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42227 bool temp4
= false ;
42234 bool temp9
= false ;
42235 PyObject
* obj0
= 0 ;
42236 PyObject
* obj1
= 0 ;
42237 PyObject
* obj2
= 0 ;
42238 PyObject
* obj3
= 0 ;
42239 PyObject
* obj4
= 0 ;
42240 PyObject
* obj5
= 0 ;
42241 PyObject
* obj6
= 0 ;
42242 PyObject
* obj7
= 0 ;
42243 PyObject
* obj8
= 0 ;
42244 char * kwnames
[] = {
42245 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42250 if (!SWIG_IsOK(res1
)) {
42251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42253 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42255 if (!SWIG_IsOK(res2
)) {
42256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42258 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42260 if (!SWIG_IsOK(ecode3
)) {
42261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42263 arg3
= static_cast< int >(val3
);
42266 arg4
= wxString_in_helper(obj3
);
42267 if (arg4
== NULL
) SWIG_fail
;
42274 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42280 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42284 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42285 if (!SWIG_IsOK(ecode7
)) {
42286 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42288 arg7
= static_cast< long >(val7
);
42291 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42292 if (!SWIG_IsOK(res8
)) {
42293 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42298 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42302 arg9
= wxString_in_helper(obj8
);
42303 if (arg9
== NULL
) SWIG_fail
;
42308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42309 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42310 wxPyEndAllowThreads(__tstate
);
42311 if (PyErr_Occurred()) SWIG_fail
;
42314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42338 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42339 PyObject
*resultobj
= 0;
42340 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42346 PyObject
* obj0
= 0 ;
42347 PyObject
* obj1
= 0 ;
42348 char * kwnames
[] = {
42349 (char *) "self",(char *) "newmargin", NULL
42352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42354 if (!SWIG_IsOK(res1
)) {
42355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42357 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42359 if (!SWIG_IsOK(ecode2
)) {
42360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42362 arg2
= static_cast< int >(val2
);
42364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42365 (arg1
)->SetInternalMargin(arg2
);
42366 wxPyEndAllowThreads(__tstate
);
42367 if (PyErr_Occurred()) SWIG_fail
;
42369 resultobj
= SWIG_Py_Void();
42376 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42377 PyObject
*resultobj
= 0;
42378 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42382 PyObject
*swig_obj
[1] ;
42384 if (!args
) SWIG_fail
;
42385 swig_obj
[0] = args
;
42386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42387 if (!SWIG_IsOK(res1
)) {
42388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42390 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42393 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42394 wxPyEndAllowThreads(__tstate
);
42395 if (PyErr_Occurred()) SWIG_fail
;
42397 resultobj
= SWIG_From_int(static_cast< int >(result
));
42404 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42405 PyObject
*resultobj
= 0;
42406 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42412 PyObject
* obj0
= 0 ;
42413 PyObject
* obj1
= 0 ;
42414 char * kwnames
[] = {
42415 (char *) "self",(char *) "prop", NULL
42418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42420 if (!SWIG_IsOK(res1
)) {
42421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42423 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42425 if (!SWIG_IsOK(ecode2
)) {
42426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42428 arg2
= static_cast< int >(val2
);
42430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42431 (arg1
)->SetTextCtrlProportion(arg2
);
42432 wxPyEndAllowThreads(__tstate
);
42433 if (PyErr_Occurred()) SWIG_fail
;
42435 resultobj
= SWIG_Py_Void();
42442 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42443 PyObject
*resultobj
= 0;
42444 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42448 PyObject
*swig_obj
[1] ;
42450 if (!args
) SWIG_fail
;
42451 swig_obj
[0] = args
;
42452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42453 if (!SWIG_IsOK(res1
)) {
42454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42456 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42459 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42460 wxPyEndAllowThreads(__tstate
);
42461 if (PyErr_Occurred()) SWIG_fail
;
42463 resultobj
= SWIG_From_int(static_cast< int >(result
));
42470 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42471 PyObject
*resultobj
= 0;
42472 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42478 PyObject
* obj0
= 0 ;
42479 PyObject
* obj1
= 0 ;
42480 char * kwnames
[] = {
42481 (char *) "self",(char *) "prop", NULL
42484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42486 if (!SWIG_IsOK(res1
)) {
42487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42489 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42491 if (!SWIG_IsOK(ecode2
)) {
42492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42494 arg2
= static_cast< int >(val2
);
42496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42497 (arg1
)->SetPickerCtrlProportion(arg2
);
42498 wxPyEndAllowThreads(__tstate
);
42499 if (PyErr_Occurred()) SWIG_fail
;
42501 resultobj
= SWIG_Py_Void();
42508 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42509 PyObject
*resultobj
= 0;
42510 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42514 PyObject
*swig_obj
[1] ;
42516 if (!args
) SWIG_fail
;
42517 swig_obj
[0] = args
;
42518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42519 if (!SWIG_IsOK(res1
)) {
42520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42522 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42525 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42526 wxPyEndAllowThreads(__tstate
);
42527 if (PyErr_Occurred()) SWIG_fail
;
42529 resultobj
= SWIG_From_int(static_cast< int >(result
));
42536 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42537 PyObject
*resultobj
= 0;
42538 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42542 PyObject
*swig_obj
[1] ;
42544 if (!args
) SWIG_fail
;
42545 swig_obj
[0] = args
;
42546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42547 if (!SWIG_IsOK(res1
)) {
42548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42550 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42553 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42554 wxPyEndAllowThreads(__tstate
);
42555 if (PyErr_Occurred()) SWIG_fail
;
42558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42566 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42567 PyObject
*resultobj
= 0;
42568 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42569 bool arg2
= (bool) true ;
42574 PyObject
* obj0
= 0 ;
42575 PyObject
* obj1
= 0 ;
42576 char * kwnames
[] = {
42577 (char *) "self",(char *) "grow", NULL
42580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42582 if (!SWIG_IsOK(res1
)) {
42583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42585 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42587 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42588 if (!SWIG_IsOK(ecode2
)) {
42589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42591 arg2
= static_cast< bool >(val2
);
42594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42595 (arg1
)->SetTextCtrlGrowable(arg2
);
42596 wxPyEndAllowThreads(__tstate
);
42597 if (PyErr_Occurred()) SWIG_fail
;
42599 resultobj
= SWIG_Py_Void();
42606 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42607 PyObject
*resultobj
= 0;
42608 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42612 PyObject
*swig_obj
[1] ;
42614 if (!args
) SWIG_fail
;
42615 swig_obj
[0] = args
;
42616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42617 if (!SWIG_IsOK(res1
)) {
42618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42620 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42623 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42624 wxPyEndAllowThreads(__tstate
);
42625 if (PyErr_Occurred()) SWIG_fail
;
42628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42636 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42637 PyObject
*resultobj
= 0;
42638 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42639 bool arg2
= (bool) true ;
42644 PyObject
* obj0
= 0 ;
42645 PyObject
* obj1
= 0 ;
42646 char * kwnames
[] = {
42647 (char *) "self",(char *) "grow", NULL
42650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42652 if (!SWIG_IsOK(res1
)) {
42653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42655 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42657 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42658 if (!SWIG_IsOK(ecode2
)) {
42659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42661 arg2
= static_cast< bool >(val2
);
42664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42665 (arg1
)->SetPickerCtrlGrowable(arg2
);
42666 wxPyEndAllowThreads(__tstate
);
42667 if (PyErr_Occurred()) SWIG_fail
;
42669 resultobj
= SWIG_Py_Void();
42676 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42677 PyObject
*resultobj
= 0;
42678 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42682 PyObject
*swig_obj
[1] ;
42684 if (!args
) SWIG_fail
;
42685 swig_obj
[0] = args
;
42686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42687 if (!SWIG_IsOK(res1
)) {
42688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42690 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42693 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42694 wxPyEndAllowThreads(__tstate
);
42695 if (PyErr_Occurred()) SWIG_fail
;
42698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42706 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42707 PyObject
*resultobj
= 0;
42708 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42709 wxTextCtrl
*result
= 0 ;
42712 PyObject
*swig_obj
[1] ;
42714 if (!args
) SWIG_fail
;
42715 swig_obj
[0] = args
;
42716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42717 if (!SWIG_IsOK(res1
)) {
42718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42720 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42723 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42724 wxPyEndAllowThreads(__tstate
);
42725 if (PyErr_Occurred()) SWIG_fail
;
42728 resultobj
= wxPyMake_wxObject(result
, 0);
42736 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42737 PyObject
*resultobj
= 0;
42738 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42739 wxControl
*result
= 0 ;
42742 PyObject
*swig_obj
[1] ;
42744 if (!args
) SWIG_fail
;
42745 swig_obj
[0] = args
;
42746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42747 if (!SWIG_IsOK(res1
)) {
42748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42750 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42753 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42754 wxPyEndAllowThreads(__tstate
);
42755 if (PyErr_Occurred()) SWIG_fail
;
42758 resultobj
= wxPyMake_wxObject(result
, 0);
42766 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42769 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42770 return SWIG_Py_Void();
42773 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42774 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42779 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42780 PyObject
*pyobj
= 0;
42784 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42786 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42793 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42794 PyObject
*resultobj
= 0;
42795 wxWindow
*arg1
= (wxWindow
*) 0 ;
42796 int arg2
= (int) -1 ;
42797 wxColour
const &arg3_defvalue
= *wxBLACK
;
42798 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42799 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42800 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42801 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42802 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42803 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42804 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42805 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42806 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42807 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42808 wxColourPickerCtrl
*result
= 0 ;
42820 bool temp8
= false ;
42821 PyObject
* obj0
= 0 ;
42822 PyObject
* obj1
= 0 ;
42823 PyObject
* obj2
= 0 ;
42824 PyObject
* obj3
= 0 ;
42825 PyObject
* obj4
= 0 ;
42826 PyObject
* obj5
= 0 ;
42827 PyObject
* obj6
= 0 ;
42828 PyObject
* obj7
= 0 ;
42829 char * kwnames
[] = {
42830 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42835 if (!SWIG_IsOK(res1
)) {
42836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42838 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42841 if (!SWIG_IsOK(ecode2
)) {
42842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42844 arg2
= static_cast< int >(val2
);
42849 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42855 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42861 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42865 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42866 if (!SWIG_IsOK(ecode6
)) {
42867 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42869 arg6
= static_cast< long >(val6
);
42872 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42873 if (!SWIG_IsOK(res7
)) {
42874 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42879 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42883 arg8
= wxString_in_helper(obj7
);
42884 if (arg8
== NULL
) SWIG_fail
;
42889 if (!wxPyCheckForApp()) SWIG_fail
;
42890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42891 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42892 wxPyEndAllowThreads(__tstate
);
42893 if (PyErr_Occurred()) SWIG_fail
;
42895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42910 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42911 PyObject
*resultobj
= 0;
42912 wxColourPickerCtrl
*result
= 0 ;
42914 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42916 if (!wxPyCheckForApp()) SWIG_fail
;
42917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42918 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42919 wxPyEndAllowThreads(__tstate
);
42920 if (PyErr_Occurred()) SWIG_fail
;
42922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42929 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42930 PyObject
*resultobj
= 0;
42931 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42932 wxWindow
*arg2
= (wxWindow
*) 0 ;
42934 wxColour
const &arg4_defvalue
= *wxBLACK
;
42935 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42940 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42941 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42942 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42943 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42944 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42959 bool temp9
= false ;
42960 PyObject
* obj0
= 0 ;
42961 PyObject
* obj1
= 0 ;
42962 PyObject
* obj2
= 0 ;
42963 PyObject
* obj3
= 0 ;
42964 PyObject
* obj4
= 0 ;
42965 PyObject
* obj5
= 0 ;
42966 PyObject
* obj6
= 0 ;
42967 PyObject
* obj7
= 0 ;
42968 PyObject
* obj8
= 0 ;
42969 char * kwnames
[] = {
42970 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42975 if (!SWIG_IsOK(res1
)) {
42976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42978 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42980 if (!SWIG_IsOK(res2
)) {
42981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42983 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42985 if (!SWIG_IsOK(ecode3
)) {
42986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42988 arg3
= static_cast< int >(val3
);
42992 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
42998 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43004 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43008 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43009 if (!SWIG_IsOK(ecode7
)) {
43010 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43012 arg7
= static_cast< long >(val7
);
43015 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43016 if (!SWIG_IsOK(res8
)) {
43017 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43022 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43026 arg9
= wxString_in_helper(obj8
);
43027 if (arg9
== NULL
) SWIG_fail
;
43032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43033 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43034 wxPyEndAllowThreads(__tstate
);
43035 if (PyErr_Occurred()) SWIG_fail
;
43038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43054 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43055 PyObject
*resultobj
= 0;
43056 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43060 PyObject
*swig_obj
[1] ;
43062 if (!args
) SWIG_fail
;
43063 swig_obj
[0] = args
;
43064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43065 if (!SWIG_IsOK(res1
)) {
43066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43068 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43071 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43072 wxPyEndAllowThreads(__tstate
);
43073 if (PyErr_Occurred()) SWIG_fail
;
43075 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43082 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43083 PyObject
*resultobj
= 0;
43084 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43085 wxColour
*arg2
= 0 ;
43089 PyObject
* obj0
= 0 ;
43090 PyObject
* obj1
= 0 ;
43091 char * kwnames
[] = {
43092 (char *) "self",(char *) "col", NULL
43095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43097 if (!SWIG_IsOK(res1
)) {
43098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43100 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43107 (arg1
)->SetColour((wxColour
const &)*arg2
);
43108 wxPyEndAllowThreads(__tstate
);
43109 if (PyErr_Occurred()) SWIG_fail
;
43111 resultobj
= SWIG_Py_Void();
43118 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43121 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43122 return SWIG_Py_Void();
43125 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43126 return SWIG_Python_InitShadowInstance(args
);
43129 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43130 PyObject
*resultobj
= 0;
43131 wxObject
*arg1
= (wxObject
*) 0 ;
43133 wxColour
*arg3
= 0 ;
43134 wxColourPickerEvent
*result
= 0 ;
43140 PyObject
* obj0
= 0 ;
43141 PyObject
* obj1
= 0 ;
43142 PyObject
* obj2
= 0 ;
43143 char * kwnames
[] = {
43144 (char *) "generator",(char *) "id",(char *) "col", NULL
43147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43149 if (!SWIG_IsOK(res1
)) {
43150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43152 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43154 if (!SWIG_IsOK(ecode2
)) {
43155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43157 arg2
= static_cast< int >(val2
);
43160 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43164 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43165 wxPyEndAllowThreads(__tstate
);
43166 if (PyErr_Occurred()) SWIG_fail
;
43168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43175 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43176 PyObject
*resultobj
= 0;
43177 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43181 PyObject
*swig_obj
[1] ;
43183 if (!args
) SWIG_fail
;
43184 swig_obj
[0] = args
;
43185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43186 if (!SWIG_IsOK(res1
)) {
43187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43189 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43192 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43193 wxPyEndAllowThreads(__tstate
);
43194 if (PyErr_Occurred()) SWIG_fail
;
43196 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43203 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43204 PyObject
*resultobj
= 0;
43205 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43206 wxColour
*arg2
= 0 ;
43210 PyObject
* obj0
= 0 ;
43211 PyObject
* obj1
= 0 ;
43212 char * kwnames
[] = {
43213 (char *) "self",(char *) "c", NULL
43216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43218 if (!SWIG_IsOK(res1
)) {
43219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43221 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43224 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43228 (arg1
)->SetColour((wxColour
const &)*arg2
);
43229 wxPyEndAllowThreads(__tstate
);
43230 if (PyErr_Occurred()) SWIG_fail
;
43232 resultobj
= SWIG_Py_Void();
43239 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43242 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43243 return SWIG_Py_Void();
43246 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43247 return SWIG_Python_InitShadowInstance(args
);
43250 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43251 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43256 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43257 PyObject
*pyobj
= 0;
43261 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43263 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43270 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43271 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43276 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43277 PyObject
*pyobj
= 0;
43281 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43283 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43290 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43291 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43296 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43297 PyObject
*pyobj
= 0;
43301 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43303 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43310 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43311 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43316 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43317 PyObject
*pyobj
= 0;
43321 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43323 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43330 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43331 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43336 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43337 PyObject
*pyobj
= 0;
43341 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43343 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43350 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43351 PyObject
*resultobj
= 0;
43352 wxWindow
*arg1
= (wxWindow
*) 0 ;
43353 int arg2
= (int) -1 ;
43354 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43355 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43356 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43357 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43358 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43359 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43360 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43361 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43362 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43363 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43364 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43365 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43366 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43367 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43368 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43369 wxFilePickerCtrl
*result
= 0 ;
43374 bool temp3
= false ;
43375 bool temp4
= false ;
43376 bool temp5
= false ;
43383 bool temp10
= false ;
43384 PyObject
* obj0
= 0 ;
43385 PyObject
* obj1
= 0 ;
43386 PyObject
* obj2
= 0 ;
43387 PyObject
* obj3
= 0 ;
43388 PyObject
* obj4
= 0 ;
43389 PyObject
* obj5
= 0 ;
43390 PyObject
* obj6
= 0 ;
43391 PyObject
* obj7
= 0 ;
43392 PyObject
* obj8
= 0 ;
43393 PyObject
* obj9
= 0 ;
43394 char * kwnames
[] = {
43395 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43400 if (!SWIG_IsOK(res1
)) {
43401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43403 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43406 if (!SWIG_IsOK(ecode2
)) {
43407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43409 arg2
= static_cast< int >(val2
);
43413 arg3
= wxString_in_helper(obj2
);
43414 if (arg3
== NULL
) SWIG_fail
;
43420 arg4
= wxString_in_helper(obj3
);
43421 if (arg4
== NULL
) SWIG_fail
;
43427 arg5
= wxString_in_helper(obj4
);
43428 if (arg5
== NULL
) SWIG_fail
;
43435 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43441 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43445 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43446 if (!SWIG_IsOK(ecode8
)) {
43447 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43449 arg8
= static_cast< long >(val8
);
43452 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43453 if (!SWIG_IsOK(res9
)) {
43454 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43459 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43463 arg10
= wxString_in_helper(obj9
);
43464 if (arg10
== NULL
) SWIG_fail
;
43469 if (!wxPyCheckForApp()) SWIG_fail
;
43470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43471 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
);
43472 wxPyEndAllowThreads(__tstate
);
43473 if (PyErr_Occurred()) SWIG_fail
;
43475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43514 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43515 PyObject
*resultobj
= 0;
43516 wxFilePickerCtrl
*result
= 0 ;
43518 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43520 if (!wxPyCheckForApp()) SWIG_fail
;
43521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43522 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43523 wxPyEndAllowThreads(__tstate
);
43524 if (PyErr_Occurred()) SWIG_fail
;
43526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43533 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43534 PyObject
*resultobj
= 0;
43535 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43536 wxWindow
*arg2
= (wxWindow
*) 0 ;
43537 int arg3
= (int) -1 ;
43538 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43539 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43540 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43541 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43542 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43543 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43544 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43545 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43546 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43547 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43548 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43549 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43550 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43551 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43552 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43560 bool temp4
= false ;
43561 bool temp5
= false ;
43562 bool temp6
= false ;
43569 bool temp11
= false ;
43570 PyObject
* obj0
= 0 ;
43571 PyObject
* obj1
= 0 ;
43572 PyObject
* obj2
= 0 ;
43573 PyObject
* obj3
= 0 ;
43574 PyObject
* obj4
= 0 ;
43575 PyObject
* obj5
= 0 ;
43576 PyObject
* obj6
= 0 ;
43577 PyObject
* obj7
= 0 ;
43578 PyObject
* obj8
= 0 ;
43579 PyObject
* obj9
= 0 ;
43580 PyObject
* obj10
= 0 ;
43581 char * kwnames
[] = {
43582 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43587 if (!SWIG_IsOK(res1
)) {
43588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43590 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43592 if (!SWIG_IsOK(res2
)) {
43593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43598 if (!SWIG_IsOK(ecode3
)) {
43599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43601 arg3
= static_cast< int >(val3
);
43605 arg4
= wxString_in_helper(obj3
);
43606 if (arg4
== NULL
) SWIG_fail
;
43612 arg5
= wxString_in_helper(obj4
);
43613 if (arg5
== NULL
) SWIG_fail
;
43619 arg6
= wxString_in_helper(obj5
);
43620 if (arg6
== NULL
) SWIG_fail
;
43627 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43633 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43637 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43638 if (!SWIG_IsOK(ecode9
)) {
43639 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43641 arg9
= static_cast< long >(val9
);
43644 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43645 if (!SWIG_IsOK(res10
)) {
43646 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43651 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43655 arg11
= wxString_in_helper(obj10
);
43656 if (arg11
== NULL
) SWIG_fail
;
43661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43662 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
);
43663 wxPyEndAllowThreads(__tstate
);
43664 if (PyErr_Occurred()) SWIG_fail
;
43667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43707 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43708 PyObject
*resultobj
= 0;
43709 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43713 PyObject
*swig_obj
[1] ;
43715 if (!args
) SWIG_fail
;
43716 swig_obj
[0] = args
;
43717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43718 if (!SWIG_IsOK(res1
)) {
43719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43721 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43724 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43725 wxPyEndAllowThreads(__tstate
);
43726 if (PyErr_Occurred()) SWIG_fail
;
43730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43741 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43742 PyObject
*resultobj
= 0;
43743 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43744 wxString
*arg2
= 0 ;
43747 bool temp2
= false ;
43748 PyObject
* obj0
= 0 ;
43749 PyObject
* obj1
= 0 ;
43750 char * kwnames
[] = {
43751 (char *) "self",(char *) "str", NULL
43754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43756 if (!SWIG_IsOK(res1
)) {
43757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43759 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43761 arg2
= wxString_in_helper(obj1
);
43762 if (arg2
== NULL
) SWIG_fail
;
43766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43767 (arg1
)->SetPath((wxString
const &)*arg2
);
43768 wxPyEndAllowThreads(__tstate
);
43769 if (PyErr_Occurred()) SWIG_fail
;
43771 resultobj
= SWIG_Py_Void();
43786 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43787 PyObject
*resultobj
= 0;
43788 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43789 wxString
*arg2
= 0 ;
43793 bool temp2
= false ;
43794 PyObject
* obj0
= 0 ;
43795 PyObject
* obj1
= 0 ;
43796 char * kwnames
[] = {
43797 (char *) "self",(char *) "path", NULL
43800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43802 if (!SWIG_IsOK(res1
)) {
43803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43805 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43807 arg2
= wxString_in_helper(obj1
);
43808 if (arg2
== NULL
) SWIG_fail
;
43812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43813 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
43814 wxPyEndAllowThreads(__tstate
);
43815 if (PyErr_Occurred()) SWIG_fail
;
43818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43834 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43835 PyObject
*resultobj
= 0;
43836 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43840 PyObject
*swig_obj
[1] ;
43842 if (!args
) SWIG_fail
;
43843 swig_obj
[0] = args
;
43844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43845 if (!SWIG_IsOK(res1
)) {
43846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43848 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43851 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
43852 wxPyEndAllowThreads(__tstate
);
43853 if (PyErr_Occurred()) SWIG_fail
;
43857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43868 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43871 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43872 return SWIG_Py_Void();
43875 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43876 return SWIG_Python_InitShadowInstance(args
);
43879 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43880 PyObject
*resultobj
= 0;
43881 wxWindow
*arg1
= (wxWindow
*) 0 ;
43882 int arg2
= (int) -1 ;
43883 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43884 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43885 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43886 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43887 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43888 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43889 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43890 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43891 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43892 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43893 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43894 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43895 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43896 wxDirPickerCtrl
*result
= 0 ;
43901 bool temp3
= false ;
43902 bool temp4
= false ;
43909 bool temp9
= false ;
43910 PyObject
* obj0
= 0 ;
43911 PyObject
* obj1
= 0 ;
43912 PyObject
* obj2
= 0 ;
43913 PyObject
* obj3
= 0 ;
43914 PyObject
* obj4
= 0 ;
43915 PyObject
* obj5
= 0 ;
43916 PyObject
* obj6
= 0 ;
43917 PyObject
* obj7
= 0 ;
43918 PyObject
* obj8
= 0 ;
43919 char * kwnames
[] = {
43920 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43925 if (!SWIG_IsOK(res1
)) {
43926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43931 if (!SWIG_IsOK(ecode2
)) {
43932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43934 arg2
= static_cast< int >(val2
);
43938 arg3
= wxString_in_helper(obj2
);
43939 if (arg3
== NULL
) SWIG_fail
;
43945 arg4
= wxString_in_helper(obj3
);
43946 if (arg4
== NULL
) SWIG_fail
;
43953 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43959 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43963 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43964 if (!SWIG_IsOK(ecode7
)) {
43965 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43967 arg7
= static_cast< long >(val7
);
43970 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43971 if (!SWIG_IsOK(res8
)) {
43972 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43977 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43981 arg9
= wxString_in_helper(obj8
);
43982 if (arg9
== NULL
) SWIG_fail
;
43987 if (!wxPyCheckForApp()) SWIG_fail
;
43988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43989 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
);
43990 wxPyEndAllowThreads(__tstate
);
43991 if (PyErr_Occurred()) SWIG_fail
;
43993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44024 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44025 PyObject
*resultobj
= 0;
44026 wxDirPickerCtrl
*result
= 0 ;
44028 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44030 if (!wxPyCheckForApp()) SWIG_fail
;
44031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44032 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44033 wxPyEndAllowThreads(__tstate
);
44034 if (PyErr_Occurred()) SWIG_fail
;
44036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44043 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44044 PyObject
*resultobj
= 0;
44045 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44046 wxWindow
*arg2
= (wxWindow
*) 0 ;
44047 int arg3
= (int) -1 ;
44048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44050 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44051 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44052 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44053 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44054 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44055 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44056 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44057 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44058 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44059 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44060 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44068 bool temp4
= false ;
44069 bool temp5
= false ;
44076 bool temp10
= false ;
44077 PyObject
* obj0
= 0 ;
44078 PyObject
* obj1
= 0 ;
44079 PyObject
* obj2
= 0 ;
44080 PyObject
* obj3
= 0 ;
44081 PyObject
* obj4
= 0 ;
44082 PyObject
* obj5
= 0 ;
44083 PyObject
* obj6
= 0 ;
44084 PyObject
* obj7
= 0 ;
44085 PyObject
* obj8
= 0 ;
44086 PyObject
* obj9
= 0 ;
44087 char * kwnames
[] = {
44088 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44093 if (!SWIG_IsOK(res1
)) {
44094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44096 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44098 if (!SWIG_IsOK(res2
)) {
44099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44101 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44104 if (!SWIG_IsOK(ecode3
)) {
44105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44107 arg3
= static_cast< int >(val3
);
44111 arg4
= wxString_in_helper(obj3
);
44112 if (arg4
== NULL
) SWIG_fail
;
44118 arg5
= wxString_in_helper(obj4
);
44119 if (arg5
== NULL
) SWIG_fail
;
44126 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44132 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44136 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44137 if (!SWIG_IsOK(ecode8
)) {
44138 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44140 arg8
= static_cast< long >(val8
);
44143 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44144 if (!SWIG_IsOK(res9
)) {
44145 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44150 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44154 arg10
= wxString_in_helper(obj9
);
44155 if (arg10
== NULL
) SWIG_fail
;
44160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44161 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
);
44162 wxPyEndAllowThreads(__tstate
);
44163 if (PyErr_Occurred()) SWIG_fail
;
44166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44198 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44199 PyObject
*resultobj
= 0;
44200 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44204 PyObject
*swig_obj
[1] ;
44206 if (!args
) SWIG_fail
;
44207 swig_obj
[0] = args
;
44208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44209 if (!SWIG_IsOK(res1
)) {
44210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44212 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44215 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44216 wxPyEndAllowThreads(__tstate
);
44217 if (PyErr_Occurred()) SWIG_fail
;
44221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44232 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44233 PyObject
*resultobj
= 0;
44234 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44235 wxString
*arg2
= 0 ;
44238 bool temp2
= false ;
44239 PyObject
* obj0
= 0 ;
44240 PyObject
* obj1
= 0 ;
44241 char * kwnames
[] = {
44242 (char *) "self",(char *) "str", NULL
44245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44247 if (!SWIG_IsOK(res1
)) {
44248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44250 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44252 arg2
= wxString_in_helper(obj1
);
44253 if (arg2
== NULL
) SWIG_fail
;
44257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44258 (arg1
)->SetPath((wxString
const &)*arg2
);
44259 wxPyEndAllowThreads(__tstate
);
44260 if (PyErr_Occurred()) SWIG_fail
;
44262 resultobj
= SWIG_Py_Void();
44277 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44278 PyObject
*resultobj
= 0;
44279 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44280 wxString
*arg2
= 0 ;
44284 bool temp2
= false ;
44285 PyObject
* obj0
= 0 ;
44286 PyObject
* obj1
= 0 ;
44287 char * kwnames
[] = {
44288 (char *) "self",(char *) "path", NULL
44291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44293 if (!SWIG_IsOK(res1
)) {
44294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44296 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44298 arg2
= wxString_in_helper(obj1
);
44299 if (arg2
== NULL
) SWIG_fail
;
44303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44304 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44305 wxPyEndAllowThreads(__tstate
);
44306 if (PyErr_Occurred()) SWIG_fail
;
44309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44325 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44326 PyObject
*resultobj
= 0;
44327 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44331 PyObject
*swig_obj
[1] ;
44333 if (!args
) SWIG_fail
;
44334 swig_obj
[0] = args
;
44335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44336 if (!SWIG_IsOK(res1
)) {
44337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44339 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44342 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44343 wxPyEndAllowThreads(__tstate
);
44344 if (PyErr_Occurred()) SWIG_fail
;
44348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44359 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44362 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44363 return SWIG_Py_Void();
44366 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44367 return SWIG_Python_InitShadowInstance(args
);
44370 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44371 PyObject
*resultobj
= 0;
44373 wxObject
*arg2
= (wxObject
*) 0 ;
44375 wxString
*arg4
= 0 ;
44376 wxFileDirPickerEvent
*result
= 0 ;
44383 bool temp4
= false ;
44384 PyObject
* obj0
= 0 ;
44385 PyObject
* obj1
= 0 ;
44386 PyObject
* obj2
= 0 ;
44387 PyObject
* obj3
= 0 ;
44388 char * kwnames
[] = {
44389 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44394 if (!SWIG_IsOK(ecode1
)) {
44395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44397 arg1
= static_cast< wxEventType
>(val1
);
44398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44399 if (!SWIG_IsOK(res2
)) {
44400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44402 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44404 if (!SWIG_IsOK(ecode3
)) {
44405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44407 arg3
= static_cast< int >(val3
);
44409 arg4
= wxString_in_helper(obj3
);
44410 if (arg4
== NULL
) SWIG_fail
;
44414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44415 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44416 wxPyEndAllowThreads(__tstate
);
44417 if (PyErr_Occurred()) SWIG_fail
;
44419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44434 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44435 PyObject
*resultobj
= 0;
44436 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44440 PyObject
*swig_obj
[1] ;
44442 if (!args
) SWIG_fail
;
44443 swig_obj
[0] = args
;
44444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44445 if (!SWIG_IsOK(res1
)) {
44446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44448 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44451 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44452 wxPyEndAllowThreads(__tstate
);
44453 if (PyErr_Occurred()) SWIG_fail
;
44457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44468 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44469 PyObject
*resultobj
= 0;
44470 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44471 wxString
*arg2
= 0 ;
44474 bool temp2
= false ;
44475 PyObject
* obj0
= 0 ;
44476 PyObject
* obj1
= 0 ;
44477 char * kwnames
[] = {
44478 (char *) "self",(char *) "p", NULL
44481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44483 if (!SWIG_IsOK(res1
)) {
44484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44486 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44488 arg2
= wxString_in_helper(obj1
);
44489 if (arg2
== NULL
) SWIG_fail
;
44493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44494 (arg1
)->SetPath((wxString
const &)*arg2
);
44495 wxPyEndAllowThreads(__tstate
);
44496 if (PyErr_Occurred()) SWIG_fail
;
44498 resultobj
= SWIG_Py_Void();
44513 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44516 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44517 return SWIG_Py_Void();
44520 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44521 return SWIG_Python_InitShadowInstance(args
);
44524 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44525 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44530 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44531 PyObject
*pyobj
= 0;
44535 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44537 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44544 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44545 PyObject
*resultobj
= 0;
44546 wxWindow
*arg1
= (wxWindow
*) 0 ;
44547 int arg2
= (int) -1 ;
44548 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44549 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44554 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44555 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44556 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44557 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44558 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44559 wxFontPickerCtrl
*result
= 0 ;
44572 bool temp8
= false ;
44573 PyObject
* obj0
= 0 ;
44574 PyObject
* obj1
= 0 ;
44575 PyObject
* obj2
= 0 ;
44576 PyObject
* obj3
= 0 ;
44577 PyObject
* obj4
= 0 ;
44578 PyObject
* obj5
= 0 ;
44579 PyObject
* obj6
= 0 ;
44580 PyObject
* obj7
= 0 ;
44581 char * kwnames
[] = {
44582 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44587 if (!SWIG_IsOK(res1
)) {
44588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44590 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44593 if (!SWIG_IsOK(ecode2
)) {
44594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44596 arg2
= static_cast< int >(val2
);
44599 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44600 if (!SWIG_IsOK(res3
)) {
44601 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44606 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44611 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44617 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44621 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44622 if (!SWIG_IsOK(ecode6
)) {
44623 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44625 arg6
= static_cast< long >(val6
);
44628 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44629 if (!SWIG_IsOK(res7
)) {
44630 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44635 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44639 arg8
= wxString_in_helper(obj7
);
44640 if (arg8
== NULL
) SWIG_fail
;
44645 if (!wxPyCheckForApp()) SWIG_fail
;
44646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44647 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44648 wxPyEndAllowThreads(__tstate
);
44649 if (PyErr_Occurred()) SWIG_fail
;
44651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44666 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44667 PyObject
*resultobj
= 0;
44668 wxFontPickerCtrl
*result
= 0 ;
44670 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44672 if (!wxPyCheckForApp()) SWIG_fail
;
44673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44674 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44675 wxPyEndAllowThreads(__tstate
);
44676 if (PyErr_Occurred()) SWIG_fail
;
44678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44685 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44686 PyObject
*resultobj
= 0;
44687 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44688 wxWindow
*arg2
= (wxWindow
*) 0 ;
44689 int arg3
= (int) -1 ;
44690 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44691 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44692 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44693 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44694 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44695 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44696 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44697 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44698 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44699 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44700 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44716 bool temp9
= false ;
44717 PyObject
* obj0
= 0 ;
44718 PyObject
* obj1
= 0 ;
44719 PyObject
* obj2
= 0 ;
44720 PyObject
* obj3
= 0 ;
44721 PyObject
* obj4
= 0 ;
44722 PyObject
* obj5
= 0 ;
44723 PyObject
* obj6
= 0 ;
44724 PyObject
* obj7
= 0 ;
44725 PyObject
* obj8
= 0 ;
44726 char * kwnames
[] = {
44727 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44732 if (!SWIG_IsOK(res1
)) {
44733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44735 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44737 if (!SWIG_IsOK(res2
)) {
44738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44740 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44743 if (!SWIG_IsOK(ecode3
)) {
44744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44746 arg3
= static_cast< int >(val3
);
44749 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44750 if (!SWIG_IsOK(res4
)) {
44751 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44756 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44761 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44767 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44771 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44772 if (!SWIG_IsOK(ecode7
)) {
44773 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44775 arg7
= static_cast< long >(val7
);
44778 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44779 if (!SWIG_IsOK(res8
)) {
44780 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44785 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44789 arg9
= wxString_in_helper(obj8
);
44790 if (arg9
== NULL
) SWIG_fail
;
44795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44796 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44797 wxPyEndAllowThreads(__tstate
);
44798 if (PyErr_Occurred()) SWIG_fail
;
44801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44817 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44818 PyObject
*resultobj
= 0;
44819 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44823 PyObject
*swig_obj
[1] ;
44825 if (!args
) SWIG_fail
;
44826 swig_obj
[0] = args
;
44827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44828 if (!SWIG_IsOK(res1
)) {
44829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44831 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44834 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44835 wxPyEndAllowThreads(__tstate
);
44836 if (PyErr_Occurred()) SWIG_fail
;
44838 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44845 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44846 PyObject
*resultobj
= 0;
44847 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44853 PyObject
* obj0
= 0 ;
44854 PyObject
* obj1
= 0 ;
44855 char * kwnames
[] = {
44856 (char *) "self",(char *) "f", NULL
44859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44861 if (!SWIG_IsOK(res1
)) {
44862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44864 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44866 if (!SWIG_IsOK(res2
)) {
44867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44872 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44875 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44876 wxPyEndAllowThreads(__tstate
);
44877 if (PyErr_Occurred()) SWIG_fail
;
44879 resultobj
= SWIG_Py_Void();
44886 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44887 PyObject
*resultobj
= 0;
44888 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44889 unsigned int arg2
;
44892 unsigned int val2
;
44894 PyObject
* obj0
= 0 ;
44895 PyObject
* obj1
= 0 ;
44896 char * kwnames
[] = {
44897 (char *) "self",(char *) "max", NULL
44900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44902 if (!SWIG_IsOK(res1
)) {
44903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44905 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44906 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44907 if (!SWIG_IsOK(ecode2
)) {
44908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44910 arg2
= static_cast< unsigned int >(val2
);
44912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44913 (arg1
)->SetMaxPointSize(arg2
);
44914 wxPyEndAllowThreads(__tstate
);
44915 if (PyErr_Occurred()) SWIG_fail
;
44917 resultobj
= SWIG_Py_Void();
44924 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44925 PyObject
*resultobj
= 0;
44926 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44927 unsigned int result
;
44930 PyObject
*swig_obj
[1] ;
44932 if (!args
) SWIG_fail
;
44933 swig_obj
[0] = args
;
44934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44935 if (!SWIG_IsOK(res1
)) {
44936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44938 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44941 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44942 wxPyEndAllowThreads(__tstate
);
44943 if (PyErr_Occurred()) SWIG_fail
;
44945 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44952 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44955 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
44956 return SWIG_Py_Void();
44959 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44960 return SWIG_Python_InitShadowInstance(args
);
44963 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44964 PyObject
*resultobj
= 0;
44965 wxObject
*arg1
= (wxObject
*) 0 ;
44968 wxFontPickerEvent
*result
= 0 ;
44975 PyObject
* obj0
= 0 ;
44976 PyObject
* obj1
= 0 ;
44977 PyObject
* obj2
= 0 ;
44978 char * kwnames
[] = {
44979 (char *) "generator",(char *) "id",(char *) "f", NULL
44982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
44984 if (!SWIG_IsOK(res1
)) {
44985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44987 arg1
= reinterpret_cast< wxObject
* >(argp1
);
44988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44989 if (!SWIG_IsOK(ecode2
)) {
44990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44992 arg2
= static_cast< int >(val2
);
44993 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44994 if (!SWIG_IsOK(res3
)) {
44995 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45000 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45003 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45004 wxPyEndAllowThreads(__tstate
);
45005 if (PyErr_Occurred()) SWIG_fail
;
45007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45014 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45015 PyObject
*resultobj
= 0;
45016 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45020 PyObject
*swig_obj
[1] ;
45022 if (!args
) SWIG_fail
;
45023 swig_obj
[0] = args
;
45024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45025 if (!SWIG_IsOK(res1
)) {
45026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45028 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45031 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45032 wxPyEndAllowThreads(__tstate
);
45033 if (PyErr_Occurred()) SWIG_fail
;
45035 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45042 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45043 PyObject
*resultobj
= 0;
45044 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45050 PyObject
* obj0
= 0 ;
45051 PyObject
* obj1
= 0 ;
45052 char * kwnames
[] = {
45053 (char *) "self",(char *) "c", NULL
45056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45058 if (!SWIG_IsOK(res1
)) {
45059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45061 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45063 if (!SWIG_IsOK(res2
)) {
45064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45069 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45072 (arg1
)->SetFont((wxFont
const &)*arg2
);
45073 wxPyEndAllowThreads(__tstate
);
45074 if (PyErr_Occurred()) SWIG_fail
;
45076 resultobj
= SWIG_Py_Void();
45083 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45086 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45087 return SWIG_Py_Void();
45090 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45091 return SWIG_Python_InitShadowInstance(args
);
45094 static PyMethodDef SwigMethods
[] = {
45095 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45097 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45099 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45100 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45102 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45103 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45105 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45107 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45108 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45109 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45110 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45111 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45118 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45119 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45120 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45121 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45123 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45125 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45126 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45128 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45130 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45131 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45133 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45134 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45136 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45138 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45140 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45141 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45143 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45145 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45147 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45148 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45149 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45151 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45152 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45155 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45159 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45161 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45162 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45163 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45164 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45165 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45166 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45167 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45168 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45169 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45171 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45172 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45174 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45177 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45179 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45180 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45182 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45184 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45186 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45187 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45189 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45192 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45193 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45195 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45197 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45198 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45200 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45201 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45203 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45207 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45208 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45210 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45212 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45216 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45217 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45219 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45230 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45235 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45241 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45242 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45244 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45248 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45249 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45251 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45252 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45262 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45263 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45264 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45265 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45266 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45267 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45268 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45270 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45271 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45272 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45273 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45274 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45275 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45276 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45277 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45278 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45279 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45281 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45282 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45284 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45286 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45291 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45292 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45293 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45294 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45295 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45296 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45297 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45298 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45303 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45304 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45313 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45319 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45320 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45321 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45322 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45323 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45324 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45325 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45326 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45327 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45328 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45330 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45331 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45332 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45334 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45339 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45340 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45342 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45343 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45344 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45345 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45346 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45348 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45350 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45351 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45352 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45353 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45354 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45357 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45358 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45360 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45362 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45363 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45364 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45369 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45371 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45372 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45374 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45376 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45380 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45381 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45384 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45385 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45387 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45389 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45390 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45392 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45395 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45396 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45398 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45406 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45407 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45414 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45415 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45417 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45419 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45422 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45423 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45425 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45427 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45430 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45431 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45436 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45437 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45439 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45441 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45442 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45444 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45445 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45446 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45449 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45450 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45452 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45455 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45457 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45458 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45459 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45461 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45462 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45467 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45472 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45474 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45476 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45478 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45479 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45482 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45489 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45491 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45493 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45495 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45496 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45498 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45500 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45503 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45505 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45506 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45508 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45509 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45511 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45513 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45514 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45515 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45517 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45518 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45520 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45522 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45523 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45524 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45526 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45527 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45529 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45537 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45538 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45539 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45541 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45542 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45544 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45546 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45547 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45548 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45549 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45551 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45552 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45553 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45554 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45555 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45556 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45557 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45558 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45559 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45560 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45561 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45562 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45563 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45564 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45565 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45566 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45567 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45568 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45569 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45571 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45578 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45580 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45582 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45590 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45595 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45596 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45613 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45614 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45615 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45616 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45619 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45620 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45622 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45623 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45626 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45627 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45628 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45630 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45633 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45634 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45636 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45640 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45641 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45642 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45643 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45644 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45645 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45647 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45648 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45649 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45650 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45651 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45652 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45653 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45667 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45668 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45669 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45670 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45671 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45672 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45673 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45674 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45675 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45676 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45677 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45678 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45679 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45680 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45681 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45682 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45683 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45684 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45685 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45686 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45687 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45688 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45689 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45690 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45691 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45692 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45693 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45694 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45695 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45696 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45697 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45698 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45699 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45700 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45701 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45702 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45704 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45705 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45706 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45707 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45708 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45709 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45710 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45711 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45712 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45713 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45714 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45715 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45716 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45717 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45718 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45719 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45720 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45721 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45722 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45723 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45724 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45725 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45726 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45727 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45729 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45730 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45732 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45739 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45740 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45741 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45756 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45757 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45758 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45760 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45761 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45763 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45769 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45770 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45775 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45777 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45778 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45801 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45803 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45804 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45806 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45810 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45812 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45816 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45817 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45818 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45819 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45820 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45823 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45824 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45825 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45826 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45828 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45829 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45831 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45833 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45834 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45835 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
45836 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45837 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45839 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45841 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45843 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45844 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45846 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45848 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45851 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45852 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45853 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45855 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45858 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45859 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45861 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45863 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45864 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45892 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45893 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45894 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45901 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45911 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
45914 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45918 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45920 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45926 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45932 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45933 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45934 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45936 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45940 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45942 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45943 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45946 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45947 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45949 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
45951 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
45952 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
45953 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
45955 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
45956 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
45957 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
45958 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
45960 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
45963 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
45964 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
45966 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
45974 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
45975 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
45976 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
45977 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
45978 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
45979 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
45980 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
45981 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
45982 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
45984 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
45986 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
45988 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
45990 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
45992 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
45993 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
45995 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
45997 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
45998 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
45999 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46001 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46002 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46003 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46005 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46012 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46013 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46014 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46015 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46016 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46022 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46026 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46028 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46029 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46034 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46035 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46037 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46040 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46042 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46043 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46044 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46045 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46047 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46049 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46051 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46053 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46055 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46058 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46059 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46060 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46062 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46064 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46065 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46068 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46070 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46072 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46073 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46075 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46077 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46078 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46079 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46080 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46082 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46084 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46086 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46087 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46089 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46091 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46092 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46094 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46096 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46099 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46100 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46101 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46103 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46105 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46108 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46109 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46110 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46112 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46114 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46115 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46117 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46119 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46122 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46123 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46124 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46126 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46128 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46129 { NULL
, NULL
, 0, NULL
}
46133 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46135 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46136 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46138 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46139 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46141 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46142 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46144 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46145 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46147 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46148 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46150 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46151 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46153 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46154 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46156 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46157 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46159 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46160 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46162 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46165 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46168 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46169 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46171 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46174 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46175 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46177 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46180 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
46181 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46183 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46184 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46186 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46187 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46189 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46190 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46192 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46193 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46195 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46196 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46198 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46199 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46201 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46202 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46204 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46205 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46207 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46208 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46210 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46211 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46213 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46214 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46216 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46217 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46219 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46220 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46222 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46223 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46225 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46226 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46228 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46229 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46231 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46232 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46234 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46235 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46237 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46238 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46240 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46241 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46243 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46244 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46246 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46247 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46249 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46250 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46252 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46253 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46255 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46256 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46258 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46259 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46261 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46262 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46264 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46265 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46267 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46268 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46270 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46271 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46273 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46274 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46276 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46277 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46279 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46280 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46282 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46283 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46285 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46286 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46288 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46289 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46291 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46292 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46294 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46295 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46297 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46298 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46300 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46301 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46303 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46304 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46306 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46307 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46309 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46310 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46312 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46313 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46315 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46316 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46318 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46319 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46321 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46322 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46324 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46325 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46327 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46328 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46330 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46331 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46333 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46334 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46336 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46337 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46339 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46340 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46342 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46343 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46345 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46346 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46348 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46349 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46351 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46352 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46354 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46355 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46357 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46358 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46360 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46361 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46363 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46364 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46366 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46367 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46369 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46370 return (void *)((wxControl
*) ((wxGauge
*) x
));
46372 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46373 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46375 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46376 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46378 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46379 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46381 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46382 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46384 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46385 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46387 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46388 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46390 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46391 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46393 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46394 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46396 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46397 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46399 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46400 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46402 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46403 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46405 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46406 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46408 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46409 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46411 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46412 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46414 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46415 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46417 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46418 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46420 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46421 return (void *)((wxControl
*) ((wxSlider
*) x
));
46423 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46424 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46426 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46427 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46429 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46430 return (void *)((wxControl
*) ((wxButton
*) x
));
46432 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46433 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46435 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46436 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46438 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46439 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46441 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46442 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46444 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46445 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46447 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46448 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46450 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46451 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46453 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46454 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46456 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46457 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46459 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46460 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46462 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46463 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46465 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46466 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46468 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46469 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46471 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46472 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46474 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46475 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46477 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46478 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46480 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46481 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46483 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46484 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46486 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46487 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46489 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46490 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46492 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46493 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46495 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46496 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46498 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46499 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46501 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46502 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46504 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46505 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46507 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46510 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46511 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46513 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46514 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46516 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46519 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46522 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46523 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46525 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46528 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46531 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46534 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46535 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46537 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46538 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46540 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46543 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46546 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46549 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46552 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46555 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46556 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46558 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46561 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46564 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46567 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46570 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46573 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46576 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46579 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46582 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46585 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46588 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46591 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46594 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46597 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46600 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46603 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46606 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46609 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46612 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46615 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46618 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46621 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46624 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46627 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46630 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46633 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46636 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46639 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46642 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46645 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46646 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46648 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46651 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46652 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46654 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46655 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46657 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46658 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46660 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46661 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46663 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46664 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46666 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46667 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46669 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46670 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46672 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46675 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46676 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46678 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46679 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46681 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46684 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46685 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46687 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46688 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46690 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46691 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46693 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46694 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46696 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46697 return (void *)((wxObject
*) ((wxSizer
*) x
));
46699 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46700 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46702 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46705 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46708 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46711 static void *_p_wxEventTo_p_wxObject(void *x
) {
46712 return (void *)((wxObject
*) ((wxEvent
*) x
));
46714 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46715 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46717 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46718 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46720 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46721 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46723 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46726 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46729 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46732 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46735 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46738 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46739 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46741 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46742 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46744 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46745 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46747 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46748 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46750 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46751 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46753 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46754 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46756 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46759 static void *_p_wxControlTo_p_wxObject(void *x
) {
46760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46762 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46765 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46768 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46771 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46774 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46777 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46778 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46780 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46783 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46786 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46789 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46792 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46793 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46795 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46796 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46798 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46801 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46804 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46805 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46807 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46810 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46813 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46814 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46816 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46819 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46822 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46825 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46826 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46828 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46831 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46834 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46835 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46837 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46840 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46841 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46843 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46846 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46847 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46849 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46850 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46852 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46853 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46855 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46856 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46858 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46859 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46861 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46862 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46864 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46867 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46868 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46870 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46873 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46874 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46876 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46877 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46879 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46880 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46882 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46883 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46885 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46886 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46888 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46889 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46891 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46892 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46894 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46895 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46897 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46898 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46900 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46901 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46903 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46904 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46906 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46907 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46909 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46910 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46912 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46913 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46915 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
46916 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46918 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46921 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46924 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46927 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46930 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46933 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46936 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46939 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46940 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46942 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46943 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46945 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46948 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46951 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
46952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46954 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
46955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
46957 static void *_p_wxListItemTo_p_wxObject(void *x
) {
46958 return (void *)((wxObject
*) ((wxListItem
*) x
));
46960 static void *_p_wxImageTo_p_wxObject(void *x
) {
46961 return (void *)((wxObject
*) ((wxImage
*) x
));
46963 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46964 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46966 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
46967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46969 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
46970 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
46972 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
46973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46975 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
46976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46978 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
46979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46981 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
46982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46984 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
46985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46987 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
46988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46990 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46993 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46994 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46996 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46997 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46999 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47000 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47002 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47003 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47005 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47008 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47009 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47011 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47014 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47015 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47017 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47018 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47020 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47021 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47023 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47024 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47026 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47027 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47029 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47032 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47035 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47036 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47038 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47039 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47041 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47044 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47045 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47047 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47048 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47050 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47053 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47056 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47059 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47062 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47065 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47068 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47071 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47074 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47075 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47077 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47080 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47083 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47084 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47086 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47087 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47089 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47090 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47092 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47093 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47095 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47096 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47098 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47099 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47101 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47102 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47104 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47105 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47107 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47108 return (void *)((wxWindow
*) ((wxControl
*) x
));
47110 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47111 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47113 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47114 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47116 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47117 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47119 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47120 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47122 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47123 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47125 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47126 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47128 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47129 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47131 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47132 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47134 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47135 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47137 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47138 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47140 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47141 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47143 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47144 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47146 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47147 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47149 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47150 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47152 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47153 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47155 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47156 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47158 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47159 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47161 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47162 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47164 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47165 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47167 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47168 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47170 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47171 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47173 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47174 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47176 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47177 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47179 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47180 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47182 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47183 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47185 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47186 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47188 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47189 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47191 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47192 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47194 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47195 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47197 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47198 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47200 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47201 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47203 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47204 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47206 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47207 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47209 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47210 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47212 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47213 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47215 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47216 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47218 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47219 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47221 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47222 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47224 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47225 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47227 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47228 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47230 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47231 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47233 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47234 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47236 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47237 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47239 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47240 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47242 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47243 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47245 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47246 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47248 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47249 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47251 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47252 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47254 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47255 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47257 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47258 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47260 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47261 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47263 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47264 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47266 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47267 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47269 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47270 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47272 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47273 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47275 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47276 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47278 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47279 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47281 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47282 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47284 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47285 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47287 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47288 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47290 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47291 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47293 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47294 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47296 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47297 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47299 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47300 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47302 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47303 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47305 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47306 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47308 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47309 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47311 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47312 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47314 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47315 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47317 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47318 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47320 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47321 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47323 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47324 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47326 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47327 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47328 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};
47329 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47330 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47331 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47332 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47333 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47334 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47335 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47336 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47337 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47338 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47339 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47340 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47341 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47342 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47343 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47344 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47345 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47346 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47347 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47348 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47349 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47350 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47351 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47352 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47353 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47354 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47355 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47356 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47357 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47358 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47359 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47360 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47361 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47362 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47363 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47364 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47365 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47366 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47367 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47368 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47369 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47370 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47371 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47372 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47373 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47374 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47375 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47376 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47377 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47378 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47379 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47380 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47381 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47382 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47383 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47384 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47385 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47386 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47387 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47388 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47389 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47390 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47391 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47392 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47393 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47394 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47395 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47396 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47397 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47398 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47399 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47400 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47401 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47402 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47403 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47404 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47405 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47406 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47407 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47408 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47409 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47410 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47411 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47412 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47413 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47414 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47415 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47416 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47417 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47418 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47419 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47420 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47421 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47422 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47423 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47424 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47425 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47426 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47427 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47428 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47429 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47430 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47431 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47432 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47433 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47434 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47435 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47436 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47437 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47438 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47439 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47440 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47441 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47442 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47443 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47444 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47445 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47446 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47447 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47448 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47449 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47450 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47451 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47452 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47453 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47454 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47455 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47456 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47457 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47458 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47459 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47460 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47461 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47462 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47463 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47464 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47465 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47466 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47467 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47468 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47469 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47470 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47471 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47472 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47473 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47474 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47475 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47476 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47477 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47478 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47479 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47480 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47481 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47482 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47483 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47484 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47485 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47486 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47487 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47488 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47489 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47490 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47491 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47492 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47493 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47494 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47495 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47496 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47497 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47498 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47499 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47500 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47502 static swig_type_info
*swig_type_initial
[] = {
47505 &_swigt__p_form_ops_t
,
47508 &_swigt__p_unsigned_char
,
47509 &_swigt__p_unsigned_int
,
47510 &_swigt__p_unsigned_long
,
47512 &_swigt__p_wxANIHandler
,
47513 &_swigt__p_wxAcceleratorTable
,
47514 &_swigt__p_wxActivateEvent
,
47515 &_swigt__p_wxArrayInt
,
47516 &_swigt__p_wxArrayString
,
47517 &_swigt__p_wxBMPHandler
,
47518 &_swigt__p_wxBitmap
,
47519 &_swigt__p_wxBitmapButton
,
47520 &_swigt__p_wxBookCtrlBase
,
47521 &_swigt__p_wxBookCtrlBaseEvent
,
47522 &_swigt__p_wxBoxSizer
,
47523 &_swigt__p_wxButton
,
47524 &_swigt__p_wxCURHandler
,
47525 &_swigt__p_wxCheckBox
,
47526 &_swigt__p_wxCheckListBox
,
47527 &_swigt__p_wxChildFocusEvent
,
47528 &_swigt__p_wxChoice
,
47529 &_swigt__p_wxChoicebook
,
47530 &_swigt__p_wxChoicebookEvent
,
47531 &_swigt__p_wxClipboardTextEvent
,
47532 &_swigt__p_wxCloseEvent
,
47533 &_swigt__p_wxColour
,
47534 &_swigt__p_wxColourPickerCtrl
,
47535 &_swigt__p_wxColourPickerEvent
,
47536 &_swigt__p_wxComboBox
,
47537 &_swigt__p_wxCommandEvent
,
47538 &_swigt__p_wxContextHelp
,
47539 &_swigt__p_wxContextHelpButton
,
47540 &_swigt__p_wxContextMenuEvent
,
47541 &_swigt__p_wxControl
,
47542 &_swigt__p_wxControlWithItems
,
47543 &_swigt__p_wxCursor
,
47545 &_swigt__p_wxDateEvent
,
47546 &_swigt__p_wxDatePickerCtrl
,
47547 &_swigt__p_wxDateTime
,
47548 &_swigt__p_wxDirFilterListCtrl
,
47549 &_swigt__p_wxDirPickerCtrl
,
47550 &_swigt__p_wxDisplayChangedEvent
,
47551 &_swigt__p_wxDropFilesEvent
,
47552 &_swigt__p_wxDuplexMode
,
47553 &_swigt__p_wxEraseEvent
,
47554 &_swigt__p_wxEvent
,
47555 &_swigt__p_wxEvtHandler
,
47556 &_swigt__p_wxFSFile
,
47557 &_swigt__p_wxFileDirPickerEvent
,
47558 &_swigt__p_wxFilePickerCtrl
,
47559 &_swigt__p_wxFileSystem
,
47560 &_swigt__p_wxFlexGridSizer
,
47561 &_swigt__p_wxFocusEvent
,
47563 &_swigt__p_wxFontPickerCtrl
,
47564 &_swigt__p_wxFontPickerEvent
,
47565 &_swigt__p_wxGBSizerItem
,
47566 &_swigt__p_wxGIFHandler
,
47567 &_swigt__p_wxGauge
,
47568 &_swigt__p_wxGenericDirCtrl
,
47569 &_swigt__p_wxGenericDragImage
,
47570 &_swigt__p_wxGridBagSizer
,
47571 &_swigt__p_wxGridSizer
,
47572 &_swigt__p_wxHelpEvent
,
47573 &_swigt__p_wxHelpProvider
,
47574 &_swigt__p_wxHyperlinkCtrl
,
47575 &_swigt__p_wxHyperlinkEvent
,
47576 &_swigt__p_wxICOHandler
,
47578 &_swigt__p_wxIconizeEvent
,
47579 &_swigt__p_wxIdleEvent
,
47580 &_swigt__p_wxImage
,
47581 &_swigt__p_wxImageHandler
,
47582 &_swigt__p_wxImageList
,
47583 &_swigt__p_wxIndividualLayoutConstraint
,
47584 &_swigt__p_wxInitDialogEvent
,
47585 &_swigt__p_wxItemContainer
,
47586 &_swigt__p_wxJPEGHandler
,
47587 &_swigt__p_wxKeyEvent
,
47588 &_swigt__p_wxLayoutConstraints
,
47589 &_swigt__p_wxListBox
,
47590 &_swigt__p_wxListEvent
,
47591 &_swigt__p_wxListItem
,
47592 &_swigt__p_wxListItemAttr
,
47593 &_swigt__p_wxListView
,
47594 &_swigt__p_wxListbook
,
47595 &_swigt__p_wxListbookEvent
,
47596 &_swigt__p_wxMaximizeEvent
,
47597 &_swigt__p_wxMemoryDC
,
47599 &_swigt__p_wxMenuBar
,
47600 &_swigt__p_wxMenuEvent
,
47601 &_swigt__p_wxMenuItem
,
47602 &_swigt__p_wxMouseCaptureChangedEvent
,
47603 &_swigt__p_wxMouseCaptureLostEvent
,
47604 &_swigt__p_wxMouseEvent
,
47605 &_swigt__p_wxMoveEvent
,
47606 &_swigt__p_wxNavigationKeyEvent
,
47607 &_swigt__p_wxNcPaintEvent
,
47608 &_swigt__p_wxNotebook
,
47609 &_swigt__p_wxNotebookEvent
,
47610 &_swigt__p_wxNotifyEvent
,
47611 &_swigt__p_wxObject
,
47612 &_swigt__p_wxPCXHandler
,
47613 &_swigt__p_wxPNGHandler
,
47614 &_swigt__p_wxPNMHandler
,
47615 &_swigt__p_wxPaintEvent
,
47616 &_swigt__p_wxPaletteChangedEvent
,
47617 &_swigt__p_wxPaperSize
,
47618 &_swigt__p_wxPickerBase
,
47619 &_swigt__p_wxPoint
,
47620 &_swigt__p_wxPyApp
,
47621 &_swigt__p_wxPyCommandEvent
,
47622 &_swigt__p_wxPyControl
,
47623 &_swigt__p_wxPyEvent
,
47624 &_swigt__p_wxPyImageHandler
,
47625 &_swigt__p_wxPyListCtrl
,
47626 &_swigt__p_wxPySizer
,
47627 &_swigt__p_wxPyTreeCtrl
,
47628 &_swigt__p_wxPyTreeItemData
,
47629 &_swigt__p_wxPyValidator
,
47630 &_swigt__p_wxQueryNewPaletteEvent
,
47631 &_swigt__p_wxRadioBox
,
47632 &_swigt__p_wxRadioButton
,
47634 &_swigt__p_wxScrollBar
,
47635 &_swigt__p_wxScrollEvent
,
47636 &_swigt__p_wxScrollWinEvent
,
47637 &_swigt__p_wxSetCursorEvent
,
47638 &_swigt__p_wxShowEvent
,
47639 &_swigt__p_wxSimpleHelpProvider
,
47641 &_swigt__p_wxSizeEvent
,
47642 &_swigt__p_wxSizer
,
47643 &_swigt__p_wxSizerItem
,
47644 &_swigt__p_wxSlider
,
47645 &_swigt__p_wxSpinButton
,
47646 &_swigt__p_wxSpinCtrl
,
47647 &_swigt__p_wxSpinEvent
,
47648 &_swigt__p_wxStaticBitmap
,
47649 &_swigt__p_wxStaticBox
,
47650 &_swigt__p_wxStaticBoxSizer
,
47651 &_swigt__p_wxStaticLine
,
47652 &_swigt__p_wxStaticText
,
47653 &_swigt__p_wxStdDialogButtonSizer
,
47654 &_swigt__p_wxString
,
47655 &_swigt__p_wxSysColourChangedEvent
,
47656 &_swigt__p_wxTIFFHandler
,
47657 &_swigt__p_wxTextAttr
,
47658 &_swigt__p_wxTextCtrl
,
47659 &_swigt__p_wxTextUrlEvent
,
47660 &_swigt__p_wxToggleButton
,
47661 &_swigt__p_wxToolBar
,
47662 &_swigt__p_wxToolBarBase
,
47663 &_swigt__p_wxToolBarToolBase
,
47664 &_swigt__p_wxToolbook
,
47665 &_swigt__p_wxToolbookEvent
,
47666 &_swigt__p_wxTreeEvent
,
47667 &_swigt__p_wxTreeItemId
,
47668 &_swigt__p_wxTreebook
,
47669 &_swigt__p_wxTreebookEvent
,
47670 &_swigt__p_wxUpdateUIEvent
,
47671 &_swigt__p_wxValidator
,
47672 &_swigt__p_wxVisualAttributes
,
47673 &_swigt__p_wxWindow
,
47674 &_swigt__p_wxWindowBase
,
47675 &_swigt__p_wxWindowCreateEvent
,
47676 &_swigt__p_wxWindowDestroyEvent
,
47677 &_swigt__p_wxXPMHandler
,
47680 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47681 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47682 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47683 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47684 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47685 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47686 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47687 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47688 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47689 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47690 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47691 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47692 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}};
47693 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}};
47694 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}};
47695 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}};
47696 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47697 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47698 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}};
47699 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47700 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47701 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47702 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47703 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47704 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47705 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47706 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47707 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47708 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47709 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47710 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47711 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47712 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47713 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47714 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}};
47715 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47716 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47717 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}};
47718 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}};
47719 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47720 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47721 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47722 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47723 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47724 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47725 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47726 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47727 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47728 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47729 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47730 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47731 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47732 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
47733 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47734 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47735 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47736 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47737 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47738 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47739 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47740 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47741 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47742 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47743 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47744 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47745 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47746 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47747 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47748 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47749 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47750 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47751 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
47752 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47753 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47754 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47755 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47756 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}};
47757 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47758 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47759 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47760 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47761 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47762 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47763 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47764 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47765 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47766 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}};
47767 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47768 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47769 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47770 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47771 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}};
47772 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47773 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}};
47774 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47775 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47776 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47777 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47778 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47779 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47780 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47781 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47782 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47783 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47784 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}};
47785 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47786 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47787 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47788 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47789 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47790 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47791 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47792 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47793 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47794 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47795 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47796 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47797 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47798 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47799 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47800 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47801 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47802 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47803 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47804 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47805 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47806 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47807 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47808 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47809 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47810 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47811 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47812 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47813 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47814 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47815 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
47816 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47817 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}};
47818 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47819 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47820 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}};
47821 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47822 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47823 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47824 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47825 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47826 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47827 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47828 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47829 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47830 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47831 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47832 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47833 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47834 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47835 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47836 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47837 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47838 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47839 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47840 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47841 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47842 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47843 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}};
47844 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47845 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47846 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47847 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47848 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47849 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47850 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47851 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}};
47852 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47853 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}};
47854 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47856 static swig_cast_info
*swig_cast_initial
[] = {
47859 _swigc__p_form_ops_t
,
47862 _swigc__p_unsigned_char
,
47863 _swigc__p_unsigned_int
,
47864 _swigc__p_unsigned_long
,
47866 _swigc__p_wxANIHandler
,
47867 _swigc__p_wxAcceleratorTable
,
47868 _swigc__p_wxActivateEvent
,
47869 _swigc__p_wxArrayInt
,
47870 _swigc__p_wxArrayString
,
47871 _swigc__p_wxBMPHandler
,
47872 _swigc__p_wxBitmap
,
47873 _swigc__p_wxBitmapButton
,
47874 _swigc__p_wxBookCtrlBase
,
47875 _swigc__p_wxBookCtrlBaseEvent
,
47876 _swigc__p_wxBoxSizer
,
47877 _swigc__p_wxButton
,
47878 _swigc__p_wxCURHandler
,
47879 _swigc__p_wxCheckBox
,
47880 _swigc__p_wxCheckListBox
,
47881 _swigc__p_wxChildFocusEvent
,
47882 _swigc__p_wxChoice
,
47883 _swigc__p_wxChoicebook
,
47884 _swigc__p_wxChoicebookEvent
,
47885 _swigc__p_wxClipboardTextEvent
,
47886 _swigc__p_wxCloseEvent
,
47887 _swigc__p_wxColour
,
47888 _swigc__p_wxColourPickerCtrl
,
47889 _swigc__p_wxColourPickerEvent
,
47890 _swigc__p_wxComboBox
,
47891 _swigc__p_wxCommandEvent
,
47892 _swigc__p_wxContextHelp
,
47893 _swigc__p_wxContextHelpButton
,
47894 _swigc__p_wxContextMenuEvent
,
47895 _swigc__p_wxControl
,
47896 _swigc__p_wxControlWithItems
,
47897 _swigc__p_wxCursor
,
47899 _swigc__p_wxDateEvent
,
47900 _swigc__p_wxDatePickerCtrl
,
47901 _swigc__p_wxDateTime
,
47902 _swigc__p_wxDirFilterListCtrl
,
47903 _swigc__p_wxDirPickerCtrl
,
47904 _swigc__p_wxDisplayChangedEvent
,
47905 _swigc__p_wxDropFilesEvent
,
47906 _swigc__p_wxDuplexMode
,
47907 _swigc__p_wxEraseEvent
,
47909 _swigc__p_wxEvtHandler
,
47910 _swigc__p_wxFSFile
,
47911 _swigc__p_wxFileDirPickerEvent
,
47912 _swigc__p_wxFilePickerCtrl
,
47913 _swigc__p_wxFileSystem
,
47914 _swigc__p_wxFlexGridSizer
,
47915 _swigc__p_wxFocusEvent
,
47917 _swigc__p_wxFontPickerCtrl
,
47918 _swigc__p_wxFontPickerEvent
,
47919 _swigc__p_wxGBSizerItem
,
47920 _swigc__p_wxGIFHandler
,
47922 _swigc__p_wxGenericDirCtrl
,
47923 _swigc__p_wxGenericDragImage
,
47924 _swigc__p_wxGridBagSizer
,
47925 _swigc__p_wxGridSizer
,
47926 _swigc__p_wxHelpEvent
,
47927 _swigc__p_wxHelpProvider
,
47928 _swigc__p_wxHyperlinkCtrl
,
47929 _swigc__p_wxHyperlinkEvent
,
47930 _swigc__p_wxICOHandler
,
47932 _swigc__p_wxIconizeEvent
,
47933 _swigc__p_wxIdleEvent
,
47935 _swigc__p_wxImageHandler
,
47936 _swigc__p_wxImageList
,
47937 _swigc__p_wxIndividualLayoutConstraint
,
47938 _swigc__p_wxInitDialogEvent
,
47939 _swigc__p_wxItemContainer
,
47940 _swigc__p_wxJPEGHandler
,
47941 _swigc__p_wxKeyEvent
,
47942 _swigc__p_wxLayoutConstraints
,
47943 _swigc__p_wxListBox
,
47944 _swigc__p_wxListEvent
,
47945 _swigc__p_wxListItem
,
47946 _swigc__p_wxListItemAttr
,
47947 _swigc__p_wxListView
,
47948 _swigc__p_wxListbook
,
47949 _swigc__p_wxListbookEvent
,
47950 _swigc__p_wxMaximizeEvent
,
47951 _swigc__p_wxMemoryDC
,
47953 _swigc__p_wxMenuBar
,
47954 _swigc__p_wxMenuEvent
,
47955 _swigc__p_wxMenuItem
,
47956 _swigc__p_wxMouseCaptureChangedEvent
,
47957 _swigc__p_wxMouseCaptureLostEvent
,
47958 _swigc__p_wxMouseEvent
,
47959 _swigc__p_wxMoveEvent
,
47960 _swigc__p_wxNavigationKeyEvent
,
47961 _swigc__p_wxNcPaintEvent
,
47962 _swigc__p_wxNotebook
,
47963 _swigc__p_wxNotebookEvent
,
47964 _swigc__p_wxNotifyEvent
,
47965 _swigc__p_wxObject
,
47966 _swigc__p_wxPCXHandler
,
47967 _swigc__p_wxPNGHandler
,
47968 _swigc__p_wxPNMHandler
,
47969 _swigc__p_wxPaintEvent
,
47970 _swigc__p_wxPaletteChangedEvent
,
47971 _swigc__p_wxPaperSize
,
47972 _swigc__p_wxPickerBase
,
47975 _swigc__p_wxPyCommandEvent
,
47976 _swigc__p_wxPyControl
,
47977 _swigc__p_wxPyEvent
,
47978 _swigc__p_wxPyImageHandler
,
47979 _swigc__p_wxPyListCtrl
,
47980 _swigc__p_wxPySizer
,
47981 _swigc__p_wxPyTreeCtrl
,
47982 _swigc__p_wxPyTreeItemData
,
47983 _swigc__p_wxPyValidator
,
47984 _swigc__p_wxQueryNewPaletteEvent
,
47985 _swigc__p_wxRadioBox
,
47986 _swigc__p_wxRadioButton
,
47988 _swigc__p_wxScrollBar
,
47989 _swigc__p_wxScrollEvent
,
47990 _swigc__p_wxScrollWinEvent
,
47991 _swigc__p_wxSetCursorEvent
,
47992 _swigc__p_wxShowEvent
,
47993 _swigc__p_wxSimpleHelpProvider
,
47995 _swigc__p_wxSizeEvent
,
47997 _swigc__p_wxSizerItem
,
47998 _swigc__p_wxSlider
,
47999 _swigc__p_wxSpinButton
,
48000 _swigc__p_wxSpinCtrl
,
48001 _swigc__p_wxSpinEvent
,
48002 _swigc__p_wxStaticBitmap
,
48003 _swigc__p_wxStaticBox
,
48004 _swigc__p_wxStaticBoxSizer
,
48005 _swigc__p_wxStaticLine
,
48006 _swigc__p_wxStaticText
,
48007 _swigc__p_wxStdDialogButtonSizer
,
48008 _swigc__p_wxString
,
48009 _swigc__p_wxSysColourChangedEvent
,
48010 _swigc__p_wxTIFFHandler
,
48011 _swigc__p_wxTextAttr
,
48012 _swigc__p_wxTextCtrl
,
48013 _swigc__p_wxTextUrlEvent
,
48014 _swigc__p_wxToggleButton
,
48015 _swigc__p_wxToolBar
,
48016 _swigc__p_wxToolBarBase
,
48017 _swigc__p_wxToolBarToolBase
,
48018 _swigc__p_wxToolbook
,
48019 _swigc__p_wxToolbookEvent
,
48020 _swigc__p_wxTreeEvent
,
48021 _swigc__p_wxTreeItemId
,
48022 _swigc__p_wxTreebook
,
48023 _swigc__p_wxTreebookEvent
,
48024 _swigc__p_wxUpdateUIEvent
,
48025 _swigc__p_wxValidator
,
48026 _swigc__p_wxVisualAttributes
,
48027 _swigc__p_wxWindow
,
48028 _swigc__p_wxWindowBase
,
48029 _swigc__p_wxWindowCreateEvent
,
48030 _swigc__p_wxWindowDestroyEvent
,
48031 _swigc__p_wxXPMHandler
,
48035 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48037 static swig_const_info swig_const_table
[] = {
48038 {0, 0, 0, 0.0, 0, 0}};
48043 /* -----------------------------------------------------------------------------
48044 * Type initialization:
48045 * This problem is tough by the requirement that no dynamic
48046 * memory is used. Also, since swig_type_info structures store pointers to
48047 * swig_cast_info structures and swig_cast_info structures store pointers back
48048 * to swig_type_info structures, we need some lookup code at initialization.
48049 * The idea is that swig generates all the structures that are needed.
48050 * The runtime then collects these partially filled structures.
48051 * The SWIG_InitializeModule function takes these initial arrays out of
48052 * swig_module, and does all the lookup, filling in the swig_module.types
48053 * array with the correct data and linking the correct swig_cast_info
48054 * structures together.
48056 * The generated swig_type_info structures are assigned staticly to an initial
48057 * array. We just loop though that array, and handle each type individually.
48058 * First we lookup if this type has been already loaded, and if so, use the
48059 * loaded structure instead of the generated one. Then we have to fill in the
48060 * cast linked list. The cast data is initially stored in something like a
48061 * two-dimensional array. Each row corresponds to a type (there are the same
48062 * number of rows as there are in the swig_type_initial array). Each entry in
48063 * a column is one of the swig_cast_info structures for that type.
48064 * The cast_initial array is actually an array of arrays, because each row has
48065 * a variable number of columns. So to actually build the cast linked list,
48066 * we find the array of casts associated with the type, and loop through it
48067 * adding the casts to the list. The one last trick we need to do is making
48068 * sure the type pointer in the swig_cast_info struct is correct.
48070 * First off, we lookup the cast->type name to see if it is already loaded.
48071 * There are three cases to handle:
48072 * 1) If the cast->type has already been loaded AND the type we are adding
48073 * casting info to has not been loaded (it is in this module), THEN we
48074 * replace the cast->type pointer with the type pointer that has already
48076 * 2) If BOTH types (the one we are adding casting info to, and the
48077 * cast->type) are loaded, THEN the cast info has already been loaded by
48078 * the previous module so we just ignore it.
48079 * 3) Finally, if cast->type has not already been loaded, then we add that
48080 * swig_cast_info to the linked list (because the cast->type) pointer will
48082 * ----------------------------------------------------------------------------- */
48092 #define SWIGRUNTIME_DEBUG
48096 SWIG_InitializeModule(void *clientdata
) {
48098 swig_module_info
*module_head
;
48099 static int init_run
= 0;
48101 clientdata
= clientdata
;
48103 if (init_run
) return;
48106 /* Initialize the swig_module */
48107 swig_module
.type_initial
= swig_type_initial
;
48108 swig_module
.cast_initial
= swig_cast_initial
;
48110 /* Try and load any already created modules */
48111 module_head
= SWIG_GetModule(clientdata
);
48113 swig_module
.next
= module_head
->next
;
48114 module_head
->next
= &swig_module
;
48116 /* This is the first module loaded */
48117 swig_module
.next
= &swig_module
;
48118 SWIG_SetModule(clientdata
, &swig_module
);
48121 /* Now work on filling in swig_module.types */
48122 #ifdef SWIGRUNTIME_DEBUG
48123 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48125 for (i
= 0; i
< swig_module
.size
; ++i
) {
48126 swig_type_info
*type
= 0;
48127 swig_type_info
*ret
;
48128 swig_cast_info
*cast
;
48130 #ifdef SWIGRUNTIME_DEBUG
48131 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48134 /* if there is another module already loaded */
48135 if (swig_module
.next
!= &swig_module
) {
48136 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48139 /* Overwrite clientdata field */
48140 #ifdef SWIGRUNTIME_DEBUG
48141 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48143 if (swig_module
.type_initial
[i
]->clientdata
) {
48144 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48145 #ifdef SWIGRUNTIME_DEBUG
48146 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48150 type
= swig_module
.type_initial
[i
];
48153 /* Insert casting types */
48154 cast
= swig_module
.cast_initial
[i
];
48155 while (cast
->type
) {
48156 /* Don't need to add information already in the list */
48158 #ifdef SWIGRUNTIME_DEBUG
48159 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48161 if (swig_module
.next
!= &swig_module
) {
48162 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48163 #ifdef SWIGRUNTIME_DEBUG
48164 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48168 if (type
== swig_module
.type_initial
[i
]) {
48169 #ifdef SWIGRUNTIME_DEBUG
48170 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48175 /* Check for casting already in the list */
48176 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48177 #ifdef SWIGRUNTIME_DEBUG
48178 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48180 if (!ocast
) ret
= 0;
48185 #ifdef SWIGRUNTIME_DEBUG
48186 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48189 type
->cast
->prev
= cast
;
48190 cast
->next
= type
->cast
;
48196 /* Set entry in modules->types array equal to the type */
48197 swig_module
.types
[i
] = type
;
48199 swig_module
.types
[i
] = 0;
48201 #ifdef SWIGRUNTIME_DEBUG
48202 printf("**** SWIG_InitializeModule: Cast List ******\n");
48203 for (i
= 0; i
< swig_module
.size
; ++i
) {
48205 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48206 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48207 while (cast
->type
) {
48208 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48212 printf("---- Total casts: %d\n",j
);
48214 printf("**** SWIG_InitializeModule: Cast List ******\n");
48218 /* This function will propagate the clientdata field of type to
48219 * any new swig_type_info structures that have been added into the list
48220 * of equivalent types. It is like calling
48221 * SWIG_TypeClientData(type, clientdata) a second time.
48224 SWIG_PropagateClientData(void) {
48226 swig_cast_info
*equiv
;
48227 static int init_run
= 0;
48229 if (init_run
) return;
48232 for (i
= 0; i
< swig_module
.size
; i
++) {
48233 if (swig_module
.types
[i
]->clientdata
) {
48234 equiv
= swig_module
.types
[i
]->cast
;
48236 if (!equiv
->converter
) {
48237 if (equiv
->type
&& !equiv
->type
->clientdata
)
48238 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48240 equiv
= equiv
->next
;
48260 /* Python-specific SWIG API */
48261 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48262 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48263 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48265 /* -----------------------------------------------------------------------------
48266 * global variable support code.
48267 * ----------------------------------------------------------------------------- */
48269 typedef struct swig_globalvar
{
48270 char *name
; /* Name of global variable */
48271 PyObject
*(*get_attr
)(void); /* Return the current value */
48272 int (*set_attr
)(PyObject
*); /* Set the value */
48273 struct swig_globalvar
*next
;
48276 typedef struct swig_varlinkobject
{
48278 swig_globalvar
*vars
;
48279 } swig_varlinkobject
;
48281 SWIGINTERN PyObject
*
48282 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48283 return PyString_FromString("<Swig global variables>");
48286 SWIGINTERN PyObject
*
48287 swig_varlink_str(swig_varlinkobject
*v
) {
48288 PyObject
*str
= PyString_FromString("(");
48289 swig_globalvar
*var
;
48290 for (var
= v
->vars
; var
; var
=var
->next
) {
48291 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48292 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48294 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48299 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48300 PyObject
*str
= swig_varlink_str(v
);
48301 fprintf(fp
,"Swig global variables ");
48302 fprintf(fp
,"%s\n", PyString_AsString(str
));
48308 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48309 swig_globalvar
*var
= v
->vars
;
48311 swig_globalvar
*n
= var
->next
;
48318 SWIGINTERN PyObject
*
48319 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48320 PyObject
*res
= NULL
;
48321 swig_globalvar
*var
= v
->vars
;
48323 if (strcmp(var
->name
,n
) == 0) {
48324 res
= (*var
->get_attr
)();
48329 if (res
== NULL
&& !PyErr_Occurred()) {
48330 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48336 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48338 swig_globalvar
*var
= v
->vars
;
48340 if (strcmp(var
->name
,n
) == 0) {
48341 res
= (*var
->set_attr
)(p
);
48346 if (res
== 1 && !PyErr_Occurred()) {
48347 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48352 SWIGINTERN PyTypeObject
*
48353 swig_varlink_type(void) {
48354 static char varlink__doc__
[] = "Swig var link object";
48355 static PyTypeObject varlink_type
;
48356 static int type_init
= 0;
48358 const PyTypeObject tmp
48360 PyObject_HEAD_INIT(NULL
)
48361 0, /* Number of items in variable part (ob_size) */
48362 (char *)"swigvarlink", /* Type name (tp_name) */
48363 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48364 0, /* Itemsize (tp_itemsize) */
48365 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48366 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48367 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48368 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48369 0, /* tp_compare */
48370 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48371 0, /* tp_as_number */
48372 0, /* tp_as_sequence */
48373 0, /* tp_as_mapping */
48376 (reprfunc
)swig_varlink_str
, /* tp_str */
48377 0, /* tp_getattro */
48378 0, /* tp_setattro */
48379 0, /* tp_as_buffer */
48381 varlink__doc__
, /* tp_doc */
48382 0, /* tp_traverse */
48384 0, /* tp_richcompare */
48385 0, /* tp_weaklistoffset */
48386 #if PY_VERSION_HEX >= 0x02020000
48387 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48389 #if PY_VERSION_HEX >= 0x02030000
48392 #ifdef COUNT_ALLOCS
48393 0,0,0,0 /* tp_alloc -> tp_next */
48396 varlink_type
= tmp
;
48397 varlink_type
.ob_type
= &PyType_Type
;
48400 return &varlink_type
;
48403 /* Create a variable linking object for use later */
48404 SWIGINTERN PyObject
*
48405 SWIG_Python_newvarlink(void) {
48406 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48410 return ((PyObject
*) result
);
48414 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48415 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48416 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48418 size_t size
= strlen(name
)+1;
48419 gv
->name
= (char *)malloc(size
);
48421 strncpy(gv
->name
,name
,size
);
48422 gv
->get_attr
= get_attr
;
48423 gv
->set_attr
= set_attr
;
48424 gv
->next
= v
->vars
;
48430 SWIGINTERN PyObject
*
48432 static PyObject
*_SWIG_globals
= 0;
48433 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48434 return _SWIG_globals
;
48437 /* -----------------------------------------------------------------------------
48438 * constants/methods manipulation
48439 * ----------------------------------------------------------------------------- */
48441 /* Install Constants */
48443 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48446 for (i
= 0; constants
[i
].type
; ++i
) {
48447 switch(constants
[i
].type
) {
48448 case SWIG_PY_POINTER
:
48449 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48451 case SWIG_PY_BINARY
:
48452 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48459 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48465 /* -----------------------------------------------------------------------------*/
48466 /* Fix SwigMethods to carry the callback ptrs when needed */
48467 /* -----------------------------------------------------------------------------*/
48470 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48471 swig_const_info
*const_table
,
48472 swig_type_info
**types
,
48473 swig_type_info
**types_initial
) {
48475 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48476 const char *c
= methods
[i
].ml_doc
;
48477 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48479 swig_const_info
*ci
= 0;
48480 const char *name
= c
+ 10;
48481 for (j
= 0; const_table
[j
].type
; ++j
) {
48482 if (strncmp(const_table
[j
].name
, name
,
48483 strlen(const_table
[j
].name
)) == 0) {
48484 ci
= &(const_table
[j
]);
48489 size_t shift
= (ci
->ptype
) - types
;
48490 swig_type_info
*ty
= types_initial
[shift
];
48491 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48492 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48493 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48496 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48498 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48500 strncpy(buff
, "swig_ptr: ", 10);
48502 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48503 methods
[i
].ml_doc
= ndoc
;
48515 /* -----------------------------------------------------------------------------*
48516 * Partial Init method
48517 * -----------------------------------------------------------------------------*/
48522 SWIGEXPORT
void SWIG_init(void) {
48525 /* Fix SwigMethods to carry the callback ptrs when needed */
48526 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48528 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48529 d
= PyModule_GetDict(m
);
48531 SWIG_InitializeModule(0);
48532 SWIG_InstallConstants(d
,swig_const_table
);
48535 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48536 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48537 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48538 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48539 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48540 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48541 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48542 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48543 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48544 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48545 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48546 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48547 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48548 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48549 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48550 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48551 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48552 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48553 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48554 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48555 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48556 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48557 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48558 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48559 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48560 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48561 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48562 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48563 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48564 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48565 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48566 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48567 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48568 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48569 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48570 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48571 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48572 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48573 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48574 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48575 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48576 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48577 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48578 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48579 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48580 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48581 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48582 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48583 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48584 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48585 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48586 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48587 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48588 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48589 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48590 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48591 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48592 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48593 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48594 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48595 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48596 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48597 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48598 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48599 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48600 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48601 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48602 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48603 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48604 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48605 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48606 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48607 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48608 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48609 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48610 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48611 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48612 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48613 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48614 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48615 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48616 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48617 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48618 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48619 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48620 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48621 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48622 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48623 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48624 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48625 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48626 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48627 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48628 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48629 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48630 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48631 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48632 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48633 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48634 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48635 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48636 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48637 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48638 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48639 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48640 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48641 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48642 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48643 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48644 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48645 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48646 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48647 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48648 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48649 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48650 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48651 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48652 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48653 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48654 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48655 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48656 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48657 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48658 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48659 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48660 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48661 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48662 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48663 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48664 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48665 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48666 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48667 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48668 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48669 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48670 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48671 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48672 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48673 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48674 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48675 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48676 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48677 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48678 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48679 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48680 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48681 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48682 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48683 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48684 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48685 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48686 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48687 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48688 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48689 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48690 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48691 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48692 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48693 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48694 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48695 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48696 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48697 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48698 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48699 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48700 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48701 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48702 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48703 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48704 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48705 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48706 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48707 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48708 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48709 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48710 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48711 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48712 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48713 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48714 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48715 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48716 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48717 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48718 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48719 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48720 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48721 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48722 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48723 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48724 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48725 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48726 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48727 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48728 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48729 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48730 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48731 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48732 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48733 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48734 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48735 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48736 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48737 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48738 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48739 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48740 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48741 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48742 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48743 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48744 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48745 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48746 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48747 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48748 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48749 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48750 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48751 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48752 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48753 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48754 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48755 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48756 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48757 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48758 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48759 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48760 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48761 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48762 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48763 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48764 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48765 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48766 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48767 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48768 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48769 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48770 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48771 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48772 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48773 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48774 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48775 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48776 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48777 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48778 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48779 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48780 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48781 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48782 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48783 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48784 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48785 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48786 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48787 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48788 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48789 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48791 // Map renamed classes back to their common name for OOR
48792 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48794 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48795 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48796 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48797 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48798 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48799 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48800 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48801 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48802 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48803 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48804 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48805 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48806 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48807 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48808 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48809 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48810 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48811 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48812 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48813 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48814 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48815 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48816 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48817 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48818 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48819 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48820 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48821 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48822 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48823 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48824 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48825 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48826 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48827 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48828 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48829 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48830 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48831 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48832 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48833 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48834 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48835 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48836 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48837 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48838 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48839 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48840 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48841 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48842 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48843 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48844 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48845 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48846 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48847 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48848 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48849 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
48851 // Map renamed classes back to their common name for OOR
48852 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48853 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48855 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48856 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48857 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48858 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48859 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48860 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48861 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
48862 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
48863 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48864 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48865 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48866 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48867 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48869 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48871 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48872 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48873 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48874 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48875 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48876 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48877 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48878 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48879 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48880 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48881 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48882 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48883 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48884 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48885 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48886 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48887 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48888 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48889 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48890 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48891 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48892 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48893 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48894 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48895 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48896 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48897 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48898 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48899 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48900 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48901 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48902 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48903 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48904 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48905 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48906 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48907 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48908 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48909 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48910 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));