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_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
2482 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2484 #define SWIGTYPE_p_wxCaret swig_types[18]
2485 #define SWIGTYPE_p_wxChar swig_types[19]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2487 #define SWIGTYPE_p_wxClipboard swig_types[21]
2488 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
2489 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[23]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[24]
2491 #define SWIGTYPE_p_wxColour swig_types[25]
2492 #define SWIGTYPE_p_wxCommandEvent swig_types[26]
2493 #define SWIGTYPE_p_wxConfig swig_types[27]
2494 #define SWIGTYPE_p_wxConfigBase swig_types[28]
2495 #define SWIGTYPE_p_wxConfigPathChanger swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDataFormat swig_types[36]
2503 #define SWIGTYPE_p_wxDataObject swig_types[37]
2504 #define SWIGTYPE_p_wxDataObjectComposite swig_types[38]
2505 #define SWIGTYPE_p_wxDataObjectSimple swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDateSpan swig_types[41]
2508 #define SWIGTYPE_p_wxDateTime swig_types[42]
2509 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[43]
2510 #define SWIGTYPE_p_wxDisplay swig_types[44]
2511 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDropFilesEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDuplexMode swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileConfig swig_types[52]
2519 #define SWIGTYPE_p_wxFileDataObject swig_types[53]
2520 #define SWIGTYPE_p_wxFileHistory swig_types[54]
2521 #define SWIGTYPE_p_wxFileSystem swig_types[55]
2522 #define SWIGTYPE_p_wxFileType swig_types[56]
2523 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
2524 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2525 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2526 #define SWIGTYPE_p_wxFont swig_types[60]
2527 #define SWIGTYPE_p_wxFrame swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGridBagSizer swig_types[64]
2531 #define SWIGTYPE_p_wxGridSizer swig_types[65]
2532 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2533 #define SWIGTYPE_p_wxIcon swig_types[67]
2534 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2535 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2536 #define SWIGTYPE_p_wxImage swig_types[70]
2537 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxJoystick swig_types[75]
2542 #define SWIGTYPE_p_wxJoystickEvent swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxKillError swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLog swig_types[80]
2547 #define SWIGTYPE_p_wxLogBuffer swig_types[81]
2548 #define SWIGTYPE_p_wxLogChain swig_types[82]
2549 #define SWIGTYPE_p_wxLogGui swig_types[83]
2550 #define SWIGTYPE_p_wxLogNull swig_types[84]
2551 #define SWIGTYPE_p_wxLogStderr swig_types[85]
2552 #define SWIGTYPE_p_wxLogTextCtrl swig_types[86]
2553 #define SWIGTYPE_p_wxLogWindow swig_types[87]
2554 #define SWIGTYPE_p_wxMaximizeEvent swig_types[88]
2555 #define SWIGTYPE_p_wxMenu swig_types[89]
2556 #define SWIGTYPE_p_wxMenuBar swig_types[90]
2557 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMenuItem swig_types[92]
2559 #define SWIGTYPE_p_wxMetafileDataObject swig_types[93]
2560 #define SWIGTYPE_p_wxMimeTypesManager swig_types[94]
2561 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseState swig_types[98]
2565 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
2567 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxObject swig_types[104]
2571 #define SWIGTYPE_p_wxOutputStream swig_types[105]
2572 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2578 #define SWIGTYPE_p_wxPlatformInfo swig_types[112]
2579 #define SWIGTYPE_p_wxPoint swig_types[113]
2580 #define SWIGTYPE_p_wxPowerEvent swig_types[114]
2581 #define SWIGTYPE_p_wxProcessEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPyApp swig_types[116]
2583 #define SWIGTYPE_p_wxPyArtProvider swig_types[117]
2584 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[118]
2585 #define SWIGTYPE_p_wxPyCommandEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[120]
2587 #define SWIGTYPE_p_wxPyDropSource swig_types[121]
2588 #define SWIGTYPE_p_wxPyDropTarget swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[124]
2591 #define SWIGTYPE_p_wxPyImageHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPyLog swig_types[126]
2593 #define SWIGTYPE_p_wxPyProcess swig_types[127]
2594 #define SWIGTYPE_p_wxPySizer swig_types[128]
2595 #define SWIGTYPE_p_wxPyTextDataObject swig_types[129]
2596 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[130]
2597 #define SWIGTYPE_p_wxPyTimer swig_types[131]
2598 #define SWIGTYPE_p_wxPyTipProvider swig_types[132]
2599 #define SWIGTYPE_p_wxPyValidator swig_types[133]
2600 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[134]
2601 #define SWIGTYPE_p_wxRect swig_types[135]
2602 #define SWIGTYPE_p_wxScrollEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSound swig_types[145]
2612 #define SWIGTYPE_p_wxStandardPaths swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxStopWatch swig_types[149]
2616 #define SWIGTYPE_p_wxString swig_types[150]
2617 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSystemOptions swig_types[152]
2619 #define SWIGTYPE_p_wxSystemSettings swig_types[153]
2620 #define SWIGTYPE_p_wxTIFFHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextDataObject swig_types[156]
2623 #define SWIGTYPE_p_wxTimeSpan swig_types[157]
2624 #define SWIGTYPE_p_wxTimer swig_types[158]
2625 #define SWIGTYPE_p_wxTimerEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTimerRunner swig_types[160]
2627 #define SWIGTYPE_p_wxTipProvider swig_types[161]
2628 #define SWIGTYPE_p_wxToolTip swig_types[162]
2629 #define SWIGTYPE_p_wxURLDataObject swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxVideoMode swig_types[166]
2633 #define SWIGTYPE_p_wxWindow swig_types[167]
2634 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxWindowDisabler swig_types[170]
2637 #define SWIGTYPE_p_wxXPMHandler swig_types[171]
2638 static swig_type_info
*swig_types
[173];
2639 static swig_module_info swig_module
= {swig_types
, 172, 0, 0, 0, 0};
2640 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2641 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2643 /* -------- TYPES TABLE (END) -------- */
2645 #if (PY_VERSION_HEX <= 0x02000000)
2646 # if !defined(SWIG_PYTHON_CLASSIC)
2647 # error "This python version requires to use swig with the '-classic' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodern' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodernargs' option"
2657 # error "This python version requires to use swig with the '-nofastunpack' option"
2660 /*-----------------------------------------------
2661 @(target):= _misc_.so
2662 ------------------------------------------------*/
2663 #define SWIG_init init_misc_
2665 #define SWIG_name "_misc_"
2667 #define SWIGVERSION 0x010329
2670 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2671 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2674 #include <stdexcept>
2678 class PyObject_ptr
{
2683 PyObject_ptr() :_obj(0)
2687 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2692 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2694 if (initial_ref
) Py_XINCREF(_obj
);
2697 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2699 Py_XINCREF(item
._obj
);
2710 operator PyObject
*() const
2715 PyObject
*operator->() const
2724 struct PyObject_var
: PyObject_ptr
{
2725 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2727 PyObject_var
& operator = (PyObject
* obj
)
2737 #include "wx/wxPython/wxPython.h"
2738 #include "wx/wxPython/pyclasses.h"
2739 #include "wx/wxPython/pyistream.h"
2741 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 #define SWIG_From_long PyInt_FromLong
2748 SWIGINTERNINLINE PyObject
*
2749 SWIG_From_int (int value
)
2751 return SWIG_From_long (value
);
2757 # define LLONG_MIN LONG_LONG_MIN
2760 # define LLONG_MAX LONG_LONG_MAX
2763 # define ULLONG_MAX ULONG_LONG_MAX
2768 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2770 if (PyNumber_Check(obj
)) {
2771 if (val
) *val
= PyInt_AsLong(obj
);
2774 return SWIG_TypeError
;
2779 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2782 int res
= SWIG_AsVal_long (obj
, &v
);
2783 if (SWIG_IsOK(res
)) {
2784 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2785 return SWIG_OverflowError
;
2787 if (val
) *val
= static_cast< int >(v
);
2793 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2795 #include <wx/stockitem.h>
2797 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2798 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2799 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
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;
2819 wxMemorySize
wxGetFreeMemory()
2820 { wxPyRaiseNotImplemented(); return 0; }
2824 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2827 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2828 return SWIG_TypeError
;
2831 *val
= (unsigned long)v
;
2836 SWIGINTERNINLINE PyObject
*
2837 SWIG_From_unsigned_SS_long (unsigned long value
)
2839 return (value
> LONG_MAX
) ?
2840 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2844 void* wxGetXDisplay()
2847 return wxGetDisplay();
2854 wxWindow
* FindWindowAtPointer() {
2856 return wxFindWindowAtPointer(unused
);
2860 void wxWakeUpMainThread() {}
2863 bool wxThread_IsMain() {
2864 #ifdef WXP_WITH_THREAD
2865 return wxThread::IsMain();
2871 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2875 #include <wx/snglinst.h>
2879 #include <wx/msw/private.h>
2880 #include <wx/dynload.h>
2885 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2896 // This one only partially works. Appears to be an undocumented
2897 // "standard" convention that not all widgets adhear to. For
2898 // example, for some widgets backgrounds or non-client areas may
2900 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2905 // This one works much better, nearly all widgets and their
2906 // children are captured correctly[**]. Prior to the big
2907 // background erase changes that Vadim did in 2004-2005 this
2908 // method failed badly on XP with Themes activated, most native
2909 // widgets draw only partially, if at all. Without themes it
2910 // worked just like on Win2k. After those changes this method
2913 // ** For example the radio buttons in a wxRadioBox are not its
2914 // children by default, but you can capture it via the panel
2915 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2916 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2917 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2918 PRF_ERASEBKGND
| PRF_OWNED
);
2924 // This one is only defined in the latest SDK and is only
2925 // available on XP. MSDN says it is similar to sending WM_PRINT
2926 // so I expect that it will work similar to the above. Since it
2927 // is avaialble only on XP, it can't be compiled like this and
2928 // will have to be loaded dynamically.
2929 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2934 // Use PrintWindow if available, or fallback to WM_PRINT
2935 // otherwise. Unfortunately using PrintWindow is even worse than
2936 // WM_PRINT. For most native widgets nothing is drawn to the dc
2937 // at all, with or without Themes.
2938 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2939 static bool s_triedToLoad
= false;
2940 static PrintWindow_t pfnPrintWindow
= NULL
;
2941 if ( !s_triedToLoad
)
2944 s_triedToLoad
= true;
2945 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2946 if ( dllUser32
.IsLoaded() )
2948 wxLogNull nolog
; // Don't report errors here
2949 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2954 //printf("Using PrintWindow\n");
2955 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2959 //printf("Using WM_PRINT\n");
2960 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2961 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2962 PRF_ERASEBKGND
| PRF_OWNED
);
2973 #include <wx/tipdlg.h>
2976 SWIGINTERNINLINE PyObject
*
2977 SWIG_From_size_t (size_t value
)
2979 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2983 class wxPyTipProvider
: public wxTipProvider
{
2985 wxPyTipProvider(size_t currentTip
)
2986 : wxTipProvider(currentTip
) {}
2988 DEC_PYCALLBACK_STRING__pure(GetTip
);
2989 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2993 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2994 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2997 SWIGINTERNINLINE
int
2998 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3001 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3002 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3007 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3009 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3011 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3012 : wxTimer(owner
, id
)
3019 SWIGINTERN swig_type_info
*
3020 SWIG_pchar_descriptor()
3022 static int init
= 0;
3023 static swig_type_info
* info
= 0;
3025 info
= SWIG_TypeQuery("_p_char");
3032 SWIGINTERNINLINE PyObject
*
3033 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3036 if (size
> INT_MAX
) {
3037 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3038 return pchar_descriptor
?
3039 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3041 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3044 return SWIG_Py_Void();
3049 SWIGINTERNINLINE PyObject
*
3050 SWIG_FromCharPtr(const char *cptr
)
3052 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3057 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3060 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3061 if (SWIG_IsOK(res
)) {
3062 if ((v
> UINT_MAX
)) {
3063 return SWIG_OverflowError
;
3065 if (val
) *val
= static_cast< unsigned int >(v
);
3071 SWIGINTERN wxString
wxLog_TimeStamp(){
3073 wxLog::TimeStamp(&msg
);
3076 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3077 // Make some wrappers that double any % signs so they are 'escaped'
3078 void wxPyLogFatalError(const wxString
& msg
)
3081 m
.Replace(wxT("%"), wxT("%%"));
3085 void wxPyLogError(const wxString
& msg
)
3088 m
.Replace(wxT("%"), wxT("%%"));
3092 void wxPyLogWarning(const wxString
& msg
)
3095 m
.Replace(wxT("%"), wxT("%%"));
3099 void wxPyLogMessage(const wxString
& msg
)
3102 m
.Replace(wxT("%"), wxT("%%"));
3106 void wxPyLogInfo(const wxString
& msg
)
3109 m
.Replace(wxT("%"), wxT("%%"));
3113 void wxPyLogDebug(const wxString
& msg
)
3116 m
.Replace(wxT("%"), wxT("%%"));
3120 void wxPyLogVerbose(const wxString
& msg
)
3123 m
.Replace(wxT("%"), wxT("%%"));
3127 void wxPyLogStatus(const wxString
& msg
)
3130 m
.Replace(wxT("%"), wxT("%%"));
3134 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3137 m
.Replace(wxT("%"), wxT("%%"));
3138 wxLogStatus(pFrame
, m
);
3141 void wxPyLogSysError(const wxString
& msg
)
3144 m
.Replace(wxT("%"), wxT("%%"));
3148 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3151 m
.Replace(wxT("%"), wxT("%%"));
3152 wxLogGeneric(level
, m
);
3155 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3158 m
.Replace(wxT("%"), wxT("%%"));
3159 wxLogTrace(mask
, m
);
3162 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3165 m
.Replace(wxT("%"), wxT("%%"));
3166 wxLogTrace(mask
, m
);
3171 // A wxLog class that can be derived from in wxPython
3172 class wxPyLog
: public wxLog
{
3174 wxPyLog() : wxLog() {}
3176 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3179 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3180 PyObject
* s
= wx2PyString(szString
);
3181 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3184 wxPyEndBlockThreads(blocked
);
3186 wxLog::DoLog(level
, szString
, t
);
3189 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3192 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3193 PyObject
* s
= wx2PyString(szString
);
3194 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3197 wxPyEndBlockThreads(blocked
);
3199 wxLog::DoLogString(szString
, t
);
3202 DEC_PYCALLBACK_VOID_(Flush
);
3205 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3210 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3213 #include <wx/joystick.h>
3216 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3217 // A C++ stub class for wxJoystick for platforms that don't have it.
3218 class wxJoystick
: public wxObject
{
3220 wxJoystick(int joystick
= wxJOYSTICK1
) {
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyErr_SetString(PyExc_NotImplementedError
,
3223 "wxJoystick is not available on this platform.");
3224 wxPyEndBlockThreads(blocked
);
3226 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3227 int GetZPosition() { return -1; }
3228 int GetButtonState() { return -1; }
3229 int GetPOVPosition() { return -1; }
3230 int GetPOVCTSPosition() { return -1; }
3231 int GetRudderPosition() { return -1; }
3232 int GetUPosition() { return -1; }
3233 int GetVPosition() { return -1; }
3234 int GetMovementThreshold() { return -1; }
3235 void SetMovementThreshold(int threshold
) {}
3237 bool IsOk(void) { return false; }
3238 int GetNumberJoysticks() { return -1; }
3239 int GetManufacturerId() { return -1; }
3240 int GetProductId() { return -1; }
3241 wxString
GetProductName() { return wxEmptyString
; }
3242 int GetXMin() { return -1; }
3243 int GetYMin() { return -1; }
3244 int GetZMin() { return -1; }
3245 int GetXMax() { return -1; }
3246 int GetYMax() { return -1; }
3247 int GetZMax() { return -1; }
3248 int GetNumberButtons() { return -1; }
3249 int GetNumberAxes() { return -1; }
3250 int GetMaxButtons() { return -1; }
3251 int GetMaxAxes() { return -1; }
3252 int GetPollingMin() { return -1; }
3253 int GetPollingMax() { return -1; }
3254 int GetRudderMin() { return -1; }
3255 int GetRudderMax() { return -1; }
3256 int GetUMin() { return -1; }
3257 int GetUMax() { return -1; }
3258 int GetVMin() { return -1; }
3259 int GetVMax() { return -1; }
3261 bool HasRudder() { return false; }
3262 bool HasZ() { return false; }
3263 bool HasU() { return false; }
3264 bool HasV() { return false; }
3265 bool HasPOV() { return false; }
3266 bool HasPOV4Dir() { return false; }
3267 bool HasPOVCTS() { return false; }
3269 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3270 bool ReleaseCapture() { return false; }
3275 #include <wx/sound.h>
3279 // A C++ stub class for wxWave for platforms that don't have it.
3280 class wxSound
: public wxObject
3284 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3285 PyErr_SetString(PyExc_NotImplementedError
,
3286 "wxSound is not available on this platform.");
3287 wxPyEndBlockThreads(blocked
);
3289 wxSound(const wxString
&/*, bool*/) {
3290 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3291 PyErr_SetString(PyExc_NotImplementedError
,
3292 "wxSound is not available on this platform.");
3293 wxPyEndBlockThreads(blocked
);
3295 wxSound(int, const wxByte
*) {
3296 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3297 PyErr_SetString(PyExc_NotImplementedError
,
3298 "wxSound is not available on this platform.");
3299 wxPyEndBlockThreads(blocked
);
3304 bool Create(const wxString
&/*, bool*/) { return false; }
3305 bool Create(int, const wxByte
*) { return false; };
3306 bool IsOk() { return false; };
3307 bool Play(unsigned) const { return false; }
3308 static bool Play(const wxString
&, unsigned) { return false; }
3309 static void Stop() {}
3314 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3315 if (fileName
.Length() == 0)
3318 return new wxSound(fileName
);
3320 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3321 unsigned char* buffer
; int size
;
3322 wxSound
*sound
= NULL
;
3324 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3325 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3327 sound
= new wxSound(size
, buffer
);
3329 wxPyEndBlockThreads(blocked
);
3332 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3334 unsigned char* buffer
;
3338 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3339 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3341 rv
= self
->Create(size
, buffer
);
3343 wxPyEndBlockThreads(blocked
);
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 PyErr_SetString(PyExc_NotImplementedError
,
3348 "Create from data is not available on this platform.");
3349 wxPyEndBlockThreads(blocked
);
3354 #include <wx/mimetype.h>
3356 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3358 if (self
->GetMimeType(&str
))
3359 return wx2PyString(str
);
3363 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3365 if (self
->GetMimeTypes(arr
))
3366 return wxArrayString2PyList_helper(arr
);
3370 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3372 if (self
->GetExtensions(arr
))
3373 return wxArrayString2PyList_helper(arr
);
3377 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3379 if (self
->GetIcon(&loc
))
3380 return new wxIcon(loc
);
3384 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3386 if (self
->GetIcon(&loc
)) {
3387 wxString iconFile
= loc
.GetFileName();
3392 // Make a tuple and put the values in it
3393 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3394 PyObject
* tuple
= PyTuple_New(3);
3395 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3396 wxT("wxIcon"), true));
3397 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3398 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3399 wxPyEndBlockThreads(blocked
);
3405 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3407 if (self
->GetDescription(&str
))
3408 return wx2PyString(str
);
3412 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3414 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3415 return wx2PyString(str
);
3419 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3421 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3422 return wx2PyString(str
);
3426 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3427 wxArrayString verbs
;
3428 wxArrayString commands
;
3429 if (self
->GetAllCommands(&verbs
, &commands
,
3430 wxFileType::MessageParameters(filename
, mimetype
))) {
3431 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3432 PyObject
* tuple
= PyTuple_New(2);
3433 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3434 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3435 wxPyEndBlockThreads(blocked
);
3441 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3442 return wxFileType::ExpandCommand(command
,
3443 wxFileType::MessageParameters(filename
, mimetype
));
3445 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3447 self
->EnumAllFileTypes(arr
);
3448 return wxArrayString2PyList_helper(arr
);
3451 #include <wx/artprov.h>
3453 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3454 static const wxString
wxPyART_MENU(wxART_MENU
);
3455 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3456 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3457 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3458 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3459 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3460 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3461 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3462 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3463 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3464 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3465 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3466 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3467 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3468 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3469 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3470 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3471 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3472 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3473 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3474 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3475 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3476 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3477 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3478 static const wxString
wxPyART_HELP(wxART_HELP
);
3479 static const wxString
wxPyART_TIP(wxART_TIP
);
3480 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3481 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3482 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3483 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3484 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3485 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3486 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3487 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3488 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3489 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3490 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3491 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3492 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3493 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3494 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3495 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3496 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3497 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3498 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3499 static const wxString
wxPyART_COPY(wxART_COPY
);
3500 static const wxString
wxPyART_CUT(wxART_CUT
);
3501 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3502 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3503 static const wxString
wxPyART_NEW(wxART_NEW
);
3504 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3505 static const wxString
wxPyART_REDO(wxART_REDO
);
3506 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3507 static const wxString
wxPyART_FIND(wxART_FIND
);
3508 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3509 // Python aware wxArtProvider
3510 class wxPyArtProvider
: public wxArtProvider
{
3513 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3514 const wxArtClient
& client
,
3515 const wxSize
& size
) {
3516 wxBitmap rval
= wxNullBitmap
;
3517 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3518 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3519 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3523 s1
= wx2PyString(id
);
3524 s2
= wx2PyString(client
);
3525 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3530 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3535 wxPyEndBlockThreads(blocked
);
3542 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3546 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3547 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3548 PyObject
* ret
= PyTuple_New(3);
3550 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3551 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3552 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3554 wxPyEndBlockThreads(blocked
);
3558 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3563 cont
= self
->GetFirstGroup(value
, index
);
3564 return __EnumerationHelper(cont
, value
, index
);
3566 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3570 cont
= self
->GetNextGroup(value
, index
);
3571 return __EnumerationHelper(cont
, value
, index
);
3573 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3578 cont
= self
->GetFirstEntry(value
, index
);
3579 return __EnumerationHelper(cont
, value
, index
);
3581 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3585 cont
= self
->GetNextEntry(value
, index
);
3586 return __EnumerationHelper(cont
, value
, index
);
3588 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3590 self
->Read(key
, &rv
, defaultVal
);
3595 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3597 if (PyNumber_Check(obj
)) {
3598 if (val
) *val
= PyFloat_AsDouble(obj
);
3601 return SWIG_TypeError
;
3604 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3606 self
->Read(key
, &rv
, defaultVal
);
3610 #define SWIG_From_double PyFloat_FromDouble
3612 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3614 self
->Read(key
, &rv
, defaultVal
);
3618 #include <wx/datetime.h>
3620 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3621 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3623 #define LOCAL_TZ wxDateTime::Local
3625 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3628 wxDateTime::GetAmPmStrings(&am
, &pm
);
3629 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3630 PyObject
* tup
= PyTuple_New(2);
3631 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3632 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3633 wxPyEndBlockThreads(blocked
);
3637 SWIGINTERNINLINE PyObject
*
3638 SWIG_From_unsigned_SS_int (unsigned int value
)
3640 return SWIG_From_unsigned_SS_long (value
);
3643 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3644 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3645 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3646 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3647 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3648 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3649 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3650 return (*self
< *other
);
3652 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3653 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3654 return (*self
<= *other
);
3656 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3657 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3658 return (*self
> *other
);
3660 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3661 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3662 return (*self
>= *other
);
3664 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3665 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3666 return (*self
== *other
);
3668 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3669 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3670 return (*self
!= *other
);
3672 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3674 const wxChar
* _date
= date
;
3675 rv
= self
->ParseRfc822Date(_date
);
3676 if (rv
== NULL
) return -1;
3679 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3681 const wxChar
* _date
= date
;
3682 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3683 if (rv
== NULL
) return -1;
3686 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3688 const wxChar
* _datetime
= datetime
;
3689 rv
= self
->ParseDateTime(_datetime
);
3690 if (rv
== NULL
) return -1;
3691 return rv
- _datetime
;
3693 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3695 const wxChar
* _date
= date
;
3696 rv
= self
->ParseDate(_date
);
3697 if (rv
== NULL
) return -1;
3700 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3702 const wxChar
* _time
= time
;
3703 rv
= self
->ParseTime(_time
);
3704 if (rv
== NULL
) return -1;
3707 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3708 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3709 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3710 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3711 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3712 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3713 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3714 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3715 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3716 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3717 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3718 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3719 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3720 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3721 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3722 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3724 #include <wx/dataobj.h>
3726 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3727 size_t count
= self
->GetFormatCount(dir
);
3728 wxDataFormat
* formats
= new wxDataFormat
[count
];
3729 self
->GetAllFormats(formats
, dir
);
3731 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3732 PyObject
* list
= PyList_New(count
);
3733 for (size_t i
=0; i
<count
; i
++) {
3734 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3735 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3736 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3738 wxPyEndBlockThreads(blocked
);
3742 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3743 PyObject
* rval
= NULL
;
3744 size_t size
= self
->GetDataSize(format
);
3745 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3747 char* buf
= new char[size
];
3748 if (self
->GetDataHere(format
, buf
))
3749 rval
= PyString_FromStringAndSize(buf
, size
);
3756 wxPyEndBlockThreads(blocked
);
3759 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3761 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3762 if (PyString_Check(data
)) {
3763 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3766 // raise a TypeError if not a string
3767 PyErr_SetString(PyExc_TypeError
, "String expected.");
3770 wxPyEndBlockThreads(blocked
);
3773 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3774 PyObject
* rval
= NULL
;
3775 size_t size
= self
->GetDataSize();
3776 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3778 char* buf
= new char[size
];
3779 if (self
->GetDataHere(buf
))
3780 rval
= PyString_FromStringAndSize(buf
, size
);
3787 wxPyEndBlockThreads(blocked
);
3790 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3792 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3793 if (PyString_Check(data
)) {
3794 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3797 // raise a TypeError if not a string
3798 PyErr_SetString(PyExc_TypeError
, "String expected.");
3801 wxPyEndBlockThreads(blocked
);
3804 // Create a new class for wxPython to use
3805 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3807 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3808 : wxDataObjectSimple(format
) {}
3810 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3811 bool GetDataHere(void *buf
) const;
3812 bool SetData(size_t len
, const void *buf
);
3816 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3818 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3819 // We need to get the data for this object and write it to buf. I think
3820 // the best way to do this for wxPython is to have the Python method
3821 // return either a string or None and then act appropriately with the
3825 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3826 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3828 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3830 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3832 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3836 wxPyEndBlockThreads(blocked
);
3840 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3841 // For this one we simply need to make a string from buf and len
3842 // and send it to the Python method.
3844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3845 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3846 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3847 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3850 wxPyEndBlockThreads(blocked
);
3854 // Create a new class for wxPython to use
3855 class wxPyTextDataObject
: public wxTextDataObject
{
3857 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3858 : wxTextDataObject(text
) {}
3860 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3861 DEC_PYCALLBACK_STRING__const(GetText
);
3862 DEC_PYCALLBACK__STRING(SetText
);
3866 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3867 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3868 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3871 // Create a new class for wxPython to use
3872 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3874 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3875 : wxBitmapDataObject(bitmap
) {}
3877 wxBitmap
GetBitmap() const;
3878 void SetBitmap(const wxBitmap
& bitmap
);
3882 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3883 wxBitmap
* rval
= &wxNullBitmap
;
3884 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3885 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3888 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3890 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3895 wxPyEndBlockThreads(blocked
);
3899 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3900 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3901 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3902 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3903 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3906 wxPyEndBlockThreads(blocked
);
3909 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3910 return new wxCustomDataObject(wxDataFormat(formatName
));
3912 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3914 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3915 if (PyString_Check(data
)) {
3916 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3919 // raise a TypeError if not a string
3920 PyErr_SetString(PyExc_TypeError
, "String expected.");
3923 wxPyEndBlockThreads(blocked
);
3926 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3928 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3929 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3930 wxPyEndBlockThreads(blocked
);
3934 class wxMetafileDataObject
: public wxDataObjectSimple
3937 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3941 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3944 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3945 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3946 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3947 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3948 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3951 class wxPyTextDropTarget
: public wxTextDropTarget
{
3953 wxPyTextDropTarget() {}
3955 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3957 DEC_PYCALLBACK__(OnLeave
);
3958 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3959 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3960 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3961 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3966 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3967 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3968 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3969 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3970 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3971 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3975 class wxPyFileDropTarget
: public wxFileDropTarget
{
3977 wxPyFileDropTarget() {}
3979 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3981 DEC_PYCALLBACK__(OnLeave
);
3982 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3983 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3984 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3985 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3990 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3991 const wxArrayString
& filenames
) {
3993 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3994 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3995 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3996 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3999 wxPyEndBlockThreads(blocked
);
4005 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4006 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4007 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4008 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4009 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4014 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4016 #include <wx/display.h>
4018 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4019 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4022 const wxVideoMode wxDefaultVideoMode
;
4025 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4027 PyObject
* pyList
= NULL
;
4028 wxArrayVideoModes arr
= self
->GetModes(mode
);
4029 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4030 pyList
= PyList_New(0);
4031 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4033 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4034 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4035 PyList_Append(pyList
, pyObj
);
4038 wxPyEndBlockThreads(blocked
);
4041 wxPyRaiseNotImplemented();
4045 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4047 return self
->GetCurrentMode();
4049 wxPyRaiseNotImplemented();
4050 return wxDefaultVideoMode
;
4053 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4055 return self
->ChangeMode(mode
);
4057 wxPyRaiseNotImplemented();
4061 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4065 wxPyRaiseNotImplemented();
4069 #include <wx/stdpaths.h>
4071 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4072 return (wxStandardPaths
*) &wxStandardPaths::Get();
4075 #ifndef wxHAS_POWER_EVENTS
4076 // Dummy class and other definitions for platforms that don't have them
4078 // See wxPython_int.h for wxPowerEvent
4081 wxEVT_POWER_SUSPENDING
,
4082 wxEVT_POWER_SUSPENDED
,
4083 wxEVT_POWER_SUSPEND_CANCEL
,
4087 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4088 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4095 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
= 0;
4097 wxSystemColour arg1
;
4101 PyObject
* obj0
= 0 ;
4102 char * kwnames
[] = {
4103 (char *) "index", NULL
4106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4108 if (!SWIG_IsOK(ecode1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4111 arg1
= static_cast< wxSystemColour
>(val1
);
4113 if (!wxPyCheckForApp()) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= wxSystemSettings::GetColour(arg1
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4126 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
= 0;
4132 PyObject
* obj0
= 0 ;
4133 char * kwnames
[] = {
4134 (char *) "index", NULL
4137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4138 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4139 if (!SWIG_IsOK(ecode1
)) {
4140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4142 arg1
= static_cast< wxSystemFont
>(val1
);
4144 if (!wxPyCheckForApp()) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= wxSystemSettings::GetFont(arg1
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4157 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
= 0;
4159 wxSystemMetric arg1
;
4160 wxWindow
*arg2
= (wxWindow
*) NULL
;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4168 char * kwnames
[] = {
4169 (char *) "index",(char *) "win", NULL
4172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4173 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4174 if (!SWIG_IsOK(ecode1
)) {
4175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4177 arg1
= static_cast< wxSystemMetric
>(val1
);
4179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4180 if (!SWIG_IsOK(res2
)) {
4181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4183 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4186 if (!wxPyCheckForApp()) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_From_int(static_cast< int >(result
));
4199 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
= 0;
4201 wxSystemFeature arg1
;
4205 PyObject
* obj0
= 0 ;
4206 char * kwnames
[] = {
4207 (char *) "index", NULL
4210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4211 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4212 if (!SWIG_IsOK(ecode1
)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4215 arg1
= static_cast< wxSystemFeature
>(val1
);
4217 if (!wxPyCheckForApp()) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4232 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4233 PyObject
*resultobj
= 0;
4234 wxSystemScreenType result
;
4236 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4238 if (!wxPyCheckForApp()) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= SWIG_From_int(static_cast< int >(result
));
4251 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
= 0;
4253 wxSystemScreenType arg1
;
4256 PyObject
* obj0
= 0 ;
4257 char * kwnames
[] = {
4258 (char *) "screen", NULL
4261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4262 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4263 if (!SWIG_IsOK(ecode1
)) {
4264 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4266 arg1
= static_cast< wxSystemScreenType
>(val1
);
4268 if (!wxPyCheckForApp()) SWIG_fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 wxSystemSettings::SetScreenType(arg1
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_Py_Void();
4281 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4284 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4285 return SWIG_Py_Void();
4288 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4289 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4294 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4295 PyObject
*pyobj
= 0;
4299 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4301 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4308 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4309 PyObject
*resultobj
= 0;
4310 wxSystemOptions
*result
= 0 ;
4312 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (wxSystemOptions
*)new wxSystemOptions();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4326 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
= 0;
4328 wxString
*arg1
= 0 ;
4329 wxString
*arg2
= 0 ;
4330 bool temp1
= false ;
4331 bool temp2
= false ;
4332 PyObject
* obj0
= 0 ;
4333 PyObject
* obj1
= 0 ;
4334 char * kwnames
[] = {
4335 (char *) "name",(char *) "value", NULL
4338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4340 arg1
= wxString_in_helper(obj0
);
4341 if (arg1
== NULL
) SWIG_fail
;
4345 arg2
= wxString_in_helper(obj1
);
4346 if (arg2
== NULL
) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= SWIG_Py_Void();
4378 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
= 0;
4380 wxString
*arg1
= 0 ;
4382 bool temp1
= false ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4387 char * kwnames
[] = {
4388 (char *) "name",(char *) "value", NULL
4391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4393 arg1
= wxString_in_helper(obj0
);
4394 if (arg1
== NULL
) SWIG_fail
;
4397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4398 if (!SWIG_IsOK(ecode2
)) {
4399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4401 arg2
= static_cast< int >(val2
);
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_Py_Void();
4423 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
= 0;
4425 wxString
*arg1
= 0 ;
4427 bool temp1
= false ;
4428 PyObject
* obj0
= 0 ;
4429 char * kwnames
[] = {
4430 (char *) "name", NULL
4433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4435 arg1
= wxString_in_helper(obj0
);
4436 if (arg1
== NULL
) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4466 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
= 0;
4468 wxString
*arg1
= 0 ;
4470 bool temp1
= false ;
4471 PyObject
* obj0
= 0 ;
4472 char * kwnames
[] = {
4473 (char *) "name", NULL
4476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4478 arg1
= wxString_in_helper(obj0
);
4479 if (arg1
== NULL
) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_From_int(static_cast< int >(result
));
4503 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
= 0;
4505 wxString
*arg1
= 0 ;
4507 bool temp1
= false ;
4508 PyObject
* obj0
= 0 ;
4509 char * kwnames
[] = {
4510 (char *) "name", NULL
4513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4515 arg1
= wxString_in_helper(obj0
);
4516 if (arg1
== NULL
) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4542 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
= 0;
4544 wxString
*arg1
= 0 ;
4546 bool temp1
= false ;
4547 PyObject
* obj0
= 0 ;
4548 char * kwnames
[] = {
4549 (char *) "name", NULL
4552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4554 arg1
= wxString_in_helper(obj0
);
4555 if (arg1
== NULL
) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4581 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4584 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4585 return SWIG_Py_Void();
4588 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4589 return SWIG_Python_InitShadowInstance(args
);
4592 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4593 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4598 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4599 PyObject
*pyobj
= 0;
4603 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4605 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4612 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4613 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4618 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4619 PyObject
*pyobj
= 0;
4623 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4625 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4632 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4633 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4638 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4639 PyObject
*pyobj
= 0;
4643 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4645 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4652 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4653 PyObject
*resultobj
= 0;
4656 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 result
= (long)wxNewId();
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= SWIG_From_long(static_cast< long >(result
));
4670 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
= 0;
4675 PyObject
* obj0
= 0 ;
4676 char * kwnames
[] = {
4680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4681 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4682 if (!SWIG_IsOK(ecode1
)) {
4683 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4685 arg1
= static_cast< long >(val1
);
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_Py_Void();
4699 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4700 PyObject
*resultobj
= 0;
4703 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 result
= (long)wxGetCurrentId();
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= SWIG_From_long(static_cast< long >(result
));
4717 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
= 0;
4723 PyObject
* obj0
= 0 ;
4724 char * kwnames
[] = {
4728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4730 if (!SWIG_IsOK(ecode1
)) {
4731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4733 arg1
= static_cast< int >(val1
);
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 result
= (bool)wxIsStockID(arg1
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4749 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
= 0;
4752 wxString
*arg2
= 0 ;
4756 bool temp2
= false ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4759 char * kwnames
[] = {
4760 (char *) "id",(char *) "label", NULL
4763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4765 if (!SWIG_IsOK(ecode1
)) {
4766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4768 arg1
= static_cast< int >(val1
);
4770 arg2
= wxString_in_helper(obj1
);
4771 if (arg2
== NULL
) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
= 0;
4800 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4806 PyObject
* obj0
= 0 ;
4807 PyObject
* obj1
= 0 ;
4808 char * kwnames
[] = {
4809 (char *) "id",(char *) "flags", NULL
4812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4814 if (!SWIG_IsOK(ecode1
)) {
4815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4817 arg1
= static_cast< int >(val1
);
4819 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4820 if (!SWIG_IsOK(ecode2
)) {
4821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4823 arg2
= static_cast< long >(val2
);
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= wxGetStockLabel(arg1
,arg2
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4844 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
= 0;
4847 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4853 PyObject
* obj0
= 0 ;
4854 PyObject
* obj1
= 0 ;
4855 char * kwnames
[] = {
4856 (char *) "id",(char *) "client", NULL
4859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4860 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4861 if (!SWIG_IsOK(ecode1
)) {
4862 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4864 arg1
= static_cast< int >(val1
);
4866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4867 if (!SWIG_IsOK(ecode2
)) {
4868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4870 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= wxGetStockHelpString(arg1
,arg2
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4891 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4892 PyObject
*resultobj
= 0;
4894 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4896 if (!wxPyCheckForApp()) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_Py_Void();
4909 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4910 PyObject
*resultobj
= 0;
4912 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4914 if (!wxPyCheckForApp()) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_Py_Void();
4927 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 bool arg1
= (bool) true ;
4933 PyObject
* obj0
= 0 ;
4934 char * kwnames
[] = {
4935 (char *) "resetTimer", NULL
4938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4940 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4941 if (!SWIG_IsOK(ecode1
)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4944 arg1
= static_cast< bool >(val1
);
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (long)wxGetElapsedTime(arg1
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= SWIG_From_long(static_cast< long >(result
));
4959 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4960 PyObject
*resultobj
= 0;
4963 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (bool)wxIsBusy();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4979 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4980 PyObject
*resultobj
= 0;
4983 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5003 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
= 0;
5005 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5006 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5008 bool temp1
= false ;
5009 PyObject
* obj0
= 0 ;
5010 char * kwnames
[] = {
5011 (char *) "command", NULL
5014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
5017 arg1
= wxString_in_helper(obj0
);
5018 if (arg1
== NULL
) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (bool)wxShell((wxString
const &)*arg1
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5045 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5046 PyObject
*resultobj
= 0;
5048 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_Py_Void();
5062 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5063 PyObject
*resultobj
= 0;
5064 int *arg1
= (int *) 0 ;
5065 int *arg2
= (int *) 0 ;
5068 int res1
= SWIG_TMPOBJ
;
5070 int res2
= SWIG_TMPOBJ
;
5074 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 result
= (int)wxGetOsVersion(arg1
,arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= SWIG_From_int(static_cast< int >(result
));
5082 if (SWIG_IsTmpObj(res1
)) {
5083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5085 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5088 if (SWIG_IsTmpObj(res2
)) {
5089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5091 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5100 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5104 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= wxGetOsDescription();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5124 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5125 PyObject
*resultobj
= 0;
5128 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (bool)wxIsPlatformLittleEndian();
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5144 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5145 PyObject
*resultobj
= 0;
5148 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (bool)wxIsPlatform64Bit();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5164 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5165 PyObject
*resultobj
= 0;
5166 wxMemorySize result
;
5168 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= wxGetFreeMemory();
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5179 resultobj
= PyInt_FromLong(result
);
5188 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
= 0;
5190 wxShutdownFlags arg1
;
5194 PyObject
* obj0
= 0 ;
5195 char * kwnames
[] = {
5196 (char *) "wFlags", NULL
5199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5201 if (!SWIG_IsOK(ecode1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5204 arg1
= static_cast< wxShutdownFlags
>(val1
);
5206 if (!wxPyCheckForApp()) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (bool)wxShutdown(arg1
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5221 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
= 0;
5226 PyObject
* obj0
= 0 ;
5227 char * kwnames
[] = {
5228 (char *) "secs", NULL
5231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5232 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5233 if (!SWIG_IsOK(ecode1
)) {
5234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5236 arg1
= static_cast< int >(val1
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_Py_Void();
5250 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
= 0;
5252 unsigned long arg1
;
5253 unsigned long val1
;
5255 PyObject
* obj0
= 0 ;
5256 char * kwnames
[] = {
5257 (char *) "milliseconds", NULL
5260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5261 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5262 if (!SWIG_IsOK(ecode1
)) {
5263 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5265 arg1
= static_cast< unsigned long >(val1
);
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_Py_Void();
5279 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
= 0;
5281 unsigned long arg1
;
5282 unsigned long val1
;
5284 PyObject
* obj0
= 0 ;
5285 char * kwnames
[] = {
5286 (char *) "microseconds", NULL
5289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5290 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5291 if (!SWIG_IsOK(ecode1
)) {
5292 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5294 arg1
= static_cast< unsigned long >(val1
);
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= SWIG_Py_Void();
5308 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
= 0;
5313 PyObject
* obj0
= 0 ;
5314 char * kwnames
[] = {
5315 (char *) "enable", NULL
5318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5319 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5320 if (!SWIG_IsOK(ecode1
)) {
5321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5323 arg1
= static_cast< bool >(val1
);
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 wxEnableTopLevelWindows(arg1
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_Py_Void();
5337 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
= 0;
5339 wxString
*arg1
= 0 ;
5341 bool temp1
= false ;
5342 PyObject
* obj0
= 0 ;
5343 char * kwnames
[] = {
5347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5349 arg1
= wxString_in_helper(obj0
);
5350 if (arg1
== NULL
) SWIG_fail
;
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5380 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5381 PyObject
*resultobj
= 0;
5384 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= wxGetEmailAddress();
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5404 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5405 PyObject
*resultobj
= 0;
5408 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= wxGetHostName();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5428 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5429 PyObject
*resultobj
= 0;
5432 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= wxGetFullHostName();
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5452 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 PyObject
*resultobj
= 0;
5456 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= wxGetUserId();
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5476 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5477 PyObject
*resultobj
= 0;
5480 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= wxGetUserName();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5500 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5501 PyObject
*resultobj
= 0;
5504 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= wxGetHomeDir();
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5524 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
= 0;
5526 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5527 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5529 bool temp1
= false ;
5530 PyObject
* obj0
= 0 ;
5531 char * kwnames
[] = {
5532 (char *) "user", NULL
5535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5538 arg1
= wxString_in_helper(obj0
);
5539 if (arg1
== NULL
) SWIG_fail
;
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= wxGetUserHome((wxString
const &)*arg1
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5570 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5571 PyObject
*resultobj
= 0;
5572 unsigned long result
;
5574 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (unsigned long)wxGetProcessId();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5588 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5589 PyObject
*resultobj
= 0;
5591 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_Py_Void();
5605 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
= 0;
5607 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5608 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5609 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5610 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5611 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5612 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5613 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5614 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5615 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5616 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5617 int arg6
= (int) 0 ;
5618 wxWindow
*arg7
= (wxWindow
*) NULL
;
5619 int arg8
= (int) -1 ;
5620 int arg9
= (int) -1 ;
5622 bool temp1
= false ;
5623 bool temp2
= false ;
5624 bool temp3
= false ;
5625 bool temp4
= false ;
5626 bool temp5
= false ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 PyObject
* obj2
= 0 ;
5638 PyObject
* obj3
= 0 ;
5639 PyObject
* obj4
= 0 ;
5640 PyObject
* obj5
= 0 ;
5641 PyObject
* obj6
= 0 ;
5642 PyObject
* obj7
= 0 ;
5643 PyObject
* obj8
= 0 ;
5644 char * kwnames
[] = {
5645 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5651 arg1
= wxString_in_helper(obj0
);
5652 if (arg1
== NULL
) SWIG_fail
;
5658 arg2
= wxString_in_helper(obj1
);
5659 if (arg2
== NULL
) SWIG_fail
;
5665 arg3
= wxString_in_helper(obj2
);
5666 if (arg3
== NULL
) SWIG_fail
;
5672 arg4
= wxString_in_helper(obj3
);
5673 if (arg4
== NULL
) SWIG_fail
;
5679 arg5
= wxString_in_helper(obj4
);
5680 if (arg5
== NULL
) SWIG_fail
;
5685 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5686 if (!SWIG_IsOK(ecode6
)) {
5687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5689 arg6
= static_cast< int >(val6
);
5692 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5693 if (!SWIG_IsOK(res7
)) {
5694 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5696 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5699 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5700 if (!SWIG_IsOK(ecode8
)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5703 arg8
= static_cast< int >(val8
);
5706 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5707 if (!SWIG_IsOK(ecode9
)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5710 arg9
= static_cast< int >(val9
);
5713 if (!wxPyCheckForApp()) SWIG_fail
;
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5772 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
= 0;
5774 wxString
*arg1
= 0 ;
5775 wxString
*arg2
= 0 ;
5776 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5777 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5778 wxWindow
*arg4
= (wxWindow
*) NULL
;
5780 bool temp1
= false ;
5781 bool temp2
= false ;
5782 bool temp3
= false ;
5785 PyObject
* obj0
= 0 ;
5786 PyObject
* obj1
= 0 ;
5787 PyObject
* obj2
= 0 ;
5788 PyObject
* obj3
= 0 ;
5789 char * kwnames
[] = {
5790 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5795 arg1
= wxString_in_helper(obj0
);
5796 if (arg1
== NULL
) SWIG_fail
;
5800 arg2
= wxString_in_helper(obj1
);
5801 if (arg2
== NULL
) SWIG_fail
;
5806 arg3
= wxString_in_helper(obj2
);
5807 if (arg3
== NULL
) SWIG_fail
;
5812 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5813 if (!SWIG_IsOK(res4
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5816 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5819 if (!wxPyCheckForApp()) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5862 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
= 0;
5864 wxString
*arg1
= 0 ;
5865 wxString
*arg2
= 0 ;
5866 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5867 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5868 wxWindow
*arg4
= (wxWindow
*) NULL
;
5870 bool temp1
= false ;
5871 bool temp2
= false ;
5872 bool temp3
= false ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 PyObject
* obj2
= 0 ;
5878 PyObject
* obj3
= 0 ;
5879 char * kwnames
[] = {
5880 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5885 arg1
= wxString_in_helper(obj0
);
5886 if (arg1
== NULL
) SWIG_fail
;
5890 arg2
= wxString_in_helper(obj1
);
5891 if (arg2
== NULL
) SWIG_fail
;
5896 arg3
= wxString_in_helper(obj2
);
5897 if (arg3
== NULL
) SWIG_fail
;
5902 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5903 if (!SWIG_IsOK(res4
)) {
5904 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5906 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5909 if (!wxPyCheckForApp()) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5952 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
= 0;
5954 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5955 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5956 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5957 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5958 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5961 wxWindow
*arg5
= (wxWindow
*) NULL
;
5963 bool temp1
= false ;
5964 bool temp2
= false ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5972 PyObject
* obj2
= 0 ;
5973 PyObject
* obj3
= 0 ;
5974 PyObject
* obj4
= 0 ;
5975 char * kwnames
[] = {
5976 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5982 arg1
= wxString_in_helper(obj0
);
5983 if (arg1
== NULL
) SWIG_fail
;
5989 arg2
= wxString_in_helper(obj1
);
5990 if (arg2
== NULL
) SWIG_fail
;
5995 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5996 if (!SWIG_IsOK(ecode3
)) {
5997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5999 arg3
= static_cast< long >(val3
);
6004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6008 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6009 if (!SWIG_IsOK(res5
)) {
6010 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
6012 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6015 if (!wxPyCheckForApp()) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6050 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
= 0;
6052 wxString
*arg1
= 0 ;
6053 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6054 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6057 wxWindow
*arg4
= (wxWindow
*) NULL
;
6058 int arg5
= (int) -1 ;
6059 int arg6
= (int) -1 ;
6060 bool arg7
= (bool) true ;
6062 bool temp1
= false ;
6063 bool temp2
= false ;
6064 bool temp3
= false ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 PyObject
* obj2
= 0 ;
6076 PyObject
* obj3
= 0 ;
6077 PyObject
* obj4
= 0 ;
6078 PyObject
* obj5
= 0 ;
6079 PyObject
* obj6
= 0 ;
6080 char * kwnames
[] = {
6081 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6086 arg1
= wxString_in_helper(obj0
);
6087 if (arg1
== NULL
) SWIG_fail
;
6092 arg2
= wxString_in_helper(obj1
);
6093 if (arg2
== NULL
) SWIG_fail
;
6099 arg3
= wxString_in_helper(obj2
);
6100 if (arg3
== NULL
) SWIG_fail
;
6105 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6106 if (!SWIG_IsOK(res4
)) {
6107 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6109 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6112 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6113 if (!SWIG_IsOK(ecode5
)) {
6114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6116 arg5
= static_cast< int >(val5
);
6119 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6120 if (!SWIG_IsOK(ecode6
)) {
6121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6123 arg6
= static_cast< int >(val6
);
6126 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6127 if (!SWIG_IsOK(ecode7
)) {
6128 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6130 arg7
= static_cast< bool >(val7
);
6133 if (!wxPyCheckForApp()) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6176 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
= 0;
6178 wxString
*arg1
= 0 ;
6179 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6180 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6181 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6182 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6183 wxWindow
*arg4
= (wxWindow
*) NULL
;
6185 bool temp1
= false ;
6186 bool temp2
= false ;
6187 bool temp3
= false ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6192 PyObject
* obj2
= 0 ;
6193 PyObject
* obj3
= 0 ;
6194 char * kwnames
[] = {
6195 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6200 arg1
= wxString_in_helper(obj0
);
6201 if (arg1
== NULL
) SWIG_fail
;
6206 arg2
= wxString_in_helper(obj1
);
6207 if (arg2
== NULL
) SWIG_fail
;
6213 arg3
= wxString_in_helper(obj2
);
6214 if (arg3
== NULL
) SWIG_fail
;
6219 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6220 if (!SWIG_IsOK(res4
)) {
6221 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6223 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6226 if (!wxPyCheckForApp()) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6269 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6271 wxString
*arg1
= 0 ;
6272 wxString
*arg2
= 0 ;
6274 wxString
*arg4
= (wxString
*) 0 ;
6275 wxWindow
*arg5
= (wxWindow
*) NULL
;
6276 int arg6
= (int) -1 ;
6277 int arg7
= (int) -1 ;
6278 bool arg8
= (bool) true ;
6279 int arg9
= (int) 150 ;
6280 int arg10
= (int) 200 ;
6282 bool temp1
= false ;
6283 bool temp2
= false ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6298 PyObject
* obj2
= 0 ;
6299 PyObject
* obj3
= 0 ;
6300 PyObject
* obj4
= 0 ;
6301 PyObject
* obj5
= 0 ;
6302 PyObject
* obj6
= 0 ;
6303 PyObject
* obj7
= 0 ;
6304 PyObject
* obj8
= 0 ;
6305 char * kwnames
[] = {
6306 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6311 arg1
= wxString_in_helper(obj0
);
6312 if (arg1
== NULL
) SWIG_fail
;
6316 arg2
= wxString_in_helper(obj1
);
6317 if (arg2
== NULL
) SWIG_fail
;
6321 arg3
= PyList_Size(obj2
);
6322 arg4
= wxString_LIST_helper(obj2
);
6323 if (arg4
== NULL
) SWIG_fail
;
6326 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6327 if (!SWIG_IsOK(res5
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6330 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6333 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6334 if (!SWIG_IsOK(ecode6
)) {
6335 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6337 arg6
= static_cast< int >(val6
);
6340 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6341 if (!SWIG_IsOK(ecode7
)) {
6342 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6344 arg7
= static_cast< int >(val7
);
6347 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6348 if (!SWIG_IsOK(ecode8
)) {
6349 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6351 arg8
= static_cast< bool >(val8
);
6354 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6355 if (!SWIG_IsOK(ecode9
)) {
6356 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6358 arg9
= static_cast< int >(val9
);
6361 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6362 if (!SWIG_IsOK(ecode10
)) {
6363 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6365 arg10
= static_cast< int >(val10
);
6368 if (!wxPyCheckForApp()) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6390 if (arg4
) delete [] arg4
;
6403 if (arg4
) delete [] arg4
;
6409 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
= 0;
6411 wxString
*arg1
= 0 ;
6412 wxString
*arg2
= 0 ;
6414 wxString
*arg4
= (wxString
*) 0 ;
6415 wxWindow
*arg5
= (wxWindow
*) NULL
;
6416 int arg6
= (int) -1 ;
6417 int arg7
= (int) -1 ;
6418 bool arg8
= (bool) true ;
6419 int arg9
= (int) 150 ;
6420 int arg10
= (int) 200 ;
6422 bool temp1
= false ;
6423 bool temp2
= false ;
6436 PyObject
* obj0
= 0 ;
6437 PyObject
* obj1
= 0 ;
6438 PyObject
* obj2
= 0 ;
6439 PyObject
* obj3
= 0 ;
6440 PyObject
* obj4
= 0 ;
6441 PyObject
* obj5
= 0 ;
6442 PyObject
* obj6
= 0 ;
6443 PyObject
* obj7
= 0 ;
6444 PyObject
* obj8
= 0 ;
6445 char * kwnames
[] = {
6446 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6451 arg1
= wxString_in_helper(obj0
);
6452 if (arg1
== NULL
) SWIG_fail
;
6456 arg2
= wxString_in_helper(obj1
);
6457 if (arg2
== NULL
) SWIG_fail
;
6461 arg3
= PyList_Size(obj2
);
6462 arg4
= wxString_LIST_helper(obj2
);
6463 if (arg4
== NULL
) SWIG_fail
;
6466 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6467 if (!SWIG_IsOK(res5
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6470 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6473 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6474 if (!SWIG_IsOK(ecode6
)) {
6475 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6477 arg6
= static_cast< int >(val6
);
6480 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6481 if (!SWIG_IsOK(ecode7
)) {
6482 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6484 arg7
= static_cast< int >(val7
);
6487 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6488 if (!SWIG_IsOK(ecode8
)) {
6489 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6491 arg8
= static_cast< bool >(val8
);
6494 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6495 if (!SWIG_IsOK(ecode9
)) {
6496 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6498 arg9
= static_cast< int >(val9
);
6501 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6502 if (!SWIG_IsOK(ecode10
)) {
6503 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6505 arg10
= static_cast< int >(val10
);
6508 if (!wxPyCheckForApp()) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_From_int(static_cast< int >(result
));
6524 if (arg4
) delete [] arg4
;
6537 if (arg4
) delete [] arg4
;
6543 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
= 0;
6545 wxString
*arg1
= 0 ;
6546 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6547 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6548 int arg3
= (int) wxOK
|wxCENTRE
;
6549 wxWindow
*arg4
= (wxWindow
*) NULL
;
6550 int arg5
= (int) -1 ;
6551 int arg6
= (int) -1 ;
6553 bool temp1
= false ;
6554 bool temp2
= false ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6565 PyObject
* obj2
= 0 ;
6566 PyObject
* obj3
= 0 ;
6567 PyObject
* obj4
= 0 ;
6568 PyObject
* obj5
= 0 ;
6569 char * kwnames
[] = {
6570 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6575 arg1
= wxString_in_helper(obj0
);
6576 if (arg1
== NULL
) SWIG_fail
;
6581 arg2
= wxString_in_helper(obj1
);
6582 if (arg2
== NULL
) SWIG_fail
;
6587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6588 if (!SWIG_IsOK(ecode3
)) {
6589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6591 arg3
= static_cast< int >(val3
);
6594 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6595 if (!SWIG_IsOK(res4
)) {
6596 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6598 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6601 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6602 if (!SWIG_IsOK(ecode5
)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6605 arg5
= static_cast< int >(val5
);
6608 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6609 if (!SWIG_IsOK(ecode6
)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6612 arg6
= static_cast< int >(val6
);
6615 if (!wxPyCheckForApp()) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= SWIG_From_int(static_cast< int >(result
));
6644 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
= 0;
6646 wxString
*arg1
= 0 ;
6647 wxString
*arg2
= 0 ;
6648 wxString
*arg3
= 0 ;
6650 long arg5
= (long) 0 ;
6651 long arg6
= (long) 100 ;
6652 wxWindow
*arg7
= (wxWindow
*) NULL
;
6653 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6654 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6656 bool temp1
= false ;
6657 bool temp2
= false ;
6658 bool temp3
= false ;
6668 PyObject
* obj0
= 0 ;
6669 PyObject
* obj1
= 0 ;
6670 PyObject
* obj2
= 0 ;
6671 PyObject
* obj3
= 0 ;
6672 PyObject
* obj4
= 0 ;
6673 PyObject
* obj5
= 0 ;
6674 PyObject
* obj6
= 0 ;
6675 PyObject
* obj7
= 0 ;
6676 char * kwnames
[] = {
6677 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6682 arg1
= wxString_in_helper(obj0
);
6683 if (arg1
== NULL
) SWIG_fail
;
6687 arg2
= wxString_in_helper(obj1
);
6688 if (arg2
== NULL
) SWIG_fail
;
6692 arg3
= wxString_in_helper(obj2
);
6693 if (arg3
== NULL
) SWIG_fail
;
6696 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6697 if (!SWIG_IsOK(ecode4
)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6700 arg4
= static_cast< long >(val4
);
6702 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6703 if (!SWIG_IsOK(ecode5
)) {
6704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6706 arg5
= static_cast< long >(val5
);
6709 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6710 if (!SWIG_IsOK(ecode6
)) {
6711 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6713 arg6
= static_cast< long >(val6
);
6716 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6717 if (!SWIG_IsOK(res7
)) {
6718 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6720 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6725 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6729 if (!wxPyCheckForApp()) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= SWIG_From_long(static_cast< long >(result
));
6766 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6767 PyObject
*resultobj
= 0;
6770 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6772 if (!wxPyCheckForApp()) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (bool)wxColourDisplay();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6787 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6788 PyObject
*resultobj
= 0;
6791 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6793 if (!wxPyCheckForApp()) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (int)wxDisplayDepth();
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= SWIG_From_int(static_cast< int >(result
));
6806 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6807 PyObject
*resultobj
= 0;
6810 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6812 if (!wxPyCheckForApp()) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (int)wxGetDisplayDepth();
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_From_int(static_cast< int >(result
));
6825 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6826 PyObject
*resultobj
= 0;
6827 int *arg1
= (int *) 0 ;
6828 int *arg2
= (int *) 0 ;
6830 int res1
= SWIG_TMPOBJ
;
6832 int res2
= SWIG_TMPOBJ
;
6836 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6838 if (!wxPyCheckForApp()) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 wxDisplaySize(arg1
,arg2
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_Py_Void();
6845 if (SWIG_IsTmpObj(res1
)) {
6846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6848 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6851 if (SWIG_IsTmpObj(res2
)) {
6852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6854 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6863 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6864 PyObject
*resultobj
= 0;
6867 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6869 if (!wxPyCheckForApp()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= wxGetDisplaySize();
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6882 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6883 PyObject
*resultobj
= 0;
6884 int *arg1
= (int *) 0 ;
6885 int *arg2
= (int *) 0 ;
6887 int res1
= SWIG_TMPOBJ
;
6889 int res2
= SWIG_TMPOBJ
;
6893 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6895 if (!wxPyCheckForApp()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 wxDisplaySizeMM(arg1
,arg2
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_Py_Void();
6902 if (SWIG_IsTmpObj(res1
)) {
6903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6905 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6908 if (SWIG_IsTmpObj(res2
)) {
6909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6911 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6920 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6921 PyObject
*resultobj
= 0;
6924 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6926 if (!wxPyCheckForApp()) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= wxGetDisplaySizeMM();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6939 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6940 PyObject
*resultobj
= 0;
6941 int *arg1
= (int *) 0 ;
6942 int *arg2
= (int *) 0 ;
6943 int *arg3
= (int *) 0 ;
6944 int *arg4
= (int *) 0 ;
6946 int res1
= SWIG_TMPOBJ
;
6948 int res2
= SWIG_TMPOBJ
;
6950 int res3
= SWIG_TMPOBJ
;
6952 int res4
= SWIG_TMPOBJ
;
6958 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6960 if (!wxPyCheckForApp()) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_Py_Void();
6967 if (SWIG_IsTmpObj(res1
)) {
6968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6970 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6973 if (SWIG_IsTmpObj(res2
)) {
6974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6976 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6979 if (SWIG_IsTmpObj(res3
)) {
6980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6982 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6985 if (SWIG_IsTmpObj(res4
)) {
6986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6988 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6997 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6998 PyObject
*resultobj
= 0;
7001 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
7003 if (!wxPyCheckForApp()) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 result
= wxGetClientDisplayRect();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7016 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= 0;
7018 wxCursor
*arg1
= 0 ;
7021 PyObject
* obj0
= 0 ;
7022 char * kwnames
[] = {
7023 (char *) "cursor", NULL
7026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
7027 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
7028 if (!SWIG_IsOK(res1
)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7034 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7036 if (!wxPyCheckForApp()) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_Py_Void();
7049 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7050 PyObject
*resultobj
= 0;
7053 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7055 if (!wxPyCheckForApp()) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 result
= (void *)wxGetXDisplay();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7068 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
= 0;
7070 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7073 PyObject
* obj0
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "cursor", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7081 if (!SWIG_IsOK(res1
)) {
7082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7084 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7087 if (!wxPyCheckForApp()) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 wxBeginBusyCursor(arg1
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= SWIG_Py_Void();
7100 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7101 PyObject
*resultobj
= 0;
7104 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7106 if (!wxPyCheckForApp()) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= wxGetMousePosition();
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7119 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7120 PyObject
*resultobj
= 0;
7121 wxWindow
*result
= 0 ;
7123 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7125 if (!wxPyCheckForApp()) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= (wxWindow
*)FindWindowAtPointer();
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= wxPyMake_wxObject(result
, 0);
7140 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7141 PyObject
*resultobj
= 0;
7142 wxWindow
*result
= 0 ;
7144 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7146 if (!wxPyCheckForApp()) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (wxWindow
*)wxGetActiveWindow();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= wxPyMake_wxObject(result
, 0);
7161 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
= 0;
7164 wxWindow
*result
= 0 ;
7166 PyObject
* obj0
= 0 ;
7167 char * kwnames
[] = {
7171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7174 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7177 if (!wxPyCheckForApp()) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= wxPyMake_wxObject(result
, 0);
7192 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
= 0;
7195 wxWindow
*result
= 0 ;
7197 PyObject
* obj0
= 0 ;
7198 char * kwnames
[] = {
7202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7205 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7208 if (!wxPyCheckForApp()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= wxPyMake_wxObject(result
, 0);
7223 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
= 0;
7225 wxWindow
*arg1
= (wxWindow
*) 0 ;
7226 wxWindow
*result
= 0 ;
7229 PyObject
* obj0
= 0 ;
7230 char * kwnames
[] = {
7231 (char *) "win", NULL
7234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7236 if (!SWIG_IsOK(res1
)) {
7237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7241 if (!wxPyCheckForApp()) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= wxPyMake_wxObject(result
, 0);
7256 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxString
*arg1
= 0 ;
7260 bool temp1
= false ;
7261 PyObject
* obj0
= 0 ;
7262 char * kwnames
[] = {
7263 (char *) "url", NULL
7266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7268 arg1
= wxString_in_helper(obj0
);
7269 if (arg1
== NULL
) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7295 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
= 0;
7301 PyObject
* obj0
= 0 ;
7302 char * kwnames
[] = {
7303 (char *) "key", NULL
7306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7307 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7308 if (!SWIG_IsOK(ecode1
)) {
7309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7311 arg1
= static_cast< wxKeyCode
>(val1
);
7313 if (!wxPyCheckForApp()) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= (bool)wxGetKeyState(arg1
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7328 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7329 PyObject
*resultobj
= 0;
7330 wxMouseState
*result
= 0 ;
7332 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 result
= (wxMouseState
*)new wxMouseState();
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7346 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7347 PyObject
*resultobj
= 0;
7348 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7351 PyObject
*swig_obj
[1] ;
7353 if (!args
) SWIG_fail
;
7355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7356 if (!SWIG_IsOK(res1
)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7359 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_Py_Void();
7374 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7375 PyObject
*resultobj
= 0;
7376 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7380 PyObject
*swig_obj
[1] ;
7382 if (!args
) SWIG_fail
;
7384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7385 if (!SWIG_IsOK(res1
)) {
7386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7388 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 result
= (int)(arg1
)->GetX();
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_From_int(static_cast< int >(result
));
7402 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7403 PyObject
*resultobj
= 0;
7404 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7408 PyObject
*swig_obj
[1] ;
7410 if (!args
) SWIG_fail
;
7412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7413 if (!SWIG_IsOK(res1
)) {
7414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7416 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (int)(arg1
)->GetY();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_From_int(static_cast< int >(result
));
7430 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7431 PyObject
*resultobj
= 0;
7432 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7436 PyObject
*swig_obj
[1] ;
7438 if (!args
) SWIG_fail
;
7440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7441 if (!SWIG_IsOK(res1
)) {
7442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7444 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 result
= (bool)(arg1
)->LeftDown();
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7460 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7461 PyObject
*resultobj
= 0;
7462 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7466 PyObject
*swig_obj
[1] ;
7468 if (!args
) SWIG_fail
;
7470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7471 if (!SWIG_IsOK(res1
)) {
7472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7474 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= (bool)(arg1
)->MiddleDown();
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7490 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7491 PyObject
*resultobj
= 0;
7492 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7496 PyObject
*swig_obj
[1] ;
7498 if (!args
) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7504 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (bool)(arg1
)->RightDown();
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7520 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7521 PyObject
*resultobj
= 0;
7522 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7526 PyObject
*swig_obj
[1] ;
7528 if (!args
) SWIG_fail
;
7530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7531 if (!SWIG_IsOK(res1
)) {
7532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7534 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (bool)(arg1
)->ControlDown();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7550 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7551 PyObject
*resultobj
= 0;
7552 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7556 PyObject
*swig_obj
[1] ;
7558 if (!args
) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7564 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (bool)(arg1
)->ShiftDown();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7580 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7581 PyObject
*resultobj
= 0;
7582 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7586 PyObject
*swig_obj
[1] ;
7588 if (!args
) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7594 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (bool)(arg1
)->AltDown();
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7610 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7611 PyObject
*resultobj
= 0;
7612 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7616 PyObject
*swig_obj
[1] ;
7618 if (!args
) SWIG_fail
;
7620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7621 if (!SWIG_IsOK(res1
)) {
7622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7624 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (bool)(arg1
)->MetaDown();
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7640 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7641 PyObject
*resultobj
= 0;
7642 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7646 PyObject
*swig_obj
[1] ;
7648 if (!args
) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7654 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (bool)(arg1
)->CmdDown();
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7670 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
= 0;
7672 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7679 PyObject
* obj1
= 0 ;
7680 char * kwnames
[] = {
7681 (char *) "self",(char *) "x", NULL
7684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7686 if (!SWIG_IsOK(res1
)) {
7687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7689 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7691 if (!SWIG_IsOK(ecode2
)) {
7692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7694 arg2
= static_cast< int >(val2
);
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= SWIG_Py_Void();
7708 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
= 0;
7710 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7718 char * kwnames
[] = {
7719 (char *) "self",(char *) "y", NULL
7722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7724 if (!SWIG_IsOK(res1
)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7727 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7729 if (!SWIG_IsOK(ecode2
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7732 arg2
= static_cast< int >(val2
);
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_Py_Void();
7746 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
= 0;
7748 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7756 char * kwnames
[] = {
7757 (char *) "self",(char *) "down", NULL
7760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7765 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7766 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7767 if (!SWIG_IsOK(ecode2
)) {
7768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7770 arg2
= static_cast< bool >(val2
);
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 (arg1
)->SetLeftDown(arg2
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_Py_Void();
7784 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= 0;
7786 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7794 char * kwnames
[] = {
7795 (char *) "self",(char *) "down", NULL
7798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7800 if (!SWIG_IsOK(res1
)) {
7801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7803 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7804 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7805 if (!SWIG_IsOK(ecode2
)) {
7806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7808 arg2
= static_cast< bool >(val2
);
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 (arg1
)->SetMiddleDown(arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= SWIG_Py_Void();
7822 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
= 0;
7824 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7832 char * kwnames
[] = {
7833 (char *) "self",(char *) "down", NULL
7836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7838 if (!SWIG_IsOK(res1
)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7841 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7842 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7843 if (!SWIG_IsOK(ecode2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7846 arg2
= static_cast< bool >(val2
);
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 (arg1
)->SetRightDown(arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= SWIG_Py_Void();
7860 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
= 0;
7862 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7870 char * kwnames
[] = {
7871 (char *) "self",(char *) "down", NULL
7874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7879 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7880 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7881 if (!SWIG_IsOK(ecode2
)) {
7882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7884 arg2
= static_cast< bool >(val2
);
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->SetControlDown(arg2
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_Py_Void();
7898 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
= 0;
7900 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7907 PyObject
* obj1
= 0 ;
7908 char * kwnames
[] = {
7909 (char *) "self",(char *) "down", NULL
7912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7914 if (!SWIG_IsOK(res1
)) {
7915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7917 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7918 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7919 if (!SWIG_IsOK(ecode2
)) {
7920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7922 arg2
= static_cast< bool >(val2
);
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 (arg1
)->SetShiftDown(arg2
);
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_Py_Void();
7936 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= 0;
7938 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7946 char * kwnames
[] = {
7947 (char *) "self",(char *) "down", NULL
7950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7952 if (!SWIG_IsOK(res1
)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7955 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7956 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7957 if (!SWIG_IsOK(ecode2
)) {
7958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7960 arg2
= static_cast< bool >(val2
);
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->SetAltDown(arg2
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_Py_Void();
7974 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
= 0;
7976 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7982 PyObject
* obj0
= 0 ;
7983 PyObject
* obj1
= 0 ;
7984 char * kwnames
[] = {
7985 (char *) "self",(char *) "down", NULL
7988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7990 if (!SWIG_IsOK(res1
)) {
7991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7993 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7994 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7995 if (!SWIG_IsOK(ecode2
)) {
7996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7998 arg2
= static_cast< bool >(val2
);
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 (arg1
)->SetMetaDown(arg2
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= SWIG_Py_Void();
8012 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8015 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
8016 return SWIG_Py_Void();
8019 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8020 return SWIG_Python_InitShadowInstance(args
);
8023 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 PyObject
*resultobj
= 0;
8025 wxMouseState result
;
8027 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= wxGetMouseState();
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8041 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8042 PyObject
*resultobj
= 0;
8044 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8046 if (!wxPyCheckForApp()) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 wxWakeUpMainThread();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= SWIG_Py_Void();
8059 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8060 PyObject
*resultobj
= 0;
8062 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8064 if (!wxPyCheckForApp()) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_Py_Void();
8077 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8078 PyObject
*resultobj
= 0;
8080 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8082 if (!wxPyCheckForApp()) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8088 resultobj
= SWIG_Py_Void();
8095 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8096 PyObject
*resultobj
= 0;
8097 wxMutexGuiLocker
*result
= 0 ;
8099 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8101 if (!wxPyCheckForApp()) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8114 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8115 PyObject
*resultobj
= 0;
8116 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8119 PyObject
*swig_obj
[1] ;
8121 if (!args
) SWIG_fail
;
8123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8124 if (!SWIG_IsOK(res1
)) {
8125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8127 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= SWIG_Py_Void();
8142 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8145 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8146 return SWIG_Py_Void();
8149 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8150 return SWIG_Python_InitShadowInstance(args
);
8153 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8154 PyObject
*resultobj
= 0;
8157 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 result
= (bool)wxThread_IsMain();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8173 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
= 0;
8175 wxString
*arg1
= 0 ;
8176 wxToolTip
*result
= 0 ;
8177 bool temp1
= false ;
8178 PyObject
* obj0
= 0 ;
8179 char * kwnames
[] = {
8180 (char *) "tip", NULL
8183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8185 arg1
= wxString_in_helper(obj0
);
8186 if (arg1
== NULL
) SWIG_fail
;
8190 if (!wxPyCheckForApp()) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8211 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8212 PyObject
*resultobj
= 0;
8213 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8216 PyObject
*swig_obj
[1] ;
8218 if (!args
) SWIG_fail
;
8220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8221 if (!SWIG_IsOK(res1
)) {
8222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8224 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_Py_Void();
8239 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
= 0;
8241 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8242 wxString
*arg2
= 0 ;
8245 bool temp2
= false ;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8248 char * kwnames
[] = {
8249 (char *) "self",(char *) "tip", NULL
8252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8254 if (!SWIG_IsOK(res1
)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8257 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8259 arg2
= wxString_in_helper(obj1
);
8260 if (arg2
== NULL
) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 (arg1
)->SetTip((wxString
const &)*arg2
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_Py_Void();
8284 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8285 PyObject
*resultobj
= 0;
8286 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8290 PyObject
*swig_obj
[1] ;
8292 if (!args
) SWIG_fail
;
8294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8295 if (!SWIG_IsOK(res1
)) {
8296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8298 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 result
= (arg1
)->GetTip();
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8318 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8319 PyObject
*resultobj
= 0;
8320 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8321 wxWindow
*result
= 0 ;
8324 PyObject
*swig_obj
[1] ;
8326 if (!args
) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8332 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (wxWindow
*)(arg1
)->GetWindow();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= wxPyMake_wxObject(result
, 0);
8348 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
= 0;
8353 PyObject
* obj0
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "flag", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8359 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8360 if (!SWIG_IsOK(ecode1
)) {
8361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8363 arg1
= static_cast< bool >(val1
);
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 wxToolTip::Enable(arg1
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= SWIG_Py_Void();
8377 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
= 0;
8382 PyObject
* obj0
= 0 ;
8383 char * kwnames
[] = {
8384 (char *) "milliseconds", NULL
8387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8388 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8389 if (!SWIG_IsOK(ecode1
)) {
8390 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8392 arg1
= static_cast< long >(val1
);
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 wxToolTip::SetDelay(arg1
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= SWIG_Py_Void();
8406 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8409 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8410 return SWIG_Py_Void();
8413 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8414 return SWIG_Python_InitShadowInstance(args
);
8417 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
= 0;
8419 wxWindow
*arg1
= (wxWindow
*) 0 ;
8421 wxCaret
*result
= 0 ;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "window",(char *) "size", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8439 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8442 if (!wxPyCheckForApp()) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8455 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8456 PyObject
*resultobj
= 0;
8457 wxCaret
*arg1
= (wxCaret
*) 0 ;
8460 PyObject
*swig_obj
[1] ;
8462 if (!args
) SWIG_fail
;
8464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8465 if (!SWIG_IsOK(res1
)) {
8466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8468 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= SWIG_Py_Void();
8483 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8484 PyObject
*resultobj
= 0;
8485 wxCaret
*arg1
= (wxCaret
*) 0 ;
8488 PyObject
*swig_obj
[1] ;
8490 if (!args
) SWIG_fail
;
8492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8493 if (!SWIG_IsOK(res1
)) {
8494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8496 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 wxCaret_Destroy(arg1
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= SWIG_Py_Void();
8510 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8511 PyObject
*resultobj
= 0;
8512 wxCaret
*arg1
= (wxCaret
*) 0 ;
8516 PyObject
*swig_obj
[1] ;
8518 if (!args
) SWIG_fail
;
8520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8521 if (!SWIG_IsOK(res1
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8524 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (bool)(arg1
)->IsOk();
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8540 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8541 PyObject
*resultobj
= 0;
8542 wxCaret
*arg1
= (wxCaret
*) 0 ;
8546 PyObject
*swig_obj
[1] ;
8548 if (!args
) SWIG_fail
;
8550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8551 if (!SWIG_IsOK(res1
)) {
8552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8554 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)(arg1
)->IsVisible();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8570 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8571 PyObject
*resultobj
= 0;
8572 wxCaret
*arg1
= (wxCaret
*) 0 ;
8576 PyObject
*swig_obj
[1] ;
8578 if (!args
) SWIG_fail
;
8580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8581 if (!SWIG_IsOK(res1
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8584 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 result
= (arg1
)->GetPosition();
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8598 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8599 PyObject
*resultobj
= 0;
8600 wxCaret
*arg1
= (wxCaret
*) 0 ;
8601 int *arg2
= (int *) 0 ;
8602 int *arg3
= (int *) 0 ;
8606 int res2
= SWIG_TMPOBJ
;
8608 int res3
= SWIG_TMPOBJ
;
8609 PyObject
*swig_obj
[1] ;
8613 if (!args
) SWIG_fail
;
8615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8616 if (!SWIG_IsOK(res1
)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8619 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 (arg1
)->GetPosition(arg2
,arg3
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= SWIG_Py_Void();
8627 if (SWIG_IsTmpObj(res2
)) {
8628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8630 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8633 if (SWIG_IsTmpObj(res3
)) {
8634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8636 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8645 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8646 PyObject
*resultobj
= 0;
8647 wxCaret
*arg1
= (wxCaret
*) 0 ;
8651 PyObject
*swig_obj
[1] ;
8653 if (!args
) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8659 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (arg1
)->GetSize();
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8673 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8674 PyObject
*resultobj
= 0;
8675 wxCaret
*arg1
= (wxCaret
*) 0 ;
8676 int *arg2
= (int *) 0 ;
8677 int *arg3
= (int *) 0 ;
8681 int res2
= SWIG_TMPOBJ
;
8683 int res3
= SWIG_TMPOBJ
;
8684 PyObject
*swig_obj
[1] ;
8688 if (!args
) SWIG_fail
;
8690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8691 if (!SWIG_IsOK(res1
)) {
8692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8694 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 (arg1
)->GetSize(arg2
,arg3
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_Py_Void();
8702 if (SWIG_IsTmpObj(res2
)) {
8703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8705 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8708 if (SWIG_IsTmpObj(res3
)) {
8709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8711 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8720 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8721 PyObject
*resultobj
= 0;
8722 wxCaret
*arg1
= (wxCaret
*) 0 ;
8723 wxWindow
*result
= 0 ;
8726 PyObject
*swig_obj
[1] ;
8728 if (!args
) SWIG_fail
;
8730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8731 if (!SWIG_IsOK(res1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8734 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (wxWindow
*)(arg1
)->GetWindow();
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= wxPyMake_wxObject(result
, 0);
8750 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
= 0;
8752 wxCaret
*arg1
= (wxCaret
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 PyObject
* obj2
= 0 ;
8764 char * kwnames
[] = {
8765 (char *) "self",(char *) "x",(char *) "y", NULL
8768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8773 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8775 if (!SWIG_IsOK(ecode2
)) {
8776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8778 arg2
= static_cast< int >(val2
);
8779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8780 if (!SWIG_IsOK(ecode3
)) {
8781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8783 arg3
= static_cast< int >(val3
);
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->Move(arg2
,arg3
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= SWIG_Py_Void();
8797 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
= 0;
8799 wxCaret
*arg1
= (wxCaret
*) 0 ;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 char * kwnames
[] = {
8807 (char *) "self",(char *) "pt", NULL
8810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8812 if (!SWIG_IsOK(res1
)) {
8813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8815 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 (arg1
)->Move((wxPoint
const &)*arg2
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 resultobj
= SWIG_Py_Void();
8833 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
= 0;
8835 wxCaret
*arg1
= (wxCaret
*) 0 ;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8846 PyObject
* obj2
= 0 ;
8847 char * kwnames
[] = {
8848 (char *) "self",(char *) "width",(char *) "height", NULL
8851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8856 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8858 if (!SWIG_IsOK(ecode2
)) {
8859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8861 arg2
= static_cast< int >(val2
);
8862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8863 if (!SWIG_IsOK(ecode3
)) {
8864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8866 arg3
= static_cast< int >(val3
);
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 (arg1
)->SetSize(arg2
,arg3
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_Py_Void();
8880 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= 0;
8882 wxCaret
*arg1
= (wxCaret
*) 0 ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 char * kwnames
[] = {
8890 (char *) "self",(char *) "size", NULL
8893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8895 if (!SWIG_IsOK(res1
)) {
8896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8898 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 (arg1
)->SetSize((wxSize
const &)*arg2
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_Py_Void();
8916 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
= 0;
8918 wxCaret
*arg1
= (wxCaret
*) 0 ;
8919 int arg2
= (int) true ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8926 char * kwnames
[] = {
8927 (char *) "self",(char *) "show", NULL
8930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8932 if (!SWIG_IsOK(res1
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8935 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8938 if (!SWIG_IsOK(ecode2
)) {
8939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8941 arg2
= static_cast< int >(val2
);
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= SWIG_Py_Void();
8956 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8957 PyObject
*resultobj
= 0;
8958 wxCaret
*arg1
= (wxCaret
*) 0 ;
8961 PyObject
*swig_obj
[1] ;
8963 if (!args
) SWIG_fail
;
8965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8966 if (!SWIG_IsOK(res1
)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8969 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= SWIG_Py_Void();
8983 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8984 PyObject
*resultobj
= 0;
8987 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (int)wxCaret::GetBlinkTime();
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_From_int(static_cast< int >(result
));
9001 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
= 0;
9006 PyObject
* obj0
= 0 ;
9007 char * kwnames
[] = {
9008 (char *) "milliseconds", NULL
9011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
9012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9013 if (!SWIG_IsOK(ecode1
)) {
9014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
9016 arg1
= static_cast< int >(val1
);
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 wxCaret::SetBlinkTime(arg1
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= SWIG_Py_Void();
9030 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9033 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
9034 return SWIG_Py_Void();
9037 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9038 return SWIG_Python_InitShadowInstance(args
);
9041 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
= 0;
9043 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9044 wxBusyCursor
*result
= 0 ;
9047 PyObject
* obj0
= 0 ;
9048 char * kwnames
[] = {
9049 (char *) "cursor", NULL
9052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9055 if (!SWIG_IsOK(res1
)) {
9056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9058 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9061 if (!wxPyCheckForApp()) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9074 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9075 PyObject
*resultobj
= 0;
9076 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9079 PyObject
*swig_obj
[1] ;
9081 if (!args
) SWIG_fail
;
9083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9084 if (!SWIG_IsOK(res1
)) {
9085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9087 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_Py_Void();
9102 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9105 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9106 return SWIG_Py_Void();
9109 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9110 return SWIG_Python_InitShadowInstance(args
);
9113 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
= 0;
9115 wxWindow
*arg1
= (wxWindow
*) NULL
;
9116 wxWindowDisabler
*result
= 0 ;
9119 PyObject
* obj0
= 0 ;
9120 char * kwnames
[] = {
9121 (char *) "winToSkip", NULL
9124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9127 if (!SWIG_IsOK(res1
)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9133 if (!wxPyCheckForApp()) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9146 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9147 PyObject
*resultobj
= 0;
9148 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9151 PyObject
*swig_obj
[1] ;
9153 if (!args
) SWIG_fail
;
9155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9156 if (!SWIG_IsOK(res1
)) {
9157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9159 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_Py_Void();
9174 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9177 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9178 return SWIG_Py_Void();
9181 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9182 return SWIG_Python_InitShadowInstance(args
);
9185 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
= 0;
9187 wxString
*arg1
= 0 ;
9188 wxBusyInfo
*result
= 0 ;
9189 bool temp1
= false ;
9190 PyObject
* obj0
= 0 ;
9191 char * kwnames
[] = {
9192 (char *) "message", NULL
9195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9197 arg1
= wxString_in_helper(obj0
);
9198 if (arg1
== NULL
) SWIG_fail
;
9202 if (!wxPyCheckForApp()) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9223 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9224 PyObject
*resultobj
= 0;
9225 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9228 PyObject
*swig_obj
[1] ;
9230 if (!args
) SWIG_fail
;
9232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9233 if (!SWIG_IsOK(res1
)) {
9234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9236 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_Py_Void();
9251 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9254 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9255 return SWIG_Py_Void();
9258 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9259 return SWIG_Python_InitShadowInstance(args
);
9262 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9263 PyObject
*resultobj
= 0;
9264 wxStopWatch
*result
= 0 ;
9266 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (wxStopWatch
*)new wxStopWatch();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9280 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
= 0;
9282 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9283 long arg2
= (long) 0 ;
9288 PyObject
* obj0
= 0 ;
9289 PyObject
* obj1
= 0 ;
9290 char * kwnames
[] = {
9291 (char *) "self",(char *) "t0", NULL
9294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9296 if (!SWIG_IsOK(res1
)) {
9297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9299 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9301 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9302 if (!SWIG_IsOK(ecode2
)) {
9303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9305 arg2
= static_cast< long >(val2
);
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 (arg1
)->Start(arg2
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= SWIG_Py_Void();
9320 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9321 PyObject
*resultobj
= 0;
9322 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9325 PyObject
*swig_obj
[1] ;
9327 if (!args
) SWIG_fail
;
9329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9330 if (!SWIG_IsOK(res1
)) {
9331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9333 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 resultobj
= SWIG_Py_Void();
9347 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9348 PyObject
*resultobj
= 0;
9349 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9352 PyObject
*swig_obj
[1] ;
9354 if (!args
) SWIG_fail
;
9356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9357 if (!SWIG_IsOK(res1
)) {
9358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9360 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= SWIG_Py_Void();
9374 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9375 PyObject
*resultobj
= 0;
9376 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9380 PyObject
*swig_obj
[1] ;
9382 if (!args
) SWIG_fail
;
9384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9385 if (!SWIG_IsOK(res1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9388 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_From_long(static_cast< long >(result
));
9402 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9405 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9406 return SWIG_Py_Void();
9409 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9410 return SWIG_Python_InitShadowInstance(args
);
9413 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
= 0;
9415 int arg1
= (int) 9 ;
9416 int arg2
= (int) wxID_FILE1
;
9417 wxFileHistory
*result
= 0 ;
9422 PyObject
* obj0
= 0 ;
9423 PyObject
* obj1
= 0 ;
9424 char * kwnames
[] = {
9425 (char *) "maxFiles",(char *) "idBase", NULL
9428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9431 if (!SWIG_IsOK(ecode1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9434 arg1
= static_cast< int >(val1
);
9437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9438 if (!SWIG_IsOK(ecode2
)) {
9439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9441 arg2
= static_cast< int >(val2
);
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9456 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9457 PyObject
*resultobj
= 0;
9458 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9461 PyObject
*swig_obj
[1] ;
9463 if (!args
) SWIG_fail
;
9465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9466 if (!SWIG_IsOK(res1
)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9469 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_Py_Void();
9484 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= 0;
9486 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9487 wxString
*arg2
= 0 ;
9490 bool temp2
= false ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 char * kwnames
[] = {
9494 (char *) "self",(char *) "file", NULL
9497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9499 if (!SWIG_IsOK(res1
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9502 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9504 arg2
= wxString_in_helper(obj1
);
9505 if (arg2
== NULL
) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_Py_Void();
9529 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
= 0;
9531 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9539 char * kwnames
[] = {
9540 (char *) "self",(char *) "i", NULL
9543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9545 if (!SWIG_IsOK(res1
)) {
9546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9548 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9550 if (!SWIG_IsOK(ecode2
)) {
9551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9553 arg2
= static_cast< int >(val2
);
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 (arg1
)->RemoveFileFromHistory(arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= SWIG_Py_Void();
9567 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9568 PyObject
*resultobj
= 0;
9569 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9573 PyObject
*swig_obj
[1] ;
9575 if (!args
) SWIG_fail
;
9577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9578 if (!SWIG_IsOK(res1
)) {
9579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9581 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_From_int(static_cast< int >(result
));
9595 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
= 0;
9597 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9598 wxMenu
*arg2
= (wxMenu
*) 0 ;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9605 char * kwnames
[] = {
9606 (char *) "self",(char *) "menu", NULL
9609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9611 if (!SWIG_IsOK(res1
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9614 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9615 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9616 if (!SWIG_IsOK(res2
)) {
9617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9619 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 (arg1
)->UseMenu(arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_Py_Void();
9633 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
= 0;
9635 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9636 wxMenu
*arg2
= (wxMenu
*) 0 ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 char * kwnames
[] = {
9644 (char *) "self",(char *) "menu", NULL
9647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9649 if (!SWIG_IsOK(res1
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9652 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9654 if (!SWIG_IsOK(res2
)) {
9655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9657 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 (arg1
)->RemoveMenu(arg2
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= SWIG_Py_Void();
9671 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
= 0;
9673 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9674 wxConfigBase
*arg2
= 0 ;
9679 PyObject
* obj0
= 0 ;
9680 PyObject
* obj1
= 0 ;
9681 char * kwnames
[] = {
9682 (char *) "self",(char *) "config", NULL
9685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9687 if (!SWIG_IsOK(res1
)) {
9688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9690 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9692 if (!SWIG_IsOK(res2
)) {
9693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9698 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 (arg1
)->Load(*arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_Py_Void();
9712 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
= 0;
9714 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9715 wxConfigBase
*arg2
= 0 ;
9720 PyObject
* obj0
= 0 ;
9721 PyObject
* obj1
= 0 ;
9722 char * kwnames
[] = {
9723 (char *) "self",(char *) "config", NULL
9726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9728 if (!SWIG_IsOK(res1
)) {
9729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9731 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9733 if (!SWIG_IsOK(res2
)) {
9734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9739 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 (arg1
)->Save(*arg2
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= SWIG_Py_Void();
9753 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9754 PyObject
*resultobj
= 0;
9755 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9758 PyObject
*swig_obj
[1] ;
9760 if (!args
) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9766 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 (arg1
)->AddFilesToMenu();
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= SWIG_Py_Void();
9780 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
= 0;
9782 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9783 wxMenu
*arg2
= (wxMenu
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 char * kwnames
[] = {
9791 (char *) "self",(char *) "menu", NULL
9794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9796 if (!SWIG_IsOK(res1
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9799 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9801 if (!SWIG_IsOK(res2
)) {
9802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9804 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 (arg1
)->AddFilesToMenu(arg2
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_Py_Void();
9818 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
= 0;
9820 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 char * kwnames
[] = {
9830 (char *) "self",(char *) "i", NULL
9833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9835 if (!SWIG_IsOK(res1
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9838 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9840 if (!SWIG_IsOK(ecode2
)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9843 arg2
= static_cast< int >(val2
);
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9863 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9864 PyObject
*resultobj
= 0;
9865 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9869 PyObject
*swig_obj
[1] ;
9871 if (!args
) SWIG_fail
;
9873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9874 if (!SWIG_IsOK(res1
)) {
9875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9877 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9884 resultobj
= SWIG_From_int(static_cast< int >(result
));
9891 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9894 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9895 return SWIG_Py_Void();
9898 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9899 return SWIG_Python_InitShadowInstance(args
);
9902 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
= 0;
9904 wxString
*arg1
= 0 ;
9905 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9906 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9907 wxSingleInstanceChecker
*result
= 0 ;
9908 bool temp1
= false ;
9909 bool temp2
= false ;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9912 char * kwnames
[] = {
9913 (char *) "name",(char *) "path", NULL
9916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9918 arg1
= wxString_in_helper(obj0
);
9919 if (arg1
== NULL
) SWIG_fail
;
9924 arg2
= wxString_in_helper(obj1
);
9925 if (arg2
== NULL
) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9958 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9959 PyObject
*resultobj
= 0;
9960 wxSingleInstanceChecker
*result
= 0 ;
9962 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9976 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9977 PyObject
*resultobj
= 0;
9978 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9981 PyObject
*swig_obj
[1] ;
9983 if (!args
) SWIG_fail
;
9985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9986 if (!SWIG_IsOK(res1
)) {
9987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9989 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_Py_Void();
10004 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
= 0;
10006 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10007 wxString
*arg2
= 0 ;
10008 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10009 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10013 bool temp2
= false ;
10014 bool temp3
= false ;
10015 PyObject
* obj0
= 0 ;
10016 PyObject
* obj1
= 0 ;
10017 PyObject
* obj2
= 0 ;
10018 char * kwnames
[] = {
10019 (char *) "self",(char *) "name",(char *) "path", NULL
10022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10024 if (!SWIG_IsOK(res1
)) {
10025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10027 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10029 arg2
= wxString_in_helper(obj1
);
10030 if (arg2
== NULL
) SWIG_fail
;
10035 arg3
= wxString_in_helper(obj2
);
10036 if (arg3
== NULL
) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10071 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10072 PyObject
*resultobj
= 0;
10073 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10077 PyObject
*swig_obj
[1] ;
10079 if (!args
) SWIG_fail
;
10080 swig_obj
[0] = args
;
10081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10082 if (!SWIG_IsOK(res1
)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10085 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10101 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10104 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10105 return SWIG_Py_Void();
10108 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10109 return SWIG_Python_InitShadowInstance(args
);
10112 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 PyObject
*resultobj
= 0;
10114 wxPlatformInfo
*result
= 0 ;
10116 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10130 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
= 0;
10132 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10133 wxPlatformInfo
*arg2
= 0 ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char * kwnames
[] = {
10142 (char *) "self",(char *) "t", NULL
10145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10147 if (!SWIG_IsOK(res1
)) {
10148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10150 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10152 if (!SWIG_IsOK(res2
)) {
10153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10158 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10174 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
= 0;
10176 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10177 wxPlatformInfo
*arg2
= 0 ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 char * kwnames
[] = {
10186 (char *) "self",(char *) "t", NULL
10189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10191 if (!SWIG_IsOK(res1
)) {
10192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10194 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10196 if (!SWIG_IsOK(res2
)) {
10197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10202 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10218 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10219 PyObject
*resultobj
= 0;
10220 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10224 PyObject
*swig_obj
[1] ;
10226 if (!args
) SWIG_fail
;
10227 swig_obj
[0] = args
;
10228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10232 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= SWIG_From_int(static_cast< int >(result
));
10246 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10247 PyObject
*resultobj
= 0;
10248 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10252 PyObject
*swig_obj
[1] ;
10254 if (!args
) SWIG_fail
;
10255 swig_obj
[0] = args
;
10256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10257 if (!SWIG_IsOK(res1
)) {
10258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10260 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= SWIG_From_int(static_cast< int >(result
));
10274 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
= 0;
10276 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 PyObject
* obj2
= 0 ;
10289 char * kwnames
[] = {
10290 (char *) "self",(char *) "major",(char *) "minor", NULL
10293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10295 if (!SWIG_IsOK(res1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10298 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10300 if (!SWIG_IsOK(ecode2
)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "2"" of type '" "int""'");
10303 arg2
= static_cast< int >(val2
);
10304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10305 if (!SWIG_IsOK(ecode3
)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "3"" of type '" "int""'");
10308 arg3
= static_cast< int >(val3
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckOSVersion(arg2
,arg3
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10324 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10325 PyObject
*resultobj
= 0;
10326 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10330 PyObject
*swig_obj
[1] ;
10332 if (!args
) SWIG_fail
;
10333 swig_obj
[0] = args
;
10334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10335 if (!SWIG_IsOK(res1
)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10338 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_From_int(static_cast< int >(result
));
10352 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10353 PyObject
*resultobj
= 0;
10354 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10358 PyObject
*swig_obj
[1] ;
10360 if (!args
) SWIG_fail
;
10361 swig_obj
[0] = args
;
10362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10366 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= SWIG_From_int(static_cast< int >(result
));
10380 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
= 0;
10382 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 PyObject
* obj2
= 0 ;
10395 char * kwnames
[] = {
10396 (char *) "self",(char *) "major",(char *) "minor", NULL
10399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10401 if (!SWIG_IsOK(res1
)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10404 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10406 if (!SWIG_IsOK(ecode2
)) {
10407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10409 arg2
= static_cast< int >(val2
);
10410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10411 if (!SWIG_IsOK(ecode3
)) {
10412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10414 arg3
= static_cast< int >(val3
);
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckToolkitVersion(arg2
,arg3
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10430 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10431 PyObject
*resultobj
= 0;
10432 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10436 PyObject
*swig_obj
[1] ;
10438 if (!args
) SWIG_fail
;
10439 swig_obj
[0] = args
;
10440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10441 if (!SWIG_IsOK(res1
)) {
10442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10444 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10460 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10461 PyObject
*resultobj
= 0;
10462 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10463 wxOperatingSystemId result
;
10466 PyObject
*swig_obj
[1] ;
10468 if (!args
) SWIG_fail
;
10469 swig_obj
[0] = args
;
10470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10471 if (!SWIG_IsOK(res1
)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10474 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_From_int(static_cast< int >(result
));
10488 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10489 PyObject
*resultobj
= 0;
10490 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10494 PyObject
*swig_obj
[1] ;
10496 if (!args
) SWIG_fail
;
10497 swig_obj
[0] = args
;
10498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10499 if (!SWIG_IsOK(res1
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10502 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_From_int(static_cast< int >(result
));
10516 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10517 PyObject
*resultobj
= 0;
10518 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10519 wxArchitecture result
;
10522 PyObject
*swig_obj
[1] ;
10524 if (!args
) SWIG_fail
;
10525 swig_obj
[0] = args
;
10526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10530 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_From_int(static_cast< int >(result
));
10544 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10545 PyObject
*resultobj
= 0;
10546 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10547 wxEndianness result
;
10550 PyObject
*swig_obj
[1] ;
10552 if (!args
) SWIG_fail
;
10553 swig_obj
[0] = args
;
10554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10558 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_From_int(static_cast< int >(result
));
10572 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10573 PyObject
*resultobj
= 0;
10574 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10578 PyObject
*swig_obj
[1] ;
10580 if (!args
) SWIG_fail
;
10581 swig_obj
[0] = args
;
10582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10583 if (!SWIG_IsOK(res1
)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10586 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10606 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10607 PyObject
*resultobj
= 0;
10608 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10612 PyObject
*swig_obj
[1] ;
10614 if (!args
) SWIG_fail
;
10615 swig_obj
[0] = args
;
10616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10617 if (!SWIG_IsOK(res1
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10620 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10640 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10641 PyObject
*resultobj
= 0;
10642 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10646 PyObject
*swig_obj
[1] ;
10648 if (!args
) SWIG_fail
;
10649 swig_obj
[0] = args
;
10650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10651 if (!SWIG_IsOK(res1
)) {
10652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10654 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10674 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10675 PyObject
*resultobj
= 0;
10676 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10680 PyObject
*swig_obj
[1] ;
10682 if (!args
) SWIG_fail
;
10683 swig_obj
[0] = args
;
10684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10685 if (!SWIG_IsOK(res1
)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10688 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10708 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10709 PyObject
*resultobj
= 0;
10710 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10714 PyObject
*swig_obj
[1] ;
10716 if (!args
) SWIG_fail
;
10717 swig_obj
[0] = args
;
10718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10719 if (!SWIG_IsOK(res1
)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10722 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10742 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10743 PyObject
*resultobj
= 0;
10744 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10748 PyObject
*swig_obj
[1] ;
10750 if (!args
) SWIG_fail
;
10751 swig_obj
[0] = args
;
10752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10753 if (!SWIG_IsOK(res1
)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10756 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10776 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
= 0;
10778 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 PyObject
* obj2
= 0 ;
10790 char * kwnames
[] = {
10791 (char *) "self",(char *) "major",(char *) "minor", NULL
10794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10796 if (!SWIG_IsOK(res1
)) {
10797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10799 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10801 if (!SWIG_IsOK(ecode2
)) {
10802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10804 arg2
= static_cast< int >(val2
);
10805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10806 if (!SWIG_IsOK(ecode3
)) {
10807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10809 arg3
= static_cast< int >(val3
);
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 (arg1
)->SetOSVersion(arg2
,arg3
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= SWIG_Py_Void();
10823 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
= 0;
10825 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 PyObject
* obj2
= 0 ;
10837 char * kwnames
[] = {
10838 (char *) "self",(char *) "major",(char *) "minor", NULL
10841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10843 if (!SWIG_IsOK(res1
)) {
10844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10846 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10848 if (!SWIG_IsOK(ecode2
)) {
10849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10851 arg2
= static_cast< int >(val2
);
10852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10853 if (!SWIG_IsOK(ecode3
)) {
10854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10856 arg3
= static_cast< int >(val3
);
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= SWIG_Py_Void();
10870 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
= 0;
10872 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10873 wxOperatingSystemId arg2
;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 char * kwnames
[] = {
10881 (char *) "self",(char *) "n", NULL
10884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10886 if (!SWIG_IsOK(res1
)) {
10887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10889 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10891 if (!SWIG_IsOK(ecode2
)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10894 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 (arg1
)->SetOperatingSystemId(arg2
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= SWIG_Py_Void();
10908 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
= 0;
10910 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 char * kwnames
[] = {
10919 (char *) "self",(char *) "n", NULL
10922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10924 if (!SWIG_IsOK(res1
)) {
10925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10927 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10929 if (!SWIG_IsOK(ecode2
)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10932 arg2
= static_cast< wxPortId
>(val2
);
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 (arg1
)->SetPortId(arg2
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_Py_Void();
10946 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
= 0;
10948 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10949 wxArchitecture arg2
;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 char * kwnames
[] = {
10957 (char *) "self",(char *) "n", NULL
10960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10962 if (!SWIG_IsOK(res1
)) {
10963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10965 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10967 if (!SWIG_IsOK(ecode2
)) {
10968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
10970 arg2
= static_cast< wxArchitecture
>(val2
);
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 (arg1
)->SetArchitecture(arg2
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= SWIG_Py_Void();
10984 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
= 0;
10986 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10987 wxEndianness arg2
;
10992 PyObject
* obj0
= 0 ;
10993 PyObject
* obj1
= 0 ;
10994 char * kwnames
[] = {
10995 (char *) "self",(char *) "n", NULL
10998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11000 if (!SWIG_IsOK(res1
)) {
11001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11003 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11005 if (!SWIG_IsOK(ecode2
)) {
11006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
11008 arg2
= static_cast< wxEndianness
>(val2
);
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 (arg1
)->SetEndianness(arg2
);
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= SWIG_Py_Void();
11022 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11023 PyObject
*resultobj
= 0;
11024 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11028 PyObject
*swig_obj
[1] ;
11030 if (!args
) SWIG_fail
;
11031 swig_obj
[0] = args
;
11032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11033 if (!SWIG_IsOK(res1
)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
11036 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11052 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11055 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
11056 return SWIG_Py_Void();
11059 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11060 return SWIG_Python_InitShadowInstance(args
);
11063 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
= 0;
11065 wxWindow
*arg1
= (wxWindow
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 char * kwnames
[] = {
11075 (char *) "window",(char *) "dc", NULL
11078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11080 if (!SWIG_IsOK(res1
)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
11083 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
11085 if (!SWIG_IsOK(res2
)) {
11086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11091 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11107 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11108 PyObject
*resultobj
= 0;
11109 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11112 PyObject
*swig_obj
[1] ;
11114 if (!args
) SWIG_fail
;
11115 swig_obj
[0] = args
;
11116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11117 if (!SWIG_IsOK(res1
)) {
11118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11120 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= SWIG_Py_Void();
11135 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11136 PyObject
*resultobj
= 0;
11137 wxTipProvider
*arg1
= (wxTipProvider
*) 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_wxTipProvider
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11149 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (arg1
)->GetTip();
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11169 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11170 PyObject
*resultobj
= 0;
11171 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11175 PyObject
*swig_obj
[1] ;
11177 if (!args
) SWIG_fail
;
11178 swig_obj
[0] = args
;
11179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11183 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (size_t)(arg1
)->GetCurrentTip();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11197 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
= 0;
11199 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11200 wxString
*arg2
= 0 ;
11204 bool temp2
= false ;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 char * kwnames
[] = {
11208 (char *) "self",(char *) "tip", NULL
11211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11213 if (!SWIG_IsOK(res1
)) {
11214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11216 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11218 arg2
= wxString_in_helper(obj1
);
11219 if (arg2
== NULL
) SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11249 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11252 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11253 return SWIG_Py_Void();
11256 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
= 0;
11259 wxPyTipProvider
*result
= 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char * kwnames
[] = {
11264 (char *) "currentTip", NULL
11267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11268 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11269 if (!SWIG_IsOK(ecode1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11272 arg1
= static_cast< size_t >(val1
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11286 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
= 0;
11288 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11289 PyObject
*arg2
= (PyObject
*) 0 ;
11290 PyObject
*arg3
= (PyObject
*) 0 ;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 PyObject
* obj2
= 0 ;
11296 char * kwnames
[] = {
11297 (char *) "self",(char *) "self",(char *) "_class", NULL
11300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11302 if (!SWIG_IsOK(res1
)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11305 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_Py_Void();
11321 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11324 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11325 return SWIG_Py_Void();
11328 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11329 return SWIG_Python_InitShadowInstance(args
);
11332 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
= 0;
11334 wxWindow
*arg1
= (wxWindow
*) 0 ;
11335 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11336 bool arg3
= (bool) true ;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 PyObject
* obj2
= 0 ;
11347 char * kwnames
[] = {
11348 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11353 if (!SWIG_IsOK(res1
)) {
11354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11356 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11358 if (!SWIG_IsOK(res2
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11361 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11363 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11364 if (!SWIG_IsOK(ecode3
)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11367 arg3
= static_cast< bool >(val3
);
11370 if (!wxPyCheckForApp()) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11385 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
= 0;
11387 wxString
*arg1
= 0 ;
11389 wxTipProvider
*result
= 0 ;
11390 bool temp1
= false ;
11393 PyObject
* obj0
= 0 ;
11394 PyObject
* obj1
= 0 ;
11395 char * kwnames
[] = {
11396 (char *) "filename",(char *) "currentTip", NULL
11399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11401 arg1
= wxString_in_helper(obj0
);
11402 if (arg1
== NULL
) SWIG_fail
;
11405 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11406 if (!SWIG_IsOK(ecode2
)) {
11407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11409 arg2
= static_cast< size_t >(val2
);
11411 if (!wxPyCheckForApp()) SWIG_fail
;
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11432 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
= 0;
11434 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11435 int arg2
= (int) wxID_ANY
;
11436 wxPyTimer
*result
= 0 ;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char * kwnames
[] = {
11444 (char *) "owner",(char *) "id", NULL
11447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11450 if (!SWIG_IsOK(res1
)) {
11451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11453 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11457 if (!SWIG_IsOK(ecode2
)) {
11458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11460 arg2
= static_cast< int >(val2
);
11463 if (!wxPyCheckForApp()) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11476 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11477 PyObject
*resultobj
= 0;
11478 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11481 PyObject
*swig_obj
[1] ;
11483 if (!args
) SWIG_fail
;
11484 swig_obj
[0] = args
;
11485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11486 if (!SWIG_IsOK(res1
)) {
11487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11489 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_Py_Void();
11504 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
= 0;
11506 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11507 PyObject
*arg2
= (PyObject
*) 0 ;
11508 PyObject
*arg3
= (PyObject
*) 0 ;
11509 int arg4
= (int) 1 ;
11514 PyObject
* obj0
= 0 ;
11515 PyObject
* obj1
= 0 ;
11516 PyObject
* obj2
= 0 ;
11517 PyObject
* obj3
= 0 ;
11518 char * kwnames
[] = {
11519 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11524 if (!SWIG_IsOK(res1
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11527 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11532 if (!SWIG_IsOK(ecode4
)) {
11533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11535 arg4
= static_cast< int >(val4
);
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= SWIG_Py_Void();
11550 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
= 0;
11552 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11553 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11554 int arg3
= (int) wxID_ANY
;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 PyObject
* obj2
= 0 ;
11564 char * kwnames
[] = {
11565 (char *) "self",(char *) "owner",(char *) "id", NULL
11568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11570 if (!SWIG_IsOK(res1
)) {
11571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11573 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11574 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11575 if (!SWIG_IsOK(res2
)) {
11576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11578 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11581 if (!SWIG_IsOK(ecode3
)) {
11582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11584 arg3
= static_cast< int >(val3
);
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 (arg1
)->SetOwner(arg2
,arg3
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= SWIG_Py_Void();
11599 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11600 PyObject
*resultobj
= 0;
11601 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11602 wxEvtHandler
*result
= 0 ;
11605 PyObject
*swig_obj
[1] ;
11607 if (!args
) SWIG_fail
;
11608 swig_obj
[0] = args
;
11609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11610 if (!SWIG_IsOK(res1
)) {
11611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11613 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11621 resultobj
= wxPyMake_wxObject(result
, 0);
11629 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
= 0;
11631 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11632 int arg2
= (int) -1 ;
11633 bool arg3
= (bool) false ;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 PyObject
* obj2
= 0 ;
11644 char * kwnames
[] = {
11645 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11650 if (!SWIG_IsOK(res1
)) {
11651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11653 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11656 if (!SWIG_IsOK(ecode2
)) {
11657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11659 arg2
= static_cast< int >(val2
);
11662 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11663 if (!SWIG_IsOK(ecode3
)) {
11664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11666 arg3
= static_cast< bool >(val3
);
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11683 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 PyObject
*resultobj
= 0;
11685 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11688 PyObject
*swig_obj
[1] ;
11690 if (!args
) SWIG_fail
;
11691 swig_obj
[0] = args
;
11692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11693 if (!SWIG_IsOK(res1
)) {
11694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11696 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_Py_Void();
11710 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11711 PyObject
*resultobj
= 0;
11712 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11715 PyObject
*swig_obj
[1] ;
11717 if (!args
) SWIG_fail
;
11718 swig_obj
[0] = args
;
11719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11720 if (!SWIG_IsOK(res1
)) {
11721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11723 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= SWIG_Py_Void();
11737 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11738 PyObject
*resultobj
= 0;
11739 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11743 PyObject
*swig_obj
[1] ;
11745 if (!args
) SWIG_fail
;
11746 swig_obj
[0] = args
;
11747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11748 if (!SWIG_IsOK(res1
)) {
11749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11751 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11755 wxPyEndAllowThreads(__tstate
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11767 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11768 PyObject
*resultobj
= 0;
11769 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11773 PyObject
*swig_obj
[1] ;
11775 if (!args
) SWIG_fail
;
11776 swig_obj
[0] = args
;
11777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11778 if (!SWIG_IsOK(res1
)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11781 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_From_int(static_cast< int >(result
));
11795 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11796 PyObject
*resultobj
= 0;
11797 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11801 PyObject
*swig_obj
[1] ;
11803 if (!args
) SWIG_fail
;
11804 swig_obj
[0] = args
;
11805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11809 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_From_int(static_cast< int >(result
));
11823 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11824 PyObject
*resultobj
= 0;
11825 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11829 PyObject
*swig_obj
[1] ;
11831 if (!args
) SWIG_fail
;
11832 swig_obj
[0] = args
;
11833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11837 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11853 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11855 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11856 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11857 return SWIG_Py_Void();
11860 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11861 return SWIG_Python_InitShadowInstance(args
);
11864 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= 0;
11866 int arg1
= (int) 0 ;
11867 int arg2
= (int) 0 ;
11868 wxTimerEvent
*result
= 0 ;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 char * kwnames
[] = {
11876 (char *) "timerid",(char *) "interval", NULL
11879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11881 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11882 if (!SWIG_IsOK(ecode1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11885 arg1
= static_cast< int >(val1
);
11888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11889 if (!SWIG_IsOK(ecode2
)) {
11890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11892 arg2
= static_cast< int >(val2
);
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11907 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11908 PyObject
*resultobj
= 0;
11909 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11913 PyObject
*swig_obj
[1] ;
11915 if (!args
) SWIG_fail
;
11916 swig_obj
[0] = args
;
11917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11918 if (!SWIG_IsOK(res1
)) {
11919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11921 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_From_int(static_cast< int >(result
));
11935 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11938 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11939 return SWIG_Py_Void();
11942 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11943 return SWIG_Python_InitShadowInstance(args
);
11946 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11947 PyObject
*resultobj
= 0;
11948 wxTimer
*arg1
= 0 ;
11949 wxTimerRunner
*result
= 0 ;
11953 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11955 if (!SWIG_IsOK(res1
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11961 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11963 if (!wxPyCheckForApp()) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11976 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11977 PyObject
*resultobj
= 0;
11978 wxTimer
*arg1
= 0 ;
11980 bool arg3
= (bool) false ;
11981 wxTimerRunner
*result
= 0 ;
11989 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
11990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11991 if (!SWIG_IsOK(res1
)) {
11992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11997 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11998 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
11999 if (!SWIG_IsOK(ecode2
)) {
12000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
12002 arg2
= static_cast< int >(val2
);
12004 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
12005 if (!SWIG_IsOK(ecode3
)) {
12006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
12008 arg3
= static_cast< bool >(val3
);
12011 if (!wxPyCheckForApp()) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12024 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
12028 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
12031 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
12033 if ((argc
>= 2) && (argc
<= 3)) {
12034 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
12038 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
12043 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12044 PyObject
*resultobj
= 0;
12045 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12048 PyObject
*swig_obj
[1] ;
12050 if (!args
) SWIG_fail
;
12051 swig_obj
[0] = args
;
12052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
12053 if (!SWIG_IsOK(res1
)) {
12054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12056 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= SWIG_Py_Void();
12071 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
= 0;
12073 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12075 bool arg3
= (bool) false ;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 PyObject
* obj2
= 0 ;
12085 char * kwnames
[] = {
12086 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
12089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
12091 if (!SWIG_IsOK(res1
)) {
12092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12094 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12096 if (!SWIG_IsOK(ecode2
)) {
12097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
12099 arg2
= static_cast< int >(val2
);
12101 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12102 if (!SWIG_IsOK(ecode3
)) {
12103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12105 arg3
= static_cast< bool >(val3
);
12108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12109 (arg1
)->Start(arg2
,arg3
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= SWIG_Py_Void();
12120 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12123 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12124 return SWIG_Py_Void();
12127 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12128 return SWIG_Python_InitShadowInstance(args
);
12131 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12132 PyObject
*resultobj
= 0;
12133 wxLog
*result
= 0 ;
12135 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (wxLog
*)new wxLog();
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12149 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12150 PyObject
*resultobj
= 0;
12151 wxLog
*arg1
= (wxLog
*) 0 ;
12154 PyObject
*swig_obj
[1] ;
12156 if (!args
) SWIG_fail
;
12157 swig_obj
[0] = args
;
12158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12159 if (!SWIG_IsOK(res1
)) {
12160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12162 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= SWIG_Py_Void();
12177 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12178 PyObject
*resultobj
= 0;
12181 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (bool)wxLog::IsEnabled();
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12197 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
= 0;
12199 bool arg1
= (bool) true ;
12203 PyObject
* obj0
= 0 ;
12204 char * kwnames
[] = {
12205 (char *) "doIt", NULL
12208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12210 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12211 if (!SWIG_IsOK(ecode1
)) {
12212 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12214 arg1
= static_cast< bool >(val1
);
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (bool)wxLog::EnableLogging(arg1
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12231 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
= 0;
12234 wxChar
*arg2
= (wxChar
*) 0 ;
12236 unsigned long val1
;
12240 unsigned int val3
;
12242 PyObject
* obj0
= 0 ;
12243 PyObject
* obj1
= 0 ;
12244 PyObject
* obj2
= 0 ;
12245 char * kwnames
[] = {
12246 (char *) "level",(char *) "szString",(char *) "t", NULL
12249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12250 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12251 if (!SWIG_IsOK(ecode1
)) {
12252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12254 arg1
= static_cast< wxLogLevel
>(val1
);
12255 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12256 if (!SWIG_IsOK(res2
)) {
12257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12259 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12260 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12261 if (!SWIG_IsOK(ecode3
)) {
12262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12264 arg3
= static_cast< time_t >(val3
);
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= SWIG_Py_Void();
12278 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12279 PyObject
*resultobj
= 0;
12280 wxLog
*arg1
= (wxLog
*) 0 ;
12283 PyObject
*swig_obj
[1] ;
12285 if (!args
) SWIG_fail
;
12286 swig_obj
[0] = args
;
12287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12288 if (!SWIG_IsOK(res1
)) {
12289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12291 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 resultobj
= SWIG_Py_Void();
12305 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12306 PyObject
*resultobj
= 0;
12308 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 wxLog::FlushActive();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_Py_Void();
12322 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxLog
*result
= 0 ;
12326 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (wxLog
*)wxLog::GetActiveTarget();
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12340 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
= 0;
12342 wxLog
*arg1
= (wxLog
*) 0 ;
12343 wxLog
*result
= 0 ;
12345 PyObject
* obj0
= 0 ;
12346 char * kwnames
[] = {
12347 (char *) "pLogger", NULL
12350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12351 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12352 if (!SWIG_IsOK(res1
)) {
12353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12368 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12369 PyObject
*resultobj
= 0;
12371 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_Py_Void();
12385 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12386 PyObject
*resultobj
= 0;
12388 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= SWIG_Py_Void();
12402 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
= 0;
12404 bool arg1
= (bool) true ;
12407 PyObject
* obj0
= 0 ;
12408 char * kwnames
[] = {
12409 (char *) "bVerbose", NULL
12412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12414 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12415 if (!SWIG_IsOK(ecode1
)) {
12416 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12418 arg1
= static_cast< bool >(val1
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 wxLog::SetVerbose(arg1
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_Py_Void();
12433 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= 0;
12436 unsigned long val1
;
12438 PyObject
* obj0
= 0 ;
12439 char * kwnames
[] = {
12440 (char *) "logLevel", NULL
12443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12444 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12445 if (!SWIG_IsOK(ecode1
)) {
12446 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12448 arg1
= static_cast< wxLogLevel
>(val1
);
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 wxLog::SetLogLevel(arg1
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_Py_Void();
12462 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12463 PyObject
*resultobj
= 0;
12465 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 wxLog::DontCreateOnDemand();
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_Py_Void();
12479 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
= 0;
12481 bool arg1
= (bool) true ;
12484 PyObject
* obj0
= 0 ;
12485 char * kwnames
[] = {
12486 (char *) "bRepetCounting", NULL
12489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12491 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12492 if (!SWIG_IsOK(ecode1
)) {
12493 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12495 arg1
= static_cast< bool >(val1
);
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 wxLog::SetRepetitionCounting(arg1
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_Py_Void();
12510 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12511 PyObject
*resultobj
= 0;
12514 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= (bool)wxLog::GetRepetitionCounting();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12530 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
= 0;
12533 unsigned long val1
;
12535 PyObject
* obj0
= 0 ;
12536 char * kwnames
[] = {
12537 (char *) "ulMask", NULL
12540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12541 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12542 if (!SWIG_IsOK(ecode1
)) {
12543 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12545 arg1
= static_cast< wxTraceMask
>(val1
);
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 wxLog::SetTraceMask(arg1
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_Py_Void();
12559 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
= 0;
12561 wxString
*arg1
= 0 ;
12562 bool temp1
= false ;
12563 PyObject
* obj0
= 0 ;
12564 char * kwnames
[] = {
12565 (char *) "str", NULL
12568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12570 arg1
= wxString_in_helper(obj0
);
12571 if (arg1
== NULL
) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 wxLog::AddTraceMask((wxString
const &)*arg1
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_Py_Void();
12595 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
= 0;
12597 wxString
*arg1
= 0 ;
12598 bool temp1
= false ;
12599 PyObject
* obj0
= 0 ;
12600 char * kwnames
[] = {
12601 (char *) "str", NULL
12604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12606 arg1
= wxString_in_helper(obj0
);
12607 if (arg1
== NULL
) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12616 resultobj
= SWIG_Py_Void();
12631 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12632 PyObject
*resultobj
= 0;
12634 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 wxLog::ClearTraceMasks();
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 resultobj
= SWIG_Py_Void();
12648 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12649 PyObject
*resultobj
= 0;
12650 wxArrayString
*result
= 0 ;
12652 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12657 result
= (wxArrayString
*) &_result_ref
;
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= wxArrayString2PyList_helper(*result
);
12671 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
= 0;
12673 wxChar
*arg1
= (wxChar
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char * kwnames
[] = {
12678 (char *) "ts", NULL
12681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12683 if (!SWIG_IsOK(res1
)) {
12684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12686 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 wxLog::SetTimestamp((wxChar
const *)arg1
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_Py_Void();
12700 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12701 PyObject
*resultobj
= 0;
12704 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (bool)wxLog::GetVerbose();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12720 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12721 PyObject
*resultobj
= 0;
12722 wxTraceMask result
;
12724 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (wxTraceMask
)wxLog::GetTraceMask();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12738 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
= 0;
12740 wxChar
*arg1
= (wxChar
*) 0 ;
12744 PyObject
* obj0
= 0 ;
12745 char * kwnames
[] = {
12746 (char *) "mask", NULL
12749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12751 if (!SWIG_IsOK(res1
)) {
12752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12754 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12770 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12771 PyObject
*resultobj
= 0;
12774 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (wxLogLevel
)wxLog::GetLogLevel();
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12788 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12789 PyObject
*resultobj
= 0;
12790 wxChar
*result
= 0 ;
12792 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (wxChar
*)wxLog::GetTimestamp();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12806 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12807 PyObject
*resultobj
= 0;
12810 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 result
= wxLog_TimeStamp();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12830 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12831 PyObject
*resultobj
= 0;
12832 wxLog
*arg1
= (wxLog
*) 0 ;
12835 PyObject
*swig_obj
[1] ;
12837 if (!args
) SWIG_fail
;
12838 swig_obj
[0] = args
;
12839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12840 if (!SWIG_IsOK(res1
)) {
12841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12843 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 wxLog_Destroy(arg1
);
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_Py_Void();
12857 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12860 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12861 return SWIG_Py_Void();
12864 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12865 return SWIG_Python_InitShadowInstance(args
);
12868 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12869 PyObject
*resultobj
= 0;
12870 wxLogStderr
*result
= 0 ;
12872 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (wxLogStderr
*)new wxLogStderr();
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12886 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12889 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12890 return SWIG_Py_Void();
12893 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12894 return SWIG_Python_InitShadowInstance(args
);
12897 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
= 0;
12899 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12900 wxLogTextCtrl
*result
= 0 ;
12903 PyObject
* obj0
= 0 ;
12904 char * kwnames
[] = {
12905 (char *) "pTextCtrl", NULL
12908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12910 if (!SWIG_IsOK(res1
)) {
12911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12913 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12927 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12930 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12931 return SWIG_Py_Void();
12934 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12935 return SWIG_Python_InitShadowInstance(args
);
12938 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12939 PyObject
*resultobj
= 0;
12940 wxLogGui
*result
= 0 ;
12942 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (wxLogGui
*)new wxLogGui();
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12956 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12959 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12960 return SWIG_Py_Void();
12963 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12964 return SWIG_Python_InitShadowInstance(args
);
12967 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
= 0;
12969 wxFrame
*arg1
= (wxFrame
*) 0 ;
12970 wxString
*arg2
= 0 ;
12971 bool arg3
= (bool) true ;
12972 bool arg4
= (bool) true ;
12973 wxLogWindow
*result
= 0 ;
12976 bool temp2
= false ;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 PyObject
* obj2
= 0 ;
12984 PyObject
* obj3
= 0 ;
12985 char * kwnames
[] = {
12986 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
12989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12991 if (!SWIG_IsOK(res1
)) {
12992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
12994 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12996 arg2
= wxString_in_helper(obj1
);
12997 if (arg2
== NULL
) SWIG_fail
;
13001 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13002 if (!SWIG_IsOK(ecode3
)) {
13003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
13005 arg3
= static_cast< bool >(val3
);
13008 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13009 if (!SWIG_IsOK(ecode4
)) {
13010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
13012 arg4
= static_cast< bool >(val4
);
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
13035 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
= 0;
13037 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13038 bool arg2
= (bool) true ;
13043 PyObject
* obj0
= 0 ;
13044 PyObject
* obj1
= 0 ;
13045 char * kwnames
[] = {
13046 (char *) "self",(char *) "bShow", NULL
13049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13051 if (!SWIG_IsOK(res1
)) {
13052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13054 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13056 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13057 if (!SWIG_IsOK(ecode2
)) {
13058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
13060 arg2
= static_cast< bool >(val2
);
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 (arg1
)->Show(arg2
);
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= SWIG_Py_Void();
13075 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13076 PyObject
*resultobj
= 0;
13077 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13078 wxFrame
*result
= 0 ;
13081 PyObject
*swig_obj
[1] ;
13083 if (!args
) SWIG_fail
;
13084 swig_obj
[0] = args
;
13085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13086 if (!SWIG_IsOK(res1
)) {
13087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13089 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13105 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13106 PyObject
*resultobj
= 0;
13107 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13108 wxLog
*result
= 0 ;
13111 PyObject
*swig_obj
[1] ;
13113 if (!args
) SWIG_fail
;
13114 swig_obj
[0] = args
;
13115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13116 if (!SWIG_IsOK(res1
)) {
13117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13119 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13133 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13134 PyObject
*resultobj
= 0;
13135 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13139 PyObject
*swig_obj
[1] ;
13141 if (!args
) SWIG_fail
;
13142 swig_obj
[0] = args
;
13143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13144 if (!SWIG_IsOK(res1
)) {
13145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13147 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13163 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
= 0;
13165 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 PyObject
* obj1
= 0 ;
13173 char * kwnames
[] = {
13174 (char *) "self",(char *) "bDoPass", NULL
13177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13179 if (!SWIG_IsOK(res1
)) {
13180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13182 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13183 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13184 if (!SWIG_IsOK(ecode2
)) {
13185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13187 arg2
= static_cast< bool >(val2
);
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 (arg1
)->PassMessages(arg2
);
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= SWIG_Py_Void();
13201 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13204 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13205 return SWIG_Py_Void();
13208 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13209 return SWIG_Python_InitShadowInstance(args
);
13212 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
= 0;
13214 wxLog
*arg1
= (wxLog
*) 0 ;
13215 wxLogChain
*result
= 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char * kwnames
[] = {
13220 (char *) "logger", NULL
13223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13225 if (!SWIG_IsOK(res1
)) {
13226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13228 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (wxLogChain
*)new wxLogChain(arg1
);
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13242 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
= 0;
13244 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13245 wxLog
*arg2
= (wxLog
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 char * kwnames
[] = {
13253 (char *) "self",(char *) "logger", NULL
13256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13258 if (!SWIG_IsOK(res1
)) {
13259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13261 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13263 if (!SWIG_IsOK(res2
)) {
13264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13266 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 (arg1
)->SetLog(arg2
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_Py_Void();
13280 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
= 0;
13282 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 PyObject
* obj1
= 0 ;
13290 char * kwnames
[] = {
13291 (char *) "self",(char *) "bDoPass", NULL
13294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13296 if (!SWIG_IsOK(res1
)) {
13297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13299 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13300 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13301 if (!SWIG_IsOK(ecode2
)) {
13302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13304 arg2
= static_cast< bool >(val2
);
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 (arg1
)->PassMessages(arg2
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_Py_Void();
13318 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13319 PyObject
*resultobj
= 0;
13320 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13324 PyObject
*swig_obj
[1] ;
13326 if (!args
) SWIG_fail
;
13327 swig_obj
[0] = args
;
13328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13329 if (!SWIG_IsOK(res1
)) {
13330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13332 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (bool)(arg1
)->IsPassingMessages();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13348 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13349 PyObject
*resultobj
= 0;
13350 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13351 wxLog
*result
= 0 ;
13354 PyObject
*swig_obj
[1] ;
13356 if (!args
) SWIG_fail
;
13357 swig_obj
[0] = args
;
13358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13362 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (wxLog
*)(arg1
)->GetOldLog();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13376 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13379 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13380 return SWIG_Py_Void();
13383 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13384 return SWIG_Python_InitShadowInstance(args
);
13387 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13388 PyObject
*resultobj
= 0;
13389 wxLogBuffer
*result
= 0 ;
13391 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= (wxLogBuffer
*)new wxLogBuffer();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13405 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13406 PyObject
*resultobj
= 0;
13407 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13408 wxString
*result
= 0 ;
13411 PyObject
*swig_obj
[1] ;
13413 if (!args
) SWIG_fail
;
13414 swig_obj
[0] = args
;
13415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13416 if (!SWIG_IsOK(res1
)) {
13417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13419 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13424 result
= (wxString
*) &_result_ref
;
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13433 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13442 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13445 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13446 return SWIG_Py_Void();
13449 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13450 return SWIG_Python_InitShadowInstance(args
);
13453 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13454 PyObject
*resultobj
= 0;
13455 unsigned long result
;
13457 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= (unsigned long)wxSysErrorCode();
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13471 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
= 0;
13473 unsigned long arg1
= (unsigned long) 0 ;
13475 unsigned long val1
;
13477 PyObject
* obj0
= 0 ;
13478 char * kwnames
[] = {
13479 (char *) "nErrCode", NULL
13482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13484 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13485 if (!SWIG_IsOK(ecode1
)) {
13486 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13488 arg1
= static_cast< unsigned long >(val1
);
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= wxSysErrorMsg(arg1
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13509 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
= 0;
13511 wxString
*arg1
= 0 ;
13512 bool temp1
= false ;
13513 PyObject
* obj0
= 0 ;
13514 char * kwnames
[] = {
13515 (char *) "msg", NULL
13518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13520 arg1
= wxString_in_helper(obj0
);
13521 if (arg1
== NULL
) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 wxPyLogFatalError((wxString
const &)*arg1
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_Py_Void();
13545 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
= 0;
13547 wxString
*arg1
= 0 ;
13548 bool temp1
= false ;
13549 PyObject
* obj0
= 0 ;
13550 char * kwnames
[] = {
13551 (char *) "msg", NULL
13554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13556 arg1
= wxString_in_helper(obj0
);
13557 if (arg1
== NULL
) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 wxPyLogError((wxString
const &)*arg1
);
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= SWIG_Py_Void();
13581 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
= 0;
13583 wxString
*arg1
= 0 ;
13584 bool temp1
= false ;
13585 PyObject
* obj0
= 0 ;
13586 char * kwnames
[] = {
13587 (char *) "msg", NULL
13590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13592 arg1
= wxString_in_helper(obj0
);
13593 if (arg1
== NULL
) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 wxPyLogWarning((wxString
const &)*arg1
);
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= SWIG_Py_Void();
13617 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
= 0;
13619 wxString
*arg1
= 0 ;
13620 bool temp1
= false ;
13621 PyObject
* obj0
= 0 ;
13622 char * kwnames
[] = {
13623 (char *) "msg", NULL
13626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13628 arg1
= wxString_in_helper(obj0
);
13629 if (arg1
== NULL
) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 wxPyLogMessage((wxString
const &)*arg1
);
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_Py_Void();
13653 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
= 0;
13655 wxString
*arg1
= 0 ;
13656 bool temp1
= false ;
13657 PyObject
* obj0
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "msg", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13664 arg1
= wxString_in_helper(obj0
);
13665 if (arg1
== NULL
) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 wxPyLogInfo((wxString
const &)*arg1
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= SWIG_Py_Void();
13689 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
= 0;
13691 wxString
*arg1
= 0 ;
13692 bool temp1
= false ;
13693 PyObject
* obj0
= 0 ;
13694 char * kwnames
[] = {
13695 (char *) "msg", NULL
13698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13700 arg1
= wxString_in_helper(obj0
);
13701 if (arg1
== NULL
) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 wxPyLogDebug((wxString
const &)*arg1
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 resultobj
= SWIG_Py_Void();
13725 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
= 0;
13727 wxString
*arg1
= 0 ;
13728 bool temp1
= false ;
13729 PyObject
* obj0
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "msg", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13736 arg1
= wxString_in_helper(obj0
);
13737 if (arg1
== NULL
) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 wxPyLogVerbose((wxString
const &)*arg1
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 resultobj
= SWIG_Py_Void();
13761 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
= 0;
13763 wxString
*arg1
= 0 ;
13764 bool temp1
= false ;
13765 PyObject
* obj0
= 0 ;
13766 char * kwnames
[] = {
13767 (char *) "msg", NULL
13770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13772 arg1
= wxString_in_helper(obj0
);
13773 if (arg1
== NULL
) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 wxPyLogStatus((wxString
const &)*arg1
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= SWIG_Py_Void();
13797 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
= 0;
13799 wxFrame
*arg1
= (wxFrame
*) 0 ;
13800 wxString
*arg2
= 0 ;
13803 bool temp2
= false ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 char * kwnames
[] = {
13807 (char *) "pFrame",(char *) "msg", NULL
13810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13812 if (!SWIG_IsOK(res1
)) {
13813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13815 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13817 arg2
= wxString_in_helper(obj1
);
13818 if (arg2
== NULL
) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= SWIG_Py_Void();
13842 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
= 0;
13844 wxString
*arg1
= 0 ;
13845 bool temp1
= false ;
13846 PyObject
* obj0
= 0 ;
13847 char * kwnames
[] = {
13848 (char *) "msg", NULL
13851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13853 arg1
= wxString_in_helper(obj0
);
13854 if (arg1
== NULL
) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 wxPyLogSysError((wxString
const &)*arg1
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= SWIG_Py_Void();
13878 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
= 0;
13880 unsigned long arg1
;
13881 wxString
*arg2
= 0 ;
13882 unsigned long val1
;
13884 bool temp2
= false ;
13885 PyObject
* obj0
= 0 ;
13886 PyObject
* obj1
= 0 ;
13887 char * kwnames
[] = {
13888 (char *) "level",(char *) "msg", NULL
13891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13892 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13893 if (!SWIG_IsOK(ecode1
)) {
13894 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13896 arg1
= static_cast< unsigned long >(val1
);
13898 arg2
= wxString_in_helper(obj1
);
13899 if (arg2
== NULL
) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_Py_Void();
13923 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13924 PyObject
*resultobj
= 0;
13925 unsigned long arg1
;
13926 wxString
*arg2
= 0 ;
13927 unsigned long val1
;
13929 bool temp2
= false ;
13931 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13932 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13933 if (!SWIG_IsOK(ecode1
)) {
13934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13936 arg1
= static_cast< unsigned long >(val1
);
13938 arg2
= wxString_in_helper(swig_obj
[1]);
13939 if (arg2
== NULL
) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13945 wxPyEndAllowThreads(__tstate
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13948 resultobj
= SWIG_Py_Void();
13963 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13964 PyObject
*resultobj
= 0;
13965 wxString
*arg1
= 0 ;
13966 wxString
*arg2
= 0 ;
13967 bool temp1
= false ;
13968 bool temp2
= false ;
13970 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13972 arg1
= wxString_in_helper(swig_obj
[0]);
13973 if (arg1
== NULL
) SWIG_fail
;
13977 arg2
= wxString_in_helper(swig_obj
[1]);
13978 if (arg2
== NULL
) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= SWIG_Py_Void();
14010 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
14014 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
14020 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
14023 if (!_v
) goto check_1
;
14024 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
14029 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
14033 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
14038 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
= 0;
14040 wxString
*arg1
= 0 ;
14041 wxString
*arg2
= 0 ;
14042 bool temp1
= false ;
14043 bool temp2
= false ;
14044 PyObject
* obj0
= 0 ;
14045 PyObject
* obj1
= 0 ;
14046 char * kwnames
[] = {
14047 (char *) "title",(char *) "text", NULL
14050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14052 arg1
= wxString_in_helper(obj0
);
14053 if (arg1
== NULL
) SWIG_fail
;
14057 arg2
= wxString_in_helper(obj1
);
14058 if (arg2
== NULL
) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= SWIG_Py_Void();
14090 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14091 PyObject
*resultobj
= 0;
14092 wxLogNull
*result
= 0 ;
14094 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 result
= (wxLogNull
*)new wxLogNull();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14108 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14109 PyObject
*resultobj
= 0;
14110 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14113 PyObject
*swig_obj
[1] ;
14115 if (!args
) SWIG_fail
;
14116 swig_obj
[0] = args
;
14117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14118 if (!SWIG_IsOK(res1
)) {
14119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14121 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= SWIG_Py_Void();
14136 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14139 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14140 return SWIG_Py_Void();
14143 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14144 return SWIG_Python_InitShadowInstance(args
);
14147 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14148 PyObject
*resultobj
= 0;
14149 wxPyLog
*result
= 0 ;
14151 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (wxPyLog
*)new wxPyLog();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14165 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
= 0;
14167 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14168 PyObject
*arg2
= (PyObject
*) 0 ;
14169 PyObject
*arg3
= (PyObject
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 PyObject
* obj1
= 0 ;
14174 PyObject
* obj2
= 0 ;
14175 char * kwnames
[] = {
14176 (char *) "self",(char *) "self",(char *) "_class", NULL
14179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14181 if (!SWIG_IsOK(res1
)) {
14182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14184 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= SWIG_Py_Void();
14200 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14203 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14204 return SWIG_Py_Void();
14207 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14208 return SWIG_Python_InitShadowInstance(args
);
14211 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
= 0;
14214 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14215 int arg3
= (int) wxKILL_NOCHILDREN
;
14216 wxKillError result
;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj1
= 0 ;
14225 PyObject
* obj2
= 0 ;
14226 char * kwnames
[] = {
14227 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14232 if (!SWIG_IsOK(ecode1
)) {
14233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14235 arg1
= static_cast< int >(val1
);
14237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14238 if (!SWIG_IsOK(ecode2
)) {
14239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14241 arg2
= static_cast< wxSignal
>(val2
);
14244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14245 if (!SWIG_IsOK(ecode3
)) {
14246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14248 arg3
= static_cast< int >(val3
);
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= SWIG_From_int(static_cast< int >(result
));
14263 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
= 0;
14269 PyObject
* obj0
= 0 ;
14270 char * kwnames
[] = {
14271 (char *) "pid", NULL
14274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14275 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14276 if (!SWIG_IsOK(ecode1
)) {
14277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14279 arg1
= static_cast< int >(val1
);
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (bool)wxPyProcess::Exists(arg1
);
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14295 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
= 0;
14297 wxString
*arg1
= 0 ;
14298 int arg2
= (int) wxEXEC_ASYNC
;
14299 wxPyProcess
*result
= 0 ;
14300 bool temp1
= false ;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 char * kwnames
[] = {
14306 (char *) "cmd",(char *) "flags", NULL
14309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14311 arg1
= wxString_in_helper(obj0
);
14312 if (arg1
== NULL
) SWIG_fail
;
14316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14317 if (!SWIG_IsOK(ecode2
)) {
14318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14320 arg2
= static_cast< int >(val2
);
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14343 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
= 0;
14345 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14346 int arg2
= (int) -1 ;
14347 wxPyProcess
*result
= 0 ;
14352 PyObject
* obj0
= 0 ;
14353 PyObject
* obj1
= 0 ;
14354 char * kwnames
[] = {
14355 (char *) "parent",(char *) "id", NULL
14358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14361 if (!SWIG_IsOK(res1
)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14364 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14368 if (!SWIG_IsOK(ecode2
)) {
14369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14371 arg2
= static_cast< int >(val2
);
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14386 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
= 0;
14388 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14389 PyObject
*arg2
= (PyObject
*) 0 ;
14390 PyObject
*arg3
= (PyObject
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 PyObject
* obj1
= 0 ;
14395 PyObject
* obj2
= 0 ;
14396 char * kwnames
[] = {
14397 (char *) "self",(char *) "self",(char *) "_class", NULL
14400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14402 if (!SWIG_IsOK(res1
)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14405 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_Py_Void();
14421 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
= 0;
14423 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14432 PyObject
* obj0
= 0 ;
14433 PyObject
* obj1
= 0 ;
14434 PyObject
* obj2
= 0 ;
14435 char * kwnames
[] = {
14436 (char *) "self",(char *) "pid",(char *) "status", NULL
14439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14441 if (!SWIG_IsOK(res1
)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14444 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14446 if (!SWIG_IsOK(ecode2
)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14449 arg2
= static_cast< int >(val2
);
14450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14451 if (!SWIG_IsOK(ecode3
)) {
14452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14454 arg3
= static_cast< int >(val3
);
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 (arg1
)->OnTerminate(arg2
,arg3
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_Py_Void();
14468 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14469 PyObject
*resultobj
= 0;
14470 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14473 PyObject
*swig_obj
[1] ;
14475 if (!args
) SWIG_fail
;
14476 swig_obj
[0] = args
;
14477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14478 if (!SWIG_IsOK(res1
)) {
14479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14481 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 (arg1
)->Redirect();
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= SWIG_Py_Void();
14495 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14496 PyObject
*resultobj
= 0;
14497 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14501 PyObject
*swig_obj
[1] ;
14503 if (!args
) SWIG_fail
;
14504 swig_obj
[0] = args
;
14505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14506 if (!SWIG_IsOK(res1
)) {
14507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14509 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (bool)(arg1
)->IsRedirected();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14525 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14526 PyObject
*resultobj
= 0;
14527 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14530 PyObject
*swig_obj
[1] ;
14532 if (!args
) SWIG_fail
;
14533 swig_obj
[0] = args
;
14534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14535 if (!SWIG_IsOK(res1
)) {
14536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14538 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= SWIG_Py_Void();
14552 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14553 PyObject
*resultobj
= 0;
14554 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14555 wxInputStream
*result
= 0 ;
14558 PyObject
*swig_obj
[1] ;
14560 if (!args
) SWIG_fail
;
14561 swig_obj
[0] = args
;
14562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14563 if (!SWIG_IsOK(res1
)) {
14564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14566 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14574 wxPyInputStream
* _ptr
= NULL
;
14577 _ptr
= new wxPyInputStream(result
);
14579 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14587 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14588 PyObject
*resultobj
= 0;
14589 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14590 wxInputStream
*result
= 0 ;
14593 PyObject
*swig_obj
[1] ;
14595 if (!args
) SWIG_fail
;
14596 swig_obj
[0] = args
;
14597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14598 if (!SWIG_IsOK(res1
)) {
14599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14601 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14605 wxPyEndAllowThreads(__tstate
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14609 wxPyInputStream
* _ptr
= NULL
;
14612 _ptr
= new wxPyInputStream(result
);
14614 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14622 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14623 PyObject
*resultobj
= 0;
14624 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14625 wxOutputStream
*result
= 0 ;
14628 PyObject
*swig_obj
[1] ;
14630 if (!args
) SWIG_fail
;
14631 swig_obj
[0] = args
;
14632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14633 if (!SWIG_IsOK(res1
)) {
14634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14636 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14650 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14651 PyObject
*resultobj
= 0;
14652 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14655 PyObject
*swig_obj
[1] ;
14657 if (!args
) SWIG_fail
;
14658 swig_obj
[0] = args
;
14659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14660 if (!SWIG_IsOK(res1
)) {
14661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14663 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 (arg1
)->CloseOutput();
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= SWIG_Py_Void();
14677 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14678 PyObject
*resultobj
= 0;
14679 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14683 PyObject
*swig_obj
[1] ;
14685 if (!args
) SWIG_fail
;
14686 swig_obj
[0] = args
;
14687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14688 if (!SWIG_IsOK(res1
)) {
14689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14691 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14707 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14708 PyObject
*resultobj
= 0;
14709 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14713 PyObject
*swig_obj
[1] ;
14715 if (!args
) SWIG_fail
;
14716 swig_obj
[0] = args
;
14717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14718 if (!SWIG_IsOK(res1
)) {
14719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14721 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14737 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14738 PyObject
*resultobj
= 0;
14739 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14743 PyObject
*swig_obj
[1] ;
14745 if (!args
) SWIG_fail
;
14746 swig_obj
[0] = args
;
14747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14748 if (!SWIG_IsOK(res1
)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14751 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14767 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14770 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14771 return SWIG_Py_Void();
14774 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14775 return SWIG_Python_InitShadowInstance(args
);
14778 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
= 0;
14780 int arg1
= (int) 0 ;
14781 int arg2
= (int) 0 ;
14782 int arg3
= (int) 0 ;
14783 wxProcessEvent
*result
= 0 ;
14790 PyObject
* obj0
= 0 ;
14791 PyObject
* obj1
= 0 ;
14792 PyObject
* obj2
= 0 ;
14793 char * kwnames
[] = {
14794 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14800 if (!SWIG_IsOK(ecode1
)) {
14801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14803 arg1
= static_cast< int >(val1
);
14806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14807 if (!SWIG_IsOK(ecode2
)) {
14808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14810 arg2
= static_cast< int >(val2
);
14813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14814 if (!SWIG_IsOK(ecode3
)) {
14815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14817 arg3
= static_cast< int >(val3
);
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14832 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14833 PyObject
*resultobj
= 0;
14834 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14838 PyObject
*swig_obj
[1] ;
14840 if (!args
) SWIG_fail
;
14841 swig_obj
[0] = args
;
14842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14843 if (!SWIG_IsOK(res1
)) {
14844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14846 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (int)(arg1
)->GetPid();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= SWIG_From_int(static_cast< int >(result
));
14860 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14861 PyObject
*resultobj
= 0;
14862 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14866 PyObject
*swig_obj
[1] ;
14868 if (!args
) SWIG_fail
;
14869 swig_obj
[0] = args
;
14870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14871 if (!SWIG_IsOK(res1
)) {
14872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14874 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= (int)(arg1
)->GetExitCode();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= SWIG_From_int(static_cast< int >(result
));
14888 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14889 PyObject
*resultobj
= 0;
14890 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14896 PyObject
*swig_obj
[2] ;
14898 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14900 if (!SWIG_IsOK(res1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14903 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14904 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14905 if (!SWIG_IsOK(ecode2
)) {
14906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14908 arg2
= static_cast< int >(val2
);
14909 if (arg1
) (arg1
)->m_pid
= arg2
;
14911 resultobj
= SWIG_Py_Void();
14918 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14919 PyObject
*resultobj
= 0;
14920 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14924 PyObject
*swig_obj
[1] ;
14926 if (!args
) SWIG_fail
;
14927 swig_obj
[0] = args
;
14928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14929 if (!SWIG_IsOK(res1
)) {
14930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14932 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14933 result
= (int) ((arg1
)->m_pid
);
14934 resultobj
= SWIG_From_int(static_cast< int >(result
));
14941 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14942 PyObject
*resultobj
= 0;
14943 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14949 PyObject
*swig_obj
[2] ;
14951 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
14952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14953 if (!SWIG_IsOK(res1
)) {
14954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14956 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14957 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14958 if (!SWIG_IsOK(ecode2
)) {
14959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
14961 arg2
= static_cast< int >(val2
);
14962 if (arg1
) (arg1
)->m_exitcode
= arg2
;
14964 resultobj
= SWIG_Py_Void();
14971 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14972 PyObject
*resultobj
= 0;
14973 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14977 PyObject
*swig_obj
[1] ;
14979 if (!args
) SWIG_fail
;
14980 swig_obj
[0] = args
;
14981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14982 if (!SWIG_IsOK(res1
)) {
14983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14985 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14986 result
= (int) ((arg1
)->m_exitcode
);
14987 resultobj
= SWIG_From_int(static_cast< int >(result
));
14994 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14997 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
14998 return SWIG_Py_Void();
15001 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15002 return SWIG_Python_InitShadowInstance(args
);
15005 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
= 0;
15007 wxString
*arg1
= 0 ;
15008 int arg2
= (int) wxEXEC_ASYNC
;
15009 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
15011 bool temp1
= false ;
15016 PyObject
* obj0
= 0 ;
15017 PyObject
* obj1
= 0 ;
15018 PyObject
* obj2
= 0 ;
15019 char * kwnames
[] = {
15020 (char *) "command",(char *) "flags",(char *) "process", NULL
15023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15025 arg1
= wxString_in_helper(obj0
);
15026 if (arg1
== NULL
) SWIG_fail
;
15030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15031 if (!SWIG_IsOK(ecode2
)) {
15032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
15034 arg2
= static_cast< int >(val2
);
15037 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
15038 if (!SWIG_IsOK(res3
)) {
15039 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
15041 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
15044 if (!wxPyCheckForApp()) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= SWIG_From_long(static_cast< long >(result
));
15065 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
= 0;
15068 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
15069 wxKillError
*arg3
= (wxKillError
*) 0 ;
15070 int arg4
= (int) wxKILL_NOCHILDREN
;
15076 wxKillError temp3
;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 PyObject
* obj2
= 0 ;
15082 char * kwnames
[] = {
15083 (char *) "pid",(char *) "sig",(char *) "flags", NULL
15089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15090 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
15091 if (!SWIG_IsOK(ecode1
)) {
15092 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
15094 arg1
= static_cast< long >(val1
);
15096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15097 if (!SWIG_IsOK(ecode2
)) {
15098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15100 arg2
= static_cast< wxSignal
>(val2
);
15103 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15104 if (!SWIG_IsOK(ecode4
)) {
15105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15107 arg4
= static_cast< int >(val4
);
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_From_int(static_cast< int >(result
));
15118 o
= PyInt_FromLong((long) (*arg3
));
15122 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15131 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
= 0;
15133 int arg1
= (int) wxJOYSTICK1
;
15134 wxJoystick
*result
= 0 ;
15137 PyObject
* obj0
= 0 ;
15138 char * kwnames
[] = {
15139 (char *) "joystick", NULL
15142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15144 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15145 if (!SWIG_IsOK(ecode1
)) {
15146 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15148 arg1
= static_cast< int >(val1
);
15151 if (!wxPyCheckForApp()) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (wxJoystick
*)new wxJoystick(arg1
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15164 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15165 PyObject
*resultobj
= 0;
15166 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15169 PyObject
*swig_obj
[1] ;
15171 if (!args
) SWIG_fail
;
15172 swig_obj
[0] = args
;
15173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15174 if (!SWIG_IsOK(res1
)) {
15175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15177 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= SWIG_Py_Void();
15192 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15193 PyObject
*resultobj
= 0;
15194 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15198 PyObject
*swig_obj
[1] ;
15200 if (!args
) SWIG_fail
;
15201 swig_obj
[0] = args
;
15202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15203 if (!SWIG_IsOK(res1
)) {
15204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15206 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (arg1
)->GetPosition();
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15220 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15221 PyObject
*resultobj
= 0;
15222 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15226 PyObject
*swig_obj
[1] ;
15228 if (!args
) SWIG_fail
;
15229 swig_obj
[0] = args
;
15230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15231 if (!SWIG_IsOK(res1
)) {
15232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15234 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (int)(arg1
)->GetZPosition();
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= SWIG_From_int(static_cast< int >(result
));
15248 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15249 PyObject
*resultobj
= 0;
15250 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15254 PyObject
*swig_obj
[1] ;
15256 if (!args
) SWIG_fail
;
15257 swig_obj
[0] = args
;
15258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15259 if (!SWIG_IsOK(res1
)) {
15260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15262 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (int)(arg1
)->GetButtonState();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_From_int(static_cast< int >(result
));
15276 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15277 PyObject
*resultobj
= 0;
15278 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15282 PyObject
*swig_obj
[1] ;
15284 if (!args
) SWIG_fail
;
15285 swig_obj
[0] = args
;
15286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15287 if (!SWIG_IsOK(res1
)) {
15288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15290 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (int)(arg1
)->GetPOVPosition();
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15297 resultobj
= SWIG_From_int(static_cast< int >(result
));
15304 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15305 PyObject
*resultobj
= 0;
15306 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15310 PyObject
*swig_obj
[1] ;
15312 if (!args
) SWIG_fail
;
15313 swig_obj
[0] = args
;
15314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15315 if (!SWIG_IsOK(res1
)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15318 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (int)(arg1
)->GetPOVCTSPosition();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_From_int(static_cast< int >(result
));
15332 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15333 PyObject
*resultobj
= 0;
15334 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15338 PyObject
*swig_obj
[1] ;
15340 if (!args
) SWIG_fail
;
15341 swig_obj
[0] = args
;
15342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15343 if (!SWIG_IsOK(res1
)) {
15344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15346 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (int)(arg1
)->GetRudderPosition();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_From_int(static_cast< int >(result
));
15360 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15361 PyObject
*resultobj
= 0;
15362 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15366 PyObject
*swig_obj
[1] ;
15368 if (!args
) SWIG_fail
;
15369 swig_obj
[0] = args
;
15370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15371 if (!SWIG_IsOK(res1
)) {
15372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15374 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (int)(arg1
)->GetUPosition();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_From_int(static_cast< int >(result
));
15388 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15389 PyObject
*resultobj
= 0;
15390 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15394 PyObject
*swig_obj
[1] ;
15396 if (!args
) SWIG_fail
;
15397 swig_obj
[0] = args
;
15398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15399 if (!SWIG_IsOK(res1
)) {
15400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15402 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (int)(arg1
)->GetVPosition();
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_From_int(static_cast< int >(result
));
15416 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15417 PyObject
*resultobj
= 0;
15418 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15422 PyObject
*swig_obj
[1] ;
15424 if (!args
) SWIG_fail
;
15425 swig_obj
[0] = args
;
15426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15427 if (!SWIG_IsOK(res1
)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15430 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (int)(arg1
)->GetMovementThreshold();
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= SWIG_From_int(static_cast< int >(result
));
15444 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
= 0;
15446 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 char * kwnames
[] = {
15455 (char *) "self",(char *) "threshold", NULL
15458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15460 if (!SWIG_IsOK(res1
)) {
15461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15463 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15465 if (!SWIG_IsOK(ecode2
)) {
15466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15468 arg2
= static_cast< int >(val2
);
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 (arg1
)->SetMovementThreshold(arg2
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 resultobj
= SWIG_Py_Void();
15482 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15483 PyObject
*resultobj
= 0;
15484 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15488 PyObject
*swig_obj
[1] ;
15490 if (!args
) SWIG_fail
;
15491 swig_obj
[0] = args
;
15492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15493 if (!SWIG_IsOK(res1
)) {
15494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15496 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (bool)(arg1
)->IsOk();
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15512 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15513 PyObject
*resultobj
= 0;
15514 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15518 PyObject
*swig_obj
[1] ;
15520 if (!args
) SWIG_fail
;
15521 swig_obj
[0] = args
;
15522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15523 if (!SWIG_IsOK(res1
)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15526 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (int)(arg1
)->GetNumberJoysticks();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_From_int(static_cast< int >(result
));
15540 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15541 PyObject
*resultobj
= 0;
15542 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15546 PyObject
*swig_obj
[1] ;
15548 if (!args
) SWIG_fail
;
15549 swig_obj
[0] = args
;
15550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15551 if (!SWIG_IsOK(res1
)) {
15552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15554 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (int)(arg1
)->GetManufacturerId();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_From_int(static_cast< int >(result
));
15568 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15569 PyObject
*resultobj
= 0;
15570 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15574 PyObject
*swig_obj
[1] ;
15576 if (!args
) SWIG_fail
;
15577 swig_obj
[0] = args
;
15578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15582 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (int)(arg1
)->GetProductId();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_From_int(static_cast< int >(result
));
15596 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15597 PyObject
*resultobj
= 0;
15598 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15602 PyObject
*swig_obj
[1] ;
15604 if (!args
) SWIG_fail
;
15605 swig_obj
[0] = args
;
15606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15607 if (!SWIG_IsOK(res1
)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15610 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (arg1
)->GetProductName();
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15630 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15631 PyObject
*resultobj
= 0;
15632 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15636 PyObject
*swig_obj
[1] ;
15638 if (!args
) SWIG_fail
;
15639 swig_obj
[0] = args
;
15640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15641 if (!SWIG_IsOK(res1
)) {
15642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15644 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (int)(arg1
)->GetXMin();
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_From_int(static_cast< int >(result
));
15658 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15659 PyObject
*resultobj
= 0;
15660 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15664 PyObject
*swig_obj
[1] ;
15666 if (!args
) SWIG_fail
;
15667 swig_obj
[0] = args
;
15668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15669 if (!SWIG_IsOK(res1
)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15672 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (int)(arg1
)->GetYMin();
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= SWIG_From_int(static_cast< int >(result
));
15686 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15687 PyObject
*resultobj
= 0;
15688 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15692 PyObject
*swig_obj
[1] ;
15694 if (!args
) SWIG_fail
;
15695 swig_obj
[0] = args
;
15696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15697 if (!SWIG_IsOK(res1
)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15700 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= (int)(arg1
)->GetZMin();
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= SWIG_From_int(static_cast< int >(result
));
15714 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15715 PyObject
*resultobj
= 0;
15716 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15720 PyObject
*swig_obj
[1] ;
15722 if (!args
) SWIG_fail
;
15723 swig_obj
[0] = args
;
15724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15725 if (!SWIG_IsOK(res1
)) {
15726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15728 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (int)(arg1
)->GetXMax();
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= SWIG_From_int(static_cast< int >(result
));
15742 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15743 PyObject
*resultobj
= 0;
15744 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15748 PyObject
*swig_obj
[1] ;
15750 if (!args
) SWIG_fail
;
15751 swig_obj
[0] = args
;
15752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15753 if (!SWIG_IsOK(res1
)) {
15754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15756 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (int)(arg1
)->GetYMax();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_From_int(static_cast< int >(result
));
15770 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15771 PyObject
*resultobj
= 0;
15772 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15776 PyObject
*swig_obj
[1] ;
15778 if (!args
) SWIG_fail
;
15779 swig_obj
[0] = args
;
15780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15781 if (!SWIG_IsOK(res1
)) {
15782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15784 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (int)(arg1
)->GetZMax();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= SWIG_From_int(static_cast< int >(result
));
15798 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15799 PyObject
*resultobj
= 0;
15800 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15804 PyObject
*swig_obj
[1] ;
15806 if (!args
) SWIG_fail
;
15807 swig_obj
[0] = args
;
15808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15809 if (!SWIG_IsOK(res1
)) {
15810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15812 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= (int)(arg1
)->GetNumberButtons();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15819 resultobj
= SWIG_From_int(static_cast< int >(result
));
15826 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15827 PyObject
*resultobj
= 0;
15828 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15832 PyObject
*swig_obj
[1] ;
15834 if (!args
) SWIG_fail
;
15835 swig_obj
[0] = args
;
15836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15837 if (!SWIG_IsOK(res1
)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15840 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (int)(arg1
)->GetNumberAxes();
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= SWIG_From_int(static_cast< int >(result
));
15854 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15855 PyObject
*resultobj
= 0;
15856 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15860 PyObject
*swig_obj
[1] ;
15862 if (!args
) SWIG_fail
;
15863 swig_obj
[0] = args
;
15864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15865 if (!SWIG_IsOK(res1
)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15868 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 result
= (int)(arg1
)->GetMaxButtons();
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15875 resultobj
= SWIG_From_int(static_cast< int >(result
));
15882 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15883 PyObject
*resultobj
= 0;
15884 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15888 PyObject
*swig_obj
[1] ;
15890 if (!args
) SWIG_fail
;
15891 swig_obj
[0] = args
;
15892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15893 if (!SWIG_IsOK(res1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15896 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (int)(arg1
)->GetMaxAxes();
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= SWIG_From_int(static_cast< int >(result
));
15910 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15911 PyObject
*resultobj
= 0;
15912 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15916 PyObject
*swig_obj
[1] ;
15918 if (!args
) SWIG_fail
;
15919 swig_obj
[0] = args
;
15920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15921 if (!SWIG_IsOK(res1
)) {
15922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15924 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (int)(arg1
)->GetPollingMin();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= SWIG_From_int(static_cast< int >(result
));
15938 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15939 PyObject
*resultobj
= 0;
15940 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15944 PyObject
*swig_obj
[1] ;
15946 if (!args
) SWIG_fail
;
15947 swig_obj
[0] = args
;
15948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15949 if (!SWIG_IsOK(res1
)) {
15950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15952 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 result
= (int)(arg1
)->GetPollingMax();
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= SWIG_From_int(static_cast< int >(result
));
15966 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15967 PyObject
*resultobj
= 0;
15968 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15972 PyObject
*swig_obj
[1] ;
15974 if (!args
) SWIG_fail
;
15975 swig_obj
[0] = args
;
15976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15977 if (!SWIG_IsOK(res1
)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15980 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 result
= (int)(arg1
)->GetRudderMin();
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= SWIG_From_int(static_cast< int >(result
));
15994 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15995 PyObject
*resultobj
= 0;
15996 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16000 PyObject
*swig_obj
[1] ;
16002 if (!args
) SWIG_fail
;
16003 swig_obj
[0] = args
;
16004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16005 if (!SWIG_IsOK(res1
)) {
16006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16008 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (int)(arg1
)->GetRudderMax();
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= SWIG_From_int(static_cast< int >(result
));
16022 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16023 PyObject
*resultobj
= 0;
16024 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16028 PyObject
*swig_obj
[1] ;
16030 if (!args
) SWIG_fail
;
16031 swig_obj
[0] = args
;
16032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16033 if (!SWIG_IsOK(res1
)) {
16034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16036 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 result
= (int)(arg1
)->GetUMin();
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16043 resultobj
= SWIG_From_int(static_cast< int >(result
));
16050 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16051 PyObject
*resultobj
= 0;
16052 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16056 PyObject
*swig_obj
[1] ;
16058 if (!args
) SWIG_fail
;
16059 swig_obj
[0] = args
;
16060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16061 if (!SWIG_IsOK(res1
)) {
16062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16064 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (int)(arg1
)->GetUMax();
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= SWIG_From_int(static_cast< int >(result
));
16078 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16079 PyObject
*resultobj
= 0;
16080 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16084 PyObject
*swig_obj
[1] ;
16086 if (!args
) SWIG_fail
;
16087 swig_obj
[0] = args
;
16088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16089 if (!SWIG_IsOK(res1
)) {
16090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16092 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (int)(arg1
)->GetVMin();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= SWIG_From_int(static_cast< int >(result
));
16106 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16107 PyObject
*resultobj
= 0;
16108 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16112 PyObject
*swig_obj
[1] ;
16114 if (!args
) SWIG_fail
;
16115 swig_obj
[0] = args
;
16116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16117 if (!SWIG_IsOK(res1
)) {
16118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16120 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 result
= (int)(arg1
)->GetVMax();
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= SWIG_From_int(static_cast< int >(result
));
16134 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16135 PyObject
*resultobj
= 0;
16136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16140 PyObject
*swig_obj
[1] ;
16142 if (!args
) SWIG_fail
;
16143 swig_obj
[0] = args
;
16144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16145 if (!SWIG_IsOK(res1
)) {
16146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16148 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (bool)(arg1
)->HasRudder();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16164 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16165 PyObject
*resultobj
= 0;
16166 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16170 PyObject
*swig_obj
[1] ;
16172 if (!args
) SWIG_fail
;
16173 swig_obj
[0] = args
;
16174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16175 if (!SWIG_IsOK(res1
)) {
16176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16178 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 result
= (bool)(arg1
)->HasZ();
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16194 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16195 PyObject
*resultobj
= 0;
16196 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16200 PyObject
*swig_obj
[1] ;
16202 if (!args
) SWIG_fail
;
16203 swig_obj
[0] = args
;
16204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16205 if (!SWIG_IsOK(res1
)) {
16206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16208 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (bool)(arg1
)->HasU();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16224 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16225 PyObject
*resultobj
= 0;
16226 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16230 PyObject
*swig_obj
[1] ;
16232 if (!args
) SWIG_fail
;
16233 swig_obj
[0] = args
;
16234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16235 if (!SWIG_IsOK(res1
)) {
16236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16238 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (bool)(arg1
)->HasV();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16254 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16255 PyObject
*resultobj
= 0;
16256 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16260 PyObject
*swig_obj
[1] ;
16262 if (!args
) SWIG_fail
;
16263 swig_obj
[0] = args
;
16264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16265 if (!SWIG_IsOK(res1
)) {
16266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16268 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (bool)(arg1
)->HasPOV();
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16284 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16285 PyObject
*resultobj
= 0;
16286 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16290 PyObject
*swig_obj
[1] ;
16292 if (!args
) SWIG_fail
;
16293 swig_obj
[0] = args
;
16294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16295 if (!SWIG_IsOK(res1
)) {
16296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16298 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (bool)(arg1
)->HasPOV4Dir();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16314 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16315 PyObject
*resultobj
= 0;
16316 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16320 PyObject
*swig_obj
[1] ;
16322 if (!args
) SWIG_fail
;
16323 swig_obj
[0] = args
;
16324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16325 if (!SWIG_IsOK(res1
)) {
16326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16328 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 result
= (bool)(arg1
)->HasPOVCTS();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16344 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
= 0;
16346 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16347 wxWindow
*arg2
= (wxWindow
*) 0 ;
16348 int arg3
= (int) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 PyObject
* obj2
= 0 ;
16359 char * kwnames
[] = {
16360 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16365 if (!SWIG_IsOK(res1
)) {
16366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16368 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16370 if (!SWIG_IsOK(res2
)) {
16371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16376 if (!SWIG_IsOK(ecode3
)) {
16377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16379 arg3
= static_cast< int >(val3
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16396 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16397 PyObject
*resultobj
= 0;
16398 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16402 PyObject
*swig_obj
[1] ;
16404 if (!args
) SWIG_fail
;
16405 swig_obj
[0] = args
;
16406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16407 if (!SWIG_IsOK(res1
)) {
16408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16410 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 result
= (bool)(arg1
)->ReleaseCapture();
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16426 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16429 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16430 return SWIG_Py_Void();
16433 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16434 return SWIG_Python_InitShadowInstance(args
);
16437 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
= 0;
16439 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16440 int arg2
= (int) 0 ;
16441 int arg3
= (int) wxJOYSTICK1
;
16442 int arg4
= (int) 0 ;
16443 wxJoystickEvent
*result
= 0 ;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 PyObject
* obj2
= 0 ;
16455 PyObject
* obj3
= 0 ;
16456 char * kwnames
[] = {
16457 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16462 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16463 if (!SWIG_IsOK(ecode1
)) {
16464 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16466 arg1
= static_cast< wxEventType
>(val1
);
16469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16470 if (!SWIG_IsOK(ecode2
)) {
16471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16473 arg2
= static_cast< int >(val2
);
16476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16477 if (!SWIG_IsOK(ecode3
)) {
16478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16480 arg3
= static_cast< int >(val3
);
16483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16484 if (!SWIG_IsOK(ecode4
)) {
16485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16487 arg4
= static_cast< int >(val4
);
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16502 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16503 PyObject
*resultobj
= 0;
16504 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16508 PyObject
*swig_obj
[1] ;
16510 if (!args
) SWIG_fail
;
16511 swig_obj
[0] = args
;
16512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16513 if (!SWIG_IsOK(res1
)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16516 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16530 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16531 PyObject
*resultobj
= 0;
16532 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16536 PyObject
*swig_obj
[1] ;
16538 if (!args
) SWIG_fail
;
16539 swig_obj
[0] = args
;
16540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16541 if (!SWIG_IsOK(res1
)) {
16542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16544 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= SWIG_From_int(static_cast< int >(result
));
16558 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16559 PyObject
*resultobj
= 0;
16560 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16564 PyObject
*swig_obj
[1] ;
16566 if (!args
) SWIG_fail
;
16567 swig_obj
[0] = args
;
16568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16569 if (!SWIG_IsOK(res1
)) {
16570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16572 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= SWIG_From_int(static_cast< int >(result
));
16586 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16587 PyObject
*resultobj
= 0;
16588 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16592 PyObject
*swig_obj
[1] ;
16594 if (!args
) SWIG_fail
;
16595 swig_obj
[0] = args
;
16596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16597 if (!SWIG_IsOK(res1
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16600 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= SWIG_From_int(static_cast< int >(result
));
16614 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16615 PyObject
*resultobj
= 0;
16616 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16620 PyObject
*swig_obj
[1] ;
16622 if (!args
) SWIG_fail
;
16623 swig_obj
[0] = args
;
16624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16625 if (!SWIG_IsOK(res1
)) {
16626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16628 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= SWIG_From_int(static_cast< int >(result
));
16642 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
= 0;
16644 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char * kwnames
[] = {
16653 (char *) "self",(char *) "stick", NULL
16656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16658 if (!SWIG_IsOK(res1
)) {
16659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16661 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16663 if (!SWIG_IsOK(ecode2
)) {
16664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16666 arg2
= static_cast< int >(val2
);
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 (arg1
)->SetJoystick(arg2
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= SWIG_Py_Void();
16680 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
= 0;
16682 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16688 PyObject
* obj0
= 0 ;
16689 PyObject
* obj1
= 0 ;
16690 char * kwnames
[] = {
16691 (char *) "self",(char *) "state", NULL
16694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16696 if (!SWIG_IsOK(res1
)) {
16697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16699 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16701 if (!SWIG_IsOK(ecode2
)) {
16702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16704 arg2
= static_cast< int >(val2
);
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 (arg1
)->SetButtonState(arg2
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_Py_Void();
16718 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
= 0;
16720 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16726 PyObject
* obj0
= 0 ;
16727 PyObject
* obj1
= 0 ;
16728 char * kwnames
[] = {
16729 (char *) "self",(char *) "change", NULL
16732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16734 if (!SWIG_IsOK(res1
)) {
16735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16737 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16739 if (!SWIG_IsOK(ecode2
)) {
16740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16742 arg2
= static_cast< int >(val2
);
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 (arg1
)->SetButtonChange(arg2
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= SWIG_Py_Void();
16756 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
= 0;
16758 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16759 wxPoint
*arg2
= 0 ;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 char * kwnames
[] = {
16766 (char *) "self",(char *) "pos", NULL
16769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16771 if (!SWIG_IsOK(res1
)) {
16772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16774 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 resultobj
= SWIG_Py_Void();
16792 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
= 0;
16794 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16800 PyObject
* obj0
= 0 ;
16801 PyObject
* obj1
= 0 ;
16802 char * kwnames
[] = {
16803 (char *) "self",(char *) "zPos", NULL
16806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16808 if (!SWIG_IsOK(res1
)) {
16809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16811 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16813 if (!SWIG_IsOK(ecode2
)) {
16814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16816 arg2
= static_cast< int >(val2
);
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 (arg1
)->SetZPosition(arg2
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= SWIG_Py_Void();
16830 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16831 PyObject
*resultobj
= 0;
16832 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16836 PyObject
*swig_obj
[1] ;
16838 if (!args
) SWIG_fail
;
16839 swig_obj
[0] = args
;
16840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16841 if (!SWIG_IsOK(res1
)) {
16842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16844 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16860 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16861 PyObject
*resultobj
= 0;
16862 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16866 PyObject
*swig_obj
[1] ;
16868 if (!args
) SWIG_fail
;
16869 swig_obj
[0] = args
;
16870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16871 if (!SWIG_IsOK(res1
)) {
16872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16874 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16890 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16891 PyObject
*resultobj
= 0;
16892 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16896 PyObject
*swig_obj
[1] ;
16898 if (!args
) SWIG_fail
;
16899 swig_obj
[0] = args
;
16900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16901 if (!SWIG_IsOK(res1
)) {
16902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16904 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16920 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
= 0;
16922 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16923 int arg2
= (int) wxJOY_BUTTON_ANY
;
16929 PyObject
* obj0
= 0 ;
16930 PyObject
* obj1
= 0 ;
16931 char * kwnames
[] = {
16932 (char *) "self",(char *) "but", NULL
16935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16937 if (!SWIG_IsOK(res1
)) {
16938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16940 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16943 if (!SWIG_IsOK(ecode2
)) {
16944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
16946 arg2
= static_cast< int >(val2
);
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16963 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
= 0;
16965 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16966 int arg2
= (int) wxJOY_BUTTON_ANY
;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 char * kwnames
[] = {
16975 (char *) "self",(char *) "but", NULL
16978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16980 if (!SWIG_IsOK(res1
)) {
16981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16983 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16986 if (!SWIG_IsOK(ecode2
)) {
16987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
16989 arg2
= static_cast< int >(val2
);
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17006 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
= 0;
17008 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17009 int arg2
= (int) wxJOY_BUTTON_ANY
;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 char * kwnames
[] = {
17018 (char *) "self",(char *) "but", NULL
17021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17023 if (!SWIG_IsOK(res1
)) {
17024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17026 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17029 if (!SWIG_IsOK(ecode2
)) {
17030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
17032 arg2
= static_cast< int >(val2
);
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17049 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17052 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
17053 return SWIG_Py_Void();
17056 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17057 return SWIG_Python_InitShadowInstance(args
);
17060 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
= 0;
17062 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17063 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17064 wxSound
*result
= 0 ;
17065 bool temp1
= false ;
17066 PyObject
* obj0
= 0 ;
17067 char * kwnames
[] = {
17068 (char *) "fileName", NULL
17071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
17074 arg1
= wxString_in_helper(obj0
);
17075 if (arg1
== NULL
) SWIG_fail
;
17080 if (!wxPyCheckForApp()) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17101 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
= 0;
17103 PyObject
*arg1
= (PyObject
*) 0 ;
17104 wxSound
*result
= 0 ;
17105 PyObject
* obj0
= 0 ;
17106 char * kwnames
[] = {
17107 (char *) "data", NULL
17110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17113 if (!wxPyCheckForApp()) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 result
= (wxSound
*)new_wxSound(arg1
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17126 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17127 PyObject
*resultobj
= 0;
17128 wxSound
*arg1
= (wxSound
*) 0 ;
17131 PyObject
*swig_obj
[1] ;
17133 if (!args
) SWIG_fail
;
17134 swig_obj
[0] = args
;
17135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17136 if (!SWIG_IsOK(res1
)) {
17137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17139 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17147 resultobj
= SWIG_Py_Void();
17154 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
= 0;
17156 wxSound
*arg1
= (wxSound
*) 0 ;
17157 wxString
*arg2
= 0 ;
17161 bool temp2
= false ;
17162 PyObject
* obj0
= 0 ;
17163 PyObject
* obj1
= 0 ;
17164 char * kwnames
[] = {
17165 (char *) "self",(char *) "fileName", NULL
17168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17170 if (!SWIG_IsOK(res1
)) {
17171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17173 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17175 arg2
= wxString_in_helper(obj1
);
17176 if (arg2
== NULL
) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17202 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
= 0;
17204 wxSound
*arg1
= (wxSound
*) 0 ;
17205 PyObject
*arg2
= (PyObject
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 char * kwnames
[] = {
17212 (char *) "self",(char *) "data", NULL
17215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17217 if (!SWIG_IsOK(res1
)) {
17218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17220 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17237 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17238 PyObject
*resultobj
= 0;
17239 wxSound
*arg1
= (wxSound
*) 0 ;
17243 PyObject
*swig_obj
[1] ;
17245 if (!args
) SWIG_fail
;
17246 swig_obj
[0] = args
;
17247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17248 if (!SWIG_IsOK(res1
)) {
17249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17251 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= (bool)(arg1
)->IsOk();
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17267 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
= 0;
17269 wxSound
*arg1
= (wxSound
*) 0 ;
17270 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17274 unsigned int val2
;
17276 PyObject
* obj0
= 0 ;
17277 PyObject
* obj1
= 0 ;
17278 char * kwnames
[] = {
17279 (char *) "self",(char *) "flags", NULL
17282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17284 if (!SWIG_IsOK(res1
)) {
17285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17287 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17289 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17290 if (!SWIG_IsOK(ecode2
)) {
17291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17293 arg2
= static_cast< unsigned int >(val2
);
17296 if (!wxPyCheckForApp()) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17311 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
= 0;
17313 wxString
*arg1
= 0 ;
17314 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17316 bool temp1
= false ;
17317 unsigned int val2
;
17319 PyObject
* obj0
= 0 ;
17320 PyObject
* obj1
= 0 ;
17321 char * kwnames
[] = {
17322 (char *) "filename",(char *) "flags", NULL
17325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17327 arg1
= wxString_in_helper(obj0
);
17328 if (arg1
== NULL
) SWIG_fail
;
17332 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17333 if (!SWIG_IsOK(ecode2
)) {
17334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17336 arg2
= static_cast< unsigned int >(val2
);
17339 if (!wxPyCheckForApp()) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17362 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17363 PyObject
*resultobj
= 0;
17365 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17367 if (!wxPyCheckForApp()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= SWIG_Py_Void();
17380 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17383 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17384 return SWIG_Py_Void();
17387 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17388 return SWIG_Python_InitShadowInstance(args
);
17391 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
= 0;
17393 wxString
*arg1
= 0 ;
17394 wxString
*arg2
= 0 ;
17395 wxString
*arg3
= 0 ;
17396 wxString
*arg4
= 0 ;
17397 wxFileTypeInfo
*result
= 0 ;
17398 bool temp1
= false ;
17399 bool temp2
= false ;
17400 bool temp3
= false ;
17401 bool temp4
= false ;
17402 PyObject
* obj0
= 0 ;
17403 PyObject
* obj1
= 0 ;
17404 PyObject
* obj2
= 0 ;
17405 PyObject
* obj3
= 0 ;
17406 char * kwnames
[] = {
17407 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17412 arg1
= wxString_in_helper(obj0
);
17413 if (arg1
== NULL
) SWIG_fail
;
17417 arg2
= wxString_in_helper(obj1
);
17418 if (arg2
== NULL
) SWIG_fail
;
17422 arg3
= wxString_in_helper(obj2
);
17423 if (arg3
== NULL
) SWIG_fail
;
17427 arg4
= wxString_in_helper(obj3
);
17428 if (arg4
== NULL
) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17476 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
= 0;
17478 wxArrayString
*arg1
= 0 ;
17479 wxFileTypeInfo
*result
= 0 ;
17480 bool temp1
= false ;
17481 PyObject
* obj0
= 0 ;
17482 char * kwnames
[] = {
17483 (char *) "sArray", NULL
17486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17488 if (! PySequence_Check(obj0
)) {
17489 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17492 arg1
= new wxArrayString
;
17494 int i
, len
=PySequence_Length(obj0
);
17495 for (i
=0; i
<len
; i
++) {
17496 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17497 wxString
* s
= wxString_in_helper(item
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17512 if (temp1
) delete arg1
;
17517 if (temp1
) delete arg1
;
17523 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17524 PyObject
*resultobj
= 0;
17525 wxFileTypeInfo
*result
= 0 ;
17527 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17541 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17542 PyObject
*resultobj
= 0;
17543 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17547 PyObject
*swig_obj
[1] ;
17549 if (!args
) SWIG_fail
;
17550 swig_obj
[0] = args
;
17551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17552 if (!SWIG_IsOK(res1
)) {
17553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17555 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17571 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
= 0;
17573 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17574 wxString
*arg2
= 0 ;
17575 int arg3
= (int) 0 ;
17578 bool temp2
= false ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 PyObject
* obj2
= 0 ;
17584 char * kwnames
[] = {
17585 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17590 if (!SWIG_IsOK(res1
)) {
17591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17593 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17595 arg2
= wxString_in_helper(obj1
);
17596 if (arg2
== NULL
) SWIG_fail
;
17600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17601 if (!SWIG_IsOK(ecode3
)) {
17602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17604 arg3
= static_cast< int >(val3
);
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= SWIG_Py_Void();
17627 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
= 0;
17629 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17630 wxString
*arg2
= 0 ;
17633 bool temp2
= false ;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 char * kwnames
[] = {
17637 (char *) "self",(char *) "shortDesc", NULL
17640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17642 if (!SWIG_IsOK(res1
)) {
17643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17645 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17647 arg2
= wxString_in_helper(obj1
);
17648 if (arg2
== NULL
) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= SWIG_Py_Void();
17672 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17673 PyObject
*resultobj
= 0;
17674 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17675 wxString
*result
= 0 ;
17678 PyObject
*swig_obj
[1] ;
17680 if (!args
) SWIG_fail
;
17681 swig_obj
[0] = args
;
17682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17683 if (!SWIG_IsOK(res1
)) {
17684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17686 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17691 result
= (wxString
*) &_result_ref
;
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17700 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17709 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17710 PyObject
*resultobj
= 0;
17711 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17712 wxString
*result
= 0 ;
17715 PyObject
*swig_obj
[1] ;
17717 if (!args
) SWIG_fail
;
17718 swig_obj
[0] = args
;
17719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17720 if (!SWIG_IsOK(res1
)) {
17721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17723 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17728 result
= (wxString
*) &_result_ref
;
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17737 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17746 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17747 PyObject
*resultobj
= 0;
17748 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17749 wxString
*result
= 0 ;
17752 PyObject
*swig_obj
[1] ;
17754 if (!args
) SWIG_fail
;
17755 swig_obj
[0] = args
;
17756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17757 if (!SWIG_IsOK(res1
)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17760 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17765 result
= (wxString
*) &_result_ref
;
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17774 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17783 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17784 PyObject
*resultobj
= 0;
17785 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17786 wxString
*result
= 0 ;
17789 PyObject
*swig_obj
[1] ;
17791 if (!args
) SWIG_fail
;
17792 swig_obj
[0] = args
;
17793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17794 if (!SWIG_IsOK(res1
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17797 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17802 result
= (wxString
*) &_result_ref
;
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17811 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17820 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17821 PyObject
*resultobj
= 0;
17822 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17823 wxString
*result
= 0 ;
17826 PyObject
*swig_obj
[1] ;
17828 if (!args
) SWIG_fail
;
17829 swig_obj
[0] = args
;
17830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17831 if (!SWIG_IsOK(res1
)) {
17832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17834 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17839 result
= (wxString
*) &_result_ref
;
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17848 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17857 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17858 PyObject
*resultobj
= 0;
17859 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17860 wxArrayString
*result
= 0 ;
17863 PyObject
*swig_obj
[1] ;
17865 if (!args
) SWIG_fail
;
17866 swig_obj
[0] = args
;
17867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17868 if (!SWIG_IsOK(res1
)) {
17869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17871 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17876 result
= (wxArrayString
*) &_result_ref
;
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17882 resultobj
= wxArrayString2PyList_helper(*result
);
17890 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17891 PyObject
*resultobj
= 0;
17892 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17896 PyObject
*swig_obj
[1] ;
17898 if (!args
) SWIG_fail
;
17899 swig_obj
[0] = args
;
17900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17901 if (!SWIG_IsOK(res1
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17904 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
17918 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17919 PyObject
*resultobj
= 0;
17920 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17921 wxString
*result
= 0 ;
17924 PyObject
*swig_obj
[1] ;
17926 if (!args
) SWIG_fail
;
17927 swig_obj
[0] = args
;
17928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17929 if (!SWIG_IsOK(res1
)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17932 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
17937 result
= (wxString
*) &_result_ref
;
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17946 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17955 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17956 PyObject
*resultobj
= 0;
17957 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17961 PyObject
*swig_obj
[1] ;
17963 if (!args
) SWIG_fail
;
17964 swig_obj
[0] = args
;
17965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17966 if (!SWIG_IsOK(res1
)) {
17967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17969 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_From_int(static_cast< int >(result
));
17983 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17986 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
17987 return SWIG_Py_Void();
17990 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17991 return SWIG_Python_InitShadowInstance(args
);
17994 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
= 0;
17996 wxFileTypeInfo
*arg1
= 0 ;
17997 wxFileType
*result
= 0 ;
18000 PyObject
* obj0
= 0 ;
18001 char * kwnames
[] = {
18002 (char *) "ftInfo", NULL
18005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
18006 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18007 if (!SWIG_IsOK(res1
)) {
18008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18013 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
18027 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18028 PyObject
*resultobj
= 0;
18029 wxFileType
*arg1
= (wxFileType
*) 0 ;
18032 PyObject
*swig_obj
[1] ;
18034 if (!args
) SWIG_fail
;
18035 swig_obj
[0] = args
;
18036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
18037 if (!SWIG_IsOK(res1
)) {
18038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
18040 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= SWIG_Py_Void();
18055 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18056 PyObject
*resultobj
= 0;
18057 wxFileType
*arg1
= (wxFileType
*) 0 ;
18058 PyObject
*result
= 0 ;
18061 PyObject
*swig_obj
[1] ;
18063 if (!args
) SWIG_fail
;
18064 swig_obj
[0] = args
;
18065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18066 if (!SWIG_IsOK(res1
)) {
18067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
18069 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= result
;
18083 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18084 PyObject
*resultobj
= 0;
18085 wxFileType
*arg1
= (wxFileType
*) 0 ;
18086 PyObject
*result
= 0 ;
18089 PyObject
*swig_obj
[1] ;
18091 if (!args
) SWIG_fail
;
18092 swig_obj
[0] = args
;
18093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
18097 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= result
;
18111 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18112 PyObject
*resultobj
= 0;
18113 wxFileType
*arg1
= (wxFileType
*) 0 ;
18114 PyObject
*result
= 0 ;
18117 PyObject
*swig_obj
[1] ;
18119 if (!args
) SWIG_fail
;
18120 swig_obj
[0] = args
;
18121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18122 if (!SWIG_IsOK(res1
)) {
18123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18125 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= result
;
18139 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18140 PyObject
*resultobj
= 0;
18141 wxFileType
*arg1
= (wxFileType
*) 0 ;
18142 wxIcon
*result
= 0 ;
18145 PyObject
*swig_obj
[1] ;
18147 if (!args
) SWIG_fail
;
18148 swig_obj
[0] = args
;
18149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18150 if (!SWIG_IsOK(res1
)) {
18151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18153 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18167 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18168 PyObject
*resultobj
= 0;
18169 wxFileType
*arg1
= (wxFileType
*) 0 ;
18170 PyObject
*result
= 0 ;
18173 PyObject
*swig_obj
[1] ;
18175 if (!args
) SWIG_fail
;
18176 swig_obj
[0] = args
;
18177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18178 if (!SWIG_IsOK(res1
)) {
18179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18181 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= result
;
18195 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18196 PyObject
*resultobj
= 0;
18197 wxFileType
*arg1
= (wxFileType
*) 0 ;
18198 PyObject
*result
= 0 ;
18201 PyObject
*swig_obj
[1] ;
18203 if (!args
) SWIG_fail
;
18204 swig_obj
[0] = args
;
18205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18206 if (!SWIG_IsOK(res1
)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18209 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= result
;
18223 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
= 0;
18225 wxFileType
*arg1
= (wxFileType
*) 0 ;
18226 wxString
*arg2
= 0 ;
18227 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18228 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18229 PyObject
*result
= 0 ;
18232 bool temp2
= false ;
18233 bool temp3
= false ;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 PyObject
* obj2
= 0 ;
18237 char * kwnames
[] = {
18238 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18243 if (!SWIG_IsOK(res1
)) {
18244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18246 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18248 arg2
= wxString_in_helper(obj1
);
18249 if (arg2
== NULL
) SWIG_fail
;
18254 arg3
= wxString_in_helper(obj2
);
18255 if (arg3
== NULL
) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= result
;
18288 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
= 0;
18290 wxFileType
*arg1
= (wxFileType
*) 0 ;
18291 wxString
*arg2
= 0 ;
18292 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18293 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18294 PyObject
*result
= 0 ;
18297 bool temp2
= false ;
18298 bool temp3
= false ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 PyObject
* obj2
= 0 ;
18302 char * kwnames
[] = {
18303 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18308 if (!SWIG_IsOK(res1
)) {
18309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18311 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18313 arg2
= wxString_in_helper(obj1
);
18314 if (arg2
== NULL
) SWIG_fail
;
18319 arg3
= wxString_in_helper(obj2
);
18320 if (arg3
== NULL
) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= result
;
18353 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
= 0;
18355 wxFileType
*arg1
= (wxFileType
*) 0 ;
18356 wxString
*arg2
= 0 ;
18357 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18358 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18359 PyObject
*result
= 0 ;
18362 bool temp2
= false ;
18363 bool temp3
= false ;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 PyObject
* obj2
= 0 ;
18367 char * kwnames
[] = {
18368 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18373 if (!SWIG_IsOK(res1
)) {
18374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18376 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18378 arg2
= wxString_in_helper(obj1
);
18379 if (arg2
== NULL
) SWIG_fail
;
18384 arg3
= wxString_in_helper(obj2
);
18385 if (arg3
== NULL
) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= result
;
18418 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
= 0;
18420 wxFileType
*arg1
= (wxFileType
*) 0 ;
18421 wxString
*arg2
= 0 ;
18422 wxString
*arg3
= 0 ;
18423 bool arg4
= (bool) true ;
18427 bool temp2
= false ;
18428 bool temp3
= false ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 PyObject
* obj2
= 0 ;
18434 PyObject
* obj3
= 0 ;
18435 char * kwnames
[] = {
18436 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18441 if (!SWIG_IsOK(res1
)) {
18442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18444 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18446 arg2
= wxString_in_helper(obj1
);
18447 if (arg2
== NULL
) SWIG_fail
;
18451 arg3
= wxString_in_helper(obj2
);
18452 if (arg3
== NULL
) SWIG_fail
;
18456 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18457 if (!SWIG_IsOK(ecode4
)) {
18458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18460 arg4
= static_cast< bool >(val4
);
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18493 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
= 0;
18495 wxFileType
*arg1
= (wxFileType
*) 0 ;
18496 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18497 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18498 int arg3
= (int) 0 ;
18502 bool temp2
= false ;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 PyObject
* obj2
= 0 ;
18508 char * kwnames
[] = {
18509 (char *) "self",(char *) "cmd",(char *) "index", NULL
18512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18514 if (!SWIG_IsOK(res1
)) {
18515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18517 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18520 arg2
= wxString_in_helper(obj1
);
18521 if (arg2
== NULL
) SWIG_fail
;
18526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18527 if (!SWIG_IsOK(ecode3
)) {
18528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18530 arg3
= static_cast< int >(val3
);
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18555 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18556 PyObject
*resultobj
= 0;
18557 wxFileType
*arg1
= (wxFileType
*) 0 ;
18561 PyObject
*swig_obj
[1] ;
18563 if (!args
) SWIG_fail
;
18564 swig_obj
[0] = args
;
18565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18566 if (!SWIG_IsOK(res1
)) {
18567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18569 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= (bool)(arg1
)->Unassociate();
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18585 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
= 0;
18587 wxString
*arg1
= 0 ;
18588 wxString
*arg2
= 0 ;
18589 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18590 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18592 bool temp1
= false ;
18593 bool temp2
= false ;
18594 bool temp3
= false ;
18595 PyObject
* obj0
= 0 ;
18596 PyObject
* obj1
= 0 ;
18597 PyObject
* obj2
= 0 ;
18598 char * kwnames
[] = {
18599 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18604 arg1
= wxString_in_helper(obj0
);
18605 if (arg1
== NULL
) SWIG_fail
;
18609 arg2
= wxString_in_helper(obj1
);
18610 if (arg2
== NULL
) SWIG_fail
;
18615 arg3
= wxString_in_helper(obj2
);
18616 if (arg3
== NULL
) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18663 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18666 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18667 return SWIG_Py_Void();
18670 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18671 return SWIG_Python_InitShadowInstance(args
);
18674 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18675 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18680 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18681 PyObject
*pyobj
= 0;
18683 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18688 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
= 0;
18690 wxString
*arg1
= 0 ;
18691 wxString
*arg2
= 0 ;
18693 bool temp1
= false ;
18694 bool temp2
= false ;
18695 PyObject
* obj0
= 0 ;
18696 PyObject
* obj1
= 0 ;
18697 char * kwnames
[] = {
18698 (char *) "mimeType",(char *) "wildcard", NULL
18701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18703 arg1
= wxString_in_helper(obj0
);
18704 if (arg1
== NULL
) SWIG_fail
;
18708 arg2
= wxString_in_helper(obj1
);
18709 if (arg2
== NULL
) SWIG_fail
;
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18743 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18744 PyObject
*resultobj
= 0;
18745 wxMimeTypesManager
*result
= 0 ;
18747 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18761 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
= 0;
18763 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18764 int arg2
= (int) wxMAILCAP_ALL
;
18765 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18766 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18771 bool temp3
= false ;
18772 PyObject
* obj0
= 0 ;
18773 PyObject
* obj1
= 0 ;
18774 PyObject
* obj2
= 0 ;
18775 char * kwnames
[] = {
18776 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18781 if (!SWIG_IsOK(res1
)) {
18782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18784 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18787 if (!SWIG_IsOK(ecode2
)) {
18788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18790 arg2
= static_cast< int >(val2
);
18794 arg3
= wxString_in_helper(obj2
);
18795 if (arg3
== NULL
) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_Py_Void();
18820 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18821 PyObject
*resultobj
= 0;
18822 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18825 PyObject
*swig_obj
[1] ;
18827 if (!args
) SWIG_fail
;
18828 swig_obj
[0] = args
;
18829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18830 if (!SWIG_IsOK(res1
)) {
18831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18833 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 (arg1
)->ClearData();
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_Py_Void();
18847 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
= 0;
18849 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18850 wxString
*arg2
= 0 ;
18851 wxFileType
*result
= 0 ;
18854 bool temp2
= false ;
18855 PyObject
* obj0
= 0 ;
18856 PyObject
* obj1
= 0 ;
18857 char * kwnames
[] = {
18858 (char *) "self",(char *) "ext", NULL
18861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18863 if (!SWIG_IsOK(res1
)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18866 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18868 arg2
= wxString_in_helper(obj1
);
18869 if (arg2
== NULL
) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18893 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
= 0;
18895 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18896 wxString
*arg2
= 0 ;
18897 wxFileType
*result
= 0 ;
18900 bool temp2
= false ;
18901 PyObject
* obj0
= 0 ;
18902 PyObject
* obj1
= 0 ;
18903 char * kwnames
[] = {
18904 (char *) "self",(char *) "mimeType", NULL
18907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18909 if (!SWIG_IsOK(res1
)) {
18910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18912 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18914 arg2
= wxString_in_helper(obj1
);
18915 if (arg2
== NULL
) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18939 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
= 0;
18941 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18942 wxString
*arg2
= 0 ;
18943 bool arg3
= (bool) false ;
18947 bool temp2
= false ;
18950 PyObject
* obj0
= 0 ;
18951 PyObject
* obj1
= 0 ;
18952 PyObject
* obj2
= 0 ;
18953 char * kwnames
[] = {
18954 (char *) "self",(char *) "filename",(char *) "fallback", NULL
18957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18959 if (!SWIG_IsOK(res1
)) {
18960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18962 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18964 arg2
= wxString_in_helper(obj1
);
18965 if (arg2
== NULL
) SWIG_fail
;
18969 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
18970 if (!SWIG_IsOK(ecode3
)) {
18971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
18973 arg3
= static_cast< bool >(val3
);
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18998 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
= 0;
19000 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19001 wxString
*arg2
= 0 ;
19005 bool temp2
= false ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char * kwnames
[] = {
19009 (char *) "self",(char *) "filename", NULL
19012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19014 if (!SWIG_IsOK(res1
)) {
19015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19017 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19019 arg2
= wxString_in_helper(obj1
);
19020 if (arg2
== NULL
) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19046 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19047 PyObject
*resultobj
= 0;
19048 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19049 PyObject
*result
= 0 ;
19052 PyObject
*swig_obj
[1] ;
19054 if (!args
) SWIG_fail
;
19055 swig_obj
[0] = args
;
19056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19057 if (!SWIG_IsOK(res1
)) {
19058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19060 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 resultobj
= result
;
19074 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
= 0;
19076 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19077 wxFileTypeInfo
*arg2
= 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char * kwnames
[] = {
19085 (char *) "self",(char *) "ft", NULL
19088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19090 if (!SWIG_IsOK(res1
)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19093 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19095 if (!SWIG_IsOK(res2
)) {
19096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19101 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= SWIG_Py_Void();
19115 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
= 0;
19117 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19118 wxFileTypeInfo
*arg2
= 0 ;
19119 wxFileType
*result
= 0 ;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 char * kwnames
[] = {
19127 (char *) "self",(char *) "ftInfo", NULL
19130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19132 if (!SWIG_IsOK(res1
)) {
19133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19135 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19137 if (!SWIG_IsOK(res2
)) {
19138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19143 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19157 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
= 0;
19159 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19160 wxFileType
*arg2
= (wxFileType
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 PyObject
* obj1
= 0 ;
19168 char * kwnames
[] = {
19169 (char *) "self",(char *) "ft", NULL
19172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19174 if (!SWIG_IsOK(res1
)) {
19175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19177 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19179 if (!SWIG_IsOK(res2
)) {
19180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19182 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 result
= (bool)(arg1
)->Unassociate(arg2
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19198 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19199 PyObject
*resultobj
= 0;
19200 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19203 PyObject
*swig_obj
[1] ;
19205 if (!args
) SWIG_fail
;
19206 swig_obj
[0] = args
;
19207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19208 if (!SWIG_IsOK(res1
)) {
19209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19211 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= SWIG_Py_Void();
19226 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19229 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19230 return SWIG_Py_Void();
19233 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19234 return SWIG_Python_InitShadowInstance(args
);
19237 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19238 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19243 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19244 PyObject
*pyobj
= 0;
19248 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19250 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19257 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19258 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19263 SWIGINTERN PyObject
*ART_MENU_get(void) {
19264 PyObject
*pyobj
= 0;
19268 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19270 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19277 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19278 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19283 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19284 PyObject
*pyobj
= 0;
19288 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19290 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19297 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19298 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19303 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19304 PyObject
*pyobj
= 0;
19308 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19310 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19317 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19318 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19323 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19324 PyObject
*pyobj
= 0;
19328 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19330 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19337 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19338 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19343 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19344 PyObject
*pyobj
= 0;
19348 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19350 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19357 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19358 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19363 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19364 PyObject
*pyobj
= 0;
19368 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19370 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19377 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19378 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19383 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19384 PyObject
*pyobj
= 0;
19388 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19390 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19397 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19398 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19403 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19404 PyObject
*pyobj
= 0;
19408 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19410 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19417 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19418 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19423 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19424 PyObject
*pyobj
= 0;
19428 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19430 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19437 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19438 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19443 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19444 PyObject
*pyobj
= 0;
19448 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19450 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19457 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19458 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19463 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19464 PyObject
*pyobj
= 0;
19468 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19470 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19477 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19478 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19483 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19484 PyObject
*pyobj
= 0;
19488 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19490 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19497 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19498 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19503 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19504 PyObject
*pyobj
= 0;
19508 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19510 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19517 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19518 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19523 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19524 PyObject
*pyobj
= 0;
19528 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19530 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19537 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19538 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19543 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19544 PyObject
*pyobj
= 0;
19548 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19550 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19557 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19558 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19563 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19564 PyObject
*pyobj
= 0;
19568 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19570 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19577 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19578 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19583 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19584 PyObject
*pyobj
= 0;
19588 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19590 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19597 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19598 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19603 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19604 PyObject
*pyobj
= 0;
19608 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19610 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19617 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19618 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19623 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19624 PyObject
*pyobj
= 0;
19628 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19630 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19637 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19638 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19643 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19644 PyObject
*pyobj
= 0;
19648 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19650 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19657 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19658 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19663 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19664 PyObject
*pyobj
= 0;
19668 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19670 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19677 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19678 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19683 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19684 PyObject
*pyobj
= 0;
19688 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19690 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19697 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19698 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19703 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19704 PyObject
*pyobj
= 0;
19708 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19710 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19717 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19718 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19723 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19724 PyObject
*pyobj
= 0;
19728 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19730 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19737 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19738 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19743 SWIGINTERN PyObject
*ART_HELP_get(void) {
19744 PyObject
*pyobj
= 0;
19748 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19750 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19757 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19758 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19763 SWIGINTERN PyObject
*ART_TIP_get(void) {
19764 PyObject
*pyobj
= 0;
19768 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19770 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19777 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19778 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19783 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19784 PyObject
*pyobj
= 0;
19788 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19790 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19797 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19798 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19803 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19804 PyObject
*pyobj
= 0;
19808 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19810 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19817 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19818 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19823 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19824 PyObject
*pyobj
= 0;
19828 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19830 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19837 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19838 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19843 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19844 PyObject
*pyobj
= 0;
19848 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19850 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19857 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19858 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19863 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19864 PyObject
*pyobj
= 0;
19868 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19870 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19877 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19878 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19883 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19884 PyObject
*pyobj
= 0;
19888 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19890 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19897 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19898 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
19903 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
19904 PyObject
*pyobj
= 0;
19908 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19910 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19917 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
19918 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
19923 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
19924 PyObject
*pyobj
= 0;
19928 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19930 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19937 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
19938 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
19943 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
19944 PyObject
*pyobj
= 0;
19948 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
19950 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
19957 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
19958 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
19963 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
19964 PyObject
*pyobj
= 0;
19968 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
19970 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
19977 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
19978 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
19983 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
19984 PyObject
*pyobj
= 0;
19988 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
19990 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
19997 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
19998 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
20003 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
20004 PyObject
*pyobj
= 0;
20008 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20010 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20017 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
20018 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
20023 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
20024 PyObject
*pyobj
= 0;
20028 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20030 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20037 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
20038 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
20043 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
20044 PyObject
*pyobj
= 0;
20048 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20050 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20057 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
20058 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
20063 SWIGINTERN PyObject
*ART_ERROR_get(void) {
20064 PyObject
*pyobj
= 0;
20068 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20070 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20077 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
20078 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
20083 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
20084 PyObject
*pyobj
= 0;
20088 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20090 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20097 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
20098 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20103 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20104 PyObject
*pyobj
= 0;
20108 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20110 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20117 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20118 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20123 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20124 PyObject
*pyobj
= 0;
20128 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20130 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20137 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20138 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20143 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20144 PyObject
*pyobj
= 0;
20148 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20150 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20157 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20158 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20163 SWIGINTERN PyObject
*ART_COPY_get(void) {
20164 PyObject
*pyobj
= 0;
20168 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20170 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20177 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20178 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20183 SWIGINTERN PyObject
*ART_CUT_get(void) {
20184 PyObject
*pyobj
= 0;
20188 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20190 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20197 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20198 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20203 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20204 PyObject
*pyobj
= 0;
20208 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20210 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20217 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20218 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20223 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20224 PyObject
*pyobj
= 0;
20228 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20230 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20237 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20238 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20243 SWIGINTERN PyObject
*ART_NEW_get(void) {
20244 PyObject
*pyobj
= 0;
20248 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20250 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20257 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20258 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20263 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20264 PyObject
*pyobj
= 0;
20268 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20270 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20277 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20278 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20283 SWIGINTERN PyObject
*ART_REDO_get(void) {
20284 PyObject
*pyobj
= 0;
20288 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20290 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20297 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20298 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20303 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20304 PyObject
*pyobj
= 0;
20308 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20310 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20317 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20318 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20323 SWIGINTERN PyObject
*ART_FIND_get(void) {
20324 PyObject
*pyobj
= 0;
20328 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20330 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20337 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20338 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20343 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20344 PyObject
*pyobj
= 0;
20348 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20350 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20357 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20358 PyObject
*resultobj
= 0;
20359 wxPyArtProvider
*result
= 0 ;
20361 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20363 if (!wxPyCheckForApp()) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20376 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20377 PyObject
*resultobj
= 0;
20378 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20381 PyObject
*swig_obj
[1] ;
20383 if (!args
) SWIG_fail
;
20384 swig_obj
[0] = args
;
20385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20386 if (!SWIG_IsOK(res1
)) {
20387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20389 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_Py_Void();
20404 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
= 0;
20406 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20407 PyObject
*arg2
= (PyObject
*) 0 ;
20408 PyObject
*arg3
= (PyObject
*) 0 ;
20411 PyObject
* obj0
= 0 ;
20412 PyObject
* obj1
= 0 ;
20413 PyObject
* obj2
= 0 ;
20414 char * kwnames
[] = {
20415 (char *) "self",(char *) "self",(char *) "_class", NULL
20418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20420 if (!SWIG_IsOK(res1
)) {
20421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20423 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 resultobj
= SWIG_Py_Void();
20439 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
= 0;
20441 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 char * kwnames
[] = {
20445 (char *) "provider", NULL
20448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
20449 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20450 if (!SWIG_IsOK(res1
)) {
20451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 wxPyArtProvider::PushProvider(arg1
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= SWIG_Py_Void();
20466 SWIGINTERN PyObject
*_wrap_ArtProvider_InsertProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
= 0;
20468 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20470 PyObject
* obj0
= 0 ;
20471 char * kwnames
[] = {
20472 (char *) "provider", NULL
20475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_InsertProvider",kwnames
,&obj0
)) SWIG_fail
;
20476 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20477 if (!SWIG_IsOK(res1
)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_InsertProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 wxPyArtProvider::InsertProvider(arg1
);
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20486 resultobj
= SWIG_Py_Void();
20493 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20494 PyObject
*resultobj
= 0;
20497 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (bool)wxPyArtProvider::PopProvider();
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20513 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
= 0;
20515 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 char * kwnames
[] = {
20521 (char *) "provider", NULL
20524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
20525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20526 if (!SWIG_IsOK(res1
)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20529 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20545 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
= 0;
20547 wxString
*arg1
= 0 ;
20548 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20549 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20550 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20551 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20553 bool temp1
= false ;
20554 bool temp2
= false ;
20556 PyObject
* obj0
= 0 ;
20557 PyObject
* obj1
= 0 ;
20558 PyObject
* obj2
= 0 ;
20559 char * kwnames
[] = {
20560 (char *) "id",(char *) "client",(char *) "size", NULL
20563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20565 arg1
= wxString_in_helper(obj0
);
20566 if (arg1
== NULL
) SWIG_fail
;
20571 arg2
= wxString_in_helper(obj1
);
20572 if (arg2
== NULL
) SWIG_fail
;
20579 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20583 if (!wxPyCheckForApp()) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20612 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
= 0;
20614 wxString
*arg1
= 0 ;
20615 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20616 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20617 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20618 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20620 bool temp1
= false ;
20621 bool temp2
= false ;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj1
= 0 ;
20625 PyObject
* obj2
= 0 ;
20626 char * kwnames
[] = {
20627 (char *) "id",(char *) "client",(char *) "size", NULL
20630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20632 arg1
= wxString_in_helper(obj0
);
20633 if (arg1
== NULL
) SWIG_fail
;
20638 arg2
= wxString_in_helper(obj1
);
20639 if (arg2
== NULL
) SWIG_fail
;
20646 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20650 if (!wxPyCheckForApp()) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20679 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
= 0;
20681 wxString
*arg1
= 0 ;
20682 bool arg2
= (bool) false ;
20684 bool temp1
= false ;
20687 PyObject
* obj0
= 0 ;
20688 PyObject
* obj1
= 0 ;
20689 char * kwnames
[] = {
20690 (char *) "client",(char *) "platform_dependent", NULL
20693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20695 arg1
= wxString_in_helper(obj0
);
20696 if (arg1
== NULL
) SWIG_fail
;
20700 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20701 if (!SWIG_IsOK(ecode2
)) {
20702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20704 arg2
= static_cast< bool >(val2
);
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20727 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20728 PyObject
*resultobj
= 0;
20729 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20732 PyObject
*swig_obj
[1] ;
20734 if (!args
) SWIG_fail
;
20735 swig_obj
[0] = args
;
20736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20737 if (!SWIG_IsOK(res1
)) {
20738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20740 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 wxPyArtProvider_Destroy(arg1
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= SWIG_Py_Void();
20754 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20757 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20758 return SWIG_Py_Void();
20761 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20762 return SWIG_Python_InitShadowInstance(args
);
20765 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20766 PyObject
*resultobj
= 0;
20767 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20770 PyObject
*swig_obj
[1] ;
20772 if (!args
) SWIG_fail
;
20773 swig_obj
[0] = args
;
20774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20775 if (!SWIG_IsOK(res1
)) {
20776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20778 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 wxPyEndAllowThreads(__tstate
);
20784 if (PyErr_Occurred()) SWIG_fail
;
20786 resultobj
= SWIG_Py_Void();
20793 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20794 PyObject
*resultobj
= 0;
20795 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20796 wxConfigBase
*result
= 0 ;
20798 PyObject
* obj0
= 0 ;
20799 char * kwnames
[] = {
20800 (char *) "config", NULL
20803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20804 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20805 if (!SWIG_IsOK(res1
)) {
20806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20821 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
= 0;
20823 bool arg1
= (bool) true ;
20824 wxConfigBase
*result
= 0 ;
20827 PyObject
* obj0
= 0 ;
20828 char * kwnames
[] = {
20829 (char *) "createOnDemand", NULL
20832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20834 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20835 if (!SWIG_IsOK(ecode1
)) {
20836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20838 arg1
= static_cast< bool >(val1
);
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20853 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20854 PyObject
*resultobj
= 0;
20855 wxConfigBase
*result
= 0 ;
20857 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (wxConfigBase
*)wxConfigBase::Create();
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20871 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20872 PyObject
*resultobj
= 0;
20874 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 wxConfigBase::DontCreateOnDemand();
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= SWIG_Py_Void();
20888 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
= 0;
20890 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20891 wxString
*arg2
= 0 ;
20894 bool temp2
= false ;
20895 PyObject
* obj0
= 0 ;
20896 PyObject
* obj1
= 0 ;
20897 char * kwnames
[] = {
20898 (char *) "self",(char *) "path", NULL
20901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20903 if (!SWIG_IsOK(res1
)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20906 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20908 arg2
= wxString_in_helper(obj1
);
20909 if (arg2
== NULL
) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 (arg1
)->SetPath((wxString
const &)*arg2
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_Py_Void();
20933 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20934 PyObject
*resultobj
= 0;
20935 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20936 wxString
*result
= 0 ;
20939 PyObject
*swig_obj
[1] ;
20941 if (!args
) SWIG_fail
;
20942 swig_obj
[0] = args
;
20943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20944 if (!SWIG_IsOK(res1
)) {
20945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20947 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
20952 result
= (wxString
*) &_result_ref
;
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20961 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20970 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20971 PyObject
*resultobj
= 0;
20972 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20973 PyObject
*result
= 0 ;
20976 PyObject
*swig_obj
[1] ;
20978 if (!args
) SWIG_fail
;
20979 swig_obj
[0] = args
;
20980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20981 if (!SWIG_IsOK(res1
)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20984 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 resultobj
= result
;
20998 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
= 0;
21000 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21002 PyObject
*result
= 0 ;
21007 PyObject
* obj0
= 0 ;
21008 PyObject
* obj1
= 0 ;
21009 char * kwnames
[] = {
21010 (char *) "self",(char *) "index", NULL
21013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21015 if (!SWIG_IsOK(res1
)) {
21016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21018 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21019 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21020 if (!SWIG_IsOK(ecode2
)) {
21021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
21023 arg2
= static_cast< long >(val2
);
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= result
;
21037 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21038 PyObject
*resultobj
= 0;
21039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21040 PyObject
*result
= 0 ;
21043 PyObject
*swig_obj
[1] ;
21045 if (!args
) SWIG_fail
;
21046 swig_obj
[0] = args
;
21047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21048 if (!SWIG_IsOK(res1
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21051 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= result
;
21065 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
= 0;
21067 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21069 PyObject
*result
= 0 ;
21074 PyObject
* obj0
= 0 ;
21075 PyObject
* obj1
= 0 ;
21076 char * kwnames
[] = {
21077 (char *) "self",(char *) "index", NULL
21080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21082 if (!SWIG_IsOK(res1
)) {
21083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21085 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21086 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21087 if (!SWIG_IsOK(ecode2
)) {
21088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
21090 arg2
= static_cast< long >(val2
);
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= result
;
21104 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
= 0;
21106 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21107 bool arg2
= (bool) false ;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21115 char * kwnames
[] = {
21116 (char *) "self",(char *) "recursive", NULL
21119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21124 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21126 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21127 if (!SWIG_IsOK(ecode2
)) {
21128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21130 arg2
= static_cast< bool >(val2
);
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21145 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
= 0;
21147 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21148 bool arg2
= (bool) false ;
21154 PyObject
* obj0
= 0 ;
21155 PyObject
* obj1
= 0 ;
21156 char * kwnames
[] = {
21157 (char *) "self",(char *) "recursive", NULL
21160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21162 if (!SWIG_IsOK(res1
)) {
21163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21165 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21167 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21168 if (!SWIG_IsOK(ecode2
)) {
21169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21171 arg2
= static_cast< bool >(val2
);
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21186 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
= 0;
21188 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21189 wxString
*arg2
= 0 ;
21193 bool temp2
= false ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 char * kwnames
[] = {
21197 (char *) "self",(char *) "name", NULL
21200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21202 if (!SWIG_IsOK(res1
)) {
21203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21205 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21207 arg2
= wxString_in_helper(obj1
);
21208 if (arg2
== NULL
) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21234 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
= 0;
21236 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21237 wxString
*arg2
= 0 ;
21241 bool temp2
= false ;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 char * kwnames
[] = {
21245 (char *) "self",(char *) "name", NULL
21248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21250 if (!SWIG_IsOK(res1
)) {
21251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21253 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21255 arg2
= wxString_in_helper(obj1
);
21256 if (arg2
== NULL
) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21282 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
= 0;
21284 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21285 wxString
*arg2
= 0 ;
21289 bool temp2
= false ;
21290 PyObject
* obj0
= 0 ;
21291 PyObject
* obj1
= 0 ;
21292 char * kwnames
[] = {
21293 (char *) "self",(char *) "name", NULL
21296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21298 if (!SWIG_IsOK(res1
)) {
21299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21301 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21303 arg2
= wxString_in_helper(obj1
);
21304 if (arg2
== NULL
) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21330 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
= 0;
21332 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21333 wxString
*arg2
= 0 ;
21334 wxConfigBase::EntryType result
;
21337 bool temp2
= false ;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 char * kwnames
[] = {
21341 (char *) "self",(char *) "name", NULL
21344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21346 if (!SWIG_IsOK(res1
)) {
21347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21349 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21351 arg2
= wxString_in_helper(obj1
);
21352 if (arg2
== NULL
) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21361 resultobj
= SWIG_From_int(static_cast< int >(result
));
21376 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21377 PyObject
*resultobj
= 0;
21378 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21379 wxString
*arg2
= 0 ;
21380 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21381 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21385 bool temp2
= false ;
21386 bool temp3
= false ;
21387 PyObject
* obj0
= 0 ;
21388 PyObject
* obj1
= 0 ;
21389 PyObject
* obj2
= 0 ;
21390 char * kwnames
[] = {
21391 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21396 if (!SWIG_IsOK(res1
)) {
21397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21399 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21401 arg2
= wxString_in_helper(obj1
);
21402 if (arg2
== NULL
) SWIG_fail
;
21407 arg3
= wxString_in_helper(obj2
);
21408 if (arg3
== NULL
) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21447 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
= 0;
21449 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21450 wxString
*arg2
= 0 ;
21451 long arg3
= (long) 0 ;
21455 bool temp2
= false ;
21458 PyObject
* obj0
= 0 ;
21459 PyObject
* obj1
= 0 ;
21460 PyObject
* obj2
= 0 ;
21461 char * kwnames
[] = {
21462 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21467 if (!SWIG_IsOK(res1
)) {
21468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21470 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21472 arg2
= wxString_in_helper(obj1
);
21473 if (arg2
== NULL
) SWIG_fail
;
21477 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21478 if (!SWIG_IsOK(ecode3
)) {
21479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21481 arg3
= static_cast< long >(val3
);
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= SWIG_From_long(static_cast< long >(result
));
21504 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
= 0;
21506 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21507 wxString
*arg2
= 0 ;
21508 double arg3
= (double) 0.0 ;
21512 bool temp2
= false ;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 PyObject
* obj2
= 0 ;
21518 char * kwnames
[] = {
21519 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21524 if (!SWIG_IsOK(res1
)) {
21525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21527 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21529 arg2
= wxString_in_helper(obj1
);
21530 if (arg2
== NULL
) SWIG_fail
;
21534 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21535 if (!SWIG_IsOK(ecode3
)) {
21536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21538 arg3
= static_cast< double >(val3
);
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= SWIG_From_double(static_cast< double >(result
));
21561 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
= 0;
21563 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21564 wxString
*arg2
= 0 ;
21565 bool arg3
= (bool) false ;
21569 bool temp2
= false ;
21572 PyObject
* obj0
= 0 ;
21573 PyObject
* obj1
= 0 ;
21574 PyObject
* obj2
= 0 ;
21575 char * kwnames
[] = {
21576 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21581 if (!SWIG_IsOK(res1
)) {
21582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21584 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21586 arg2
= wxString_in_helper(obj1
);
21587 if (arg2
== NULL
) SWIG_fail
;
21591 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21592 if (!SWIG_IsOK(ecode3
)) {
21593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21595 arg3
= static_cast< bool >(val3
);
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21620 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
= 0;
21622 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21623 wxString
*arg2
= 0 ;
21624 wxString
*arg3
= 0 ;
21628 bool temp2
= false ;
21629 bool temp3
= false ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 PyObject
* obj2
= 0 ;
21633 char * kwnames
[] = {
21634 (char *) "self",(char *) "key",(char *) "value", NULL
21637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21639 if (!SWIG_IsOK(res1
)) {
21640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21642 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21644 arg2
= wxString_in_helper(obj1
);
21645 if (arg2
== NULL
) SWIG_fail
;
21649 arg3
= wxString_in_helper(obj2
);
21650 if (arg3
== NULL
) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21684 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
= 0;
21686 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21687 wxString
*arg2
= 0 ;
21692 bool temp2
= false ;
21695 PyObject
* obj0
= 0 ;
21696 PyObject
* obj1
= 0 ;
21697 PyObject
* obj2
= 0 ;
21698 char * kwnames
[] = {
21699 (char *) "self",(char *) "key",(char *) "value", NULL
21702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21704 if (!SWIG_IsOK(res1
)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21707 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21709 arg2
= wxString_in_helper(obj1
);
21710 if (arg2
== NULL
) SWIG_fail
;
21713 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21714 if (!SWIG_IsOK(ecode3
)) {
21715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21717 arg3
= static_cast< long >(val3
);
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21741 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
= 0;
21743 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21744 wxString
*arg2
= 0 ;
21749 bool temp2
= false ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 PyObject
* obj2
= 0 ;
21755 char * kwnames
[] = {
21756 (char *) "self",(char *) "key",(char *) "value", NULL
21759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21761 if (!SWIG_IsOK(res1
)) {
21762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21764 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21766 arg2
= wxString_in_helper(obj1
);
21767 if (arg2
== NULL
) SWIG_fail
;
21770 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21771 if (!SWIG_IsOK(ecode3
)) {
21772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21774 arg3
= static_cast< double >(val3
);
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21798 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21799 PyObject
*resultobj
= 0;
21800 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21801 wxString
*arg2
= 0 ;
21806 bool temp2
= false ;
21809 PyObject
* obj0
= 0 ;
21810 PyObject
* obj1
= 0 ;
21811 PyObject
* obj2
= 0 ;
21812 char * kwnames
[] = {
21813 (char *) "self",(char *) "key",(char *) "value", NULL
21816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21818 if (!SWIG_IsOK(res1
)) {
21819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21821 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21823 arg2
= wxString_in_helper(obj1
);
21824 if (arg2
== NULL
) SWIG_fail
;
21827 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21828 if (!SWIG_IsOK(ecode3
)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21831 arg3
= static_cast< bool >(val3
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21855 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
= 0;
21857 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21858 bool arg2
= (bool) false ;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 char * kwnames
[] = {
21867 (char *) "self",(char *) "currentOnly", NULL
21870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21872 if (!SWIG_IsOK(res1
)) {
21873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21875 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21878 if (!SWIG_IsOK(ecode2
)) {
21879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21881 arg2
= static_cast< bool >(val2
);
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (bool)(arg1
)->Flush(arg2
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21898 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
= 0;
21900 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21901 wxString
*arg2
= 0 ;
21902 wxString
*arg3
= 0 ;
21906 bool temp2
= false ;
21907 bool temp3
= false ;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 PyObject
* obj2
= 0 ;
21911 char * kwnames
[] = {
21912 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21917 if (!SWIG_IsOK(res1
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21920 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21922 arg2
= wxString_in_helper(obj1
);
21923 if (arg2
== NULL
) SWIG_fail
;
21927 arg3
= wxString_in_helper(obj2
);
21928 if (arg3
== NULL
) SWIG_fail
;
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21962 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
= 0;
21964 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21965 wxString
*arg2
= 0 ;
21966 wxString
*arg3
= 0 ;
21970 bool temp2
= false ;
21971 bool temp3
= false ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 PyObject
* obj2
= 0 ;
21975 char * kwnames
[] = {
21976 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21981 if (!SWIG_IsOK(res1
)) {
21982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21984 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21986 arg2
= wxString_in_helper(obj1
);
21987 if (arg2
== NULL
) SWIG_fail
;
21991 arg3
= wxString_in_helper(obj2
);
21992 if (arg3
== NULL
) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22026 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
= 0;
22028 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22029 wxString
*arg2
= 0 ;
22030 bool arg3
= (bool) true ;
22034 bool temp2
= false ;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 PyObject
* obj2
= 0 ;
22040 char * kwnames
[] = {
22041 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
22044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22049 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22051 arg2
= wxString_in_helper(obj1
);
22052 if (arg2
== NULL
) SWIG_fail
;
22056 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22057 if (!SWIG_IsOK(ecode3
)) {
22058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
22060 arg3
= static_cast< bool >(val3
);
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22085 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
= 0;
22087 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22088 wxString
*arg2
= 0 ;
22092 bool temp2
= false ;
22093 PyObject
* obj0
= 0 ;
22094 PyObject
* obj1
= 0 ;
22095 char * kwnames
[] = {
22096 (char *) "self",(char *) "key", NULL
22099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22101 if (!SWIG_IsOK(res1
)) {
22102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22104 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22106 arg2
= wxString_in_helper(obj1
);
22107 if (arg2
== NULL
) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22133 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22134 PyObject
*resultobj
= 0;
22135 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22139 PyObject
*swig_obj
[1] ;
22141 if (!args
) SWIG_fail
;
22142 swig_obj
[0] = args
;
22143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22144 if (!SWIG_IsOK(res1
)) {
22145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22147 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (bool)(arg1
)->DeleteAll();
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22163 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
= 0;
22165 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22166 bool arg2
= (bool) true ;
22171 PyObject
* obj0
= 0 ;
22172 PyObject
* obj1
= 0 ;
22173 char * kwnames
[] = {
22174 (char *) "self",(char *) "doIt", NULL
22177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22179 if (!SWIG_IsOK(res1
)) {
22180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22182 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22184 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22185 if (!SWIG_IsOK(ecode2
)) {
22186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22188 arg2
= static_cast< bool >(val2
);
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 (arg1
)->SetExpandEnvVars(arg2
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= SWIG_Py_Void();
22203 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22204 PyObject
*resultobj
= 0;
22205 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22209 PyObject
*swig_obj
[1] ;
22211 if (!args
) SWIG_fail
;
22212 swig_obj
[0] = args
;
22213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22214 if (!SWIG_IsOK(res1
)) {
22215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22217 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22233 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
= 0;
22235 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22236 bool arg2
= (bool) true ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 char * kwnames
[] = {
22244 (char *) "self",(char *) "doIt", NULL
22247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22249 if (!SWIG_IsOK(res1
)) {
22250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22252 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22254 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22255 if (!SWIG_IsOK(ecode2
)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22258 arg2
= static_cast< bool >(val2
);
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 (arg1
)->SetRecordDefaults(arg2
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= SWIG_Py_Void();
22273 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22274 PyObject
*resultobj
= 0;
22275 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22279 PyObject
*swig_obj
[1] ;
22281 if (!args
) SWIG_fail
;
22282 swig_obj
[0] = args
;
22283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22284 if (!SWIG_IsOK(res1
)) {
22285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22287 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22303 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
= 0;
22305 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22306 wxString
*arg2
= 0 ;
22310 bool temp2
= false ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 char * kwnames
[] = {
22314 (char *) "self",(char *) "str", NULL
22317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22322 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22324 arg2
= wxString_in_helper(obj1
);
22325 if (arg2
== NULL
) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22355 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22356 PyObject
*resultobj
= 0;
22357 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22361 PyObject
*swig_obj
[1] ;
22363 if (!args
) SWIG_fail
;
22364 swig_obj
[0] = args
;
22365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22366 if (!SWIG_IsOK(res1
)) {
22367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22369 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22389 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22390 PyObject
*resultobj
= 0;
22391 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22395 PyObject
*swig_obj
[1] ;
22397 if (!args
) SWIG_fail
;
22398 swig_obj
[0] = args
;
22399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22400 if (!SWIG_IsOK(res1
)) {
22401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22403 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22423 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
= 0;
22425 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22426 wxString
*arg2
= 0 ;
22429 bool temp2
= false ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char * kwnames
[] = {
22433 (char *) "self",(char *) "appName", NULL
22436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22438 if (!SWIG_IsOK(res1
)) {
22439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22441 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22443 arg2
= wxString_in_helper(obj1
);
22444 if (arg2
== NULL
) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 (arg1
)->SetAppName((wxString
const &)*arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_Py_Void();
22468 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
= 0;
22470 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22471 wxString
*arg2
= 0 ;
22474 bool temp2
= false ;
22475 PyObject
* obj0
= 0 ;
22476 PyObject
* obj1
= 0 ;
22477 char * kwnames
[] = {
22478 (char *) "self",(char *) "vendorName", NULL
22481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22483 if (!SWIG_IsOK(res1
)) {
22484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22486 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22488 arg2
= wxString_in_helper(obj1
);
22489 if (arg2
== NULL
) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= SWIG_Py_Void();
22513 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
= 0;
22515 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 char * kwnames
[] = {
22524 (char *) "self",(char *) "style", NULL
22527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22532 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22533 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22534 if (!SWIG_IsOK(ecode2
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22537 arg2
= static_cast< long >(val2
);
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 (arg1
)->SetStyle(arg2
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= SWIG_Py_Void();
22551 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22552 PyObject
*resultobj
= 0;
22553 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22557 PyObject
*swig_obj
[1] ;
22559 if (!args
) SWIG_fail
;
22560 swig_obj
[0] = args
;
22561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22562 if (!SWIG_IsOK(res1
)) {
22563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22565 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22572 resultobj
= SWIG_From_long(static_cast< long >(result
));
22579 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22582 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22583 return SWIG_Py_Void();
22586 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
= 0;
22588 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22589 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22590 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22591 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22592 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22593 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22594 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22595 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22596 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22597 wxConfig
*result
= 0 ;
22598 bool temp1
= false ;
22599 bool temp2
= false ;
22600 bool temp3
= false ;
22601 bool temp4
= false ;
22604 PyObject
* obj0
= 0 ;
22605 PyObject
* obj1
= 0 ;
22606 PyObject
* obj2
= 0 ;
22607 PyObject
* obj3
= 0 ;
22608 PyObject
* obj4
= 0 ;
22609 char * kwnames
[] = {
22610 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22616 arg1
= wxString_in_helper(obj0
);
22617 if (arg1
== NULL
) SWIG_fail
;
22623 arg2
= wxString_in_helper(obj1
);
22624 if (arg2
== NULL
) SWIG_fail
;
22630 arg3
= wxString_in_helper(obj2
);
22631 if (arg3
== NULL
) SWIG_fail
;
22637 arg4
= wxString_in_helper(obj3
);
22638 if (arg4
== NULL
) SWIG_fail
;
22643 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22644 if (!SWIG_IsOK(ecode5
)) {
22645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22647 arg5
= static_cast< long >(val5
);
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22694 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22695 PyObject
*resultobj
= 0;
22696 wxConfig
*arg1
= (wxConfig
*) 0 ;
22699 PyObject
*swig_obj
[1] ;
22701 if (!args
) SWIG_fail
;
22702 swig_obj
[0] = args
;
22703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22704 if (!SWIG_IsOK(res1
)) {
22705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22707 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= SWIG_Py_Void();
22722 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22725 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22726 return SWIG_Py_Void();
22729 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22730 return SWIG_Python_InitShadowInstance(args
);
22733 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
= 0;
22735 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22736 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22737 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22738 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22739 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22740 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22741 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22742 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22743 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22744 wxFileConfig
*result
= 0 ;
22745 bool temp1
= false ;
22746 bool temp2
= false ;
22747 bool temp3
= false ;
22748 bool temp4
= false ;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 PyObject
* obj2
= 0 ;
22754 PyObject
* obj3
= 0 ;
22755 PyObject
* obj4
= 0 ;
22756 char * kwnames
[] = {
22757 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22763 arg1
= wxString_in_helper(obj0
);
22764 if (arg1
== NULL
) SWIG_fail
;
22770 arg2
= wxString_in_helper(obj1
);
22771 if (arg2
== NULL
) SWIG_fail
;
22777 arg3
= wxString_in_helper(obj2
);
22778 if (arg3
== NULL
) SWIG_fail
;
22784 arg4
= wxString_in_helper(obj3
);
22785 if (arg4
== NULL
) SWIG_fail
;
22790 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22791 if (!SWIG_IsOK(ecode5
)) {
22792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22794 arg5
= static_cast< long >(val5
);
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22841 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22842 PyObject
*resultobj
= 0;
22843 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22846 PyObject
*swig_obj
[1] ;
22848 if (!args
) SWIG_fail
;
22849 swig_obj
[0] = args
;
22850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22851 if (!SWIG_IsOK(res1
)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22854 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= SWIG_Py_Void();
22869 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22872 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22873 return SWIG_Py_Void();
22876 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22877 return SWIG_Python_InitShadowInstance(args
);
22880 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
= 0;
22882 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22883 wxString
*arg2
= 0 ;
22884 wxConfigPathChanger
*result
= 0 ;
22887 bool temp2
= false ;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 char * kwnames
[] = {
22891 (char *) "config",(char *) "entry", NULL
22894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22896 if (!SWIG_IsOK(res1
)) {
22897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22899 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22901 arg2
= wxString_in_helper(obj1
);
22902 if (arg2
== NULL
) SWIG_fail
;
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
22926 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22927 PyObject
*resultobj
= 0;
22928 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22931 PyObject
*swig_obj
[1] ;
22933 if (!args
) SWIG_fail
;
22934 swig_obj
[0] = args
;
22935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
22936 if (!SWIG_IsOK(res1
)) {
22937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
22939 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= SWIG_Py_Void();
22954 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22955 PyObject
*resultobj
= 0;
22956 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22957 wxString
*result
= 0 ;
22960 PyObject
*swig_obj
[1] ;
22962 if (!args
) SWIG_fail
;
22963 swig_obj
[0] = args
;
22964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
22968 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22972 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
22973 result
= (wxString
*) &_result_ref
;
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22982 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22991 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22994 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
22995 return SWIG_Py_Void();
22998 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22999 return SWIG_Python_InitShadowInstance(args
);
23002 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
= 0;
23004 wxString
*arg1
= 0 ;
23006 bool temp1
= false ;
23007 PyObject
* obj0
= 0 ;
23008 char * kwnames
[] = {
23009 (char *) "sz", NULL
23012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
23014 arg1
= wxString_in_helper(obj0
);
23015 if (arg1
== NULL
) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= wxExpandEnvVars((wxString
const &)*arg1
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23045 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
23046 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
23051 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
23052 PyObject
*pyobj
= 0;
23056 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23058 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23065 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
23066 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
23071 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
23072 PyObject
*pyobj
= 0;
23076 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23078 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23085 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
= 0;
23087 wxDateTime::Country arg1
;
23090 PyObject
* obj0
= 0 ;
23091 char * kwnames
[] = {
23092 (char *) "country", NULL
23095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
23096 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23097 if (!SWIG_IsOK(ecode1
)) {
23098 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23100 arg1
= static_cast< wxDateTime::Country
>(val1
);
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 wxDateTime::SetCountry(arg1
);
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_Py_Void();
23114 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23115 PyObject
*resultobj
= 0;
23116 wxDateTime::Country result
;
23118 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_From_int(static_cast< int >(result
));
23132 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
= 0;
23134 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23138 PyObject
* obj0
= 0 ;
23139 char * kwnames
[] = {
23140 (char *) "country", NULL
23143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23146 if (!SWIG_IsOK(ecode1
)) {
23147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23149 arg1
= static_cast< wxDateTime::Country
>(val1
);
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23166 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
= 0;
23168 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23172 PyObject
* obj0
= 0 ;
23173 char * kwnames
[] = {
23174 (char *) "cal", NULL
23177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23180 if (!SWIG_IsOK(ecode1
)) {
23181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23183 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23188 wxPyEndAllowThreads(__tstate
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23191 resultobj
= SWIG_From_int(static_cast< int >(result
));
23198 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
= 0;
23204 PyObject
* obj0
= 0 ;
23205 char * kwnames
[] = {
23206 (char *) "year", NULL
23209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23210 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23211 if (!SWIG_IsOK(ecode1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23214 arg1
= static_cast< int >(val1
);
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_From_int(static_cast< int >(result
));
23228 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
= 0;
23230 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23231 wxDateTime::Month result
;
23234 PyObject
* obj0
= 0 ;
23235 char * kwnames
[] = {
23236 (char *) "cal", NULL
23239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23241 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23242 if (!SWIG_IsOK(ecode1
)) {
23243 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23245 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= SWIG_From_int(static_cast< int >(result
));
23260 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
= 0;
23262 int arg1
= (int) wxDateTime::Inv_Year
;
23263 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 char * kwnames
[] = {
23272 (char *) "year",(char *) "cal", NULL
23275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23277 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23278 if (!SWIG_IsOK(ecode1
)) {
23279 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23281 arg1
= static_cast< int >(val1
);
23284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23285 if (!SWIG_IsOK(ecode2
)) {
23286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23288 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23305 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
= 0;
23307 int arg1
= (int) wxDateTime::Inv_Year
;
23311 PyObject
* obj0
= 0 ;
23312 char * kwnames
[] = {
23313 (char *) "year", NULL
23316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23318 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23319 if (!SWIG_IsOK(ecode1
)) {
23320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23322 arg1
= static_cast< int >(val1
);
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (int)wxDateTime::GetCentury(arg1
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= SWIG_From_int(static_cast< int >(result
));
23337 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
= 0;
23340 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 char * kwnames
[] = {
23349 (char *) "year",(char *) "cal", NULL
23352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23354 if (!SWIG_IsOK(ecode1
)) {
23355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23357 arg1
= static_cast< int >(val1
);
23359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23360 if (!SWIG_IsOK(ecode2
)) {
23361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23363 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= SWIG_From_int(static_cast< int >(result
));
23378 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
= 0;
23380 wxDateTime::Month arg1
;
23381 int arg2
= (int) wxDateTime::Inv_Year
;
23382 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 PyObject
* obj2
= 0 ;
23393 char * kwnames
[] = {
23394 (char *) "month",(char *) "year",(char *) "cal", NULL
23397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23399 if (!SWIG_IsOK(ecode1
)) {
23400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23402 arg1
= static_cast< wxDateTime::Month
>(val1
);
23404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23405 if (!SWIG_IsOK(ecode2
)) {
23406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23408 arg2
= static_cast< int >(val2
);
23411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23412 if (!SWIG_IsOK(ecode3
)) {
23413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23415 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_From_int(static_cast< int >(result
));
23430 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
= 0;
23432 wxDateTime::Month arg1
;
23433 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 char * kwnames
[] = {
23442 (char *) "month",(char *) "flags", NULL
23445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23446 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23447 if (!SWIG_IsOK(ecode1
)) {
23448 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23450 arg1
= static_cast< wxDateTime::Month
>(val1
);
23452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23453 if (!SWIG_IsOK(ecode2
)) {
23454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23456 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23477 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
= 0;
23479 wxDateTime::WeekDay arg1
;
23480 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23486 PyObject
* obj0
= 0 ;
23487 PyObject
* obj1
= 0 ;
23488 char * kwnames
[] = {
23489 (char *) "weekday",(char *) "flags", NULL
23492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23494 if (!SWIG_IsOK(ecode1
)) {
23495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23497 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23500 if (!SWIG_IsOK(ecode2
)) {
23501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23503 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23524 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23525 PyObject
*resultobj
= 0;
23526 PyObject
*result
= 0 ;
23528 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= result
;
23542 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
= 0;
23544 int arg1
= (int) wxDateTime::Inv_Year
;
23545 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23551 PyObject
* obj0
= 0 ;
23552 PyObject
* obj1
= 0 ;
23553 char * kwnames
[] = {
23554 (char *) "year",(char *) "country", NULL
23557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23559 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23560 if (!SWIG_IsOK(ecode1
)) {
23561 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23563 arg1
= static_cast< int >(val1
);
23566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23567 if (!SWIG_IsOK(ecode2
)) {
23568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23570 arg2
= static_cast< wxDateTime::Country
>(val2
);
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23587 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
= 0;
23589 int arg1
= (int) wxDateTime::Inv_Year
;
23590 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 char * kwnames
[] = {
23599 (char *) "year",(char *) "country", NULL
23602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23604 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23605 if (!SWIG_IsOK(ecode1
)) {
23606 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23608 arg1
= static_cast< int >(val1
);
23611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23612 if (!SWIG_IsOK(ecode2
)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23615 arg2
= static_cast< wxDateTime::Country
>(val2
);
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23630 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
= 0;
23632 int arg1
= (int) wxDateTime::Inv_Year
;
23633 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 char * kwnames
[] = {
23642 (char *) "year",(char *) "country", NULL
23645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23647 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23648 if (!SWIG_IsOK(ecode1
)) {
23649 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23651 arg1
= static_cast< int >(val1
);
23654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23655 if (!SWIG_IsOK(ecode2
)) {
23656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23658 arg2
= static_cast< wxDateTime::Country
>(val2
);
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23673 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23674 PyObject
*resultobj
= 0;
23677 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 result
= wxDateTime::Now();
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23691 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23692 PyObject
*resultobj
= 0;
23695 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= wxDateTime::UNow();
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23709 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23710 PyObject
*resultobj
= 0;
23713 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= wxDateTime::Today();
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23727 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23728 PyObject
*resultobj
= 0;
23729 wxDateTime
*result
= 0 ;
23731 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (wxDateTime
*)new wxDateTime();
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23745 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
= 0;
23748 wxDateTime
*result
= 0 ;
23749 unsigned int val1
;
23751 PyObject
* obj0
= 0 ;
23752 char * kwnames
[] = {
23753 (char *) "timet", NULL
23756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23757 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23758 if (!SWIG_IsOK(ecode1
)) {
23759 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23761 arg1
= static_cast< time_t >(val1
);
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (wxDateTime
*)new wxDateTime(arg1
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23775 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
= 0;
23778 wxDateTime
*result
= 0 ;
23781 PyObject
* obj0
= 0 ;
23782 char * kwnames
[] = {
23783 (char *) "jdn", NULL
23786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23787 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23788 if (!SWIG_IsOK(ecode1
)) {
23789 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23791 arg1
= static_cast< double >(val1
);
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 result
= (wxDateTime
*)new wxDateTime(arg1
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23805 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
= 0;
23808 int arg2
= (int) 0 ;
23809 int arg3
= (int) 0 ;
23810 int arg4
= (int) 0 ;
23811 wxDateTime
*result
= 0 ;
23820 PyObject
* obj0
= 0 ;
23821 PyObject
* obj1
= 0 ;
23822 PyObject
* obj2
= 0 ;
23823 PyObject
* obj3
= 0 ;
23824 char * kwnames
[] = {
23825 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23829 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23830 if (!SWIG_IsOK(ecode1
)) {
23831 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23833 arg1
= static_cast< int >(val1
);
23835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23836 if (!SWIG_IsOK(ecode2
)) {
23837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23839 arg2
= static_cast< int >(val2
);
23842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23843 if (!SWIG_IsOK(ecode3
)) {
23844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23846 arg3
= static_cast< int >(val3
);
23849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23850 if (!SWIG_IsOK(ecode4
)) {
23851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23853 arg4
= static_cast< int >(val4
);
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23868 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
= 0;
23871 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23872 int arg3
= (int) wxDateTime::Inv_Year
;
23873 int arg4
= (int) 0 ;
23874 int arg5
= (int) 0 ;
23875 int arg6
= (int) 0 ;
23876 int arg7
= (int) 0 ;
23877 wxDateTime
*result
= 0 ;
23892 PyObject
* obj0
= 0 ;
23893 PyObject
* obj1
= 0 ;
23894 PyObject
* obj2
= 0 ;
23895 PyObject
* obj3
= 0 ;
23896 PyObject
* obj4
= 0 ;
23897 PyObject
* obj5
= 0 ;
23898 PyObject
* obj6
= 0 ;
23899 char * kwnames
[] = {
23900 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23904 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23905 if (!SWIG_IsOK(ecode1
)) {
23906 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
23908 arg1
= static_cast< int >(val1
);
23910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23911 if (!SWIG_IsOK(ecode2
)) {
23912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23914 arg2
= static_cast< wxDateTime::Month
>(val2
);
23917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23918 if (!SWIG_IsOK(ecode3
)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
23921 arg3
= static_cast< int >(val3
);
23924 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23925 if (!SWIG_IsOK(ecode4
)) {
23926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
23928 arg4
= static_cast< int >(val4
);
23931 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23932 if (!SWIG_IsOK(ecode5
)) {
23933 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
23935 arg5
= static_cast< int >(val5
);
23938 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23939 if (!SWIG_IsOK(ecode6
)) {
23940 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
23942 arg6
= static_cast< int >(val6
);
23945 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23946 if (!SWIG_IsOK(ecode7
)) {
23947 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
23949 arg7
= static_cast< int >(val7
);
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23964 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
= 0;
23966 wxDateTime
*arg1
= 0 ;
23967 wxDateTime
*result
= 0 ;
23970 PyObject
* obj0
= 0 ;
23971 char * kwnames
[] = {
23972 (char *) "date", NULL
23975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
23976 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
23977 if (!SWIG_IsOK(res1
)) {
23978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23983 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23997 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23998 PyObject
*resultobj
= 0;
23999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24002 PyObject
*swig_obj
[1] ;
24004 if (!args
) SWIG_fail
;
24005 swig_obj
[0] = args
;
24006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
24007 if (!SWIG_IsOK(res1
)) {
24008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24010 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= SWIG_Py_Void();
24025 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24026 PyObject
*resultobj
= 0;
24027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24028 wxDateTime
*result
= 0 ;
24031 PyObject
*swig_obj
[1] ;
24033 if (!args
) SWIG_fail
;
24034 swig_obj
[0] = args
;
24035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24036 if (!SWIG_IsOK(res1
)) {
24037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
24039 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
24044 result
= (wxDateTime
*) &_result_ref
;
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24056 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
= 0;
24058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24060 wxDateTime
*result
= 0 ;
24063 unsigned int val2
;
24065 PyObject
* obj0
= 0 ;
24066 PyObject
* obj1
= 0 ;
24067 char * kwnames
[] = {
24068 (char *) "self",(char *) "timet", NULL
24071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24073 if (!SWIG_IsOK(res1
)) {
24074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24076 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24077 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
24078 if (!SWIG_IsOK(ecode2
)) {
24079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
24081 arg2
= static_cast< time_t >(val2
);
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24086 result
= (wxDateTime
*) &_result_ref
;
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24098 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
= 0;
24100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24102 wxDateTime
*result
= 0 ;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj1
= 0 ;
24109 char * kwnames
[] = {
24110 (char *) "self",(char *) "jdn", NULL
24113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24115 if (!SWIG_IsOK(res1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24118 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24119 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24120 if (!SWIG_IsOK(ecode2
)) {
24121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24123 arg2
= static_cast< double >(val2
);
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24128 result
= (wxDateTime
*) &_result_ref
;
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24140 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
= 0;
24142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24144 int arg3
= (int) 0 ;
24145 int arg4
= (int) 0 ;
24146 int arg5
= (int) 0 ;
24147 wxDateTime
*result
= 0 ;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 PyObject
* obj2
= 0 ;
24161 PyObject
* obj3
= 0 ;
24162 PyObject
* obj4
= 0 ;
24163 char * kwnames
[] = {
24164 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24169 if (!SWIG_IsOK(res1
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24172 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24174 if (!SWIG_IsOK(ecode2
)) {
24175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24177 arg2
= static_cast< int >(val2
);
24179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24180 if (!SWIG_IsOK(ecode3
)) {
24181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24183 arg3
= static_cast< int >(val3
);
24186 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24187 if (!SWIG_IsOK(ecode4
)) {
24188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24190 arg4
= static_cast< int >(val4
);
24193 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24194 if (!SWIG_IsOK(ecode5
)) {
24195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24197 arg5
= static_cast< int >(val5
);
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24203 result
= (wxDateTime
*) &_result_ref
;
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24215 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
= 0;
24217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24219 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24220 int arg4
= (int) wxDateTime::Inv_Year
;
24221 int arg5
= (int) 0 ;
24222 int arg6
= (int) 0 ;
24223 int arg7
= (int) 0 ;
24224 int arg8
= (int) 0 ;
24225 wxDateTime
*result
= 0 ;
24242 PyObject
* obj0
= 0 ;
24243 PyObject
* obj1
= 0 ;
24244 PyObject
* obj2
= 0 ;
24245 PyObject
* obj3
= 0 ;
24246 PyObject
* obj4
= 0 ;
24247 PyObject
* obj5
= 0 ;
24248 PyObject
* obj6
= 0 ;
24249 PyObject
* obj7
= 0 ;
24250 char * kwnames
[] = {
24251 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24256 if (!SWIG_IsOK(res1
)) {
24257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24259 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24261 if (!SWIG_IsOK(ecode2
)) {
24262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24264 arg2
= static_cast< int >(val2
);
24266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24267 if (!SWIG_IsOK(ecode3
)) {
24268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24270 arg3
= static_cast< wxDateTime::Month
>(val3
);
24273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24274 if (!SWIG_IsOK(ecode4
)) {
24275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24277 arg4
= static_cast< int >(val4
);
24280 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24281 if (!SWIG_IsOK(ecode5
)) {
24282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24284 arg5
= static_cast< int >(val5
);
24287 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24288 if (!SWIG_IsOK(ecode6
)) {
24289 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24291 arg6
= static_cast< int >(val6
);
24294 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24295 if (!SWIG_IsOK(ecode7
)) {
24296 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24298 arg7
= static_cast< int >(val7
);
24301 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24302 if (!SWIG_IsOK(ecode8
)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24305 arg8
= static_cast< int >(val8
);
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24311 result
= (wxDateTime
*) &_result_ref
;
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24323 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24324 PyObject
*resultobj
= 0;
24325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24326 wxDateTime
*result
= 0 ;
24329 PyObject
*swig_obj
[1] ;
24331 if (!args
) SWIG_fail
;
24332 swig_obj
[0] = args
;
24333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24334 if (!SWIG_IsOK(res1
)) {
24335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24337 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24342 result
= (wxDateTime
*) &_result_ref
;
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24354 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
= 0;
24356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24358 wxDateTime
*result
= 0 ;
24363 PyObject
* obj0
= 0 ;
24364 PyObject
* obj1
= 0 ;
24365 char * kwnames
[] = {
24366 (char *) "self",(char *) "year", NULL
24369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24371 if (!SWIG_IsOK(res1
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24374 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24376 if (!SWIG_IsOK(ecode2
)) {
24377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24379 arg2
= static_cast< int >(val2
);
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24384 result
= (wxDateTime
*) &_result_ref
;
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24396 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
= 0;
24398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24399 wxDateTime::Month arg2
;
24400 wxDateTime
*result
= 0 ;
24405 PyObject
* obj0
= 0 ;
24406 PyObject
* obj1
= 0 ;
24407 char * kwnames
[] = {
24408 (char *) "self",(char *) "month", NULL
24411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24413 if (!SWIG_IsOK(res1
)) {
24414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24416 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24418 if (!SWIG_IsOK(ecode2
)) {
24419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24421 arg2
= static_cast< wxDateTime::Month
>(val2
);
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24426 result
= (wxDateTime
*) &_result_ref
;
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24438 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
= 0;
24440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24442 wxDateTime
*result
= 0 ;
24447 PyObject
* obj0
= 0 ;
24448 PyObject
* obj1
= 0 ;
24449 char * kwnames
[] = {
24450 (char *) "self",(char *) "day", NULL
24453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24458 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24460 if (!SWIG_IsOK(ecode2
)) {
24461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24463 arg2
= static_cast< int >(val2
);
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24468 result
= (wxDateTime
*) &_result_ref
;
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24480 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
= 0;
24482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24484 wxDateTime
*result
= 0 ;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 char * kwnames
[] = {
24492 (char *) "self",(char *) "hour", NULL
24495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24497 if (!SWIG_IsOK(res1
)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24500 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24502 if (!SWIG_IsOK(ecode2
)) {
24503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24505 arg2
= static_cast< int >(val2
);
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24510 result
= (wxDateTime
*) &_result_ref
;
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24522 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
= 0;
24524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24526 wxDateTime
*result
= 0 ;
24531 PyObject
* obj0
= 0 ;
24532 PyObject
* obj1
= 0 ;
24533 char * kwnames
[] = {
24534 (char *) "self",(char *) "minute", NULL
24537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24539 if (!SWIG_IsOK(res1
)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24542 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24544 if (!SWIG_IsOK(ecode2
)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24547 arg2
= static_cast< int >(val2
);
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24552 result
= (wxDateTime
*) &_result_ref
;
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24564 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= 0;
24566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24568 wxDateTime
*result
= 0 ;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24575 char * kwnames
[] = {
24576 (char *) "self",(char *) "second", NULL
24579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24581 if (!SWIG_IsOK(res1
)) {
24582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24584 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24586 if (!SWIG_IsOK(ecode2
)) {
24587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24589 arg2
= static_cast< int >(val2
);
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24594 result
= (wxDateTime
*) &_result_ref
;
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24606 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
= 0;
24608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24610 wxDateTime
*result
= 0 ;
24615 PyObject
* obj0
= 0 ;
24616 PyObject
* obj1
= 0 ;
24617 char * kwnames
[] = {
24618 (char *) "self",(char *) "millisecond", NULL
24621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24623 if (!SWIG_IsOK(res1
)) {
24624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24626 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24628 if (!SWIG_IsOK(ecode2
)) {
24629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24631 arg2
= static_cast< int >(val2
);
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24636 result
= (wxDateTime
*) &_result_ref
;
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24648 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
= 0;
24650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24651 wxDateTime::WeekDay arg2
;
24652 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24653 wxDateTime
*result
= 0 ;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 PyObject
* obj2
= 0 ;
24663 char * kwnames
[] = {
24664 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24669 if (!SWIG_IsOK(res1
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24672 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24674 if (!SWIG_IsOK(ecode2
)) {
24675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24677 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24679 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24680 if (!SWIG_IsOK(ecode3
)) {
24681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24683 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24689 result
= (wxDateTime
*) &_result_ref
;
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24701 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
= 0;
24703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24704 wxDateTime::WeekDay arg2
;
24705 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 PyObject
* obj2
= 0 ;
24716 char * kwnames
[] = {
24717 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24722 if (!SWIG_IsOK(res1
)) {
24723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24725 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24727 if (!SWIG_IsOK(ecode2
)) {
24728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24730 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24733 if (!SWIG_IsOK(ecode3
)) {
24734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24736 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24751 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
= 0;
24753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24754 wxDateTime::WeekDay arg2
;
24755 wxDateTime
*result
= 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 char * kwnames
[] = {
24763 (char *) "self",(char *) "weekday", NULL
24766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24768 if (!SWIG_IsOK(res1
)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24771 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24773 if (!SWIG_IsOK(ecode2
)) {
24774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24776 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24781 result
= (wxDateTime
*) &_result_ref
;
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24793 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
= 0;
24795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24796 wxDateTime::WeekDay arg2
;
24802 PyObject
* obj0
= 0 ;
24803 PyObject
* obj1
= 0 ;
24804 char * kwnames
[] = {
24805 (char *) "self",(char *) "weekday", NULL
24808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24810 if (!SWIG_IsOK(res1
)) {
24811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24813 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24815 if (!SWIG_IsOK(ecode2
)) {
24816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24818 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 result
= (arg1
)->GetNextWeekDay(arg2
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24832 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
= 0;
24834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24835 wxDateTime::WeekDay arg2
;
24836 wxDateTime
*result
= 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char * kwnames
[] = {
24844 (char *) "self",(char *) "weekday", NULL
24847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24849 if (!SWIG_IsOK(res1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24852 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24854 if (!SWIG_IsOK(ecode2
)) {
24855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24857 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24862 result
= (wxDateTime
*) &_result_ref
;
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24874 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
= 0;
24876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24877 wxDateTime::WeekDay arg2
;
24883 PyObject
* obj0
= 0 ;
24884 PyObject
* obj1
= 0 ;
24885 char * kwnames
[] = {
24886 (char *) "self",(char *) "weekday", NULL
24889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24891 if (!SWIG_IsOK(res1
)) {
24892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24894 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24896 if (!SWIG_IsOK(ecode2
)) {
24897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24899 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (arg1
)->GetPrevWeekDay(arg2
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24913 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
= 0;
24915 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24916 wxDateTime::WeekDay arg2
;
24917 int arg3
= (int) 1 ;
24918 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24919 int arg5
= (int) wxDateTime::Inv_Year
;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 PyObject
* obj2
= 0 ;
24934 PyObject
* obj3
= 0 ;
24935 PyObject
* obj4
= 0 ;
24936 char * kwnames
[] = {
24937 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
24940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24942 if (!SWIG_IsOK(res1
)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24945 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24947 if (!SWIG_IsOK(ecode2
)) {
24948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24950 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24953 if (!SWIG_IsOK(ecode3
)) {
24954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
24956 arg3
= static_cast< int >(val3
);
24959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24960 if (!SWIG_IsOK(ecode4
)) {
24961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
24963 arg4
= static_cast< wxDateTime::Month
>(val4
);
24966 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24967 if (!SWIG_IsOK(ecode5
)) {
24968 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
24970 arg5
= static_cast< int >(val5
);
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24987 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
= 0;
24989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24990 wxDateTime::WeekDay arg2
;
24991 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24992 int arg4
= (int) wxDateTime::Inv_Year
;
25002 PyObject
* obj0
= 0 ;
25003 PyObject
* obj1
= 0 ;
25004 PyObject
* obj2
= 0 ;
25005 PyObject
* obj3
= 0 ;
25006 char * kwnames
[] = {
25007 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25012 if (!SWIG_IsOK(res1
)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25015 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25017 if (!SWIG_IsOK(ecode2
)) {
25018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25020 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25023 if (!SWIG_IsOK(ecode3
)) {
25024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25026 arg3
= static_cast< wxDateTime::Month
>(val3
);
25029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25030 if (!SWIG_IsOK(ecode4
)) {
25031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25033 arg4
= static_cast< int >(val4
);
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25050 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
= 0;
25052 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25053 wxDateTime::WeekDay arg2
;
25054 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25055 int arg4
= (int) wxDateTime::Inv_Year
;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 PyObject
* obj2
= 0 ;
25068 PyObject
* obj3
= 0 ;
25069 char * kwnames
[] = {
25070 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25078 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25080 if (!SWIG_IsOK(ecode2
)) {
25081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25083 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25086 if (!SWIG_IsOK(ecode3
)) {
25087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25089 arg3
= static_cast< wxDateTime::Month
>(val3
);
25092 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25093 if (!SWIG_IsOK(ecode4
)) {
25094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25096 arg4
= static_cast< int >(val4
);
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25111 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
= 0;
25113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25115 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25116 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj1
= 0 ;
25128 PyObject
* obj2
= 0 ;
25129 PyObject
* obj3
= 0 ;
25130 char * kwnames
[] = {
25131 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25136 if (!SWIG_IsOK(res1
)) {
25137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25139 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25141 if (!SWIG_IsOK(ecode2
)) {
25142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
25144 arg2
= static_cast< int >(val2
);
25146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25147 if (!SWIG_IsOK(ecode3
)) {
25148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25150 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25153 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25154 if (!SWIG_IsOK(ecode4
)) {
25155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25157 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25174 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
= 0;
25176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25178 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25179 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 PyObject
* obj2
= 0 ;
25192 PyObject
* obj3
= 0 ;
25193 char * kwnames
[] = {
25194 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25199 if (!SWIG_IsOK(res1
)) {
25200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25202 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25204 if (!SWIG_IsOK(ecode2
)) {
25205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25207 arg2
= static_cast< int >(val2
);
25209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25210 if (!SWIG_IsOK(ecode3
)) {
25211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25213 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25217 if (!SWIG_IsOK(ecode4
)) {
25218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25220 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25235 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
= 0;
25239 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25247 PyObject
* obj0
= 0 ;
25248 PyObject
* obj1
= 0 ;
25249 PyObject
* obj2
= 0 ;
25250 char * kwnames
[] = {
25251 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25255 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25256 if (!SWIG_IsOK(ecode1
)) {
25257 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25259 arg1
= static_cast< int >(val1
);
25260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25261 if (!SWIG_IsOK(ecode2
)) {
25262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25264 arg2
= static_cast< int >(val2
);
25266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25267 if (!SWIG_IsOK(ecode3
)) {
25268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25270 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25285 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
= 0;
25287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25288 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25289 int arg3
= (int) wxDateTime::Inv_Year
;
25290 wxDateTime
*result
= 0 ;
25297 PyObject
* obj0
= 0 ;
25298 PyObject
* obj1
= 0 ;
25299 PyObject
* obj2
= 0 ;
25300 char * kwnames
[] = {
25301 (char *) "self",(char *) "month",(char *) "year", NULL
25304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25306 if (!SWIG_IsOK(res1
)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25309 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25312 if (!SWIG_IsOK(ecode2
)) {
25313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25315 arg2
= static_cast< wxDateTime::Month
>(val2
);
25318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25319 if (!SWIG_IsOK(ecode3
)) {
25320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25322 arg3
= static_cast< int >(val3
);
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25328 result
= (wxDateTime
*) &_result_ref
;
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25340 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
= 0;
25342 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25343 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25344 int arg3
= (int) wxDateTime::Inv_Year
;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 PyObject
* obj2
= 0 ;
25355 char * kwnames
[] = {
25356 (char *) "self",(char *) "month",(char *) "year", NULL
25359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25361 if (!SWIG_IsOK(res1
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25364 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25367 if (!SWIG_IsOK(ecode2
)) {
25368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25370 arg2
= static_cast< wxDateTime::Month
>(val2
);
25373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25374 if (!SWIG_IsOK(ecode3
)) {
25375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25377 arg3
= static_cast< int >(val3
);
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25392 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
= 0;
25394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25396 wxDateTime
*result
= 0 ;
25401 PyObject
* obj0
= 0 ;
25402 PyObject
* obj1
= 0 ;
25403 char * kwnames
[] = {
25404 (char *) "self",(char *) "yday", NULL
25407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25409 if (!SWIG_IsOK(res1
)) {
25410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25412 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25414 if (!SWIG_IsOK(ecode2
)) {
25415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25417 arg2
= static_cast< int >(val2
);
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25422 result
= (wxDateTime
*) &_result_ref
;
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25434 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
= 0;
25436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 char * kwnames
[] = {
25446 (char *) "self",(char *) "yday", NULL
25449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25451 if (!SWIG_IsOK(res1
)) {
25452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25454 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25456 if (!SWIG_IsOK(ecode2
)) {
25457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25459 arg2
= static_cast< int >(val2
);
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (arg1
)->GetYearDay(arg2
);
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25466 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25473 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25474 PyObject
*resultobj
= 0;
25475 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25479 PyObject
*swig_obj
[1] ;
25481 if (!args
) SWIG_fail
;
25482 swig_obj
[0] = args
;
25483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25484 if (!SWIG_IsOK(res1
)) {
25485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25487 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 result
= (double)(arg1
)->GetJulianDayNumber();
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= SWIG_From_double(static_cast< double >(result
));
25501 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25502 PyObject
*resultobj
= 0;
25503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25507 PyObject
*swig_obj
[1] ;
25509 if (!args
) SWIG_fail
;
25510 swig_obj
[0] = args
;
25511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25512 if (!SWIG_IsOK(res1
)) {
25513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25515 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 result
= (double)(arg1
)->GetJDN();
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 resultobj
= SWIG_From_double(static_cast< double >(result
));
25529 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25530 PyObject
*resultobj
= 0;
25531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25535 PyObject
*swig_obj
[1] ;
25537 if (!args
) SWIG_fail
;
25538 swig_obj
[0] = args
;
25539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25540 if (!SWIG_IsOK(res1
)) {
25541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25543 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= SWIG_From_double(static_cast< double >(result
));
25557 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25558 PyObject
*resultobj
= 0;
25559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25563 PyObject
*swig_obj
[1] ;
25565 if (!args
) SWIG_fail
;
25566 swig_obj
[0] = args
;
25567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25571 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (double)(arg1
)->GetMJD();
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= SWIG_From_double(static_cast< double >(result
));
25585 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25586 PyObject
*resultobj
= 0;
25587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25591 PyObject
*swig_obj
[1] ;
25593 if (!args
) SWIG_fail
;
25594 swig_obj
[0] = args
;
25595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25596 if (!SWIG_IsOK(res1
)) {
25597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25599 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 result
= (double)(arg1
)->GetRataDie();
25603 wxPyEndAllowThreads(__tstate
);
25604 if (PyErr_Occurred()) SWIG_fail
;
25606 resultobj
= SWIG_From_double(static_cast< double >(result
));
25613 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25614 PyObject
*resultobj
= 0;
25615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25616 wxDateTime::TimeZone
*arg2
= 0 ;
25617 bool arg3
= (bool) false ;
25621 bool temp2
= false ;
25624 PyObject
* obj0
= 0 ;
25625 PyObject
* obj1
= 0 ;
25626 PyObject
* obj2
= 0 ;
25627 char * kwnames
[] = {
25628 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25633 if (!SWIG_IsOK(res1
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25636 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25638 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25642 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25643 if (!SWIG_IsOK(ecode3
)) {
25644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25646 arg3
= static_cast< bool >(val3
);
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25656 if (temp2
) delete arg2
;
25661 if (temp2
) delete arg2
;
25667 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
= 0;
25669 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25670 wxDateTime::TimeZone
*arg2
= 0 ;
25671 bool arg3
= (bool) false ;
25672 wxDateTime
*result
= 0 ;
25675 bool temp2
= false ;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 PyObject
* obj2
= 0 ;
25681 char * kwnames
[] = {
25682 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25687 if (!SWIG_IsOK(res1
)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25690 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25692 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25696 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25697 if (!SWIG_IsOK(ecode3
)) {
25698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25700 arg3
= static_cast< bool >(val3
);
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25706 result
= (wxDateTime
*) &_result_ref
;
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25713 if (temp2
) delete arg2
;
25718 if (temp2
) delete arg2
;
25724 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
= 0;
25726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25727 wxDateTime::TimeZone
*arg2
= 0 ;
25728 bool arg3
= (bool) false ;
25732 bool temp2
= false ;
25735 PyObject
* obj0
= 0 ;
25736 PyObject
* obj1
= 0 ;
25737 PyObject
* obj2
= 0 ;
25738 char * kwnames
[] = {
25739 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25747 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25749 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25753 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25754 if (!SWIG_IsOK(ecode3
)) {
25755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25757 arg3
= static_cast< bool >(val3
);
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25767 if (temp2
) delete arg2
;
25772 if (temp2
) delete arg2
;
25778 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
= 0;
25780 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25781 wxDateTime::TimeZone
*arg2
= 0 ;
25782 bool arg3
= (bool) false ;
25783 wxDateTime
*result
= 0 ;
25786 bool temp2
= false ;
25789 PyObject
* obj0
= 0 ;
25790 PyObject
* obj1
= 0 ;
25791 PyObject
* obj2
= 0 ;
25792 char * kwnames
[] = {
25793 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25798 if (!SWIG_IsOK(res1
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25801 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25803 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25807 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25808 if (!SWIG_IsOK(ecode3
)) {
25809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25811 arg3
= static_cast< bool >(val3
);
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25817 result
= (wxDateTime
*) &_result_ref
;
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25824 if (temp2
) delete arg2
;
25829 if (temp2
) delete arg2
;
25835 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
= 0;
25837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25838 bool arg2
= (bool) false ;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 char * kwnames
[] = {
25847 (char *) "self",(char *) "noDST", NULL
25850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25852 if (!SWIG_IsOK(res1
)) {
25853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25855 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25857 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25858 if (!SWIG_IsOK(ecode2
)) {
25859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25861 arg2
= static_cast< bool >(val2
);
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25876 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
= 0;
25878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25879 bool arg2
= (bool) false ;
25880 wxDateTime
*result
= 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char * kwnames
[] = {
25888 (char *) "self",(char *) "noDST", NULL
25891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25893 if (!SWIG_IsOK(res1
)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25896 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25898 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25899 if (!SWIG_IsOK(ecode2
)) {
25900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25902 arg2
= static_cast< bool >(val2
);
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25908 result
= (wxDateTime
*) &_result_ref
;
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25920 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
= 0;
25922 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25923 bool arg2
= (bool) false ;
25929 PyObject
* obj0
= 0 ;
25930 PyObject
* obj1
= 0 ;
25931 char * kwnames
[] = {
25932 (char *) "self",(char *) "noDST", NULL
25935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25937 if (!SWIG_IsOK(res1
)) {
25938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25940 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25942 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25943 if (!SWIG_IsOK(ecode2
)) {
25944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
25946 arg2
= static_cast< bool >(val2
);
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25961 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
= 0;
25963 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25964 bool arg2
= (bool) false ;
25965 wxDateTime
*result
= 0 ;
25970 PyObject
* obj0
= 0 ;
25971 PyObject
* obj1
= 0 ;
25972 char * kwnames
[] = {
25973 (char *) "self",(char *) "noDST", NULL
25976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25978 if (!SWIG_IsOK(res1
)) {
25979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
25981 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25983 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25984 if (!SWIG_IsOK(ecode2
)) {
25985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
25987 arg2
= static_cast< bool >(val2
);
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
25993 result
= (wxDateTime
*) &_result_ref
;
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26005 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26006 PyObject
*resultobj
= 0;
26007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26008 bool arg2
= (bool) false ;
26014 PyObject
* obj0
= 0 ;
26015 PyObject
* obj1
= 0 ;
26016 char * kwnames
[] = {
26017 (char *) "self",(char *) "noDST", NULL
26020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26022 if (!SWIG_IsOK(res1
)) {
26023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26025 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26027 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26028 if (!SWIG_IsOK(ecode2
)) {
26029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
26031 arg2
= static_cast< bool >(val2
);
26034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26046 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
= 0;
26048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26049 bool arg2
= (bool) false ;
26050 wxDateTime
*result
= 0 ;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 char * kwnames
[] = {
26058 (char *) "self",(char *) "noDST", NULL
26061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26063 if (!SWIG_IsOK(res1
)) {
26064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26066 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26068 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26069 if (!SWIG_IsOK(ecode2
)) {
26070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
26072 arg2
= static_cast< bool >(val2
);
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
26078 result
= (wxDateTime
*) &_result_ref
;
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26090 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26091 PyObject
*resultobj
= 0;
26092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26093 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26099 PyObject
* obj0
= 0 ;
26100 PyObject
* obj1
= 0 ;
26101 char * kwnames
[] = {
26102 (char *) "self",(char *) "country", NULL
26105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26107 if (!SWIG_IsOK(res1
)) {
26108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26110 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26113 if (!SWIG_IsOK(ecode2
)) {
26114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26116 arg2
= static_cast< wxDateTime::Country
>(val2
);
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 result
= (int)(arg1
)->IsDST(arg2
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_From_int(static_cast< int >(result
));
26131 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26132 PyObject
*resultobj
= 0;
26133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26137 PyObject
*swig_obj
[1] ;
26139 if (!args
) SWIG_fail
;
26140 swig_obj
[0] = args
;
26141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26142 if (!SWIG_IsOK(res1
)) {
26143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26145 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26148 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26161 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26162 PyObject
*resultobj
= 0;
26163 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26167 PyObject
*swig_obj
[1] ;
26169 if (!args
) SWIG_fail
;
26170 swig_obj
[0] = args
;
26171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26172 if (!SWIG_IsOK(res1
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26175 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26189 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
= 0;
26191 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26192 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26193 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26197 bool temp2
= false ;
26198 PyObject
* obj0
= 0 ;
26199 PyObject
* obj1
= 0 ;
26200 char * kwnames
[] = {
26201 (char *) "self",(char *) "tz", NULL
26204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26206 if (!SWIG_IsOK(res1
)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26209 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26212 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26222 resultobj
= SWIG_From_int(static_cast< int >(result
));
26224 if (temp2
) delete arg2
;
26229 if (temp2
) delete arg2
;
26235 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
= 0;
26237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26238 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26239 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26240 wxDateTime::Month result
;
26243 bool temp2
= false ;
26244 PyObject
* obj0
= 0 ;
26245 PyObject
* obj1
= 0 ;
26246 char * kwnames
[] = {
26247 (char *) "self",(char *) "tz", NULL
26250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26252 if (!SWIG_IsOK(res1
)) {
26253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26255 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26258 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= SWIG_From_int(static_cast< int >(result
));
26270 if (temp2
) delete arg2
;
26275 if (temp2
) delete arg2
;
26281 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
= 0;
26283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26284 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26285 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26289 bool temp2
= false ;
26290 PyObject
* obj0
= 0 ;
26291 PyObject
* obj1
= 0 ;
26292 char * kwnames
[] = {
26293 (char *) "self",(char *) "tz", NULL
26296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26298 if (!SWIG_IsOK(res1
)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26301 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26304 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= SWIG_From_int(static_cast< int >(result
));
26316 if (temp2
) delete arg2
;
26321 if (temp2
) delete arg2
;
26327 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
= 0;
26329 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26330 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26331 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26332 wxDateTime::WeekDay result
;
26335 bool temp2
= false ;
26336 PyObject
* obj0
= 0 ;
26337 PyObject
* obj1
= 0 ;
26338 char * kwnames
[] = {
26339 (char *) "self",(char *) "tz", NULL
26342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26344 if (!SWIG_IsOK(res1
)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26347 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26350 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 resultobj
= SWIG_From_int(static_cast< int >(result
));
26362 if (temp2
) delete arg2
;
26367 if (temp2
) delete arg2
;
26373 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26374 PyObject
*resultobj
= 0;
26375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26376 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26377 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26381 bool temp2
= false ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char * kwnames
[] = {
26385 (char *) "self",(char *) "tz", NULL
26388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26390 if (!SWIG_IsOK(res1
)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26393 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26396 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= SWIG_From_int(static_cast< int >(result
));
26408 if (temp2
) delete arg2
;
26413 if (temp2
) delete arg2
;
26419 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
= 0;
26421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26422 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26423 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26427 bool temp2
= false ;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 char * kwnames
[] = {
26431 (char *) "self",(char *) "tz", NULL
26434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26436 if (!SWIG_IsOK(res1
)) {
26437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26439 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26442 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 resultobj
= SWIG_From_int(static_cast< int >(result
));
26454 if (temp2
) delete arg2
;
26459 if (temp2
) delete arg2
;
26465 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
= 0;
26467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26468 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26469 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26473 bool temp2
= false ;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 char * kwnames
[] = {
26477 (char *) "self",(char *) "tz", NULL
26480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26482 if (!SWIG_IsOK(res1
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26485 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26488 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26495 wxPyEndAllowThreads(__tstate
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26498 resultobj
= SWIG_From_int(static_cast< int >(result
));
26500 if (temp2
) delete arg2
;
26505 if (temp2
) delete arg2
;
26511 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
= 0;
26513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26514 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26515 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26519 bool temp2
= false ;
26520 PyObject
* obj0
= 0 ;
26521 PyObject
* obj1
= 0 ;
26522 char * kwnames
[] = {
26523 (char *) "self",(char *) "tz", NULL
26526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26528 if (!SWIG_IsOK(res1
)) {
26529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26531 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26534 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26541 wxPyEndAllowThreads(__tstate
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26544 resultobj
= SWIG_From_int(static_cast< int >(result
));
26546 if (temp2
) delete arg2
;
26551 if (temp2
) delete arg2
;
26557 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
= 0;
26559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26560 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26561 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26565 bool temp2
= false ;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 char * kwnames
[] = {
26569 (char *) "self",(char *) "tz", NULL
26572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26574 if (!SWIG_IsOK(res1
)) {
26575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26577 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26580 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= SWIG_From_int(static_cast< int >(result
));
26592 if (temp2
) delete arg2
;
26597 if (temp2
) delete arg2
;
26603 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26604 PyObject
*resultobj
= 0;
26605 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26606 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26607 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26608 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26614 bool temp3
= false ;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 PyObject
* obj2
= 0 ;
26618 char * kwnames
[] = {
26619 (char *) "self",(char *) "flags",(char *) "tz", NULL
26622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26624 if (!SWIG_IsOK(res1
)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26627 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26630 if (!SWIG_IsOK(ecode2
)) {
26631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26633 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26637 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= SWIG_From_int(static_cast< int >(result
));
26649 if (temp3
) delete arg3
;
26654 if (temp3
) delete arg3
;
26660 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
= 0;
26662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26663 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26664 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26665 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26671 bool temp3
= false ;
26672 PyObject
* obj0
= 0 ;
26673 PyObject
* obj1
= 0 ;
26674 PyObject
* obj2
= 0 ;
26675 char * kwnames
[] = {
26676 (char *) "self",(char *) "flags",(char *) "tz", NULL
26679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26681 if (!SWIG_IsOK(res1
)) {
26682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26684 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26687 if (!SWIG_IsOK(ecode2
)) {
26688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26690 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26694 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 resultobj
= SWIG_From_int(static_cast< int >(result
));
26706 if (temp3
) delete arg3
;
26711 if (temp3
) delete arg3
;
26717 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
= 0;
26719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26720 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 char * kwnames
[] = {
26729 (char *) "self",(char *) "country", NULL
26732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26734 if (!SWIG_IsOK(res1
)) {
26735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26737 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26740 if (!SWIG_IsOK(ecode2
)) {
26741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26743 arg2
= static_cast< wxDateTime::Country
>(val2
);
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26760 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
= 0;
26762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26763 wxDateTime
*arg2
= 0 ;
26769 PyObject
* obj0
= 0 ;
26770 PyObject
* obj1
= 0 ;
26771 char * kwnames
[] = {
26772 (char *) "self",(char *) "datetime", NULL
26775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26777 if (!SWIG_IsOK(res1
)) {
26778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26780 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26782 if (!SWIG_IsOK(res2
)) {
26783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26788 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26804 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
= 0;
26806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26807 wxDateTime
*arg2
= 0 ;
26813 PyObject
* obj0
= 0 ;
26814 PyObject
* obj1
= 0 ;
26815 char * kwnames
[] = {
26816 (char *) "self",(char *) "datetime", NULL
26819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26821 if (!SWIG_IsOK(res1
)) {
26822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26824 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26826 if (!SWIG_IsOK(res2
)) {
26827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26832 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26848 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
= 0;
26850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26851 wxDateTime
*arg2
= 0 ;
26857 PyObject
* obj0
= 0 ;
26858 PyObject
* obj1
= 0 ;
26859 char * kwnames
[] = {
26860 (char *) "self",(char *) "datetime", NULL
26863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26865 if (!SWIG_IsOK(res1
)) {
26866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26868 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26870 if (!SWIG_IsOK(res2
)) {
26871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26876 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26892 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
= 0;
26894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26895 wxDateTime
*arg2
= 0 ;
26896 wxDateTime
*arg3
= 0 ;
26904 PyObject
* obj0
= 0 ;
26905 PyObject
* obj1
= 0 ;
26906 PyObject
* obj2
= 0 ;
26907 char * kwnames
[] = {
26908 (char *) "self",(char *) "t1",(char *) "t2", NULL
26911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26916 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26918 if (!SWIG_IsOK(res2
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26924 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26925 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26926 if (!SWIG_IsOK(res3
)) {
26927 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26932 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26936 wxPyEndAllowThreads(__tstate
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26948 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
= 0;
26950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26951 wxDateTime
*arg2
= 0 ;
26952 wxDateTime
*arg3
= 0 ;
26960 PyObject
* obj0
= 0 ;
26961 PyObject
* obj1
= 0 ;
26962 PyObject
* obj2
= 0 ;
26963 char * kwnames
[] = {
26964 (char *) "self",(char *) "t1",(char *) "t2", NULL
26967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26969 if (!SWIG_IsOK(res1
)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26972 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26974 if (!SWIG_IsOK(res2
)) {
26975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26980 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26981 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26982 if (!SWIG_IsOK(res3
)) {
26983 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26988 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27004 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
= 0;
27006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27007 wxDateTime
*arg2
= 0 ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char * kwnames
[] = {
27016 (char *) "self",(char *) "dt", NULL
27019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27021 if (!SWIG_IsOK(res1
)) {
27022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27024 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27026 if (!SWIG_IsOK(res2
)) {
27027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27032 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27048 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
= 0;
27050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27051 wxDateTime
*arg2
= 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char * kwnames
[] = {
27060 (char *) "self",(char *) "dt", NULL
27063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27065 if (!SWIG_IsOK(res1
)) {
27066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27068 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27070 if (!SWIG_IsOK(res2
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27076 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27079 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27092 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
= 0;
27094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27095 wxDateTime
*arg2
= 0 ;
27096 wxTimeSpan
*arg3
= 0 ;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 PyObject
* obj2
= 0 ;
27107 char * kwnames
[] = {
27108 (char *) "self",(char *) "dt",(char *) "ts", NULL
27111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27113 if (!SWIG_IsOK(res1
)) {
27114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27116 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27118 if (!SWIG_IsOK(res2
)) {
27119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27124 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27125 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27126 if (!SWIG_IsOK(res3
)) {
27127 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27132 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27148 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27149 PyObject
*resultobj
= 0;
27150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27151 wxTimeSpan
*arg2
= 0 ;
27152 wxDateTime
*result
= 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 char * kwnames
[] = {
27160 (char *) "self",(char *) "diff", NULL
27163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27168 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27170 if (!SWIG_IsOK(res2
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27176 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27181 result
= (wxDateTime
*) &_result_ref
;
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27193 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
= 0;
27195 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27196 wxDateSpan
*arg2
= 0 ;
27197 wxDateTime
*result
= 0 ;
27202 PyObject
* obj0
= 0 ;
27203 PyObject
* obj1
= 0 ;
27204 char * kwnames
[] = {
27205 (char *) "self",(char *) "diff", NULL
27208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27213 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27215 if (!SWIG_IsOK(res2
)) {
27216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27221 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27226 result
= (wxDateTime
*) &_result_ref
;
27228 wxPyEndAllowThreads(__tstate
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27238 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27239 PyObject
*resultobj
= 0;
27240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27241 wxTimeSpan
*arg2
= 0 ;
27242 wxDateTime
*result
= 0 ;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 char * kwnames
[] = {
27250 (char *) "self",(char *) "diff", NULL
27253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27258 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27260 if (!SWIG_IsOK(res2
)) {
27261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27266 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27271 result
= (wxDateTime
*) &_result_ref
;
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27283 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
= 0;
27285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27286 wxDateSpan
*arg2
= 0 ;
27287 wxDateTime
*result
= 0 ;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 char * kwnames
[] = {
27295 (char *) "self",(char *) "diff", NULL
27298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27303 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27305 if (!SWIG_IsOK(res2
)) {
27306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27311 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27316 result
= (wxDateTime
*) &_result_ref
;
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27328 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27329 PyObject
*resultobj
= 0;
27330 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27331 wxDateTime
*arg2
= 0 ;
27337 PyObject
* obj0
= 0 ;
27338 PyObject
* obj1
= 0 ;
27339 char * kwnames
[] = {
27340 (char *) "self",(char *) "dt", NULL
27343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27345 if (!SWIG_IsOK(res1
)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27348 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27350 if (!SWIG_IsOK(res2
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27356 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27363 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27370 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27371 PyObject
*resultobj
= 0;
27372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27373 wxTimeSpan
*arg2
= 0 ;
27374 wxDateTime
*result
= 0 ;
27380 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27382 if (!SWIG_IsOK(res1
)) {
27383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27385 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27386 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27387 if (!SWIG_IsOK(res2
)) {
27388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27393 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27397 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27398 result
= (wxDateTime
*) &_result_ref
;
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27410 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27411 PyObject
*resultobj
= 0;
27412 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27413 wxDateSpan
*arg2
= 0 ;
27414 wxDateTime
*result
= 0 ;
27420 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27422 if (!SWIG_IsOK(res1
)) {
27423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27425 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27426 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27427 if (!SWIG_IsOK(res2
)) {
27428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27433 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27438 result
= (wxDateTime
*) &_result_ref
;
27440 wxPyEndAllowThreads(__tstate
);
27441 if (PyErr_Occurred()) SWIG_fail
;
27443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27450 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27454 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27459 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27460 _v
= SWIG_CheckState(res
);
27462 if (!_v
) goto check_1
;
27463 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27468 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27472 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27477 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27478 PyObject
*resultobj
= 0;
27479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27480 wxTimeSpan
*arg2
= 0 ;
27481 wxDateTime
*result
= 0 ;
27487 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27489 if (!SWIG_IsOK(res1
)) {
27490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27492 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27493 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27494 if (!SWIG_IsOK(res2
)) {
27495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27500 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27505 result
= (wxDateTime
*) &_result_ref
;
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27517 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27518 PyObject
*resultobj
= 0;
27519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27520 wxDateSpan
*arg2
= 0 ;
27521 wxDateTime
*result
= 0 ;
27527 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27529 if (!SWIG_IsOK(res1
)) {
27530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27532 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27533 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27534 if (!SWIG_IsOK(res2
)) {
27535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27540 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27545 result
= (wxDateTime
*) &_result_ref
;
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27557 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27561 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27566 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27567 _v
= SWIG_CheckState(res
);
27569 if (!_v
) goto check_1
;
27570 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27575 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27579 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27584 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27585 PyObject
*resultobj
= 0;
27586 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27587 wxTimeSpan
*arg2
= 0 ;
27594 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27596 if (!SWIG_IsOK(res1
)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27599 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27600 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27601 if (!SWIG_IsOK(res2
)) {
27602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27607 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27614 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27621 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27622 PyObject
*resultobj
= 0;
27623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27624 wxDateSpan
*arg2
= 0 ;
27631 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27633 if (!SWIG_IsOK(res1
)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27636 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27637 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27638 if (!SWIG_IsOK(res2
)) {
27639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27644 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27647 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27658 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27662 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27667 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27668 _v
= SWIG_CheckState(res
);
27670 if (!_v
) goto check_1
;
27671 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27676 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27680 Py_INCREF(Py_NotImplemented
);
27681 return Py_NotImplemented
;
27685 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27686 PyObject
*resultobj
= 0;
27687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27688 wxDateTime
*arg2
= 0 ;
27695 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27697 if (!SWIG_IsOK(res1
)) {
27698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27700 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27701 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27702 if (!SWIG_IsOK(res2
)) {
27703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27708 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27722 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27723 PyObject
*resultobj
= 0;
27724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27725 wxTimeSpan
*arg2
= 0 ;
27732 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27734 if (!SWIG_IsOK(res1
)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27737 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27738 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27739 if (!SWIG_IsOK(res2
)) {
27740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27745 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27759 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27760 PyObject
*resultobj
= 0;
27761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27762 wxDateSpan
*arg2
= 0 ;
27769 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27771 if (!SWIG_IsOK(res1
)) {
27772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27774 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27775 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27776 if (!SWIG_IsOK(res2
)) {
27777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27782 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27786 wxPyEndAllowThreads(__tstate
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27796 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27800 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27805 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27806 _v
= SWIG_CheckState(res
);
27808 if (!_v
) goto check_1
;
27809 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27816 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27817 _v
= SWIG_CheckState(res
);
27819 if (!_v
) goto check_2
;
27820 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27825 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27829 Py_INCREF(Py_NotImplemented
);
27830 return Py_NotImplemented
;
27834 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
= 0;
27836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27837 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27843 PyObject
* obj0
= 0 ;
27844 PyObject
* obj1
= 0 ;
27845 char * kwnames
[] = {
27846 (char *) "self",(char *) "other", NULL
27849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27854 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27856 if (!SWIG_IsOK(res2
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27859 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27875 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
= 0;
27877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27878 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 char * kwnames
[] = {
27887 (char *) "self",(char *) "other", NULL
27890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27895 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27897 if (!SWIG_IsOK(res2
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27900 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27916 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
= 0;
27918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27919 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27925 PyObject
* obj0
= 0 ;
27926 PyObject
* obj1
= 0 ;
27927 char * kwnames
[] = {
27928 (char *) "self",(char *) "other", NULL
27931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27933 if (!SWIG_IsOK(res1
)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27936 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27938 if (!SWIG_IsOK(res2
)) {
27939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27941 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27957 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
= 0;
27959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27960 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27968 char * kwnames
[] = {
27969 (char *) "self",(char *) "other", NULL
27972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27974 if (!SWIG_IsOK(res1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27977 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27979 if (!SWIG_IsOK(res2
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27982 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27998 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27999 PyObject
*resultobj
= 0;
28000 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28001 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28007 PyObject
* obj0
= 0 ;
28008 PyObject
* obj1
= 0 ;
28009 char * kwnames
[] = {
28010 (char *) "self",(char *) "other", NULL
28013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28015 if (!SWIG_IsOK(res1
)) {
28016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28018 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28020 if (!SWIG_IsOK(res2
)) {
28021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28023 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28026 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28039 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28040 PyObject
*resultobj
= 0;
28041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28042 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28048 PyObject
* obj0
= 0 ;
28049 PyObject
* obj1
= 0 ;
28050 char * kwnames
[] = {
28051 (char *) "self",(char *) "other", NULL
28054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28059 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28060 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28061 if (!SWIG_IsOK(res2
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28064 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28080 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28081 PyObject
*resultobj
= 0;
28082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28083 wxString
*arg2
= 0 ;
28087 bool temp2
= false ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 char * kwnames
[] = {
28091 (char *) "self",(char *) "date", NULL
28094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28096 if (!SWIG_IsOK(res1
)) {
28097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
28099 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28101 arg2
= wxString_in_helper(obj1
);
28102 if (arg2
== NULL
) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28107 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= SWIG_From_int(static_cast< int >(result
));
28126 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28127 PyObject
*resultobj
= 0;
28128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28129 wxString
*arg2
= 0 ;
28130 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28131 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28132 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28133 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28137 bool temp2
= false ;
28138 bool temp3
= false ;
28141 PyObject
* obj0
= 0 ;
28142 PyObject
* obj1
= 0 ;
28143 PyObject
* obj2
= 0 ;
28144 PyObject
* obj3
= 0 ;
28145 char * kwnames
[] = {
28146 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28151 if (!SWIG_IsOK(res1
)) {
28152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28154 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28156 arg2
= wxString_in_helper(obj1
);
28157 if (arg2
== NULL
) SWIG_fail
;
28162 arg3
= wxString_in_helper(obj2
);
28163 if (arg3
== NULL
) SWIG_fail
;
28168 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28169 if (!SWIG_IsOK(res4
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28175 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_From_int(static_cast< int >(result
));
28206 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
= 0;
28208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28209 wxString
*arg2
= 0 ;
28213 bool temp2
= false ;
28214 PyObject
* obj0
= 0 ;
28215 PyObject
* obj1
= 0 ;
28216 char * kwnames
[] = {
28217 (char *) "self",(char *) "datetime", NULL
28220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28222 if (!SWIG_IsOK(res1
)) {
28223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28225 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28227 arg2
= wxString_in_helper(obj1
);
28228 if (arg2
== NULL
) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28237 resultobj
= SWIG_From_int(static_cast< int >(result
));
28252 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28253 PyObject
*resultobj
= 0;
28254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28255 wxString
*arg2
= 0 ;
28259 bool temp2
= false ;
28260 PyObject
* obj0
= 0 ;
28261 PyObject
* obj1
= 0 ;
28262 char * kwnames
[] = {
28263 (char *) "self",(char *) "date", NULL
28266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28268 if (!SWIG_IsOK(res1
)) {
28269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28271 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28273 arg2
= wxString_in_helper(obj1
);
28274 if (arg2
== NULL
) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 resultobj
= SWIG_From_int(static_cast< int >(result
));
28298 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
= 0;
28300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28301 wxString
*arg2
= 0 ;
28305 bool temp2
= false ;
28306 PyObject
* obj0
= 0 ;
28307 PyObject
* obj1
= 0 ;
28308 char * kwnames
[] = {
28309 (char *) "self",(char *) "time", NULL
28312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28314 if (!SWIG_IsOK(res1
)) {
28315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28317 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28319 arg2
= wxString_in_helper(obj1
);
28320 if (arg2
== NULL
) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= SWIG_From_int(static_cast< int >(result
));
28344 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28345 PyObject
*resultobj
= 0;
28346 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28347 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28348 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28349 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28350 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28354 bool temp2
= false ;
28355 bool temp3
= false ;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 PyObject
* obj2
= 0 ;
28359 char * kwnames
[] = {
28360 (char *) "self",(char *) "format",(char *) "tz", NULL
28363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28368 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28371 arg2
= wxString_in_helper(obj1
);
28372 if (arg2
== NULL
) SWIG_fail
;
28378 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28400 if (temp3
) delete arg3
;
28409 if (temp3
) delete arg3
;
28415 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28416 PyObject
*resultobj
= 0;
28417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28421 PyObject
*swig_obj
[1] ;
28423 if (!args
) SWIG_fail
;
28424 swig_obj
[0] = args
;
28425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28426 if (!SWIG_IsOK(res1
)) {
28427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28429 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28449 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28450 PyObject
*resultobj
= 0;
28451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28455 PyObject
*swig_obj
[1] ;
28457 if (!args
) SWIG_fail
;
28458 swig_obj
[0] = args
;
28459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28460 if (!SWIG_IsOK(res1
)) {
28461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28463 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28467 wxPyEndAllowThreads(__tstate
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28483 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28484 PyObject
*resultobj
= 0;
28485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28489 PyObject
*swig_obj
[1] ;
28491 if (!args
) SWIG_fail
;
28492 swig_obj
[0] = args
;
28493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28494 if (!SWIG_IsOK(res1
)) {
28495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28497 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28517 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28518 PyObject
*resultobj
= 0;
28519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28523 PyObject
*swig_obj
[1] ;
28525 if (!args
) SWIG_fail
;
28526 swig_obj
[0] = args
;
28527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28528 if (!SWIG_IsOK(res1
)) {
28529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28531 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28551 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28554 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28555 return SWIG_Py_Void();
28558 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28559 return SWIG_Python_InitShadowInstance(args
);
28562 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
= 0;
28568 PyObject
* obj0
= 0 ;
28569 char * kwnames
[] = {
28570 (char *) "ms", NULL
28573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28574 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28575 if (!SWIG_IsOK(ecode1
)) {
28576 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28578 arg1
= static_cast< long >(val1
);
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 result
= wxTimeSpan::Milliseconds(arg1
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28592 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28593 PyObject
*resultobj
= 0;
28596 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 result
= wxTimeSpan::Millisecond();
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28603 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28610 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
= 0;
28616 PyObject
* obj0
= 0 ;
28617 char * kwnames
[] = {
28618 (char *) "sec", NULL
28621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28622 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28623 if (!SWIG_IsOK(ecode1
)) {
28624 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28626 arg1
= static_cast< long >(val1
);
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 result
= wxTimeSpan::Seconds(arg1
);
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28640 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28641 PyObject
*resultobj
= 0;
28644 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 result
= wxTimeSpan::Second();
28648 wxPyEndAllowThreads(__tstate
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28651 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28658 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
= 0;
28664 PyObject
* obj0
= 0 ;
28665 char * kwnames
[] = {
28666 (char *) "min", NULL
28669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28670 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28671 if (!SWIG_IsOK(ecode1
)) {
28672 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28674 arg1
= static_cast< long >(val1
);
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 result
= wxTimeSpan::Minutes(arg1
);
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28688 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28689 PyObject
*resultobj
= 0;
28692 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 result
= wxTimeSpan::Minute();
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28699 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28706 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
= 0;
28712 PyObject
* obj0
= 0 ;
28713 char * kwnames
[] = {
28714 (char *) "hours", NULL
28717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28718 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28719 if (!SWIG_IsOK(ecode1
)) {
28720 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28722 arg1
= static_cast< long >(val1
);
28724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28725 result
= wxTimeSpan::Hours(arg1
);
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28736 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28737 PyObject
*resultobj
= 0;
28740 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 result
= wxTimeSpan::Hour();
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28747 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28754 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28755 PyObject
*resultobj
= 0;
28760 PyObject
* obj0
= 0 ;
28761 char * kwnames
[] = {
28762 (char *) "days", NULL
28765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28766 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28767 if (!SWIG_IsOK(ecode1
)) {
28768 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28770 arg1
= static_cast< long >(val1
);
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 result
= wxTimeSpan::Days(arg1
);
28774 wxPyEndAllowThreads(__tstate
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28777 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28784 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28785 PyObject
*resultobj
= 0;
28788 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 result
= wxTimeSpan::Day();
28792 wxPyEndAllowThreads(__tstate
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28795 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28802 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
= 0;
28808 PyObject
* obj0
= 0 ;
28809 char * kwnames
[] = {
28810 (char *) "days", NULL
28813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28814 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28815 if (!SWIG_IsOK(ecode1
)) {
28816 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28818 arg1
= static_cast< long >(val1
);
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= wxTimeSpan::Weeks(arg1
);
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28832 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28833 PyObject
*resultobj
= 0;
28836 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 result
= wxTimeSpan::Week();
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28850 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
= 0;
28852 long arg1
= (long) 0 ;
28853 long arg2
= (long) 0 ;
28854 long arg3
= (long) 0 ;
28855 long arg4
= (long) 0 ;
28856 wxTimeSpan
*result
= 0 ;
28865 PyObject
* obj0
= 0 ;
28866 PyObject
* obj1
= 0 ;
28867 PyObject
* obj2
= 0 ;
28868 PyObject
* obj3
= 0 ;
28869 char * kwnames
[] = {
28870 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28875 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28876 if (!SWIG_IsOK(ecode1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28879 arg1
= static_cast< long >(val1
);
28882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28883 if (!SWIG_IsOK(ecode2
)) {
28884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28886 arg2
= static_cast< long >(val2
);
28889 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28890 if (!SWIG_IsOK(ecode3
)) {
28891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28893 arg3
= static_cast< long >(val3
);
28896 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28897 if (!SWIG_IsOK(ecode4
)) {
28898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28900 arg4
= static_cast< long >(val4
);
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
28915 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28916 PyObject
*resultobj
= 0;
28917 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28920 PyObject
*swig_obj
[1] ;
28922 if (!args
) SWIG_fail
;
28923 swig_obj
[0] = args
;
28924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28928 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= SWIG_Py_Void();
28943 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28944 PyObject
*resultobj
= 0;
28945 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28946 wxTimeSpan
*arg2
= 0 ;
28947 wxTimeSpan
*result
= 0 ;
28952 PyObject
* obj0
= 0 ;
28953 PyObject
* obj1
= 0 ;
28954 char * kwnames
[] = {
28955 (char *) "self",(char *) "diff", NULL
28958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28960 if (!SWIG_IsOK(res1
)) {
28961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28963 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28965 if (!SWIG_IsOK(res2
)) {
28966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28971 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
28976 result
= (wxTimeSpan
*) &_result_ref
;
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28988 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28989 PyObject
*resultobj
= 0;
28990 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28991 wxTimeSpan
*arg2
= 0 ;
28992 wxTimeSpan
*result
= 0 ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 char * kwnames
[] = {
29000 (char *) "self",(char *) "diff", NULL
29003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29005 if (!SWIG_IsOK(res1
)) {
29006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29008 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29010 if (!SWIG_IsOK(res2
)) {
29011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29016 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
29021 result
= (wxTimeSpan
*) &_result_ref
;
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29033 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
= 0;
29035 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29037 wxTimeSpan
*result
= 0 ;
29042 PyObject
* obj0
= 0 ;
29043 PyObject
* obj1
= 0 ;
29044 char * kwnames
[] = {
29045 (char *) "self",(char *) "n", NULL
29048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29050 if (!SWIG_IsOK(res1
)) {
29051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29053 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29055 if (!SWIG_IsOK(ecode2
)) {
29056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29058 arg2
= static_cast< int >(val2
);
29060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29062 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29063 result
= (wxTimeSpan
*) &_result_ref
;
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29075 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29076 PyObject
*resultobj
= 0;
29077 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29078 wxTimeSpan
*result
= 0 ;
29081 PyObject
*swig_obj
[1] ;
29083 if (!args
) SWIG_fail
;
29084 swig_obj
[0] = args
;
29085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29086 if (!SWIG_IsOK(res1
)) {
29087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29089 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
29094 result
= (wxTimeSpan
*) &_result_ref
;
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29106 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29107 PyObject
*resultobj
= 0;
29108 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29112 PyObject
*swig_obj
[1] ;
29114 if (!args
) SWIG_fail
;
29115 swig_obj
[0] = args
;
29116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29117 if (!SWIG_IsOK(res1
)) {
29118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29120 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29134 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
= 0;
29136 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29137 wxTimeSpan
*arg2
= 0 ;
29138 wxTimeSpan
*result
= 0 ;
29143 PyObject
* obj0
= 0 ;
29144 PyObject
* obj1
= 0 ;
29145 char * kwnames
[] = {
29146 (char *) "self",(char *) "diff", NULL
29149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29151 if (!SWIG_IsOK(res1
)) {
29152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29154 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29156 if (!SWIG_IsOK(res2
)) {
29157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29162 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29167 result
= (wxTimeSpan
*) &_result_ref
;
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29179 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29180 PyObject
*resultobj
= 0;
29181 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29182 wxTimeSpan
*arg2
= 0 ;
29183 wxTimeSpan
*result
= 0 ;
29188 PyObject
* obj0
= 0 ;
29189 PyObject
* obj1
= 0 ;
29190 char * kwnames
[] = {
29191 (char *) "self",(char *) "diff", NULL
29194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29199 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29201 if (!SWIG_IsOK(res2
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29207 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29211 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29212 result
= (wxTimeSpan
*) &_result_ref
;
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29224 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29225 PyObject
*resultobj
= 0;
29226 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29228 wxTimeSpan
*result
= 0 ;
29233 PyObject
* obj0
= 0 ;
29234 PyObject
* obj1
= 0 ;
29235 char * kwnames
[] = {
29236 (char *) "self",(char *) "n", NULL
29239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29241 if (!SWIG_IsOK(res1
)) {
29242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29244 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29246 if (!SWIG_IsOK(ecode2
)) {
29247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29249 arg2
= static_cast< int >(val2
);
29251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29254 result
= (wxTimeSpan
*) &_result_ref
;
29256 wxPyEndAllowThreads(__tstate
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29266 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29267 PyObject
*resultobj
= 0;
29268 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29269 wxTimeSpan
*result
= 0 ;
29272 PyObject
*swig_obj
[1] ;
29274 if (!args
) SWIG_fail
;
29275 swig_obj
[0] = args
;
29276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29280 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29285 result
= (wxTimeSpan
*) &_result_ref
;
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29297 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
= 0;
29299 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29300 wxTimeSpan
*arg2
= 0 ;
29306 PyObject
* obj0
= 0 ;
29307 PyObject
* obj1
= 0 ;
29308 char * kwnames
[] = {
29309 (char *) "self",(char *) "other", NULL
29312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29314 if (!SWIG_IsOK(res1
)) {
29315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29317 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29319 if (!SWIG_IsOK(res2
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29325 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29329 wxPyEndAllowThreads(__tstate
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29332 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29339 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29340 PyObject
*resultobj
= 0;
29341 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29342 wxTimeSpan
*arg2
= 0 ;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 char * kwnames
[] = {
29351 (char *) "self",(char *) "other", NULL
29354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29356 if (!SWIG_IsOK(res1
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29359 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29361 if (!SWIG_IsOK(res2
)) {
29362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29367 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29381 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29382 PyObject
*resultobj
= 0;
29383 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29390 PyObject
* obj0
= 0 ;
29391 PyObject
* obj1
= 0 ;
29392 char * kwnames
[] = {
29393 (char *) "self",(char *) "n", NULL
29396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29398 if (!SWIG_IsOK(res1
)) {
29399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29401 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29403 if (!SWIG_IsOK(ecode2
)) {
29404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29406 arg2
= static_cast< int >(val2
);
29408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29409 result
= wxTimeSpan___mul__(arg1
,arg2
);
29410 wxPyEndAllowThreads(__tstate
);
29411 if (PyErr_Occurred()) SWIG_fail
;
29413 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29420 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
= 0;
29422 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29429 PyObject
* obj0
= 0 ;
29430 PyObject
* obj1
= 0 ;
29431 char * kwnames
[] = {
29432 (char *) "self",(char *) "n", NULL
29435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29440 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29442 if (!SWIG_IsOK(ecode2
)) {
29443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29445 arg2
= static_cast< int >(val2
);
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29459 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
= 0;
29461 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29462 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 char * kwnames
[] = {
29471 (char *) "self",(char *) "other", NULL
29474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29476 if (!SWIG_IsOK(res1
)) {
29477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29479 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29481 if (!SWIG_IsOK(res2
)) {
29482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29484 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29500 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
= 0;
29502 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29503 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29509 PyObject
* obj0
= 0 ;
29510 PyObject
* obj1
= 0 ;
29511 char * kwnames
[] = {
29512 (char *) "self",(char *) "other", NULL
29515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29517 if (!SWIG_IsOK(res1
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29520 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29522 if (!SWIG_IsOK(res2
)) {
29523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29525 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29528 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29529 wxPyEndAllowThreads(__tstate
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29541 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
= 0;
29543 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29544 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29550 PyObject
* obj0
= 0 ;
29551 PyObject
* obj1
= 0 ;
29552 char * kwnames
[] = {
29553 (char *) "self",(char *) "other", NULL
29556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29558 if (!SWIG_IsOK(res1
)) {
29559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29561 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29563 if (!SWIG_IsOK(res2
)) {
29564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29566 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29582 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
= 0;
29584 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29585 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29591 PyObject
* obj0
= 0 ;
29592 PyObject
* obj1
= 0 ;
29593 char * kwnames
[] = {
29594 (char *) "self",(char *) "other", NULL
29597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29599 if (!SWIG_IsOK(res1
)) {
29600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29602 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29604 if (!SWIG_IsOK(res2
)) {
29605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29607 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29623 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
= 0;
29625 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29626 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 char * kwnames
[] = {
29635 (char *) "self",(char *) "other", NULL
29638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29643 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29645 if (!SWIG_IsOK(res2
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29648 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
= 0;
29666 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29667 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 char * kwnames
[] = {
29676 (char *) "self",(char *) "other", NULL
29679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29681 if (!SWIG_IsOK(res1
)) {
29682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29684 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29686 if (!SWIG_IsOK(res2
)) {
29687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29689 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29692 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29693 wxPyEndAllowThreads(__tstate
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29705 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29706 PyObject
*resultobj
= 0;
29707 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29711 PyObject
*swig_obj
[1] ;
29713 if (!args
) SWIG_fail
;
29714 swig_obj
[0] = args
;
29715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29716 if (!SWIG_IsOK(res1
)) {
29717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29719 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29735 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29736 PyObject
*resultobj
= 0;
29737 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29741 PyObject
*swig_obj
[1] ;
29743 if (!args
) SWIG_fail
;
29744 swig_obj
[0] = args
;
29745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29746 if (!SWIG_IsOK(res1
)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29749 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29765 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29766 PyObject
*resultobj
= 0;
29767 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29771 PyObject
*swig_obj
[1] ;
29773 if (!args
) SWIG_fail
;
29774 swig_obj
[0] = args
;
29775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29776 if (!SWIG_IsOK(res1
)) {
29777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29779 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29795 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
= 0;
29797 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29798 wxTimeSpan
*arg2
= 0 ;
29804 PyObject
* obj0
= 0 ;
29805 PyObject
* obj1
= 0 ;
29806 char * kwnames
[] = {
29807 (char *) "self",(char *) "ts", NULL
29810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29812 if (!SWIG_IsOK(res1
)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29815 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29817 if (!SWIG_IsOK(res2
)) {
29818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29823 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29827 wxPyEndAllowThreads(__tstate
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29839 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
= 0;
29841 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29842 wxTimeSpan
*arg2
= 0 ;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 char * kwnames
[] = {
29851 (char *) "self",(char *) "ts", NULL
29854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29856 if (!SWIG_IsOK(res1
)) {
29857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29859 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29861 if (!SWIG_IsOK(res2
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29867 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29883 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
= 0;
29885 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29886 wxTimeSpan
*arg2
= 0 ;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29894 char * kwnames
[] = {
29895 (char *) "self",(char *) "t", NULL
29898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29900 if (!SWIG_IsOK(res1
)) {
29901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29903 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29905 if (!SWIG_IsOK(res2
)) {
29906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29911 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29927 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29928 PyObject
*resultobj
= 0;
29929 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29933 PyObject
*swig_obj
[1] ;
29935 if (!args
) SWIG_fail
;
29936 swig_obj
[0] = args
;
29937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29938 if (!SWIG_IsOK(res1
)) {
29939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29941 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29944 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= SWIG_From_int(static_cast< int >(result
));
29955 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29956 PyObject
*resultobj
= 0;
29957 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29961 PyObject
*swig_obj
[1] ;
29963 if (!args
) SWIG_fail
;
29964 swig_obj
[0] = args
;
29965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29966 if (!SWIG_IsOK(res1
)) {
29967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29969 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= SWIG_From_int(static_cast< int >(result
));
29983 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29984 PyObject
*resultobj
= 0;
29985 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29989 PyObject
*swig_obj
[1] ;
29991 if (!args
) SWIG_fail
;
29992 swig_obj
[0] = args
;
29993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29994 if (!SWIG_IsOK(res1
)) {
29995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29997 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= SWIG_From_int(static_cast< int >(result
));
30011 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30012 PyObject
*resultobj
= 0;
30013 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30017 PyObject
*swig_obj
[1] ;
30019 if (!args
) SWIG_fail
;
30020 swig_obj
[0] = args
;
30021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30025 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 resultobj
= SWIG_From_int(static_cast< int >(result
));
30039 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30040 PyObject
*resultobj
= 0;
30041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30045 PyObject
*swig_obj
[1] ;
30047 if (!args
) SWIG_fail
;
30048 swig_obj
[0] = args
;
30049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30050 if (!SWIG_IsOK(res1
)) {
30051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30053 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30056 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
30057 wxPyEndAllowThreads(__tstate
);
30058 if (PyErr_Occurred()) SWIG_fail
;
30061 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30062 hi
= PyLong_FromLong( (&result
)->GetHi() );
30063 lo
= PyLong_FromLong( (&result
)->GetLo() );
30064 shifter
= PyLong_FromLong(32);
30065 shifted
= PyNumber_Lshift(hi
, shifter
);
30066 resultobj
= PyNumber_Or(shifted
, lo
);
30069 Py_DECREF(shifter
);
30070 Py_DECREF(shifted
);
30078 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30079 PyObject
*resultobj
= 0;
30080 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30084 PyObject
*swig_obj
[1] ;
30086 if (!args
) SWIG_fail
;
30087 swig_obj
[0] = args
;
30088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30089 if (!SWIG_IsOK(res1
)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30092 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30100 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30101 hi
= PyLong_FromLong( (&result
)->GetHi() );
30102 lo
= PyLong_FromLong( (&result
)->GetLo() );
30103 shifter
= PyLong_FromLong(32);
30104 shifted
= PyNumber_Lshift(hi
, shifter
);
30105 resultobj
= PyNumber_Or(shifted
, lo
);
30108 Py_DECREF(shifter
);
30109 Py_DECREF(shifted
);
30117 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30118 PyObject
*resultobj
= 0;
30119 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30120 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30121 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30125 bool temp2
= false ;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 char * kwnames
[] = {
30129 (char *) "self",(char *) "format", NULL
30132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30134 if (!SWIG_IsOK(res1
)) {
30135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30137 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30140 arg2
= wxString_in_helper(obj1
);
30141 if (arg2
== NULL
) SWIG_fail
;
30146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30147 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30172 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30175 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30176 return SWIG_Py_Void();
30179 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30180 return SWIG_Python_InitShadowInstance(args
);
30183 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30184 PyObject
*resultobj
= 0;
30185 int arg1
= (int) 0 ;
30186 int arg2
= (int) 0 ;
30187 int arg3
= (int) 0 ;
30188 int arg4
= (int) 0 ;
30189 wxDateSpan
*result
= 0 ;
30198 PyObject
* obj0
= 0 ;
30199 PyObject
* obj1
= 0 ;
30200 PyObject
* obj2
= 0 ;
30201 PyObject
* obj3
= 0 ;
30202 char * kwnames
[] = {
30203 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30209 if (!SWIG_IsOK(ecode1
)) {
30210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30212 arg1
= static_cast< int >(val1
);
30215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30216 if (!SWIG_IsOK(ecode2
)) {
30217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30219 arg2
= static_cast< int >(val2
);
30222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30223 if (!SWIG_IsOK(ecode3
)) {
30224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30226 arg3
= static_cast< int >(val3
);
30229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30230 if (!SWIG_IsOK(ecode4
)) {
30231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30233 arg4
= static_cast< int >(val4
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30248 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30249 PyObject
*resultobj
= 0;
30250 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30253 PyObject
*swig_obj
[1] ;
30255 if (!args
) SWIG_fail
;
30256 swig_obj
[0] = args
;
30257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30258 if (!SWIG_IsOK(res1
)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30261 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30269 resultobj
= SWIG_Py_Void();
30276 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30277 PyObject
*resultobj
= 0;
30282 PyObject
* obj0
= 0 ;
30283 char * kwnames
[] = {
30284 (char *) "days", NULL
30287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30288 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30289 if (!SWIG_IsOK(ecode1
)) {
30290 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30292 arg1
= static_cast< int >(val1
);
30294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30295 result
= wxDateSpan::Days(arg1
);
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30299 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30306 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30307 PyObject
*resultobj
= 0;
30310 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 result
= wxDateSpan::Day();
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30324 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
= 0;
30330 PyObject
* obj0
= 0 ;
30331 char * kwnames
[] = {
30332 (char *) "weeks", NULL
30335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30336 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30337 if (!SWIG_IsOK(ecode1
)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30340 arg1
= static_cast< int >(val1
);
30342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30343 result
= wxDateSpan::Weeks(arg1
);
30344 wxPyEndAllowThreads(__tstate
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30347 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30354 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30355 PyObject
*resultobj
= 0;
30358 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 result
= wxDateSpan::Week();
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30365 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30372 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30373 PyObject
*resultobj
= 0;
30378 PyObject
* obj0
= 0 ;
30379 char * kwnames
[] = {
30380 (char *) "mon", NULL
30383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30385 if (!SWIG_IsOK(ecode1
)) {
30386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30388 arg1
= static_cast< int >(val1
);
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 result
= wxDateSpan::Months(arg1
);
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30402 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30403 PyObject
*resultobj
= 0;
30406 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 result
= wxDateSpan::Month();
30410 wxPyEndAllowThreads(__tstate
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30413 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30420 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30421 PyObject
*resultobj
= 0;
30426 PyObject
* obj0
= 0 ;
30427 char * kwnames
[] = {
30428 (char *) "years", NULL
30431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30433 if (!SWIG_IsOK(ecode1
)) {
30434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30436 arg1
= static_cast< int >(val1
);
30438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 result
= wxDateSpan::Years(arg1
);
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30450 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30451 PyObject
*resultobj
= 0;
30454 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 result
= wxDateSpan::Year();
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30468 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
= 0;
30470 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30472 wxDateSpan
*result
= 0 ;
30477 PyObject
* obj0
= 0 ;
30478 PyObject
* obj1
= 0 ;
30479 char * kwnames
[] = {
30480 (char *) "self",(char *) "n", NULL
30483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30485 if (!SWIG_IsOK(res1
)) {
30486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30488 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30490 if (!SWIG_IsOK(ecode2
)) {
30491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30493 arg2
= static_cast< int >(val2
);
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30497 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30498 result
= (wxDateSpan
*) &_result_ref
;
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30510 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
= 0;
30512 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30514 wxDateSpan
*result
= 0 ;
30519 PyObject
* obj0
= 0 ;
30520 PyObject
* obj1
= 0 ;
30521 char * kwnames
[] = {
30522 (char *) "self",(char *) "n", NULL
30525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30527 if (!SWIG_IsOK(res1
)) {
30528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30530 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30532 if (!SWIG_IsOK(ecode2
)) {
30533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30535 arg2
= static_cast< int >(val2
);
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30539 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30540 result
= (wxDateSpan
*) &_result_ref
;
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30552 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
= 0;
30554 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30556 wxDateSpan
*result
= 0 ;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 char * kwnames
[] = {
30564 (char *) "self",(char *) "n", NULL
30567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30572 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30574 if (!SWIG_IsOK(ecode2
)) {
30575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30577 arg2
= static_cast< int >(val2
);
30579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30582 result
= (wxDateSpan
*) &_result_ref
;
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30594 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30595 PyObject
*resultobj
= 0;
30596 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30598 wxDateSpan
*result
= 0 ;
30603 PyObject
* obj0
= 0 ;
30604 PyObject
* obj1
= 0 ;
30605 char * kwnames
[] = {
30606 (char *) "self",(char *) "n", NULL
30609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30611 if (!SWIG_IsOK(res1
)) {
30612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30614 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30616 if (!SWIG_IsOK(ecode2
)) {
30617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30619 arg2
= static_cast< int >(val2
);
30621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30624 result
= (wxDateSpan
*) &_result_ref
;
30626 wxPyEndAllowThreads(__tstate
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30636 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30637 PyObject
*resultobj
= 0;
30638 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30642 PyObject
*swig_obj
[1] ;
30644 if (!args
) SWIG_fail
;
30645 swig_obj
[0] = args
;
30646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30647 if (!SWIG_IsOK(res1
)) {
30648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30650 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 resultobj
= SWIG_From_int(static_cast< int >(result
));
30664 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30665 PyObject
*resultobj
= 0;
30666 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30670 PyObject
*swig_obj
[1] ;
30672 if (!args
) SWIG_fail
;
30673 swig_obj
[0] = args
;
30674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30675 if (!SWIG_IsOK(res1
)) {
30676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30678 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= SWIG_From_int(static_cast< int >(result
));
30692 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30693 PyObject
*resultobj
= 0;
30694 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30698 PyObject
*swig_obj
[1] ;
30700 if (!args
) SWIG_fail
;
30701 swig_obj
[0] = args
;
30702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30703 if (!SWIG_IsOK(res1
)) {
30704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30706 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30709 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 resultobj
= SWIG_From_int(static_cast< int >(result
));
30720 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30721 PyObject
*resultobj
= 0;
30722 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30726 PyObject
*swig_obj
[1] ;
30728 if (!args
) SWIG_fail
;
30729 swig_obj
[0] = args
;
30730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30731 if (!SWIG_IsOK(res1
)) {
30732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30734 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30738 wxPyEndAllowThreads(__tstate
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30741 resultobj
= SWIG_From_int(static_cast< int >(result
));
30748 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30749 PyObject
*resultobj
= 0;
30750 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30754 PyObject
*swig_obj
[1] ;
30756 if (!args
) SWIG_fail
;
30757 swig_obj
[0] = args
;
30758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30759 if (!SWIG_IsOK(res1
)) {
30760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30762 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 resultobj
= SWIG_From_int(static_cast< int >(result
));
30776 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30777 PyObject
*resultobj
= 0;
30778 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30779 wxDateSpan
*arg2
= 0 ;
30780 wxDateSpan
*result
= 0 ;
30785 PyObject
* obj0
= 0 ;
30786 PyObject
* obj1
= 0 ;
30787 char * kwnames
[] = {
30788 (char *) "self",(char *) "other", NULL
30791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30793 if (!SWIG_IsOK(res1
)) {
30794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30796 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30798 if (!SWIG_IsOK(res2
)) {
30799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30804 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30809 result
= (wxDateSpan
*) &_result_ref
;
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30821 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
= 0;
30823 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30824 wxDateSpan
*arg2
= 0 ;
30825 wxDateSpan
*result
= 0 ;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 char * kwnames
[] = {
30833 (char *) "self",(char *) "other", NULL
30836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30838 if (!SWIG_IsOK(res1
)) {
30839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30841 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30843 if (!SWIG_IsOK(res2
)) {
30844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30849 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30854 result
= (wxDateSpan
*) &_result_ref
;
30856 wxPyEndAllowThreads(__tstate
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30866 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30867 PyObject
*resultobj
= 0;
30868 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30869 wxDateSpan
*result
= 0 ;
30872 PyObject
*swig_obj
[1] ;
30874 if (!args
) SWIG_fail
;
30875 swig_obj
[0] = args
;
30876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30877 if (!SWIG_IsOK(res1
)) {
30878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30880 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30884 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30885 result
= (wxDateSpan
*) &_result_ref
;
30887 wxPyEndAllowThreads(__tstate
);
30888 if (PyErr_Occurred()) SWIG_fail
;
30890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30897 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30898 PyObject
*resultobj
= 0;
30899 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30901 wxDateSpan
*result
= 0 ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 char * kwnames
[] = {
30909 (char *) "self",(char *) "factor", NULL
30912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30914 if (!SWIG_IsOK(res1
)) {
30915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30917 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30919 if (!SWIG_IsOK(ecode2
)) {
30920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
30922 arg2
= static_cast< int >(val2
);
30924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30926 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
30927 result
= (wxDateSpan
*) &_result_ref
;
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30939 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
= 0;
30941 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30942 wxDateSpan
*arg2
= 0 ;
30943 wxDateSpan
*result
= 0 ;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 char * kwnames
[] = {
30951 (char *) "self",(char *) "other", NULL
30954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30956 if (!SWIG_IsOK(res1
)) {
30957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30959 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30961 if (!SWIG_IsOK(res2
)) {
30962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30967 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
30972 result
= (wxDateSpan
*) &_result_ref
;
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30984 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
= 0;
30986 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30987 wxDateSpan
*arg2
= 0 ;
30988 wxDateSpan
*result
= 0 ;
30993 PyObject
* obj0
= 0 ;
30994 PyObject
* obj1
= 0 ;
30995 char * kwnames
[] = {
30996 (char *) "self",(char *) "other", NULL
30999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31001 if (!SWIG_IsOK(res1
)) {
31002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31004 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31006 if (!SWIG_IsOK(res2
)) {
31007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31012 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
31017 result
= (wxDateSpan
*) &_result_ref
;
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31029 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31030 PyObject
*resultobj
= 0;
31031 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31032 wxDateSpan
*result
= 0 ;
31035 PyObject
*swig_obj
[1] ;
31037 if (!args
) SWIG_fail
;
31038 swig_obj
[0] = args
;
31039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31040 if (!SWIG_IsOK(res1
)) {
31041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31043 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31047 wxDateSpan
&_result_ref
= (arg1
)->operator -();
31048 result
= (wxDateSpan
*) &_result_ref
;
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31060 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
= 0;
31062 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31064 wxDateSpan
*result
= 0 ;
31069 PyObject
* obj0
= 0 ;
31070 PyObject
* obj1
= 0 ;
31071 char * kwnames
[] = {
31072 (char *) "self",(char *) "factor", NULL
31075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31077 if (!SWIG_IsOK(res1
)) {
31078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31080 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31082 if (!SWIG_IsOK(ecode2
)) {
31083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
31085 arg2
= static_cast< int >(val2
);
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
31090 result
= (wxDateSpan
*) &_result_ref
;
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31102 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31103 PyObject
*resultobj
= 0;
31104 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31105 wxDateSpan
*arg2
= 0 ;
31111 PyObject
* obj0
= 0 ;
31112 PyObject
* obj1
= 0 ;
31113 char * kwnames
[] = {
31114 (char *) "self",(char *) "other", NULL
31117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31119 if (!SWIG_IsOK(res1
)) {
31120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31122 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31124 if (!SWIG_IsOK(res2
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31130 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31144 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
= 0;
31146 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31147 wxDateSpan
*arg2
= 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 char * kwnames
[] = {
31156 (char *) "self",(char *) "other", NULL
31159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31161 if (!SWIG_IsOK(res1
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31164 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31166 if (!SWIG_IsOK(res2
)) {
31167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31172 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31175 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31186 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
= 0;
31188 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31195 PyObject
* obj0
= 0 ;
31196 PyObject
* obj1
= 0 ;
31197 char * kwnames
[] = {
31198 (char *) "self",(char *) "n", NULL
31201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31203 if (!SWIG_IsOK(res1
)) {
31204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31206 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31208 if (!SWIG_IsOK(ecode2
)) {
31209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31211 arg2
= static_cast< int >(val2
);
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= wxDateSpan___mul__(arg1
,arg2
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31225 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
= 0;
31227 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 char * kwnames
[] = {
31237 (char *) "self",(char *) "n", NULL
31240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31242 if (!SWIG_IsOK(res1
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31245 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31247 if (!SWIG_IsOK(ecode2
)) {
31248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31250 arg2
= static_cast< int >(val2
);
31252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31253 result
= wxDateSpan___rmul__(arg1
,arg2
);
31254 wxPyEndAllowThreads(__tstate
);
31255 if (PyErr_Occurred()) SWIG_fail
;
31257 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31264 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
= 0;
31266 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31267 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31273 PyObject
* obj0
= 0 ;
31274 PyObject
* obj1
= 0 ;
31275 char * kwnames
[] = {
31276 (char *) "self",(char *) "other", NULL
31279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31281 if (!SWIG_IsOK(res1
)) {
31282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31284 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31286 if (!SWIG_IsOK(res2
)) {
31287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31289 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31292 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31293 wxPyEndAllowThreads(__tstate
);
31294 if (PyErr_Occurred()) SWIG_fail
;
31297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31305 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31306 PyObject
*resultobj
= 0;
31307 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31308 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31314 PyObject
* obj0
= 0 ;
31315 PyObject
* obj1
= 0 ;
31316 char * kwnames
[] = {
31317 (char *) "self",(char *) "other", NULL
31320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31322 if (!SWIG_IsOK(res1
)) {
31323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31325 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31327 if (!SWIG_IsOK(res2
)) {
31328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31330 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31333 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31334 wxPyEndAllowThreads(__tstate
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31346 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31349 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31350 return SWIG_Py_Void();
31353 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31354 return SWIG_Python_InitShadowInstance(args
);
31357 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31358 PyObject
*resultobj
= 0;
31361 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 result
= (long)wxGetLocalTime();
31365 wxPyEndAllowThreads(__tstate
);
31366 if (PyErr_Occurred()) SWIG_fail
;
31368 resultobj
= SWIG_From_long(static_cast< long >(result
));
31375 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31376 PyObject
*resultobj
= 0;
31379 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31382 result
= (long)wxGetUTCTime();
31383 wxPyEndAllowThreads(__tstate
);
31384 if (PyErr_Occurred()) SWIG_fail
;
31386 resultobj
= SWIG_From_long(static_cast< long >(result
));
31393 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31394 PyObject
*resultobj
= 0;
31397 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31400 result
= (long)wxGetCurrentTime();
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 resultobj
= SWIG_From_long(static_cast< long >(result
));
31411 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31412 PyObject
*resultobj
= 0;
31415 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 result
= wxGetLocalTimeMillis();
31419 wxPyEndAllowThreads(__tstate
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31423 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31424 hi
= PyLong_FromLong( (&result
)->GetHi() );
31425 lo
= PyLong_FromLong( (&result
)->GetLo() );
31426 shifter
= PyLong_FromLong(32);
31427 shifted
= PyNumber_Lshift(hi
, shifter
);
31428 resultobj
= PyNumber_Or(shifted
, lo
);
31431 Py_DECREF(shifter
);
31432 Py_DECREF(shifted
);
31440 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31441 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31446 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31447 PyObject
*pyobj
= 0;
31449 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31454 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
= 0;
31456 wxDataFormatId arg1
;
31457 wxDataFormat
*result
= 0 ;
31460 PyObject
* obj0
= 0 ;
31461 char * kwnames
[] = {
31462 (char *) "type", NULL
31465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31466 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31467 if (!SWIG_IsOK(ecode1
)) {
31468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31470 arg1
= static_cast< wxDataFormatId
>(val1
);
31472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31473 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31474 wxPyEndAllowThreads(__tstate
);
31475 if (PyErr_Occurred()) SWIG_fail
;
31477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31484 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
= 0;
31486 wxString
*arg1
= 0 ;
31487 wxDataFormat
*result
= 0 ;
31488 bool temp1
= false ;
31489 PyObject
* obj0
= 0 ;
31490 char * kwnames
[] = {
31491 (char *) "format", NULL
31494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31496 arg1
= wxString_in_helper(obj0
);
31497 if (arg1
== NULL
) SWIG_fail
;
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31521 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31522 PyObject
*resultobj
= 0;
31523 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31526 PyObject
*swig_obj
[1] ;
31528 if (!args
) SWIG_fail
;
31529 swig_obj
[0] = args
;
31530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31531 if (!SWIG_IsOK(res1
)) {
31532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31534 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 wxPyEndAllowThreads(__tstate
);
31540 if (PyErr_Occurred()) SWIG_fail
;
31542 resultobj
= SWIG_Py_Void();
31549 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31550 PyObject
*resultobj
= 0;
31551 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31552 wxDataFormatId arg2
;
31559 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31561 if (!SWIG_IsOK(res1
)) {
31562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31564 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31565 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31566 if (!SWIG_IsOK(ecode2
)) {
31567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31569 arg2
= static_cast< wxDataFormatId
>(val2
);
31571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31572 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31585 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31586 PyObject
*resultobj
= 0;
31587 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31588 wxDataFormatId arg2
;
31595 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31597 if (!SWIG_IsOK(res1
)) {
31598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31600 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31601 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31602 if (!SWIG_IsOK(ecode2
)) {
31603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31605 arg2
= static_cast< wxDataFormatId
>(val2
);
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31609 wxPyEndAllowThreads(__tstate
);
31610 if (PyErr_Occurred()) SWIG_fail
;
31613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31621 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31622 PyObject
*resultobj
= 0;
31623 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31624 wxDataFormat
*arg2
= 0 ;
31631 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31633 if (!SWIG_IsOK(res1
)) {
31634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31636 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31637 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31638 if (!SWIG_IsOK(res2
)) {
31639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31644 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31647 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31648 wxPyEndAllowThreads(__tstate
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31660 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31664 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31669 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31670 _v
= SWIG_CheckState(res
);
31672 if (!_v
) goto check_1
;
31673 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31678 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31682 Py_INCREF(Py_NotImplemented
);
31683 return Py_NotImplemented
;
31687 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31688 PyObject
*resultobj
= 0;
31689 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31690 wxDataFormat
*arg2
= 0 ;
31697 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31699 if (!SWIG_IsOK(res1
)) {
31700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31702 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31703 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31704 if (!SWIG_IsOK(res2
)) {
31705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31710 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31726 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31730 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31735 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31736 _v
= SWIG_CheckState(res
);
31738 if (!_v
) goto check_1
;
31739 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31744 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31748 Py_INCREF(Py_NotImplemented
);
31749 return Py_NotImplemented
;
31753 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31754 PyObject
*resultobj
= 0;
31755 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31756 wxDataFormatId arg2
;
31761 PyObject
* obj0
= 0 ;
31762 PyObject
* obj1
= 0 ;
31763 char * kwnames
[] = {
31764 (char *) "self",(char *) "format", NULL
31767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31769 if (!SWIG_IsOK(res1
)) {
31770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31772 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31774 if (!SWIG_IsOK(ecode2
)) {
31775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31777 arg2
= static_cast< wxDataFormatId
>(val2
);
31779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31780 (arg1
)->SetType(arg2
);
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31784 resultobj
= SWIG_Py_Void();
31791 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31792 PyObject
*resultobj
= 0;
31793 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31794 wxDataFormatId result
;
31797 PyObject
*swig_obj
[1] ;
31799 if (!args
) SWIG_fail
;
31800 swig_obj
[0] = args
;
31801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31802 if (!SWIG_IsOK(res1
)) {
31803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31805 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31808 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 resultobj
= SWIG_From_int(static_cast< int >(result
));
31819 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31820 PyObject
*resultobj
= 0;
31821 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31825 PyObject
*swig_obj
[1] ;
31827 if (!args
) SWIG_fail
;
31828 swig_obj
[0] = args
;
31829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31830 if (!SWIG_IsOK(res1
)) {
31831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31833 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31836 result
= ((wxDataFormat
const *)arg1
)->GetId();
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31853 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31854 PyObject
*resultobj
= 0;
31855 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31856 wxString
*arg2
= 0 ;
31859 bool temp2
= false ;
31860 PyObject
* obj0
= 0 ;
31861 PyObject
* obj1
= 0 ;
31862 char * kwnames
[] = {
31863 (char *) "self",(char *) "format", NULL
31866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31868 if (!SWIG_IsOK(res1
)) {
31869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31871 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31873 arg2
= wxString_in_helper(obj1
);
31874 if (arg2
== NULL
) SWIG_fail
;
31878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31879 (arg1
)->SetId((wxString
const &)*arg2
);
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 resultobj
= SWIG_Py_Void();
31898 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31901 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31902 return SWIG_Py_Void();
31905 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31906 return SWIG_Python_InitShadowInstance(args
);
31909 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
31910 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
31915 SWIGINTERN PyObject
*FormatInvalid_get(void) {
31916 PyObject
*pyobj
= 0;
31918 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
31923 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31924 PyObject
*resultobj
= 0;
31925 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31928 PyObject
*swig_obj
[1] ;
31930 if (!args
) SWIG_fail
;
31931 swig_obj
[0] = args
;
31932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
31933 if (!SWIG_IsOK(res1
)) {
31934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
31936 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31944 resultobj
= SWIG_Py_Void();
31951 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31952 PyObject
*resultobj
= 0;
31953 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31954 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31955 SwigValueWrapper
<wxDataFormat
> result
;
31960 PyObject
* obj0
= 0 ;
31961 PyObject
* obj1
= 0 ;
31962 char * kwnames
[] = {
31963 (char *) "self",(char *) "dir", NULL
31966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31968 if (!SWIG_IsOK(res1
)) {
31969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31971 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31974 if (!SWIG_IsOK(ecode2
)) {
31975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31977 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31981 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31992 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
= 0;
31994 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31995 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32001 PyObject
* obj0
= 0 ;
32002 PyObject
* obj1
= 0 ;
32003 char * kwnames
[] = {
32004 (char *) "self",(char *) "dir", NULL
32007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32009 if (!SWIG_IsOK(res1
)) {
32010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32012 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32015 if (!SWIG_IsOK(ecode2
)) {
32016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32018 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32033 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32034 PyObject
*resultobj
= 0;
32035 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32036 wxDataFormat
*arg2
= 0 ;
32037 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
32045 PyObject
* obj0
= 0 ;
32046 PyObject
* obj1
= 0 ;
32047 PyObject
* obj2
= 0 ;
32048 char * kwnames
[] = {
32049 (char *) "self",(char *) "format",(char *) "dir", NULL
32052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32054 if (!SWIG_IsOK(res1
)) {
32055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32057 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32059 if (!SWIG_IsOK(res2
)) {
32060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32065 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32068 if (!SWIG_IsOK(ecode3
)) {
32069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
32071 arg3
= static_cast< wxDataObject::Direction
>(val3
);
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32075 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
32076 wxPyEndAllowThreads(__tstate
);
32077 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32088 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32089 PyObject
*resultobj
= 0;
32090 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32091 wxDataFormat
*arg2
= 0 ;
32097 PyObject
* obj0
= 0 ;
32098 PyObject
* obj1
= 0 ;
32099 char * kwnames
[] = {
32100 (char *) "self",(char *) "format", NULL
32103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32105 if (!SWIG_IsOK(res1
)) {
32106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32108 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32110 if (!SWIG_IsOK(res2
)) {
32111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32116 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32119 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32123 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32130 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32131 PyObject
*resultobj
= 0;
32132 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32133 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32134 PyObject
*result
= 0 ;
32139 PyObject
* obj0
= 0 ;
32140 PyObject
* obj1
= 0 ;
32141 char * kwnames
[] = {
32142 (char *) "self",(char *) "dir", NULL
32145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32147 if (!SWIG_IsOK(res1
)) {
32148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32150 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32153 if (!SWIG_IsOK(ecode2
)) {
32154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32156 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32164 resultobj
= result
;
32171 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
= 0;
32173 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32174 wxDataFormat
*arg2
= 0 ;
32175 PyObject
*result
= 0 ;
32180 PyObject
* obj0
= 0 ;
32181 PyObject
* obj1
= 0 ;
32182 char * kwnames
[] = {
32183 (char *) "self",(char *) "format", NULL
32186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32188 if (!SWIG_IsOK(res1
)) {
32189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32191 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32193 if (!SWIG_IsOK(res2
)) {
32194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32199 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32202 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32203 wxPyEndAllowThreads(__tstate
);
32204 if (PyErr_Occurred()) SWIG_fail
;
32206 resultobj
= result
;
32213 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
= 0;
32215 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32216 wxDataFormat
*arg2
= 0 ;
32217 PyObject
*arg3
= (PyObject
*) 0 ;
32223 PyObject
* obj0
= 0 ;
32224 PyObject
* obj1
= 0 ;
32225 PyObject
* obj2
= 0 ;
32226 char * kwnames
[] = {
32227 (char *) "self",(char *) "format",(char *) "data", NULL
32230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32232 if (!SWIG_IsOK(res1
)) {
32233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32235 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32237 if (!SWIG_IsOK(res2
)) {
32238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32243 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32260 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32263 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32264 return SWIG_Py_Void();
32267 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32268 PyObject
*resultobj
= 0;
32269 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32270 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32271 wxDataObjectSimple
*result
= 0 ;
32274 PyObject
* obj0
= 0 ;
32275 char * kwnames
[] = {
32276 (char *) "format", NULL
32279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32281 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32282 if (!SWIG_IsOK(res1
)) {
32283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32288 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32303 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32304 PyObject
*resultobj
= 0;
32305 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32306 wxDataFormat
*result
= 0 ;
32309 PyObject
*swig_obj
[1] ;
32311 if (!args
) SWIG_fail
;
32312 swig_obj
[0] = args
;
32313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32314 if (!SWIG_IsOK(res1
)) {
32315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32317 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32321 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32322 result
= (wxDataFormat
*) &_result_ref
;
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32334 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32335 PyObject
*resultobj
= 0;
32336 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32337 wxDataFormat
*arg2
= 0 ;
32342 PyObject
* obj0
= 0 ;
32343 PyObject
* obj1
= 0 ;
32344 char * kwnames
[] = {
32345 (char *) "self",(char *) "format", NULL
32348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32350 if (!SWIG_IsOK(res1
)) {
32351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32353 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32355 if (!SWIG_IsOK(res2
)) {
32356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32361 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32364 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32365 wxPyEndAllowThreads(__tstate
);
32366 if (PyErr_Occurred()) SWIG_fail
;
32368 resultobj
= SWIG_Py_Void();
32375 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32376 PyObject
*resultobj
= 0;
32377 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32381 PyObject
*swig_obj
[1] ;
32383 if (!args
) SWIG_fail
;
32384 swig_obj
[0] = args
;
32385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32386 if (!SWIG_IsOK(res1
)) {
32387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32389 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32393 wxPyEndAllowThreads(__tstate
);
32394 if (PyErr_Occurred()) SWIG_fail
;
32396 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32403 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32404 PyObject
*resultobj
= 0;
32405 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32406 PyObject
*result
= 0 ;
32409 PyObject
*swig_obj
[1] ;
32411 if (!args
) SWIG_fail
;
32412 swig_obj
[0] = args
;
32413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32414 if (!SWIG_IsOK(res1
)) {
32415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32417 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32421 wxPyEndAllowThreads(__tstate
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32424 resultobj
= result
;
32431 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32432 PyObject
*resultobj
= 0;
32433 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32434 PyObject
*arg2
= (PyObject
*) 0 ;
32438 PyObject
* obj0
= 0 ;
32439 PyObject
* obj1
= 0 ;
32440 char * kwnames
[] = {
32441 (char *) "self",(char *) "data", NULL
32444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32446 if (!SWIG_IsOK(res1
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32449 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32453 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32454 wxPyEndAllowThreads(__tstate
);
32455 if (PyErr_Occurred()) SWIG_fail
;
32458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32466 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32469 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32470 return SWIG_Py_Void();
32473 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32474 return SWIG_Python_InitShadowInstance(args
);
32477 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
= 0;
32479 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32480 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32481 wxPyDataObjectSimple
*result
= 0 ;
32484 PyObject
* obj0
= 0 ;
32485 char * kwnames
[] = {
32486 (char *) "format", NULL
32489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32491 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32492 if (!SWIG_IsOK(res1
)) {
32493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32498 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32502 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32503 wxPyEndAllowThreads(__tstate
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32513 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32514 PyObject
*resultobj
= 0;
32515 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32516 PyObject
*arg2
= (PyObject
*) 0 ;
32517 PyObject
*arg3
= (PyObject
*) 0 ;
32520 PyObject
* obj0
= 0 ;
32521 PyObject
* obj1
= 0 ;
32522 PyObject
* obj2
= 0 ;
32523 char * kwnames
[] = {
32524 (char *) "self",(char *) "self",(char *) "_class", NULL
32527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32529 if (!SWIG_IsOK(res1
)) {
32530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32532 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32537 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32538 wxPyEndAllowThreads(__tstate
);
32539 if (PyErr_Occurred()) SWIG_fail
;
32541 resultobj
= SWIG_Py_Void();
32548 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32551 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32552 return SWIG_Py_Void();
32555 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32556 return SWIG_Python_InitShadowInstance(args
);
32559 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32560 PyObject
*resultobj
= 0;
32561 wxDataObjectComposite
*result
= 0 ;
32563 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32566 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32567 wxPyEndAllowThreads(__tstate
);
32568 if (PyErr_Occurred()) SWIG_fail
;
32570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32577 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32578 PyObject
*resultobj
= 0;
32579 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32580 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32581 bool arg3
= (bool) false ;
32587 PyObject
* obj0
= 0 ;
32588 PyObject
* obj1
= 0 ;
32589 PyObject
* obj2
= 0 ;
32590 char * kwnames
[] = {
32591 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32596 if (!SWIG_IsOK(res1
)) {
32597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32599 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32600 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32601 if (!SWIG_IsOK(res2
)) {
32602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32605 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32606 if (!SWIG_IsOK(ecode3
)) {
32607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32609 arg3
= static_cast< bool >(val3
);
32612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32613 (arg1
)->Add(arg2
,arg3
);
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32617 resultobj
= SWIG_Py_Void();
32624 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32625 PyObject
*resultobj
= 0;
32626 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32627 SwigValueWrapper
<wxDataFormat
> result
;
32630 PyObject
*swig_obj
[1] ;
32632 if (!args
) SWIG_fail
;
32633 swig_obj
[0] = args
;
32634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32635 if (!SWIG_IsOK(res1
)) {
32636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32638 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32642 wxPyEndAllowThreads(__tstate
);
32643 if (PyErr_Occurred()) SWIG_fail
;
32645 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32652 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32655 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32656 return SWIG_Py_Void();
32659 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32660 return SWIG_Python_InitShadowInstance(args
);
32663 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32664 PyObject
*resultobj
= 0;
32665 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32666 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32667 wxTextDataObject
*result
= 0 ;
32668 bool temp1
= false ;
32669 PyObject
* obj0
= 0 ;
32670 char * kwnames
[] = {
32671 (char *) "text", NULL
32674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32677 arg1
= wxString_in_helper(obj0
);
32678 if (arg1
== NULL
) SWIG_fail
;
32683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32685 wxPyEndAllowThreads(__tstate
);
32686 if (PyErr_Occurred()) SWIG_fail
;
32688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32703 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32704 PyObject
*resultobj
= 0;
32705 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32709 PyObject
*swig_obj
[1] ;
32711 if (!args
) SWIG_fail
;
32712 swig_obj
[0] = args
;
32713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32714 if (!SWIG_IsOK(res1
)) {
32715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32717 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 result
= (size_t)(arg1
)->GetTextLength();
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32724 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32731 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32732 PyObject
*resultobj
= 0;
32733 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32737 PyObject
*swig_obj
[1] ;
32739 if (!args
) SWIG_fail
;
32740 swig_obj
[0] = args
;
32741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32742 if (!SWIG_IsOK(res1
)) {
32743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32745 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 result
= (arg1
)->GetText();
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32765 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32766 PyObject
*resultobj
= 0;
32767 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32768 wxString
*arg2
= 0 ;
32771 bool temp2
= false ;
32772 PyObject
* obj0
= 0 ;
32773 PyObject
* obj1
= 0 ;
32774 char * kwnames
[] = {
32775 (char *) "self",(char *) "text", NULL
32778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32780 if (!SWIG_IsOK(res1
)) {
32781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32783 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32785 arg2
= wxString_in_helper(obj1
);
32786 if (arg2
== NULL
) SWIG_fail
;
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 (arg1
)->SetText((wxString
const &)*arg2
);
32792 wxPyEndAllowThreads(__tstate
);
32793 if (PyErr_Occurred()) SWIG_fail
;
32795 resultobj
= SWIG_Py_Void();
32810 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32813 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32814 return SWIG_Py_Void();
32817 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32818 return SWIG_Python_InitShadowInstance(args
);
32821 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32822 PyObject
*resultobj
= 0;
32823 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32824 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32825 wxPyTextDataObject
*result
= 0 ;
32826 bool temp1
= false ;
32827 PyObject
* obj0
= 0 ;
32828 char * kwnames
[] = {
32829 (char *) "text", NULL
32832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32835 arg1
= wxString_in_helper(obj0
);
32836 if (arg1
== NULL
) SWIG_fail
;
32841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32842 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32843 wxPyEndAllowThreads(__tstate
);
32844 if (PyErr_Occurred()) SWIG_fail
;
32846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32861 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32862 PyObject
*resultobj
= 0;
32863 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32864 PyObject
*arg2
= (PyObject
*) 0 ;
32865 PyObject
*arg3
= (PyObject
*) 0 ;
32868 PyObject
* obj0
= 0 ;
32869 PyObject
* obj1
= 0 ;
32870 PyObject
* obj2
= 0 ;
32871 char * kwnames
[] = {
32872 (char *) "self",(char *) "self",(char *) "_class", NULL
32875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32877 if (!SWIG_IsOK(res1
)) {
32878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32880 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= SWIG_Py_Void();
32896 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32899 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32900 return SWIG_Py_Void();
32903 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32904 return SWIG_Python_InitShadowInstance(args
);
32907 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32908 PyObject
*resultobj
= 0;
32909 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32910 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32911 wxBitmapDataObject
*result
= 0 ;
32914 PyObject
* obj0
= 0 ;
32915 char * kwnames
[] = {
32916 (char *) "bitmap", NULL
32919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32921 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32922 if (!SWIG_IsOK(res1
)) {
32923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32928 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32932 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32943 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32944 PyObject
*resultobj
= 0;
32945 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32949 PyObject
*swig_obj
[1] ;
32951 if (!args
) SWIG_fail
;
32952 swig_obj
[0] = args
;
32953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32954 if (!SWIG_IsOK(res1
)) {
32955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
32957 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32960 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
32961 wxPyEndAllowThreads(__tstate
);
32962 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32971 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32972 PyObject
*resultobj
= 0;
32973 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32974 wxBitmap
*arg2
= 0 ;
32979 PyObject
* obj0
= 0 ;
32980 PyObject
* obj1
= 0 ;
32981 char * kwnames
[] = {
32982 (char *) "self",(char *) "bitmap", NULL
32985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32987 if (!SWIG_IsOK(res1
)) {
32988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
32990 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32992 if (!SWIG_IsOK(res2
)) {
32993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32998 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33005 resultobj
= SWIG_Py_Void();
33012 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33015 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
33016 return SWIG_Py_Void();
33019 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33020 return SWIG_Python_InitShadowInstance(args
);
33023 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33024 PyObject
*resultobj
= 0;
33025 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33026 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33027 wxPyBitmapDataObject
*result
= 0 ;
33030 PyObject
* obj0
= 0 ;
33031 char * kwnames
[] = {
33032 (char *) "bitmap", NULL
33035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33037 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33038 if (!SWIG_IsOK(res1
)) {
33039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33044 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33048 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33059 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33060 PyObject
*resultobj
= 0;
33061 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
33062 PyObject
*arg2
= (PyObject
*) 0 ;
33063 PyObject
*arg3
= (PyObject
*) 0 ;
33066 PyObject
* obj0
= 0 ;
33067 PyObject
* obj1
= 0 ;
33068 PyObject
* obj2
= 0 ;
33069 char * kwnames
[] = {
33070 (char *) "self",(char *) "self",(char *) "_class", NULL
33073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
33075 if (!SWIG_IsOK(res1
)) {
33076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
33078 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
33082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33083 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33087 resultobj
= SWIG_Py_Void();
33094 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33097 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
33098 return SWIG_Py_Void();
33101 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33102 return SWIG_Python_InitShadowInstance(args
);
33105 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33106 PyObject
*resultobj
= 0;
33107 wxFileDataObject
*result
= 0 ;
33109 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33112 result
= (wxFileDataObject
*)new wxFileDataObject();
33113 wxPyEndAllowThreads(__tstate
);
33114 if (PyErr_Occurred()) SWIG_fail
;
33116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33123 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33124 PyObject
*resultobj
= 0;
33125 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33126 wxArrayString
*result
= 0 ;
33129 PyObject
*swig_obj
[1] ;
33131 if (!args
) SWIG_fail
;
33132 swig_obj
[0] = args
;
33133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33134 if (!SWIG_IsOK(res1
)) {
33135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33137 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33141 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33142 result
= (wxArrayString
*) &_result_ref
;
33144 wxPyEndAllowThreads(__tstate
);
33145 if (PyErr_Occurred()) SWIG_fail
;
33148 resultobj
= wxArrayString2PyList_helper(*result
);
33156 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33157 PyObject
*resultobj
= 0;
33158 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33159 wxString
*arg2
= 0 ;
33162 bool temp2
= false ;
33163 PyObject
* obj0
= 0 ;
33164 PyObject
* obj1
= 0 ;
33165 char * kwnames
[] = {
33166 (char *) "self",(char *) "filename", NULL
33169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33171 if (!SWIG_IsOK(res1
)) {
33172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33174 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33176 arg2
= wxString_in_helper(obj1
);
33177 if (arg2
== NULL
) SWIG_fail
;
33181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33182 (arg1
)->AddFile((wxString
const &)*arg2
);
33183 wxPyEndAllowThreads(__tstate
);
33184 if (PyErr_Occurred()) SWIG_fail
;
33186 resultobj
= SWIG_Py_Void();
33201 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33204 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33205 return SWIG_Py_Void();
33208 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33209 return SWIG_Python_InitShadowInstance(args
);
33212 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33213 PyObject
*resultobj
= 0;
33214 wxDataFormat
*arg1
= 0 ;
33215 wxCustomDataObject
*result
= 0 ;
33219 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33221 if (!SWIG_IsOK(res1
)) {
33222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33227 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33241 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33242 PyObject
*resultobj
= 0;
33243 wxString
*arg1
= 0 ;
33244 wxCustomDataObject
*result
= 0 ;
33245 bool temp1
= false ;
33247 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33249 arg1
= wxString_in_helper(swig_obj
[0]);
33250 if (arg1
== NULL
) SWIG_fail
;
33254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33255 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33256 wxPyEndAllowThreads(__tstate
);
33257 if (PyErr_Occurred()) SWIG_fail
;
33259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33274 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33275 PyObject
*resultobj
= 0;
33276 wxCustomDataObject
*result
= 0 ;
33278 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33281 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33282 wxPyEndAllowThreads(__tstate
);
33283 if (PyErr_Occurred()) SWIG_fail
;
33285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33292 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33296 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33299 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33305 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33308 if (!_v
) goto check_2
;
33309 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33314 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33318 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33323 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33324 PyObject
*resultobj
= 0;
33325 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33326 PyObject
*arg2
= (PyObject
*) 0 ;
33330 PyObject
* obj0
= 0 ;
33331 PyObject
* obj1
= 0 ;
33332 char * kwnames
[] = {
33333 (char *) "self",(char *) "data", NULL
33336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33338 if (!SWIG_IsOK(res1
)) {
33339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33341 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33345 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33358 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33359 PyObject
*resultobj
= 0;
33360 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33364 PyObject
*swig_obj
[1] ;
33366 if (!args
) SWIG_fail
;
33367 swig_obj
[0] = args
;
33368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33369 if (!SWIG_IsOK(res1
)) {
33370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33372 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33375 result
= (size_t)(arg1
)->GetSize();
33376 wxPyEndAllowThreads(__tstate
);
33377 if (PyErr_Occurred()) SWIG_fail
;
33379 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33386 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33387 PyObject
*resultobj
= 0;
33388 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33389 PyObject
*result
= 0 ;
33392 PyObject
*swig_obj
[1] ;
33394 if (!args
) SWIG_fail
;
33395 swig_obj
[0] = args
;
33396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33397 if (!SWIG_IsOK(res1
)) {
33398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33400 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33403 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33404 wxPyEndAllowThreads(__tstate
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33407 resultobj
= result
;
33414 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33417 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33418 return SWIG_Py_Void();
33421 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33422 return SWIG_Python_InitShadowInstance(args
);
33425 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33426 PyObject
*resultobj
= 0;
33427 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33428 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33429 wxURLDataObject
*result
= 0 ;
33430 bool temp1
= false ;
33431 PyObject
* obj0
= 0 ;
33432 char * kwnames
[] = {
33433 (char *) "url", NULL
33436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33439 arg1
= wxString_in_helper(obj0
);
33440 if (arg1
== NULL
) SWIG_fail
;
33445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33446 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33465 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33466 PyObject
*resultobj
= 0;
33467 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33471 PyObject
*swig_obj
[1] ;
33473 if (!args
) SWIG_fail
;
33474 swig_obj
[0] = args
;
33475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33476 if (!SWIG_IsOK(res1
)) {
33477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33479 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33482 result
= (arg1
)->GetURL();
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33499 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33500 PyObject
*resultobj
= 0;
33501 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33502 wxString
*arg2
= 0 ;
33505 bool temp2
= false ;
33506 PyObject
* obj0
= 0 ;
33507 PyObject
* obj1
= 0 ;
33508 char * kwnames
[] = {
33509 (char *) "self",(char *) "url", NULL
33512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33514 if (!SWIG_IsOK(res1
)) {
33515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33517 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33519 arg2
= wxString_in_helper(obj1
);
33520 if (arg2
== NULL
) SWIG_fail
;
33524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33525 (arg1
)->SetURL((wxString
const &)*arg2
);
33526 wxPyEndAllowThreads(__tstate
);
33527 if (PyErr_Occurred()) SWIG_fail
;
33529 resultobj
= SWIG_Py_Void();
33544 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33547 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33548 return SWIG_Py_Void();
33551 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33552 return SWIG_Python_InitShadowInstance(args
);
33555 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33556 PyObject
*resultobj
= 0;
33557 wxMetafileDataObject
*result
= 0 ;
33559 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33563 wxPyEndAllowThreads(__tstate
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33573 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33576 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33577 return SWIG_Py_Void();
33580 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33581 return SWIG_Python_InitShadowInstance(args
);
33584 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33585 PyObject
*resultobj
= 0;
33586 wxDragResult arg1
;
33590 PyObject
* obj0
= 0 ;
33591 char * kwnames
[] = {
33592 (char *) "res", NULL
33595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33596 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33597 if (!SWIG_IsOK(ecode1
)) {
33598 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33600 arg1
= static_cast< wxDragResult
>(val1
);
33602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33603 result
= (bool)wxIsDragResultOk(arg1
);
33604 wxPyEndAllowThreads(__tstate
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33616 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33617 PyObject
*resultobj
= 0;
33618 wxWindow
*arg1
= (wxWindow
*) 0 ;
33619 wxIcon
const &arg2_defvalue
= wxNullIcon
;
33620 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
33621 wxIcon
const &arg3_defvalue
= wxNullIcon
;
33622 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
33623 wxIcon
const &arg4_defvalue
= wxNullIcon
;
33624 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
33625 wxPyDropSource
*result
= 0 ;
33634 PyObject
* obj0
= 0 ;
33635 PyObject
* obj1
= 0 ;
33636 PyObject
* obj2
= 0 ;
33637 PyObject
* obj3
= 0 ;
33638 char * kwnames
[] = {
33639 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33644 if (!SWIG_IsOK(res1
)) {
33645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33647 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33650 if (!SWIG_IsOK(res2
)) {
33651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33656 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33659 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
33660 if (!SWIG_IsOK(res3
)) {
33661 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33666 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
33669 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
33670 if (!SWIG_IsOK(res4
)) {
33671 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33676 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33680 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33691 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33692 PyObject
*resultobj
= 0;
33693 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33694 PyObject
*arg2
= (PyObject
*) 0 ;
33695 PyObject
*arg3
= (PyObject
*) 0 ;
33701 PyObject
* obj0
= 0 ;
33702 PyObject
* obj1
= 0 ;
33703 PyObject
* obj2
= 0 ;
33704 PyObject
* obj3
= 0 ;
33705 char * kwnames
[] = {
33706 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33711 if (!SWIG_IsOK(res1
)) {
33712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33714 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33717 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33718 if (!SWIG_IsOK(ecode4
)) {
33719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33721 arg4
= static_cast< int >(val4
);
33723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33724 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33725 wxPyEndAllowThreads(__tstate
);
33726 if (PyErr_Occurred()) SWIG_fail
;
33728 resultobj
= SWIG_Py_Void();
33735 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33736 PyObject
*resultobj
= 0;
33737 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33740 PyObject
*swig_obj
[1] ;
33742 if (!args
) SWIG_fail
;
33743 swig_obj
[0] = args
;
33744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33745 if (!SWIG_IsOK(res1
)) {
33746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33748 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33756 resultobj
= SWIG_Py_Void();
33763 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33764 PyObject
*resultobj
= 0;
33765 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33766 wxDataObject
*arg2
= 0 ;
33771 PyObject
* obj0
= 0 ;
33772 PyObject
* obj1
= 0 ;
33773 char * kwnames
[] = {
33774 (char *) "self",(char *) "data", NULL
33777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33779 if (!SWIG_IsOK(res1
)) {
33780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33782 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33784 if (!SWIG_IsOK(res2
)) {
33785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33790 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33793 (arg1
)->SetData(*arg2
);
33794 wxPyEndAllowThreads(__tstate
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33797 resultobj
= SWIG_Py_Void();
33804 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33805 PyObject
*resultobj
= 0;
33806 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33807 wxDataObject
*result
= 0 ;
33810 PyObject
*swig_obj
[1] ;
33812 if (!args
) SWIG_fail
;
33813 swig_obj
[0] = args
;
33814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33815 if (!SWIG_IsOK(res1
)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33818 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33832 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33833 PyObject
*resultobj
= 0;
33834 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33835 wxDragResult arg2
;
33836 wxCursor
*arg3
= 0 ;
33843 PyObject
* obj0
= 0 ;
33844 PyObject
* obj1
= 0 ;
33845 PyObject
* obj2
= 0 ;
33846 char * kwnames
[] = {
33847 (char *) "self",(char *) "res",(char *) "cursor", NULL
33850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33852 if (!SWIG_IsOK(res1
)) {
33853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33855 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33857 if (!SWIG_IsOK(ecode2
)) {
33858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33860 arg2
= static_cast< wxDragResult
>(val2
);
33861 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33862 if (!SWIG_IsOK(res3
)) {
33863 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33868 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33871 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33875 resultobj
= SWIG_Py_Void();
33882 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
= 0;
33884 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33885 int arg2
= (int) wxDrag_CopyOnly
;
33886 wxDragResult result
;
33891 PyObject
* obj0
= 0 ;
33892 PyObject
* obj1
= 0 ;
33893 char * kwnames
[] = {
33894 (char *) "self",(char *) "flags", NULL
33897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33899 if (!SWIG_IsOK(res1
)) {
33900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33902 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33905 if (!SWIG_IsOK(ecode2
)) {
33906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
33908 arg2
= static_cast< int >(val2
);
33911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33912 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
33913 wxPyEndAllowThreads(__tstate
);
33914 if (PyErr_Occurred()) SWIG_fail
;
33916 resultobj
= SWIG_From_int(static_cast< int >(result
));
33923 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33924 PyObject
*resultobj
= 0;
33925 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33926 wxDragResult arg2
;
33932 PyObject
* obj0
= 0 ;
33933 PyObject
* obj1
= 0 ;
33934 char * kwnames
[] = {
33935 (char *) "self",(char *) "effect", NULL
33938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33940 if (!SWIG_IsOK(res1
)) {
33941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33943 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33945 if (!SWIG_IsOK(ecode2
)) {
33946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
33948 arg2
= static_cast< wxDragResult
>(val2
);
33950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33951 result
= (bool)(arg1
)->GiveFeedback(arg2
);
33952 wxPyEndAllowThreads(__tstate
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33964 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33967 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
33968 return SWIG_Py_Void();
33971 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33972 return SWIG_Python_InitShadowInstance(args
);
33975 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33976 PyObject
*resultobj
= 0;
33977 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
33978 wxPyDropTarget
*result
= 0 ;
33980 PyObject
* obj0
= 0 ;
33981 char * kwnames
[] = {
33982 (char *) "dataObject", NULL
33985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
33987 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33988 if (!SWIG_IsOK(res1
)) {
33989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
33993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33994 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
33995 wxPyEndAllowThreads(__tstate
);
33996 if (PyErr_Occurred()) SWIG_fail
;
33998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
34005 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34006 PyObject
*resultobj
= 0;
34007 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34008 PyObject
*arg2
= (PyObject
*) 0 ;
34009 PyObject
*arg3
= (PyObject
*) 0 ;
34012 PyObject
* obj0
= 0 ;
34013 PyObject
* obj1
= 0 ;
34014 PyObject
* obj2
= 0 ;
34015 char * kwnames
[] = {
34016 (char *) "self",(char *) "self",(char *) "_class", NULL
34019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34021 if (!SWIG_IsOK(res1
)) {
34022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34024 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34029 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34030 wxPyEndAllowThreads(__tstate
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34033 resultobj
= SWIG_Py_Void();
34040 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34041 PyObject
*resultobj
= 0;
34042 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34045 PyObject
*swig_obj
[1] ;
34047 if (!args
) SWIG_fail
;
34048 swig_obj
[0] = args
;
34049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34050 if (!SWIG_IsOK(res1
)) {
34051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34053 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34058 wxPyEndAllowThreads(__tstate
);
34059 if (PyErr_Occurred()) SWIG_fail
;
34061 resultobj
= SWIG_Py_Void();
34068 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34069 PyObject
*resultobj
= 0;
34070 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34071 wxDataObject
*result
= 0 ;
34074 PyObject
*swig_obj
[1] ;
34076 if (!args
) SWIG_fail
;
34077 swig_obj
[0] = args
;
34078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34079 if (!SWIG_IsOK(res1
)) {
34080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34082 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34085 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34086 wxPyEndAllowThreads(__tstate
);
34087 if (PyErr_Occurred()) SWIG_fail
;
34089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34096 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34097 PyObject
*resultobj
= 0;
34098 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34099 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34103 PyObject
* obj0
= 0 ;
34104 PyObject
* obj1
= 0 ;
34105 char * kwnames
[] = {
34106 (char *) "self",(char *) "dataObject", NULL
34109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34111 if (!SWIG_IsOK(res1
)) {
34112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34114 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34115 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34116 if (!SWIG_IsOK(res2
)) {
34117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34121 (arg1
)->SetDataObject(arg2
);
34122 wxPyEndAllowThreads(__tstate
);
34123 if (PyErr_Occurred()) SWIG_fail
;
34125 resultobj
= SWIG_Py_Void();
34132 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34133 PyObject
*resultobj
= 0;
34134 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34137 wxDragResult arg4
;
34138 wxDragResult result
;
34147 PyObject
* obj0
= 0 ;
34148 PyObject
* obj1
= 0 ;
34149 PyObject
* obj2
= 0 ;
34150 PyObject
* obj3
= 0 ;
34151 char * kwnames
[] = {
34152 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34157 if (!SWIG_IsOK(res1
)) {
34158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34160 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34162 if (!SWIG_IsOK(ecode2
)) {
34163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34165 arg2
= static_cast< int >(val2
);
34166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34167 if (!SWIG_IsOK(ecode3
)) {
34168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34170 arg3
= static_cast< int >(val3
);
34171 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34172 if (!SWIG_IsOK(ecode4
)) {
34173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34175 arg4
= static_cast< wxDragResult
>(val4
);
34177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34178 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34179 wxPyEndAllowThreads(__tstate
);
34180 if (PyErr_Occurred()) SWIG_fail
;
34182 resultobj
= SWIG_From_int(static_cast< int >(result
));
34189 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34190 PyObject
*resultobj
= 0;
34191 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34194 wxDragResult arg4
;
34195 wxDragResult result
;
34204 PyObject
* obj0
= 0 ;
34205 PyObject
* obj1
= 0 ;
34206 PyObject
* obj2
= 0 ;
34207 PyObject
* obj3
= 0 ;
34208 char * kwnames
[] = {
34209 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34214 if (!SWIG_IsOK(res1
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34217 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34219 if (!SWIG_IsOK(ecode2
)) {
34220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34222 arg2
= static_cast< int >(val2
);
34223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34224 if (!SWIG_IsOK(ecode3
)) {
34225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34227 arg3
= static_cast< int >(val3
);
34228 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34229 if (!SWIG_IsOK(ecode4
)) {
34230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34232 arg4
= static_cast< wxDragResult
>(val4
);
34234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34235 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34236 wxPyEndAllowThreads(__tstate
);
34237 if (PyErr_Occurred()) SWIG_fail
;
34239 resultobj
= SWIG_From_int(static_cast< int >(result
));
34246 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34247 PyObject
*resultobj
= 0;
34248 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34251 PyObject
*swig_obj
[1] ;
34253 if (!args
) SWIG_fail
;
34254 swig_obj
[0] = args
;
34255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34256 if (!SWIG_IsOK(res1
)) {
34257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34259 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34266 resultobj
= SWIG_Py_Void();
34273 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34274 PyObject
*resultobj
= 0;
34275 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34285 PyObject
* obj0
= 0 ;
34286 PyObject
* obj1
= 0 ;
34287 PyObject
* obj2
= 0 ;
34288 char * kwnames
[] = {
34289 (char *) "self",(char *) "x",(char *) "y", NULL
34292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34297 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34299 if (!SWIG_IsOK(ecode2
)) {
34300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34302 arg2
= static_cast< int >(val2
);
34303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34304 if (!SWIG_IsOK(ecode3
)) {
34305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34307 arg3
= static_cast< int >(val3
);
34309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34310 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34311 wxPyEndAllowThreads(__tstate
);
34312 if (PyErr_Occurred()) SWIG_fail
;
34315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34323 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34324 PyObject
*resultobj
= 0;
34325 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34329 PyObject
*swig_obj
[1] ;
34331 if (!args
) SWIG_fail
;
34332 swig_obj
[0] = args
;
34333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34334 if (!SWIG_IsOK(res1
)) {
34335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34337 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34340 result
= (bool)(arg1
)->GetData();
34341 wxPyEndAllowThreads(__tstate
);
34342 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34353 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34354 PyObject
*resultobj
= 0;
34355 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34356 wxDragResult arg2
;
34361 PyObject
* obj0
= 0 ;
34362 PyObject
* obj1
= 0 ;
34363 char * kwnames
[] = {
34364 (char *) "self",(char *) "action", NULL
34367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34369 if (!SWIG_IsOK(res1
)) {
34370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34372 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34374 if (!SWIG_IsOK(ecode2
)) {
34375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34377 arg2
= static_cast< wxDragResult
>(val2
);
34379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34380 (arg1
)->SetDefaultAction(arg2
);
34381 wxPyEndAllowThreads(__tstate
);
34382 if (PyErr_Occurred()) SWIG_fail
;
34384 resultobj
= SWIG_Py_Void();
34391 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34392 PyObject
*resultobj
= 0;
34393 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34394 wxDragResult result
;
34397 PyObject
*swig_obj
[1] ;
34399 if (!args
) SWIG_fail
;
34400 swig_obj
[0] = args
;
34401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34402 if (!SWIG_IsOK(res1
)) {
34403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34405 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34408 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34409 wxPyEndAllowThreads(__tstate
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34412 resultobj
= SWIG_From_int(static_cast< int >(result
));
34419 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34422 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34423 return SWIG_Py_Void();
34426 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34427 return SWIG_Python_InitShadowInstance(args
);
34430 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34431 PyObject
*resultobj
= 0;
34432 wxPyTextDropTarget
*result
= 0 ;
34434 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34437 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34448 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34449 PyObject
*resultobj
= 0;
34450 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34451 PyObject
*arg2
= (PyObject
*) 0 ;
34452 PyObject
*arg3
= (PyObject
*) 0 ;
34455 PyObject
* obj0
= 0 ;
34456 PyObject
* obj1
= 0 ;
34457 PyObject
* obj2
= 0 ;
34458 char * kwnames
[] = {
34459 (char *) "self",(char *) "self",(char *) "_class", NULL
34462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34464 if (!SWIG_IsOK(res1
)) {
34465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34467 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34472 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34473 wxPyEndAllowThreads(__tstate
);
34474 if (PyErr_Occurred()) SWIG_fail
;
34476 resultobj
= SWIG_Py_Void();
34483 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34484 PyObject
*resultobj
= 0;
34485 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34488 wxString
*arg4
= 0 ;
34496 bool temp4
= false ;
34497 PyObject
* obj0
= 0 ;
34498 PyObject
* obj1
= 0 ;
34499 PyObject
* obj2
= 0 ;
34500 PyObject
* obj3
= 0 ;
34501 char * kwnames
[] = {
34502 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34507 if (!SWIG_IsOK(res1
)) {
34508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34510 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34512 if (!SWIG_IsOK(ecode2
)) {
34513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34515 arg2
= static_cast< int >(val2
);
34516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34517 if (!SWIG_IsOK(ecode3
)) {
34518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34520 arg3
= static_cast< int >(val3
);
34522 arg4
= wxString_in_helper(obj3
);
34523 if (arg4
== NULL
) SWIG_fail
;
34527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34528 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34529 wxPyEndAllowThreads(__tstate
);
34530 if (PyErr_Occurred()) SWIG_fail
;
34533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34549 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34550 PyObject
*resultobj
= 0;
34551 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34554 wxDragResult arg4
;
34555 wxDragResult result
;
34564 PyObject
* obj0
= 0 ;
34565 PyObject
* obj1
= 0 ;
34566 PyObject
* obj2
= 0 ;
34567 PyObject
* obj3
= 0 ;
34568 char * kwnames
[] = {
34569 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34574 if (!SWIG_IsOK(res1
)) {
34575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34577 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34579 if (!SWIG_IsOK(ecode2
)) {
34580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34582 arg2
= static_cast< int >(val2
);
34583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34584 if (!SWIG_IsOK(ecode3
)) {
34585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34587 arg3
= static_cast< int >(val3
);
34588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34589 if (!SWIG_IsOK(ecode4
)) {
34590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34592 arg4
= static_cast< wxDragResult
>(val4
);
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34595 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34599 resultobj
= SWIG_From_int(static_cast< int >(result
));
34606 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34607 PyObject
*resultobj
= 0;
34608 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34611 wxDragResult arg4
;
34612 wxDragResult result
;
34621 PyObject
* obj0
= 0 ;
34622 PyObject
* obj1
= 0 ;
34623 PyObject
* obj2
= 0 ;
34624 PyObject
* obj3
= 0 ;
34625 char * kwnames
[] = {
34626 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34631 if (!SWIG_IsOK(res1
)) {
34632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34634 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34636 if (!SWIG_IsOK(ecode2
)) {
34637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34639 arg2
= static_cast< int >(val2
);
34640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34641 if (!SWIG_IsOK(ecode3
)) {
34642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34644 arg3
= static_cast< int >(val3
);
34645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34646 if (!SWIG_IsOK(ecode4
)) {
34647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34649 arg4
= static_cast< wxDragResult
>(val4
);
34651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34653 wxPyEndAllowThreads(__tstate
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34656 resultobj
= SWIG_From_int(static_cast< int >(result
));
34663 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34664 PyObject
*resultobj
= 0;
34665 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34668 PyObject
*swig_obj
[1] ;
34670 if (!args
) SWIG_fail
;
34671 swig_obj
[0] = args
;
34672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34673 if (!SWIG_IsOK(res1
)) {
34674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34676 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 wxPyEndAllowThreads(__tstate
);
34681 if (PyErr_Occurred()) SWIG_fail
;
34683 resultobj
= SWIG_Py_Void();
34690 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34691 PyObject
*resultobj
= 0;
34692 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34702 PyObject
* obj0
= 0 ;
34703 PyObject
* obj1
= 0 ;
34704 PyObject
* obj2
= 0 ;
34705 char * kwnames
[] = {
34706 (char *) "self",(char *) "x",(char *) "y", NULL
34709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34711 if (!SWIG_IsOK(res1
)) {
34712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34714 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34716 if (!SWIG_IsOK(ecode2
)) {
34717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34719 arg2
= static_cast< int >(val2
);
34720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34721 if (!SWIG_IsOK(ecode3
)) {
34722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34724 arg3
= static_cast< int >(val3
);
34726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34727 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34728 wxPyEndAllowThreads(__tstate
);
34729 if (PyErr_Occurred()) SWIG_fail
;
34732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34740 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34741 PyObject
*resultobj
= 0;
34742 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34745 wxDragResult arg4
;
34746 wxDragResult result
;
34755 PyObject
* obj0
= 0 ;
34756 PyObject
* obj1
= 0 ;
34757 PyObject
* obj2
= 0 ;
34758 PyObject
* obj3
= 0 ;
34759 char * kwnames
[] = {
34760 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34765 if (!SWIG_IsOK(res1
)) {
34766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34768 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34770 if (!SWIG_IsOK(ecode2
)) {
34771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34773 arg2
= static_cast< int >(val2
);
34774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34775 if (!SWIG_IsOK(ecode3
)) {
34776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34778 arg3
= static_cast< int >(val3
);
34779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34780 if (!SWIG_IsOK(ecode4
)) {
34781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34783 arg4
= static_cast< wxDragResult
>(val4
);
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34786 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34787 wxPyEndAllowThreads(__tstate
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34790 resultobj
= SWIG_From_int(static_cast< int >(result
));
34797 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34800 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34801 return SWIG_Py_Void();
34804 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34805 return SWIG_Python_InitShadowInstance(args
);
34808 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34809 PyObject
*resultobj
= 0;
34810 wxPyFileDropTarget
*result
= 0 ;
34812 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34815 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34816 wxPyEndAllowThreads(__tstate
);
34817 if (PyErr_Occurred()) SWIG_fail
;
34819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34826 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34827 PyObject
*resultobj
= 0;
34828 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34829 PyObject
*arg2
= (PyObject
*) 0 ;
34830 PyObject
*arg3
= (PyObject
*) 0 ;
34833 PyObject
* obj0
= 0 ;
34834 PyObject
* obj1
= 0 ;
34835 PyObject
* obj2
= 0 ;
34836 char * kwnames
[] = {
34837 (char *) "self",(char *) "self",(char *) "_class", NULL
34840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34842 if (!SWIG_IsOK(res1
)) {
34843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34845 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34851 wxPyEndAllowThreads(__tstate
);
34852 if (PyErr_Occurred()) SWIG_fail
;
34854 resultobj
= SWIG_Py_Void();
34861 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34862 PyObject
*resultobj
= 0;
34863 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34866 wxArrayString
*arg4
= 0 ;
34874 bool temp4
= false ;
34875 PyObject
* obj0
= 0 ;
34876 PyObject
* obj1
= 0 ;
34877 PyObject
* obj2
= 0 ;
34878 PyObject
* obj3
= 0 ;
34879 char * kwnames
[] = {
34880 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
34883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34885 if (!SWIG_IsOK(res1
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34888 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34890 if (!SWIG_IsOK(ecode2
)) {
34891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
34893 arg2
= static_cast< int >(val2
);
34894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34895 if (!SWIG_IsOK(ecode3
)) {
34896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
34898 arg3
= static_cast< int >(val3
);
34900 if (! PySequence_Check(obj3
)) {
34901 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34904 arg4
= new wxArrayString
;
34906 int i
, len
=PySequence_Length(obj3
);
34907 for (i
=0; i
<len
; i
++) {
34908 PyObject
* item
= PySequence_GetItem(obj3
, i
);
34909 wxString
* s
= wxString_in_helper(item
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34918 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
34919 wxPyEndAllowThreads(__tstate
);
34920 if (PyErr_Occurred()) SWIG_fail
;
34923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34926 if (temp4
) delete arg4
;
34931 if (temp4
) delete arg4
;
34937 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34938 PyObject
*resultobj
= 0;
34939 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34942 wxDragResult arg4
;
34943 wxDragResult result
;
34952 PyObject
* obj0
= 0 ;
34953 PyObject
* obj1
= 0 ;
34954 PyObject
* obj2
= 0 ;
34955 PyObject
* obj3
= 0 ;
34956 char * kwnames
[] = {
34957 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34962 if (!SWIG_IsOK(res1
)) {
34963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34965 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34967 if (!SWIG_IsOK(ecode2
)) {
34968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34970 arg2
= static_cast< int >(val2
);
34971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34972 if (!SWIG_IsOK(ecode3
)) {
34973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34975 arg3
= static_cast< int >(val3
);
34976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34977 if (!SWIG_IsOK(ecode4
)) {
34978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34980 arg4
= static_cast< wxDragResult
>(val4
);
34982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34983 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34984 wxPyEndAllowThreads(__tstate
);
34985 if (PyErr_Occurred()) SWIG_fail
;
34987 resultobj
= SWIG_From_int(static_cast< int >(result
));
34994 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34995 PyObject
*resultobj
= 0;
34996 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34999 wxDragResult arg4
;
35000 wxDragResult result
;
35009 PyObject
* obj0
= 0 ;
35010 PyObject
* obj1
= 0 ;
35011 PyObject
* obj2
= 0 ;
35012 PyObject
* obj3
= 0 ;
35013 char * kwnames
[] = {
35014 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35019 if (!SWIG_IsOK(res1
)) {
35020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35022 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35024 if (!SWIG_IsOK(ecode2
)) {
35025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
35027 arg2
= static_cast< int >(val2
);
35028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35029 if (!SWIG_IsOK(ecode3
)) {
35030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
35032 arg3
= static_cast< int >(val3
);
35033 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35034 if (!SWIG_IsOK(ecode4
)) {
35035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
35037 arg4
= static_cast< wxDragResult
>(val4
);
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35041 wxPyEndAllowThreads(__tstate
);
35042 if (PyErr_Occurred()) SWIG_fail
;
35044 resultobj
= SWIG_From_int(static_cast< int >(result
));
35051 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35052 PyObject
*resultobj
= 0;
35053 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35056 PyObject
*swig_obj
[1] ;
35058 if (!args
) SWIG_fail
;
35059 swig_obj
[0] = args
;
35060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35061 if (!SWIG_IsOK(res1
)) {
35062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35064 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35071 resultobj
= SWIG_Py_Void();
35078 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35079 PyObject
*resultobj
= 0;
35080 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35090 PyObject
* obj0
= 0 ;
35091 PyObject
* obj1
= 0 ;
35092 PyObject
* obj2
= 0 ;
35093 char * kwnames
[] = {
35094 (char *) "self",(char *) "x",(char *) "y", NULL
35097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35099 if (!SWIG_IsOK(res1
)) {
35100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35102 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35104 if (!SWIG_IsOK(ecode2
)) {
35105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35107 arg2
= static_cast< int >(val2
);
35108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35109 if (!SWIG_IsOK(ecode3
)) {
35110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35112 arg3
= static_cast< int >(val3
);
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35115 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35116 wxPyEndAllowThreads(__tstate
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35128 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35129 PyObject
*resultobj
= 0;
35130 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35133 wxDragResult arg4
;
35134 wxDragResult result
;
35143 PyObject
* obj0
= 0 ;
35144 PyObject
* obj1
= 0 ;
35145 PyObject
* obj2
= 0 ;
35146 PyObject
* obj3
= 0 ;
35147 char * kwnames
[] = {
35148 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35153 if (!SWIG_IsOK(res1
)) {
35154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35156 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35158 if (!SWIG_IsOK(ecode2
)) {
35159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35161 arg2
= static_cast< int >(val2
);
35162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35163 if (!SWIG_IsOK(ecode3
)) {
35164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35166 arg3
= static_cast< int >(val3
);
35167 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35168 if (!SWIG_IsOK(ecode4
)) {
35169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35171 arg4
= static_cast< wxDragResult
>(val4
);
35173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35174 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35175 wxPyEndAllowThreads(__tstate
);
35176 if (PyErr_Occurred()) SWIG_fail
;
35178 resultobj
= SWIG_From_int(static_cast< int >(result
));
35185 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35188 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35189 return SWIG_Py_Void();
35192 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35193 return SWIG_Python_InitShadowInstance(args
);
35196 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35197 PyObject
*resultobj
= 0;
35198 wxClipboard
*result
= 0 ;
35200 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35203 result
= (wxClipboard
*)new wxClipboard();
35204 wxPyEndAllowThreads(__tstate
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35214 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35215 PyObject
*resultobj
= 0;
35216 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35219 PyObject
*swig_obj
[1] ;
35221 if (!args
) SWIG_fail
;
35222 swig_obj
[0] = args
;
35223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35224 if (!SWIG_IsOK(res1
)) {
35225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35227 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35232 wxPyEndAllowThreads(__tstate
);
35233 if (PyErr_Occurred()) SWIG_fail
;
35235 resultobj
= SWIG_Py_Void();
35242 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35243 PyObject
*resultobj
= 0;
35244 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35248 PyObject
*swig_obj
[1] ;
35250 if (!args
) SWIG_fail
;
35251 swig_obj
[0] = args
;
35252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35253 if (!SWIG_IsOK(res1
)) {
35254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35256 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35259 result
= (bool)(arg1
)->Open();
35260 wxPyEndAllowThreads(__tstate
);
35261 if (PyErr_Occurred()) SWIG_fail
;
35264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35272 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35273 PyObject
*resultobj
= 0;
35274 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35277 PyObject
*swig_obj
[1] ;
35279 if (!args
) SWIG_fail
;
35280 swig_obj
[0] = args
;
35281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35282 if (!SWIG_IsOK(res1
)) {
35283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35285 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35289 wxPyEndAllowThreads(__tstate
);
35290 if (PyErr_Occurred()) SWIG_fail
;
35292 resultobj
= SWIG_Py_Void();
35299 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35300 PyObject
*resultobj
= 0;
35301 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35305 PyObject
*swig_obj
[1] ;
35307 if (!args
) SWIG_fail
;
35308 swig_obj
[0] = args
;
35309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35310 if (!SWIG_IsOK(res1
)) {
35311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35313 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35317 wxPyEndAllowThreads(__tstate
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35329 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35330 PyObject
*resultobj
= 0;
35331 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35332 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35337 PyObject
* obj0
= 0 ;
35338 PyObject
* obj1
= 0 ;
35339 char * kwnames
[] = {
35340 (char *) "self",(char *) "data", NULL
35343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35345 if (!SWIG_IsOK(res1
)) {
35346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35348 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35349 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35350 if (!SWIG_IsOK(res2
)) {
35351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35355 result
= (bool)(arg1
)->AddData(arg2
);
35356 wxPyEndAllowThreads(__tstate
);
35357 if (PyErr_Occurred()) SWIG_fail
;
35360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35368 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35369 PyObject
*resultobj
= 0;
35370 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35371 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35376 PyObject
* obj0
= 0 ;
35377 PyObject
* obj1
= 0 ;
35378 char * kwnames
[] = {
35379 (char *) "self",(char *) "data", NULL
35382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35384 if (!SWIG_IsOK(res1
)) {
35385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35387 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35388 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35389 if (!SWIG_IsOK(res2
)) {
35390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35394 result
= (bool)(arg1
)->SetData(arg2
);
35395 wxPyEndAllowThreads(__tstate
);
35396 if (PyErr_Occurred()) SWIG_fail
;
35399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35407 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35408 PyObject
*resultobj
= 0;
35409 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35410 wxDataFormat
*arg2
= 0 ;
35416 PyObject
* obj0
= 0 ;
35417 PyObject
* obj1
= 0 ;
35418 char * kwnames
[] = {
35419 (char *) "self",(char *) "format", NULL
35422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35424 if (!SWIG_IsOK(res1
)) {
35425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35427 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35428 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35429 if (!SWIG_IsOK(res2
)) {
35430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35435 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35438 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35439 wxPyEndAllowThreads(__tstate
);
35440 if (PyErr_Occurred()) SWIG_fail
;
35443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35451 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35452 PyObject
*resultobj
= 0;
35453 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35454 wxDataObject
*arg2
= 0 ;
35460 PyObject
* obj0
= 0 ;
35461 PyObject
* obj1
= 0 ;
35462 char * kwnames
[] = {
35463 (char *) "self",(char *) "data", NULL
35466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35468 if (!SWIG_IsOK(res1
)) {
35469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35471 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35473 if (!SWIG_IsOK(res2
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35479 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35482 result
= (bool)(arg1
)->GetData(*arg2
);
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35495 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35496 PyObject
*resultobj
= 0;
35497 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35500 PyObject
*swig_obj
[1] ;
35502 if (!args
) SWIG_fail
;
35503 swig_obj
[0] = args
;
35504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35505 if (!SWIG_IsOK(res1
)) {
35506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35508 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35512 wxPyEndAllowThreads(__tstate
);
35513 if (PyErr_Occurred()) SWIG_fail
;
35515 resultobj
= SWIG_Py_Void();
35522 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35523 PyObject
*resultobj
= 0;
35524 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35528 PyObject
*swig_obj
[1] ;
35530 if (!args
) SWIG_fail
;
35531 swig_obj
[0] = args
;
35532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35533 if (!SWIG_IsOK(res1
)) {
35534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35536 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35539 result
= (bool)(arg1
)->Flush();
35540 wxPyEndAllowThreads(__tstate
);
35541 if (PyErr_Occurred()) SWIG_fail
;
35544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35552 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35553 PyObject
*resultobj
= 0;
35554 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35555 bool arg2
= (bool) true ;
35560 PyObject
* obj0
= 0 ;
35561 PyObject
* obj1
= 0 ;
35562 char * kwnames
[] = {
35563 (char *) "self",(char *) "primary", NULL
35566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35568 if (!SWIG_IsOK(res1
)) {
35569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35571 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35573 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35574 if (!SWIG_IsOK(ecode2
)) {
35575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35577 arg2
= static_cast< bool >(val2
);
35580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35581 (arg1
)->UsePrimarySelection(arg2
);
35582 wxPyEndAllowThreads(__tstate
);
35583 if (PyErr_Occurred()) SWIG_fail
;
35585 resultobj
= SWIG_Py_Void();
35592 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35593 PyObject
*resultobj
= 0;
35594 wxClipboard
*result
= 0 ;
35596 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 result
= (wxClipboard
*)wxClipboard::Get();
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35610 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35613 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35614 return SWIG_Py_Void();
35617 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35618 return SWIG_Python_InitShadowInstance(args
);
35621 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35622 PyObject
*resultobj
= 0;
35623 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35624 wxClipboardLocker
*result
= 0 ;
35627 PyObject
* obj0
= 0 ;
35628 char * kwnames
[] = {
35629 (char *) "clipboard", NULL
35632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35635 if (!SWIG_IsOK(res1
)) {
35636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35638 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35642 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35643 wxPyEndAllowThreads(__tstate
);
35644 if (PyErr_Occurred()) SWIG_fail
;
35646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35653 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35654 PyObject
*resultobj
= 0;
35655 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35658 PyObject
*swig_obj
[1] ;
35660 if (!args
) SWIG_fail
;
35661 swig_obj
[0] = args
;
35662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35663 if (!SWIG_IsOK(res1
)) {
35664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35666 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35671 wxPyEndAllowThreads(__tstate
);
35672 if (PyErr_Occurred()) SWIG_fail
;
35674 resultobj
= SWIG_Py_Void();
35681 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35682 PyObject
*resultobj
= 0;
35683 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35687 PyObject
*swig_obj
[1] ;
35689 if (!args
) SWIG_fail
;
35690 swig_obj
[0] = args
;
35691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35692 if (!SWIG_IsOK(res1
)) {
35693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35695 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35698 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35711 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35714 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35715 return SWIG_Py_Void();
35718 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35719 return SWIG_Python_InitShadowInstance(args
);
35722 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35723 PyObject
*resultobj
= 0;
35724 int arg1
= (int) 0 ;
35725 int arg2
= (int) 0 ;
35726 int arg3
= (int) 0 ;
35727 int arg4
= (int) 0 ;
35728 wxVideoMode
*result
= 0 ;
35737 PyObject
* obj0
= 0 ;
35738 PyObject
* obj1
= 0 ;
35739 PyObject
* obj2
= 0 ;
35740 PyObject
* obj3
= 0 ;
35741 char * kwnames
[] = {
35742 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35748 if (!SWIG_IsOK(ecode1
)) {
35749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35751 arg1
= static_cast< int >(val1
);
35754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35755 if (!SWIG_IsOK(ecode2
)) {
35756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35758 arg2
= static_cast< int >(val2
);
35761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35762 if (!SWIG_IsOK(ecode3
)) {
35763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35765 arg3
= static_cast< int >(val3
);
35768 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35769 if (!SWIG_IsOK(ecode4
)) {
35770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35772 arg4
= static_cast< int >(val4
);
35775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35776 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35777 wxPyEndAllowThreads(__tstate
);
35778 if (PyErr_Occurred()) SWIG_fail
;
35780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35787 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35788 PyObject
*resultobj
= 0;
35789 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35792 PyObject
*swig_obj
[1] ;
35794 if (!args
) SWIG_fail
;
35795 swig_obj
[0] = args
;
35796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35797 if (!SWIG_IsOK(res1
)) {
35798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35800 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35808 resultobj
= SWIG_Py_Void();
35815 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35816 PyObject
*resultobj
= 0;
35817 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35818 wxVideoMode
*arg2
= 0 ;
35824 PyObject
* obj0
= 0 ;
35825 PyObject
* obj1
= 0 ;
35826 char * kwnames
[] = {
35827 (char *) "self",(char *) "other", NULL
35830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35832 if (!SWIG_IsOK(res1
)) {
35833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35835 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35837 if (!SWIG_IsOK(res2
)) {
35838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35843 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35846 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35847 wxPyEndAllowThreads(__tstate
);
35848 if (PyErr_Occurred()) SWIG_fail
;
35851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35859 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35860 PyObject
*resultobj
= 0;
35861 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35865 PyObject
*swig_obj
[1] ;
35867 if (!args
) SWIG_fail
;
35868 swig_obj
[0] = args
;
35869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35870 if (!SWIG_IsOK(res1
)) {
35871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35873 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35876 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35880 resultobj
= SWIG_From_int(static_cast< int >(result
));
35887 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35888 PyObject
*resultobj
= 0;
35889 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35893 PyObject
*swig_obj
[1] ;
35895 if (!args
) SWIG_fail
;
35896 swig_obj
[0] = args
;
35897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35898 if (!SWIG_IsOK(res1
)) {
35899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35901 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35904 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
35905 wxPyEndAllowThreads(__tstate
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35908 resultobj
= SWIG_From_int(static_cast< int >(result
));
35915 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35916 PyObject
*resultobj
= 0;
35917 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35921 PyObject
*swig_obj
[1] ;
35923 if (!args
) SWIG_fail
;
35924 swig_obj
[0] = args
;
35925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35926 if (!SWIG_IsOK(res1
)) {
35927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35929 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
35933 wxPyEndAllowThreads(__tstate
);
35934 if (PyErr_Occurred()) SWIG_fail
;
35936 resultobj
= SWIG_From_int(static_cast< int >(result
));
35943 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35944 PyObject
*resultobj
= 0;
35945 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35949 PyObject
*swig_obj
[1] ;
35951 if (!args
) SWIG_fail
;
35952 swig_obj
[0] = args
;
35953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35954 if (!SWIG_IsOK(res1
)) {
35955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35957 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
35961 wxPyEndAllowThreads(__tstate
);
35962 if (PyErr_Occurred()) SWIG_fail
;
35965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35973 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35974 PyObject
*resultobj
= 0;
35975 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35976 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35982 PyObject
* obj0
= 0 ;
35983 PyObject
* obj1
= 0 ;
35984 char * kwnames
[] = {
35985 (char *) "self",(char *) "other", NULL
35988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35990 if (!SWIG_IsOK(res1
)) {
35991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35993 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35995 if (!SWIG_IsOK(res2
)) {
35996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35998 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36001 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
36002 wxPyEndAllowThreads(__tstate
);
36003 if (PyErr_Occurred()) SWIG_fail
;
36006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36014 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36015 PyObject
*resultobj
= 0;
36016 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36017 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36023 PyObject
* obj0
= 0 ;
36024 PyObject
* obj1
= 0 ;
36025 char * kwnames
[] = {
36026 (char *) "self",(char *) "other", NULL
36029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36031 if (!SWIG_IsOK(res1
)) {
36032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36034 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36036 if (!SWIG_IsOK(res2
)) {
36037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36039 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36042 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36043 wxPyEndAllowThreads(__tstate
);
36044 if (PyErr_Occurred()) SWIG_fail
;
36047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36055 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36056 PyObject
*resultobj
= 0;
36057 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36063 PyObject
*swig_obj
[2] ;
36065 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36067 if (!SWIG_IsOK(res1
)) {
36068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36070 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36071 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36072 if (!SWIG_IsOK(ecode2
)) {
36073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36075 arg2
= static_cast< int >(val2
);
36076 if (arg1
) (arg1
)->w
= arg2
;
36078 resultobj
= SWIG_Py_Void();
36085 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36086 PyObject
*resultobj
= 0;
36087 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36091 PyObject
*swig_obj
[1] ;
36093 if (!args
) SWIG_fail
;
36094 swig_obj
[0] = args
;
36095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36096 if (!SWIG_IsOK(res1
)) {
36097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36099 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36100 result
= (int) ((arg1
)->w
);
36101 resultobj
= SWIG_From_int(static_cast< int >(result
));
36108 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36109 PyObject
*resultobj
= 0;
36110 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36116 PyObject
*swig_obj
[2] ;
36118 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36120 if (!SWIG_IsOK(res1
)) {
36121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36123 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36124 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36125 if (!SWIG_IsOK(ecode2
)) {
36126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36128 arg2
= static_cast< int >(val2
);
36129 if (arg1
) (arg1
)->h
= arg2
;
36131 resultobj
= SWIG_Py_Void();
36138 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36139 PyObject
*resultobj
= 0;
36140 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36144 PyObject
*swig_obj
[1] ;
36146 if (!args
) SWIG_fail
;
36147 swig_obj
[0] = args
;
36148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36149 if (!SWIG_IsOK(res1
)) {
36150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36152 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36153 result
= (int) ((arg1
)->h
);
36154 resultobj
= SWIG_From_int(static_cast< int >(result
));
36161 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36162 PyObject
*resultobj
= 0;
36163 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36169 PyObject
*swig_obj
[2] ;
36171 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36173 if (!SWIG_IsOK(res1
)) {
36174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36176 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36177 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36178 if (!SWIG_IsOK(ecode2
)) {
36179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36181 arg2
= static_cast< int >(val2
);
36182 if (arg1
) (arg1
)->bpp
= arg2
;
36184 resultobj
= SWIG_Py_Void();
36191 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36192 PyObject
*resultobj
= 0;
36193 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36197 PyObject
*swig_obj
[1] ;
36199 if (!args
) SWIG_fail
;
36200 swig_obj
[0] = args
;
36201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36202 if (!SWIG_IsOK(res1
)) {
36203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36205 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36206 result
= (int) ((arg1
)->bpp
);
36207 resultobj
= SWIG_From_int(static_cast< int >(result
));
36214 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36215 PyObject
*resultobj
= 0;
36216 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36222 PyObject
*swig_obj
[2] ;
36224 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36226 if (!SWIG_IsOK(res1
)) {
36227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36229 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36230 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36231 if (!SWIG_IsOK(ecode2
)) {
36232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36234 arg2
= static_cast< int >(val2
);
36235 if (arg1
) (arg1
)->refresh
= arg2
;
36237 resultobj
= SWIG_Py_Void();
36244 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36245 PyObject
*resultobj
= 0;
36246 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36250 PyObject
*swig_obj
[1] ;
36252 if (!args
) SWIG_fail
;
36253 swig_obj
[0] = args
;
36254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36255 if (!SWIG_IsOK(res1
)) {
36256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36258 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36259 result
= (int) ((arg1
)->refresh
);
36260 resultobj
= SWIG_From_int(static_cast< int >(result
));
36267 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36270 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36271 return SWIG_Py_Void();
36274 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36275 return SWIG_Python_InitShadowInstance(args
);
36278 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36279 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36284 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36285 PyObject
*pyobj
= 0;
36287 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36292 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36293 PyObject
*resultobj
= 0;
36294 size_t arg1
= (size_t) 0 ;
36295 wxDisplay
*result
= 0 ;
36298 PyObject
* obj0
= 0 ;
36299 char * kwnames
[] = {
36300 (char *) "index", NULL
36303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36305 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
36306 if (!SWIG_IsOK(ecode1
)) {
36307 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
36309 arg1
= static_cast< size_t >(val1
);
36312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36313 result
= (wxDisplay
*)new wxDisplay(arg1
);
36314 wxPyEndAllowThreads(__tstate
);
36315 if (PyErr_Occurred()) SWIG_fail
;
36317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36324 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36325 PyObject
*resultobj
= 0;
36326 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36329 PyObject
*swig_obj
[1] ;
36331 if (!args
) SWIG_fail
;
36332 swig_obj
[0] = args
;
36333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36334 if (!SWIG_IsOK(res1
)) {
36335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36337 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36342 wxPyEndAllowThreads(__tstate
);
36343 if (PyErr_Occurred()) SWIG_fail
;
36345 resultobj
= SWIG_Py_Void();
36352 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36353 PyObject
*resultobj
= 0;
36356 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36359 result
= (size_t)wxDisplay::GetCount();
36360 wxPyEndAllowThreads(__tstate
);
36361 if (PyErr_Occurred()) SWIG_fail
;
36363 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
36370 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36371 PyObject
*resultobj
= 0;
36372 wxPoint
*arg1
= 0 ;
36375 PyObject
* obj0
= 0 ;
36376 char * kwnames
[] = {
36377 (char *) "pt", NULL
36380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36383 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36387 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36388 wxPyEndAllowThreads(__tstate
);
36389 if (PyErr_Occurred()) SWIG_fail
;
36391 resultobj
= SWIG_From_int(static_cast< int >(result
));
36398 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36399 PyObject
*resultobj
= 0;
36400 wxWindow
*arg1
= (wxWindow
*) 0 ;
36404 PyObject
* obj0
= 0 ;
36405 char * kwnames
[] = {
36406 (char *) "window", NULL
36409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36411 if (!SWIG_IsOK(res1
)) {
36412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36414 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 result
= (int)wxDisplay::GetFromWindow(arg1
);
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 resultobj
= SWIG_From_int(static_cast< int >(result
));
36428 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36429 PyObject
*resultobj
= 0;
36430 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36434 PyObject
*swig_obj
[1] ;
36436 if (!args
) SWIG_fail
;
36437 swig_obj
[0] = args
;
36438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36439 if (!SWIG_IsOK(res1
)) {
36440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36442 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36445 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36446 wxPyEndAllowThreads(__tstate
);
36447 if (PyErr_Occurred()) SWIG_fail
;
36450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36458 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36459 PyObject
*resultobj
= 0;
36460 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36464 PyObject
*swig_obj
[1] ;
36466 if (!args
) SWIG_fail
;
36467 swig_obj
[0] = args
;
36468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36469 if (!SWIG_IsOK(res1
)) {
36470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36472 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36475 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36476 wxPyEndAllowThreads(__tstate
);
36477 if (PyErr_Occurred()) SWIG_fail
;
36479 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36486 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36487 PyObject
*resultobj
= 0;
36488 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36492 PyObject
*swig_obj
[1] ;
36494 if (!args
) SWIG_fail
;
36495 swig_obj
[0] = args
;
36496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36497 if (!SWIG_IsOK(res1
)) {
36498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36500 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36503 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36504 wxPyEndAllowThreads(__tstate
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36507 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36514 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36515 PyObject
*resultobj
= 0;
36516 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36520 PyObject
*swig_obj
[1] ;
36522 if (!args
) SWIG_fail
;
36523 swig_obj
[0] = args
;
36524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36525 if (!SWIG_IsOK(res1
)) {
36526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36528 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36531 result
= ((wxDisplay
const *)arg1
)->GetName();
36532 wxPyEndAllowThreads(__tstate
);
36533 if (PyErr_Occurred()) SWIG_fail
;
36537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36548 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36549 PyObject
*resultobj
= 0;
36550 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36554 PyObject
*swig_obj
[1] ;
36556 if (!args
) SWIG_fail
;
36557 swig_obj
[0] = args
;
36558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36559 if (!SWIG_IsOK(res1
)) {
36560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36562 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36565 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36566 wxPyEndAllowThreads(__tstate
);
36567 if (PyErr_Occurred()) SWIG_fail
;
36570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36578 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36579 PyObject
*resultobj
= 0;
36580 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36581 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36582 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36583 PyObject
*result
= 0 ;
36588 PyObject
* obj0
= 0 ;
36589 PyObject
* obj1
= 0 ;
36590 char * kwnames
[] = {
36591 (char *) "self",(char *) "mode", NULL
36594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36596 if (!SWIG_IsOK(res1
)) {
36597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36599 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36602 if (!SWIG_IsOK(res2
)) {
36603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36608 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36612 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36613 wxPyEndAllowThreads(__tstate
);
36614 if (PyErr_Occurred()) SWIG_fail
;
36616 resultobj
= result
;
36623 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36624 PyObject
*resultobj
= 0;
36625 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36626 wxVideoMode result
;
36629 PyObject
*swig_obj
[1] ;
36631 if (!args
) SWIG_fail
;
36632 swig_obj
[0] = args
;
36633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36634 if (!SWIG_IsOK(res1
)) {
36635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36637 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36640 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36641 wxPyEndAllowThreads(__tstate
);
36642 if (PyErr_Occurred()) SWIG_fail
;
36644 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36651 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36652 PyObject
*resultobj
= 0;
36653 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36654 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36655 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36661 PyObject
* obj0
= 0 ;
36662 PyObject
* obj1
= 0 ;
36663 char * kwnames
[] = {
36664 (char *) "self",(char *) "mode", NULL
36667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36669 if (!SWIG_IsOK(res1
)) {
36670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36672 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36675 if (!SWIG_IsOK(res2
)) {
36676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36681 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36685 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36686 wxPyEndAllowThreads(__tstate
);
36687 if (PyErr_Occurred()) SWIG_fail
;
36690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36698 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36699 PyObject
*resultobj
= 0;
36700 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36703 PyObject
*swig_obj
[1] ;
36705 if (!args
) SWIG_fail
;
36706 swig_obj
[0] = args
;
36707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36708 if (!SWIG_IsOK(res1
)) {
36709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36711 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36714 wxDisplay_ResetMode(arg1
);
36715 wxPyEndAllowThreads(__tstate
);
36716 if (PyErr_Occurred()) SWIG_fail
;
36718 resultobj
= SWIG_Py_Void();
36725 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36728 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36729 return SWIG_Py_Void();
36732 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36733 return SWIG_Python_InitShadowInstance(args
);
36736 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36737 PyObject
*resultobj
= 0;
36738 wxStandardPaths
*result
= 0 ;
36740 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36743 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36744 wxPyEndAllowThreads(__tstate
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36754 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36755 PyObject
*resultobj
= 0;
36756 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36760 PyObject
*swig_obj
[1] ;
36762 if (!args
) SWIG_fail
;
36763 swig_obj
[0] = args
;
36764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36765 if (!SWIG_IsOK(res1
)) {
36766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36768 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36771 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36772 wxPyEndAllowThreads(__tstate
);
36773 if (PyErr_Occurred()) SWIG_fail
;
36777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36788 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36789 PyObject
*resultobj
= 0;
36790 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36794 PyObject
*swig_obj
[1] ;
36796 if (!args
) SWIG_fail
;
36797 swig_obj
[0] = args
;
36798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36799 if (!SWIG_IsOK(res1
)) {
36800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36802 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36805 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36822 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36823 PyObject
*resultobj
= 0;
36824 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36828 PyObject
*swig_obj
[1] ;
36830 if (!args
) SWIG_fail
;
36831 swig_obj
[0] = args
;
36832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36833 if (!SWIG_IsOK(res1
)) {
36834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36836 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36839 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
36840 wxPyEndAllowThreads(__tstate
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36856 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36857 PyObject
*resultobj
= 0;
36858 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36862 PyObject
*swig_obj
[1] ;
36864 if (!args
) SWIG_fail
;
36865 swig_obj
[0] = args
;
36866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36867 if (!SWIG_IsOK(res1
)) {
36868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36870 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
36874 wxPyEndAllowThreads(__tstate
);
36875 if (PyErr_Occurred()) SWIG_fail
;
36879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36890 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36891 PyObject
*resultobj
= 0;
36892 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36896 PyObject
*swig_obj
[1] ;
36898 if (!args
) SWIG_fail
;
36899 swig_obj
[0] = args
;
36900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36901 if (!SWIG_IsOK(res1
)) {
36902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36904 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36907 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
36908 wxPyEndAllowThreads(__tstate
);
36909 if (PyErr_Occurred()) SWIG_fail
;
36913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36924 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36925 PyObject
*resultobj
= 0;
36926 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36930 PyObject
*swig_obj
[1] ;
36932 if (!args
) SWIG_fail
;
36933 swig_obj
[0] = args
;
36934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36935 if (!SWIG_IsOK(res1
)) {
36936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36938 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36941 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
36942 wxPyEndAllowThreads(__tstate
);
36943 if (PyErr_Occurred()) SWIG_fail
;
36947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36958 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36959 PyObject
*resultobj
= 0;
36960 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36964 PyObject
*swig_obj
[1] ;
36966 if (!args
) SWIG_fail
;
36967 swig_obj
[0] = args
;
36968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36969 if (!SWIG_IsOK(res1
)) {
36970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36972 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36975 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
36976 wxPyEndAllowThreads(__tstate
);
36977 if (PyErr_Occurred()) SWIG_fail
;
36981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36992 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36993 PyObject
*resultobj
= 0;
36994 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36998 PyObject
*swig_obj
[1] ;
37000 if (!args
) SWIG_fail
;
37001 swig_obj
[0] = args
;
37002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37003 if (!SWIG_IsOK(res1
)) {
37004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37006 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37009 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
37010 wxPyEndAllowThreads(__tstate
);
37011 if (PyErr_Occurred()) SWIG_fail
;
37015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37026 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37027 PyObject
*resultobj
= 0;
37028 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37029 wxString
*arg2
= 0 ;
37030 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
37034 bool temp2
= false ;
37037 PyObject
* obj0
= 0 ;
37038 PyObject
* obj1
= 0 ;
37039 PyObject
* obj2
= 0 ;
37040 char * kwnames
[] = {
37041 (char *) "self",(char *) "lang",(char *) "category", NULL
37044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37046 if (!SWIG_IsOK(res1
)) {
37047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37049 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37051 arg2
= wxString_in_helper(obj1
);
37052 if (arg2
== NULL
) SWIG_fail
;
37056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37057 if (!SWIG_IsOK(ecode3
)) {
37058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37060 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37064 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
37065 wxPyEndAllowThreads(__tstate
);
37066 if (PyErr_Occurred()) SWIG_fail
;
37070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37089 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37090 PyObject
*resultobj
= 0;
37091 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37095 PyObject
*swig_obj
[1] ;
37097 if (!args
) SWIG_fail
;
37098 swig_obj
[0] = args
;
37099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37100 if (!SWIG_IsOK(res1
)) {
37101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37103 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37106 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37107 wxPyEndAllowThreads(__tstate
);
37108 if (PyErr_Occurred()) SWIG_fail
;
37112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37123 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37124 PyObject
*resultobj
= 0;
37125 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37126 wxString
*arg2
= 0 ;
37129 bool temp2
= false ;
37130 PyObject
* obj0
= 0 ;
37131 PyObject
* obj1
= 0 ;
37132 char * kwnames
[] = {
37133 (char *) "self",(char *) "prefix", NULL
37136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37138 if (!SWIG_IsOK(res1
)) {
37139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37141 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37143 arg2
= wxString_in_helper(obj1
);
37144 if (arg2
== NULL
) SWIG_fail
;
37148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37149 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
37150 wxPyEndAllowThreads(__tstate
);
37151 if (PyErr_Occurred()) SWIG_fail
;
37153 resultobj
= SWIG_Py_Void();
37168 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37169 PyObject
*resultobj
= 0;
37170 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37174 PyObject
*swig_obj
[1] ;
37176 if (!args
) SWIG_fail
;
37177 swig_obj
[0] = args
;
37178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37179 if (!SWIG_IsOK(res1
)) {
37180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37182 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37185 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
37186 wxPyEndAllowThreads(__tstate
);
37187 if (PyErr_Occurred()) SWIG_fail
;
37191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37202 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37205 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37206 return SWIG_Py_Void();
37209 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37210 PyObject
*resultobj
= 0;
37212 wxPowerEvent
*result
= 0 ;
37215 PyObject
* obj0
= 0 ;
37216 char * kwnames
[] = {
37217 (char *) "evtType", NULL
37220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37221 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37222 if (!SWIG_IsOK(ecode1
)) {
37223 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37225 arg1
= static_cast< wxEventType
>(val1
);
37227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37228 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37229 wxPyEndAllowThreads(__tstate
);
37230 if (PyErr_Occurred()) SWIG_fail
;
37232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37239 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37240 PyObject
*resultobj
= 0;
37241 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37244 PyObject
*swig_obj
[1] ;
37246 if (!args
) SWIG_fail
;
37247 swig_obj
[0] = args
;
37248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37249 if (!SWIG_IsOK(res1
)) {
37250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37252 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 wxPyEndAllowThreads(__tstate
);
37257 if (PyErr_Occurred()) SWIG_fail
;
37259 resultobj
= SWIG_Py_Void();
37266 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37267 PyObject
*resultobj
= 0;
37268 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37272 PyObject
*swig_obj
[1] ;
37274 if (!args
) SWIG_fail
;
37275 swig_obj
[0] = args
;
37276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37277 if (!SWIG_IsOK(res1
)) {
37278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37280 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37283 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37284 wxPyEndAllowThreads(__tstate
);
37285 if (PyErr_Occurred()) SWIG_fail
;
37288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37296 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37299 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37300 return SWIG_Py_Void();
37303 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37304 return SWIG_Python_InitShadowInstance(args
);
37307 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37308 PyObject
*resultobj
= 0;
37309 wxPowerType result
;
37311 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37314 result
= (wxPowerType
)wxGetPowerType();
37315 wxPyEndAllowThreads(__tstate
);
37316 if (PyErr_Occurred()) SWIG_fail
;
37318 resultobj
= SWIG_From_int(static_cast< int >(result
));
37325 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37326 PyObject
*resultobj
= 0;
37327 wxBatteryState result
;
37329 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37332 result
= (wxBatteryState
)wxGetBatteryState();
37333 wxPyEndAllowThreads(__tstate
);
37334 if (PyErr_Occurred()) SWIG_fail
;
37336 resultobj
= SWIG_From_int(static_cast< int >(result
));
37343 static PyMethodDef SwigMethods
[] = {
37344 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37345 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37346 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37347 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37348 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
37349 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37350 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
37351 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
37352 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37353 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37354 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37355 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37356 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37357 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37358 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
37359 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
37360 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
37361 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37362 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
37363 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37364 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37365 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37366 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37367 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
37368 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
37369 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37370 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
37371 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
37372 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37373 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
37374 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
37375 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
37376 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
37377 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
37378 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
37379 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37380 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37381 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37382 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37383 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37384 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37385 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
37386 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
37387 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
37388 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
37389 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
37390 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
37391 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37392 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
37393 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
37394 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37395 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37396 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37397 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37398 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37399 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37400 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37401 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37402 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37403 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37404 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
37405 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
37406 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
37407 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
37408 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
37409 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
37410 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
37411 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
37412 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
37413 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37414 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
37415 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37416 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
37417 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
37418 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
37419 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37420 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37421 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37422 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37423 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37424 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
37425 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
37426 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
37427 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
37428 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
37429 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
37430 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
37431 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
37432 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
37433 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
37434 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
37435 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
37436 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37437 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37438 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37439 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37440 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37441 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37442 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37443 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37444 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37445 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
37446 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
37447 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
37448 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
37449 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
37450 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
37451 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
37452 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
37453 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
37454 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
37455 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
37456 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37457 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
37458 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37459 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
37460 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
37461 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37462 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37463 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
37464 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
37465 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37466 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
37467 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
37468 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
37469 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
37470 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
37471 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
37472 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
37473 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
37474 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
37475 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37476 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37477 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37478 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37479 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37480 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
37481 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
37482 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37483 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
37484 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
37485 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37486 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
37487 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
37488 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
37489 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37490 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
37491 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
37492 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
37493 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37494 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
37495 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
37496 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
37497 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
37498 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37499 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
37500 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
37501 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
37502 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
37503 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
37504 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37505 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
37506 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37507 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37508 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
37509 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37510 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37511 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37512 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37513 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
37514 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37515 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37516 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
37517 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
37518 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
37519 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37520 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
37521 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
37522 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37523 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
37524 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
37525 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
37526 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
37527 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37528 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37529 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
37530 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
37531 { (char *)"PlatformInformation_CheckOSVersion", (PyCFunction
) _wrap_PlatformInformation_CheckOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37532 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
37533 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
37534 { (char *)"PlatformInformation_CheckToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_CheckToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37535 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
37536 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
37537 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
37538 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
37539 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
37540 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
37541 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
37542 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
37543 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
37544 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
37545 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
37546 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37547 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37548 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37549 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37550 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37551 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37552 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
37553 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
37554 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
37555 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37556 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
37557 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
37558 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
37559 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37560 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
37561 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37562 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37563 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
37564 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
37565 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37566 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37567 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37568 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
37569 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37570 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37571 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
37572 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37573 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
37574 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
37575 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
37576 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
37577 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
37578 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
37579 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
37580 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
37581 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37582 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
37583 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
37584 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
37585 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
37586 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
37587 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37588 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
37589 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
37590 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
37591 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
37592 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
37593 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37594 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37595 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
37596 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
37597 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
37598 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37599 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
37600 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
37601 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37602 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37603 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37604 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37605 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
37606 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37607 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37608 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37609 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
37610 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
37611 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37612 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
37613 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
37614 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37615 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
37616 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
37617 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
37618 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
37619 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
37620 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
37621 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
37622 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
37623 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
37624 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37625 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
37626 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
37627 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
37628 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
37629 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
37630 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37631 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37632 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
37633 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
37634 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
37635 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37636 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
37637 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
37638 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37639 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37640 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37641 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
37642 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
37643 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
37644 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
37645 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
37646 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
37647 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
37648 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
37649 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
37650 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37651 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37652 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37653 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37654 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37655 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37656 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37657 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37658 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37659 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37660 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37661 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37662 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
37663 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37664 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
37665 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
37666 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
37667 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
37668 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
37669 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37670 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
37671 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
37672 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37673 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37674 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37675 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37676 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37677 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37678 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
37679 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
37680 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
37681 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
37682 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
37683 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
37684 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
37685 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
37686 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
37687 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
37688 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
37689 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
37690 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37691 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
37692 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
37693 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
37694 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
37695 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
37696 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
37697 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
37698 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
37699 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37700 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37701 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37702 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
37703 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
37704 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
37705 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
37706 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
37707 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
37708 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
37709 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
37710 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
37711 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
37712 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37713 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
37714 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
37715 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
37716 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
37717 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
37718 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
37719 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
37720 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
37721 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
37722 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
37723 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
37724 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
37725 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
37726 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
37727 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
37728 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
37729 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
37730 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
37731 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
37732 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
37733 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
37734 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
37735 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
37736 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
37737 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
37738 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
37739 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
37740 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
37741 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
37742 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
37743 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37744 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
37745 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
37746 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
37747 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37748 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
37749 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
37750 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
37751 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
37752 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
37753 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37754 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37755 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37756 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37757 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37758 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
37759 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
37760 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
37761 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37762 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37763 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37764 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
37765 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
37766 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37767 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37768 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
37769 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37770 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37771 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
37772 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37773 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37774 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
37775 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
37776 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
37777 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37778 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37779 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
37780 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
37781 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37782 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37783 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
37784 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
37785 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
37786 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
37787 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
37788 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
37789 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
37790 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
37791 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
37792 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
37793 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
37794 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37795 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
37796 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
37797 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
37798 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
37799 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
37800 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
37801 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
37802 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37803 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37804 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37805 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37806 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37807 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
37808 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37809 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
37810 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
37811 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37812 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
37813 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37814 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
37815 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37816 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37817 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37818 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37819 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
37820 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37821 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37822 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37823 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
37824 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
37825 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
37826 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
37827 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
37828 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37829 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37830 { (char *)"ArtProvider_InsertProvider", (PyCFunction
) _wrap_ArtProvider_InsertProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37831 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
37832 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37833 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37834 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37835 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37836 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
37837 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
37838 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
37839 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
37840 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37841 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37842 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
37843 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37844 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37845 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
37846 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
37847 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37848 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
37849 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37850 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37851 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37852 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37853 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37854 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37855 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37856 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37857 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37858 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37859 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37860 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37861 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37862 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37863 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37864 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37865 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37866 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37867 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37868 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37869 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
37870 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37871 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
37872 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37873 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
37874 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37875 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
37876 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
37877 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37878 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37879 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37880 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
37881 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
37882 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37883 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
37884 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
37885 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
37886 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37887 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
37888 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
37889 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
37890 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37891 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
37892 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
37893 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
37894 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
37895 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37896 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37897 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
37898 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37899 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37900 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37901 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37902 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37903 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37904 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37905 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37906 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37907 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37908 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
37909 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37910 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37911 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37912 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
37913 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
37914 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
37915 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
37916 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37917 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37918 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37919 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37920 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37921 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
37922 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
37923 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37924 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37925 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37926 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37927 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
37928 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37929 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37930 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37931 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37932 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37933 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37934 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37935 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37936 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37937 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37938 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37939 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37940 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37941 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37942 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37943 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37944 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37945 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37946 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37947 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37948 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37949 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37950 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37951 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
37952 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
37953 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
37954 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
37955 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
37956 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37957 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37958 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37959 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37960 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37961 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37962 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37963 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37964 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37965 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37966 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37967 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
37968 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
37969 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37970 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37971 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37972 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37973 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37974 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37975 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37976 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37977 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37978 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37979 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37980 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37981 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37982 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37983 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37984 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37985 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37986 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37987 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37988 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37989 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37990 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37991 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37992 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37993 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37994 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
37995 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
37996 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
37997 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
37998 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37999 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38000 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38001 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38002 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38003 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38004 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38005 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38006 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38007 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38008 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38009 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38010 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
38011 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
38012 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
38013 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
38014 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
38015 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
38016 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38017 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
38018 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38019 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
38020 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38021 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
38022 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38023 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
38024 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38025 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
38026 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38027 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
38028 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38029 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
38030 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38031 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38032 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38033 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
38034 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
38035 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38036 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38037 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38038 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
38039 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38040 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38041 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38042 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38043 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38044 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38045 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38046 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38047 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38048 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38049 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
38050 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
38051 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
38052 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38053 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38054 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38055 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
38056 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
38057 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
38058 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
38059 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
38060 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
38061 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38062 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
38063 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
38064 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38065 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
38066 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38067 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
38068 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38069 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
38070 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38071 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
38072 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38073 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
38074 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38075 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38076 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38077 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38078 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
38079 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
38080 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
38081 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
38082 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
38083 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38084 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38085 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
38086 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38087 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38088 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38089 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
38090 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38091 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38092 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38093 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38094 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38095 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38096 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38097 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
38098 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
38099 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
38100 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
38101 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
38102 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
38103 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38104 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38105 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
38106 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
38107 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
38108 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38109 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
38110 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
38111 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38112 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
38113 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
38114 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
38115 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38116 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38117 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38118 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38119 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38120 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38121 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38122 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
38123 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38124 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
38125 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38126 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
38127 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
38128 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38129 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
38130 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
38131 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38132 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38133 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
38134 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
38135 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
38136 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38137 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
38138 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
38139 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
38140 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38141 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
38142 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
38143 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38144 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
38145 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
38146 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38147 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38148 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
38149 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
38150 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38151 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
38152 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38153 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
38154 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
38155 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38156 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38157 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
38158 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
38159 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
38160 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
38161 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38162 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
38163 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
38164 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
38165 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38166 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
38167 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
38168 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
38169 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
38170 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38171 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
38172 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38173 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
38174 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
38175 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
38176 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
38177 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
38178 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38179 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38180 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38181 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
38182 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38183 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
38184 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38185 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38186 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38187 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
38188 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
38189 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38190 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38191 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
38192 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
38193 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38194 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38195 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38196 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
38197 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38198 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
38199 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38200 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
38201 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
38202 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
38203 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
38204 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38205 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38206 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38207 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38208 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
38209 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38210 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38211 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
38212 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
38213 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
38214 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38215 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38216 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38217 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38218 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
38219 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38220 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38221 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
38222 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
38223 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
38224 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
38225 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
38226 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
38227 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
38228 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38229 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38230 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38231 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38232 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
38233 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
38234 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38235 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
38236 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
38237 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
38238 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38239 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
38240 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
38241 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
38242 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
38243 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38244 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
38245 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38246 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
38247 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
38248 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
38249 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
38250 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38251 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38252 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
38253 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
38254 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
38255 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
38256 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
38257 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
38258 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
38259 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
38260 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
38261 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
38262 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38263 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
38264 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
38265 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38266 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38267 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
38268 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
38269 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
38270 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
38271 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
38272 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38273 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
38274 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38275 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
38276 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
38277 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
38278 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
38279 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
38280 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
38281 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
38282 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
38283 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
38284 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
38285 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
38286 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
38287 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38288 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
38289 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38290 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
38291 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
38292 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38293 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
38294 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
38295 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
38296 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
38297 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
38298 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
38299 { NULL
, NULL
, 0, NULL
}
38303 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
38305 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
38306 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38308 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
38309 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
38311 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
38312 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
38314 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
38315 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
38317 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
38318 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
38320 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
38321 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
38323 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
38324 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
38326 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
38327 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
38329 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
38330 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
38332 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
38333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
38335 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
38336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38338 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
38339 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38341 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
38342 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
38344 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
38345 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
38347 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
38348 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
38350 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
38351 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38353 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
38354 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38356 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
38357 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
38359 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
38360 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
38362 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
38363 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
38365 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
38366 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
38368 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
38369 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
38371 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
38372 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
38374 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
38375 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
38377 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
38378 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
38380 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
38381 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38383 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
38384 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38386 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
38387 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38389 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
38390 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38392 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
38393 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38395 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
38396 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38398 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
38399 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
38401 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
38402 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
38404 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
38405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38407 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
38408 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
38410 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
38411 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
38413 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
38414 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
38416 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
38417 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38419 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
38420 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38422 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
38423 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38425 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
38426 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
38428 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
38429 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
38431 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
38432 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
38434 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
38435 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
38437 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
38438 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38440 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
38441 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38443 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
38444 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
38446 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
38447 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38449 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
38450 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
38452 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
38453 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38455 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
38456 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38458 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
38459 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38461 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
38462 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38464 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
38465 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38467 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
38468 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38470 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
38471 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
38473 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
38474 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38476 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
38477 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38479 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38480 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38482 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38483 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38485 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38486 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38488 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38489 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38491 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38492 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38494 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
38495 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38497 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38498 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38500 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
38501 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
38503 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
38504 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
38506 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
38507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38509 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
38510 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
38512 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
38513 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
38515 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
38516 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
38518 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
38519 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
38521 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
38522 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
38524 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
38525 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
38527 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
38528 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
38530 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
38531 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
38533 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
38534 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
38536 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
38537 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
38539 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
38540 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
38542 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
38543 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
38545 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
38546 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
38548 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
38549 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
38551 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
38552 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
38554 static void *_p_wxSizerTo_p_wxObject(void *x
) {
38555 return (void *)((wxObject
*) ((wxSizer
*) x
));
38557 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
38558 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
38560 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
38561 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
38563 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
38564 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38566 static void *_p_wxEventTo_p_wxObject(void *x
) {
38567 return (void *)((wxObject
*) ((wxEvent
*) x
));
38569 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
38570 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
38572 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
38573 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
38575 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
38576 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
38578 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
38579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38581 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
38582 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
38584 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
38585 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
38587 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
38588 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38590 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
38591 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38593 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
38594 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38596 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
38597 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38599 static void *_p_wxControlTo_p_wxObject(void *x
) {
38600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
38602 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
38603 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
38605 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
38606 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
38608 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
38609 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
38611 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
38612 return (void *)((wxObject
*) ((wxFSFile
*) x
));
38614 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
38615 return (void *)((wxObject
*) ((wxClipboard
*) x
));
38617 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
38618 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
38620 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
38621 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
38623 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
38624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38626 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
38627 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
38629 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
38630 return (void *)((wxObject
*) ((wxToolTip
*) x
));
38632 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
38633 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
38635 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
38636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
38638 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
38639 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
38641 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
38642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38644 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
38645 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38647 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
38648 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
38650 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
38651 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
38653 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
38654 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
38656 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
38657 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
38659 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
38660 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
38662 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
38663 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
38665 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
38666 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
38668 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
38669 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
38671 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
38672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
38674 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
38675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
38677 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
38678 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
38680 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
38681 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
38683 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
38684 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
38686 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
38687 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
38689 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
38690 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
38692 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
38693 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
38695 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
38696 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
38698 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
38699 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
38701 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
38702 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
38704 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
38705 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38707 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
38708 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
38710 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
38711 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
38713 static void *_p_wxImageTo_p_wxObject(void *x
) {
38714 return (void *)((wxObject
*) ((wxImage
*) x
));
38716 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
38717 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
38719 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
38720 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
38722 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
38723 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
38725 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
38726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38728 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
38729 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38731 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
38732 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
38734 static void *_p_wxWindowTo_p_wxObject(void *x
) {
38735 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
38737 static void *_p_wxMenuTo_p_wxObject(void *x
) {
38738 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
38740 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
38741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
38743 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
38744 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
38746 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
38747 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
38749 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
38750 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38752 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
38753 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
38755 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
38756 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
38758 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
38759 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
38761 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
38762 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
38764 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
38765 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
38767 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
38768 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
38770 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
38771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38773 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
38774 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
38776 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
38777 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
38779 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
38780 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
38782 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
38783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38785 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
38786 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
38788 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
38789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38791 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
38792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
38794 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
38795 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
38797 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
38798 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
38800 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
38801 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
38803 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
38804 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
38806 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
38807 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
38809 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
38810 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
38812 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
38813 return (void *)((wxLog
*) ((wxLogChain
*) x
));
38815 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
38816 return (void *)((wxLog
*) ((wxLogGui
*) x
));
38818 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
38819 return (void *)((wxLog
*) ((wxPyLog
*) x
));
38821 static void *_p_wxControlTo_p_wxWindow(void *x
) {
38822 return (void *)((wxWindow
*) ((wxControl
*) x
));
38824 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
38825 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
38827 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
38828 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
38830 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
38831 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
38833 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
38834 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
38836 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
38837 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};
38838 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
38839 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
38840 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
38841 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
38842 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
38843 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
38844 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
38845 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
38846 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
38847 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
38848 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
38849 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
38850 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
38851 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
38852 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
38853 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
38854 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
38855 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
38856 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
38857 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
38858 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
38859 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
38860 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
38861 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
38862 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
38863 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
38864 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
38865 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
38866 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
38867 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
38868 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
38869 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
38870 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
38871 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
38872 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
38873 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
38874 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
38875 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
38876 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
38877 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
38878 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
38879 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
38880 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
38881 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
38882 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
38883 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
38884 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
38885 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
38886 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
38887 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
38888 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
38889 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
38890 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
38891 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
38892 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
38893 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
38894 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
38895 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
38896 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
38897 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
38898 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
38899 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
38900 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
38901 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
38902 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
38903 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
38904 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
38905 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
38906 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
38907 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
38908 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
38909 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
38910 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
38911 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
38912 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
38913 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
38914 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
38915 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
38916 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
38917 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
38918 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
38919 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
38920 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
38921 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
38922 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
38923 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
38924 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
38925 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
38926 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
38927 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
38928 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
38929 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
38930 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
38931 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
38932 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
38933 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
38934 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
38935 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
38936 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
38937 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
38938 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
38939 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
38940 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
38941 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
38942 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
38943 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
38944 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
38945 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
38946 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
38947 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
38948 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
38949 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
38950 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
38951 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
38952 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
38953 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
38954 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
38955 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
38956 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
38957 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
38958 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
38959 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
38960 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
38961 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
38962 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
38963 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
38964 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
38965 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
38966 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
38967 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
38968 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
38969 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
38970 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
38971 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
38972 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
38973 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
38974 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
38975 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
38976 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
38977 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
38978 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
38979 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
38980 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
38981 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
38982 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
38983 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
38984 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
38985 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
38986 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
38987 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
38988 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
38989 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
38990 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
38991 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
38992 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
38993 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
38994 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
38995 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
38996 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
38997 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
38998 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
38999 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
39000 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
39001 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
39002 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
39003 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
39004 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
39005 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
39006 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39007 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
39009 static swig_type_info
*swig_type_initial
[] = {
39011 &_swigt__p_form_ops_t
,
39013 &_swigt__p_unsigned_char
,
39014 &_swigt__p_unsigned_int
,
39015 &_swigt__p_unsigned_long
,
39017 &_swigt__p_wxANIHandler
,
39018 &_swigt__p_wxAcceleratorTable
,
39019 &_swigt__p_wxActivateEvent
,
39020 &_swigt__p_wxArrayString
,
39021 &_swigt__p_wxBMPHandler
,
39022 &_swigt__p_wxBitmap
,
39023 &_swigt__p_wxBitmapDataObject
,
39024 &_swigt__p_wxBoxSizer
,
39025 &_swigt__p_wxBusyCursor
,
39026 &_swigt__p_wxBusyInfo
,
39027 &_swigt__p_wxCURHandler
,
39028 &_swigt__p_wxCaret
,
39030 &_swigt__p_wxChildFocusEvent
,
39031 &_swigt__p_wxClipboard
,
39032 &_swigt__p_wxClipboardLocker
,
39033 &_swigt__p_wxClipboardTextEvent
,
39034 &_swigt__p_wxCloseEvent
,
39035 &_swigt__p_wxColour
,
39036 &_swigt__p_wxCommandEvent
,
39037 &_swigt__p_wxConfig
,
39038 &_swigt__p_wxConfigBase
,
39039 &_swigt__p_wxConfigPathChanger
,
39040 &_swigt__p_wxContextMenuEvent
,
39041 &_swigt__p_wxControl
,
39042 &_swigt__p_wxControlWithItems
,
39043 &_swigt__p_wxCursor
,
39044 &_swigt__p_wxCustomDataObject
,
39046 &_swigt__p_wxDataFormat
,
39047 &_swigt__p_wxDataObject
,
39048 &_swigt__p_wxDataObjectComposite
,
39049 &_swigt__p_wxDataObjectSimple
,
39050 &_swigt__p_wxDateEvent
,
39051 &_swigt__p_wxDateSpan
,
39052 &_swigt__p_wxDateTime
,
39053 &_swigt__p_wxDateTime__TimeZone
,
39054 &_swigt__p_wxDisplay
,
39055 &_swigt__p_wxDisplayChangedEvent
,
39056 &_swigt__p_wxDropFilesEvent
,
39057 &_swigt__p_wxDuplexMode
,
39058 &_swigt__p_wxEraseEvent
,
39059 &_swigt__p_wxEvent
,
39060 &_swigt__p_wxEvtHandler
,
39061 &_swigt__p_wxFSFile
,
39062 &_swigt__p_wxFileConfig
,
39063 &_swigt__p_wxFileDataObject
,
39064 &_swigt__p_wxFileHistory
,
39065 &_swigt__p_wxFileSystem
,
39066 &_swigt__p_wxFileType
,
39067 &_swigt__p_wxFileTypeInfo
,
39068 &_swigt__p_wxFlexGridSizer
,
39069 &_swigt__p_wxFocusEvent
,
39071 &_swigt__p_wxFrame
,
39072 &_swigt__p_wxGBSizerItem
,
39073 &_swigt__p_wxGIFHandler
,
39074 &_swigt__p_wxGridBagSizer
,
39075 &_swigt__p_wxGridSizer
,
39076 &_swigt__p_wxICOHandler
,
39078 &_swigt__p_wxIconizeEvent
,
39079 &_swigt__p_wxIdleEvent
,
39080 &_swigt__p_wxImage
,
39081 &_swigt__p_wxImageHandler
,
39082 &_swigt__p_wxIndividualLayoutConstraint
,
39083 &_swigt__p_wxInitDialogEvent
,
39084 &_swigt__p_wxJPEGHandler
,
39085 &_swigt__p_wxJoystick
,
39086 &_swigt__p_wxJoystickEvent
,
39087 &_swigt__p_wxKeyEvent
,
39088 &_swigt__p_wxKillError
,
39089 &_swigt__p_wxLayoutConstraints
,
39091 &_swigt__p_wxLogBuffer
,
39092 &_swigt__p_wxLogChain
,
39093 &_swigt__p_wxLogGui
,
39094 &_swigt__p_wxLogNull
,
39095 &_swigt__p_wxLogStderr
,
39096 &_swigt__p_wxLogTextCtrl
,
39097 &_swigt__p_wxLogWindow
,
39098 &_swigt__p_wxMaximizeEvent
,
39100 &_swigt__p_wxMenuBar
,
39101 &_swigt__p_wxMenuEvent
,
39102 &_swigt__p_wxMenuItem
,
39103 &_swigt__p_wxMetafileDataObject
,
39104 &_swigt__p_wxMimeTypesManager
,
39105 &_swigt__p_wxMouseCaptureChangedEvent
,
39106 &_swigt__p_wxMouseCaptureLostEvent
,
39107 &_swigt__p_wxMouseEvent
,
39108 &_swigt__p_wxMouseState
,
39109 &_swigt__p_wxMoveEvent
,
39110 &_swigt__p_wxMutexGuiLocker
,
39111 &_swigt__p_wxNavigationKeyEvent
,
39112 &_swigt__p_wxNcPaintEvent
,
39113 &_swigt__p_wxNotifyEvent
,
39114 &_swigt__p_wxObject
,
39115 &_swigt__p_wxOutputStream
,
39116 &_swigt__p_wxPCXHandler
,
39117 &_swigt__p_wxPNGHandler
,
39118 &_swigt__p_wxPNMHandler
,
39119 &_swigt__p_wxPaintEvent
,
39120 &_swigt__p_wxPaletteChangedEvent
,
39121 &_swigt__p_wxPaperSize
,
39122 &_swigt__p_wxPlatformInfo
,
39123 &_swigt__p_wxPoint
,
39124 &_swigt__p_wxPowerEvent
,
39125 &_swigt__p_wxProcessEvent
,
39126 &_swigt__p_wxPyApp
,
39127 &_swigt__p_wxPyArtProvider
,
39128 &_swigt__p_wxPyBitmapDataObject
,
39129 &_swigt__p_wxPyCommandEvent
,
39130 &_swigt__p_wxPyDataObjectSimple
,
39131 &_swigt__p_wxPyDropSource
,
39132 &_swigt__p_wxPyDropTarget
,
39133 &_swigt__p_wxPyEvent
,
39134 &_swigt__p_wxPyFileDropTarget
,
39135 &_swigt__p_wxPyImageHandler
,
39136 &_swigt__p_wxPyLog
,
39137 &_swigt__p_wxPyProcess
,
39138 &_swigt__p_wxPySizer
,
39139 &_swigt__p_wxPyTextDataObject
,
39140 &_swigt__p_wxPyTextDropTarget
,
39141 &_swigt__p_wxPyTimer
,
39142 &_swigt__p_wxPyTipProvider
,
39143 &_swigt__p_wxPyValidator
,
39144 &_swigt__p_wxQueryNewPaletteEvent
,
39146 &_swigt__p_wxScrollEvent
,
39147 &_swigt__p_wxScrollWinEvent
,
39148 &_swigt__p_wxSetCursorEvent
,
39149 &_swigt__p_wxShowEvent
,
39150 &_swigt__p_wxSingleInstanceChecker
,
39152 &_swigt__p_wxSizeEvent
,
39153 &_swigt__p_wxSizer
,
39154 &_swigt__p_wxSizerItem
,
39155 &_swigt__p_wxSound
,
39156 &_swigt__p_wxStandardPaths
,
39157 &_swigt__p_wxStaticBoxSizer
,
39158 &_swigt__p_wxStdDialogButtonSizer
,
39159 &_swigt__p_wxStopWatch
,
39160 &_swigt__p_wxString
,
39161 &_swigt__p_wxSysColourChangedEvent
,
39162 &_swigt__p_wxSystemOptions
,
39163 &_swigt__p_wxSystemSettings
,
39164 &_swigt__p_wxTIFFHandler
,
39165 &_swigt__p_wxTextCtrl
,
39166 &_swigt__p_wxTextDataObject
,
39167 &_swigt__p_wxTimeSpan
,
39168 &_swigt__p_wxTimer
,
39169 &_swigt__p_wxTimerEvent
,
39170 &_swigt__p_wxTimerRunner
,
39171 &_swigt__p_wxTipProvider
,
39172 &_swigt__p_wxToolTip
,
39173 &_swigt__p_wxURLDataObject
,
39174 &_swigt__p_wxUpdateUIEvent
,
39175 &_swigt__p_wxValidator
,
39176 &_swigt__p_wxVideoMode
,
39177 &_swigt__p_wxWindow
,
39178 &_swigt__p_wxWindowCreateEvent
,
39179 &_swigt__p_wxWindowDestroyEvent
,
39180 &_swigt__p_wxWindowDisabler
,
39181 &_swigt__p_wxXPMHandler
,
39184 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39185 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39186 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39187 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39188 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39189 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39190 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39191 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
39192 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39193 static swig_cast_info _swigc__p_wxBitmapDataObject
[] = { {&_swigt__p_wxBitmapDataObject
, 0, 0, 0}, {&_swigt__p_wxPyBitmapDataObject
, _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
, 0, 0},{0, 0, 0, 0}};
39194 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
39195 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
39196 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
39197 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39198 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
39199 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
39200 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39201 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
39202 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxFileConfig
, _p_wxFileConfigTo_p_wxConfigBase
, 0, 0}, {&_swigt__p_wxConfigBase
, 0, 0, 0}, {&_swigt__p_wxConfig
, _p_wxConfigTo_p_wxConfigBase
, 0, 0},{0, 0, 0, 0}};
39203 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
39204 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39205 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39206 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
39207 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
39208 static swig_cast_info _swigc__p_wxDataObject
[] = { {&_swigt__p_wxDataObjectSimple
, _p_wxDataObjectSimpleTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxPyDataObjectSimple
, _p_wxPyDataObjectSimpleTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxDataObjectComposite
, _p_wxDataObjectCompositeTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxDataObject
, 0, 0, 0}, {&_swigt__p_wxTextDataObject
, _p_wxTextDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxPyTextDataObject
, _p_wxPyTextDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxBitmapDataObject
, _p_wxBitmapDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxPyBitmapDataObject
, _p_wxPyBitmapDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxFileDataObject
, _p_wxFileDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxCustomDataObject
, _p_wxCustomDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxMetafileDataObject
, _p_wxMetafileDataObjectTo_p_wxDataObject
, 0, 0}, {&_swigt__p_wxURLDataObject
, _p_wxURLDataObjectTo_p_wxDataObject
, 0, 0},{0, 0, 0, 0}};
39209 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
39210 static swig_cast_info _swigc__p_wxDataObjectSimple
[] = { {&_swigt__p_wxDataObjectSimple
, 0, 0, 0}, {&_swigt__p_wxPyDataObjectSimple
, _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxTextDataObject
, _p_wxTextDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxPyTextDataObject
, _p_wxPyTextDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxBitmapDataObject
, _p_wxBitmapDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxPyBitmapDataObject
, _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxFileDataObject
, _p_wxFileDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxCustomDataObject
, _p_wxCustomDataObjectTo_p_wxDataObjectSimple
, 0, 0}, {&_swigt__p_wxMetafileDataObject
, _p_wxMetafileDataObjectTo_p_wxDataObjectSimple
, 0, 0},{0, 0, 0, 0}};
39211 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
39212 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
39213 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
39214 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
39215 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39216 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39217 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39218 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39219 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39220 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39221 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39222 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39223 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39224 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39225 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39226 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39227 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39228 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39229 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39230 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39231 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39232 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39233 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39234 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39235 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39236 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39237 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39238 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39239 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39240 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39241 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39242 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39243 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39244 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39245 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39246 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39247 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39248 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39249 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39250 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39251 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39252 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39253 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39254 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_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_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_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_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_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_wxProcessEvent
, _p_wxProcessEventTo_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_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
39255 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39256 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39257 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39258 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39259 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39260 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39261 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
39262 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
39263 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39264 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
39265 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
39266 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
39267 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39268 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
39269 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39270 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
39271 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
39272 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
39273 static swig_cast_info _swigc__p_wxLog
[] = { {&_swigt__p_wxLogBuffer
, _p_wxLogBufferTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLogStderr
, _p_wxLogStderrTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLogTextCtrl
, _p_wxLogTextCtrlTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLogWindow
, _p_wxLogWindowTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLogChain
, _p_wxLogChainTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLogGui
, _p_wxLogGuiTo_p_wxLog
, 0, 0}, {&_swigt__p_wxPyLog
, _p_wxPyLogTo_p_wxLog
, 0, 0}, {&_swigt__p_wxLog
, 0, 0, 0},{0, 0, 0, 0}};
39274 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
39275 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
39276 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
39277 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
39278 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
39279 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39280 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
39281 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39282 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39283 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
39284 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
39285 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
39286 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39287 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39288 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39289 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39290 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39291 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39292 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39293 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39294 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39295 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39296 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39297 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39298 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39299 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39300 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39301 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39302 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39303 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39304 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39305 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39306 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39307 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39308 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39309 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39310 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39311 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39312 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39313 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39314 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39315 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39316 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_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_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_wxFileHistory
, _p_wxFileHistoryTo_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_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboard
, _p_wxClipboardTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolTip
, _p_wxToolTipTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSystemOptions
, _p_wxSystemOptionsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_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_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_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_wxPyApp
, _p_wxPyAppTo_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_wxBusyInfo
, _p_wxBusyInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
39317 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
39318 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39319 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
39320 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39321 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39322 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
39323 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
39324 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39325 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
39326 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
39327 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0}, {&_swigt__p_wxPyTextDropTarget
, _p_wxPyTextDropTargetTo_p_wxPyDropTarget
, 0, 0}, {&_swigt__p_wxPyFileDropTarget
, _p_wxPyFileDropTargetTo_p_wxPyDropTarget
, 0, 0},{0, 0, 0, 0}};
39328 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39329 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
39330 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
39331 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39332 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39333 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
39334 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
39335 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39336 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
39337 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
39338 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
39339 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
39340 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
39341 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
39342 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
39343 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
39344 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39345 static swig_cast_info _swigc__p_wxTextDataObject
[] = { {&_swigt__p_wxTextDataObject
, 0, 0, 0}, {&_swigt__p_wxPyTextDataObject
, _p_wxPyTextDataObjectTo_p_wxTextDataObject
, 0, 0},{0, 0, 0, 0}};
39346 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
39347 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
39348 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39349 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
39350 static swig_cast_info _swigc__p_wxTipProvider
[] = { {&_swigt__p_wxTipProvider
, 0, 0, 0}, {&_swigt__p_wxPyTipProvider
, _p_wxPyTipProviderTo_p_wxTipProvider
, 0, 0},{0, 0, 0, 0}};
39351 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
39352 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39353 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
39354 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
39355 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
39357 static swig_cast_info
*swig_cast_initial
[] = {
39359 _swigc__p_form_ops_t
,
39361 _swigc__p_unsigned_char
,
39362 _swigc__p_unsigned_int
,
39363 _swigc__p_unsigned_long
,
39365 _swigc__p_wxANIHandler
,
39366 _swigc__p_wxAcceleratorTable
,
39367 _swigc__p_wxActivateEvent
,
39368 _swigc__p_wxArrayString
,
39369 _swigc__p_wxBMPHandler
,
39370 _swigc__p_wxBitmap
,
39371 _swigc__p_wxBitmapDataObject
,
39372 _swigc__p_wxBoxSizer
,
39373 _swigc__p_wxBusyCursor
,
39374 _swigc__p_wxBusyInfo
,
39375 _swigc__p_wxCURHandler
,
39378 _swigc__p_wxChildFocusEvent
,
39379 _swigc__p_wxClipboard
,
39380 _swigc__p_wxClipboardLocker
,
39381 _swigc__p_wxClipboardTextEvent
,
39382 _swigc__p_wxCloseEvent
,
39383 _swigc__p_wxColour
,
39384 _swigc__p_wxCommandEvent
,
39385 _swigc__p_wxConfig
,
39386 _swigc__p_wxConfigBase
,
39387 _swigc__p_wxConfigPathChanger
,
39388 _swigc__p_wxContextMenuEvent
,
39389 _swigc__p_wxControl
,
39390 _swigc__p_wxControlWithItems
,
39391 _swigc__p_wxCursor
,
39392 _swigc__p_wxCustomDataObject
,
39394 _swigc__p_wxDataFormat
,
39395 _swigc__p_wxDataObject
,
39396 _swigc__p_wxDataObjectComposite
,
39397 _swigc__p_wxDataObjectSimple
,
39398 _swigc__p_wxDateEvent
,
39399 _swigc__p_wxDateSpan
,
39400 _swigc__p_wxDateTime
,
39401 _swigc__p_wxDateTime__TimeZone
,
39402 _swigc__p_wxDisplay
,
39403 _swigc__p_wxDisplayChangedEvent
,
39404 _swigc__p_wxDropFilesEvent
,
39405 _swigc__p_wxDuplexMode
,
39406 _swigc__p_wxEraseEvent
,
39408 _swigc__p_wxEvtHandler
,
39409 _swigc__p_wxFSFile
,
39410 _swigc__p_wxFileConfig
,
39411 _swigc__p_wxFileDataObject
,
39412 _swigc__p_wxFileHistory
,
39413 _swigc__p_wxFileSystem
,
39414 _swigc__p_wxFileType
,
39415 _swigc__p_wxFileTypeInfo
,
39416 _swigc__p_wxFlexGridSizer
,
39417 _swigc__p_wxFocusEvent
,
39420 _swigc__p_wxGBSizerItem
,
39421 _swigc__p_wxGIFHandler
,
39422 _swigc__p_wxGridBagSizer
,
39423 _swigc__p_wxGridSizer
,
39424 _swigc__p_wxICOHandler
,
39426 _swigc__p_wxIconizeEvent
,
39427 _swigc__p_wxIdleEvent
,
39429 _swigc__p_wxImageHandler
,
39430 _swigc__p_wxIndividualLayoutConstraint
,
39431 _swigc__p_wxInitDialogEvent
,
39432 _swigc__p_wxJPEGHandler
,
39433 _swigc__p_wxJoystick
,
39434 _swigc__p_wxJoystickEvent
,
39435 _swigc__p_wxKeyEvent
,
39436 _swigc__p_wxKillError
,
39437 _swigc__p_wxLayoutConstraints
,
39439 _swigc__p_wxLogBuffer
,
39440 _swigc__p_wxLogChain
,
39441 _swigc__p_wxLogGui
,
39442 _swigc__p_wxLogNull
,
39443 _swigc__p_wxLogStderr
,
39444 _swigc__p_wxLogTextCtrl
,
39445 _swigc__p_wxLogWindow
,
39446 _swigc__p_wxMaximizeEvent
,
39448 _swigc__p_wxMenuBar
,
39449 _swigc__p_wxMenuEvent
,
39450 _swigc__p_wxMenuItem
,
39451 _swigc__p_wxMetafileDataObject
,
39452 _swigc__p_wxMimeTypesManager
,
39453 _swigc__p_wxMouseCaptureChangedEvent
,
39454 _swigc__p_wxMouseCaptureLostEvent
,
39455 _swigc__p_wxMouseEvent
,
39456 _swigc__p_wxMouseState
,
39457 _swigc__p_wxMoveEvent
,
39458 _swigc__p_wxMutexGuiLocker
,
39459 _swigc__p_wxNavigationKeyEvent
,
39460 _swigc__p_wxNcPaintEvent
,
39461 _swigc__p_wxNotifyEvent
,
39462 _swigc__p_wxObject
,
39463 _swigc__p_wxOutputStream
,
39464 _swigc__p_wxPCXHandler
,
39465 _swigc__p_wxPNGHandler
,
39466 _swigc__p_wxPNMHandler
,
39467 _swigc__p_wxPaintEvent
,
39468 _swigc__p_wxPaletteChangedEvent
,
39469 _swigc__p_wxPaperSize
,
39470 _swigc__p_wxPlatformInfo
,
39472 _swigc__p_wxPowerEvent
,
39473 _swigc__p_wxProcessEvent
,
39475 _swigc__p_wxPyArtProvider
,
39476 _swigc__p_wxPyBitmapDataObject
,
39477 _swigc__p_wxPyCommandEvent
,
39478 _swigc__p_wxPyDataObjectSimple
,
39479 _swigc__p_wxPyDropSource
,
39480 _swigc__p_wxPyDropTarget
,
39481 _swigc__p_wxPyEvent
,
39482 _swigc__p_wxPyFileDropTarget
,
39483 _swigc__p_wxPyImageHandler
,
39485 _swigc__p_wxPyProcess
,
39486 _swigc__p_wxPySizer
,
39487 _swigc__p_wxPyTextDataObject
,
39488 _swigc__p_wxPyTextDropTarget
,
39489 _swigc__p_wxPyTimer
,
39490 _swigc__p_wxPyTipProvider
,
39491 _swigc__p_wxPyValidator
,
39492 _swigc__p_wxQueryNewPaletteEvent
,
39494 _swigc__p_wxScrollEvent
,
39495 _swigc__p_wxScrollWinEvent
,
39496 _swigc__p_wxSetCursorEvent
,
39497 _swigc__p_wxShowEvent
,
39498 _swigc__p_wxSingleInstanceChecker
,
39500 _swigc__p_wxSizeEvent
,
39502 _swigc__p_wxSizerItem
,
39504 _swigc__p_wxStandardPaths
,
39505 _swigc__p_wxStaticBoxSizer
,
39506 _swigc__p_wxStdDialogButtonSizer
,
39507 _swigc__p_wxStopWatch
,
39508 _swigc__p_wxString
,
39509 _swigc__p_wxSysColourChangedEvent
,
39510 _swigc__p_wxSystemOptions
,
39511 _swigc__p_wxSystemSettings
,
39512 _swigc__p_wxTIFFHandler
,
39513 _swigc__p_wxTextCtrl
,
39514 _swigc__p_wxTextDataObject
,
39515 _swigc__p_wxTimeSpan
,
39517 _swigc__p_wxTimerEvent
,
39518 _swigc__p_wxTimerRunner
,
39519 _swigc__p_wxTipProvider
,
39520 _swigc__p_wxToolTip
,
39521 _swigc__p_wxURLDataObject
,
39522 _swigc__p_wxUpdateUIEvent
,
39523 _swigc__p_wxValidator
,
39524 _swigc__p_wxVideoMode
,
39525 _swigc__p_wxWindow
,
39526 _swigc__p_wxWindowCreateEvent
,
39527 _swigc__p_wxWindowDestroyEvent
,
39528 _swigc__p_wxWindowDisabler
,
39529 _swigc__p_wxXPMHandler
,
39533 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39535 static swig_const_info swig_const_table
[] = {
39536 {0, 0, 0, 0.0, 0, 0}};
39541 /* -----------------------------------------------------------------------------
39542 * Type initialization:
39543 * This problem is tough by the requirement that no dynamic
39544 * memory is used. Also, since swig_type_info structures store pointers to
39545 * swig_cast_info structures and swig_cast_info structures store pointers back
39546 * to swig_type_info structures, we need some lookup code at initialization.
39547 * The idea is that swig generates all the structures that are needed.
39548 * The runtime then collects these partially filled structures.
39549 * The SWIG_InitializeModule function takes these initial arrays out of
39550 * swig_module, and does all the lookup, filling in the swig_module.types
39551 * array with the correct data and linking the correct swig_cast_info
39552 * structures together.
39554 * The generated swig_type_info structures are assigned staticly to an initial
39555 * array. We just loop though that array, and handle each type individually.
39556 * First we lookup if this type has been already loaded, and if so, use the
39557 * loaded structure instead of the generated one. Then we have to fill in the
39558 * cast linked list. The cast data is initially stored in something like a
39559 * two-dimensional array. Each row corresponds to a type (there are the same
39560 * number of rows as there are in the swig_type_initial array). Each entry in
39561 * a column is one of the swig_cast_info structures for that type.
39562 * The cast_initial array is actually an array of arrays, because each row has
39563 * a variable number of columns. So to actually build the cast linked list,
39564 * we find the array of casts associated with the type, and loop through it
39565 * adding the casts to the list. The one last trick we need to do is making
39566 * sure the type pointer in the swig_cast_info struct is correct.
39568 * First off, we lookup the cast->type name to see if it is already loaded.
39569 * There are three cases to handle:
39570 * 1) If the cast->type has already been loaded AND the type we are adding
39571 * casting info to has not been loaded (it is in this module), THEN we
39572 * replace the cast->type pointer with the type pointer that has already
39574 * 2) If BOTH types (the one we are adding casting info to, and the
39575 * cast->type) are loaded, THEN the cast info has already been loaded by
39576 * the previous module so we just ignore it.
39577 * 3) Finally, if cast->type has not already been loaded, then we add that
39578 * swig_cast_info to the linked list (because the cast->type) pointer will
39580 * ----------------------------------------------------------------------------- */
39590 #define SWIGRUNTIME_DEBUG
39594 SWIG_InitializeModule(void *clientdata
) {
39596 swig_module_info
*module_head
;
39597 static int init_run
= 0;
39599 clientdata
= clientdata
;
39601 if (init_run
) return;
39604 /* Initialize the swig_module */
39605 swig_module
.type_initial
= swig_type_initial
;
39606 swig_module
.cast_initial
= swig_cast_initial
;
39608 /* Try and load any already created modules */
39609 module_head
= SWIG_GetModule(clientdata
);
39611 swig_module
.next
= module_head
->next
;
39612 module_head
->next
= &swig_module
;
39614 /* This is the first module loaded */
39615 swig_module
.next
= &swig_module
;
39616 SWIG_SetModule(clientdata
, &swig_module
);
39619 /* Now work on filling in swig_module.types */
39620 #ifdef SWIGRUNTIME_DEBUG
39621 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
39623 for (i
= 0; i
< swig_module
.size
; ++i
) {
39624 swig_type_info
*type
= 0;
39625 swig_type_info
*ret
;
39626 swig_cast_info
*cast
;
39628 #ifdef SWIGRUNTIME_DEBUG
39629 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39632 /* if there is another module already loaded */
39633 if (swig_module
.next
!= &swig_module
) {
39634 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
39637 /* Overwrite clientdata field */
39638 #ifdef SWIGRUNTIME_DEBUG
39639 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
39641 if (swig_module
.type_initial
[i
]->clientdata
) {
39642 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
39643 #ifdef SWIGRUNTIME_DEBUG
39644 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
39648 type
= swig_module
.type_initial
[i
];
39651 /* Insert casting types */
39652 cast
= swig_module
.cast_initial
[i
];
39653 while (cast
->type
) {
39654 /* Don't need to add information already in the list */
39656 #ifdef SWIGRUNTIME_DEBUG
39657 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
39659 if (swig_module
.next
!= &swig_module
) {
39660 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
39661 #ifdef SWIGRUNTIME_DEBUG
39662 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
39666 if (type
== swig_module
.type_initial
[i
]) {
39667 #ifdef SWIGRUNTIME_DEBUG
39668 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
39673 /* Check for casting already in the list */
39674 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
39675 #ifdef SWIGRUNTIME_DEBUG
39676 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39678 if (!ocast
) ret
= 0;
39683 #ifdef SWIGRUNTIME_DEBUG
39684 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39687 type
->cast
->prev
= cast
;
39688 cast
->next
= type
->cast
;
39694 /* Set entry in modules->types array equal to the type */
39695 swig_module
.types
[i
] = type
;
39697 swig_module
.types
[i
] = 0;
39699 #ifdef SWIGRUNTIME_DEBUG
39700 printf("**** SWIG_InitializeModule: Cast List ******\n");
39701 for (i
= 0; i
< swig_module
.size
; ++i
) {
39703 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39704 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39705 while (cast
->type
) {
39706 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39710 printf("---- Total casts: %d\n",j
);
39712 printf("**** SWIG_InitializeModule: Cast List ******\n");
39716 /* This function will propagate the clientdata field of type to
39717 * any new swig_type_info structures that have been added into the list
39718 * of equivalent types. It is like calling
39719 * SWIG_TypeClientData(type, clientdata) a second time.
39722 SWIG_PropagateClientData(void) {
39724 swig_cast_info
*equiv
;
39725 static int init_run
= 0;
39727 if (init_run
) return;
39730 for (i
= 0; i
< swig_module
.size
; i
++) {
39731 if (swig_module
.types
[i
]->clientdata
) {
39732 equiv
= swig_module
.types
[i
]->cast
;
39734 if (!equiv
->converter
) {
39735 if (equiv
->type
&& !equiv
->type
->clientdata
)
39736 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
39738 equiv
= equiv
->next
;
39758 /* Python-specific SWIG API */
39759 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39760 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39761 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39763 /* -----------------------------------------------------------------------------
39764 * global variable support code.
39765 * ----------------------------------------------------------------------------- */
39767 typedef struct swig_globalvar
{
39768 char *name
; /* Name of global variable */
39769 PyObject
*(*get_attr
)(void); /* Return the current value */
39770 int (*set_attr
)(PyObject
*); /* Set the value */
39771 struct swig_globalvar
*next
;
39774 typedef struct swig_varlinkobject
{
39776 swig_globalvar
*vars
;
39777 } swig_varlinkobject
;
39779 SWIGINTERN PyObject
*
39780 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
39781 return PyString_FromString("<Swig global variables>");
39784 SWIGINTERN PyObject
*
39785 swig_varlink_str(swig_varlinkobject
*v
) {
39786 PyObject
*str
= PyString_FromString("(");
39787 swig_globalvar
*var
;
39788 for (var
= v
->vars
; var
; var
=var
->next
) {
39789 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
39790 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
39792 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
39797 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
39798 PyObject
*str
= swig_varlink_str(v
);
39799 fprintf(fp
,"Swig global variables ");
39800 fprintf(fp
,"%s\n", PyString_AsString(str
));
39806 swig_varlink_dealloc(swig_varlinkobject
*v
) {
39807 swig_globalvar
*var
= v
->vars
;
39809 swig_globalvar
*n
= var
->next
;
39816 SWIGINTERN PyObject
*
39817 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39818 PyObject
*res
= NULL
;
39819 swig_globalvar
*var
= v
->vars
;
39821 if (strcmp(var
->name
,n
) == 0) {
39822 res
= (*var
->get_attr
)();
39827 if (res
== NULL
&& !PyErr_Occurred()) {
39828 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39834 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39836 swig_globalvar
*var
= v
->vars
;
39838 if (strcmp(var
->name
,n
) == 0) {
39839 res
= (*var
->set_attr
)(p
);
39844 if (res
== 1 && !PyErr_Occurred()) {
39845 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39850 SWIGINTERN PyTypeObject
*
39851 swig_varlink_type(void) {
39852 static char varlink__doc__
[] = "Swig var link object";
39853 static PyTypeObject varlink_type
;
39854 static int type_init
= 0;
39856 const PyTypeObject tmp
39858 PyObject_HEAD_INIT(NULL
)
39859 0, /* Number of items in variable part (ob_size) */
39860 (char *)"swigvarlink", /* Type name (tp_name) */
39861 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39862 0, /* Itemsize (tp_itemsize) */
39863 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
39864 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39865 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39866 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39867 0, /* tp_compare */
39868 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39869 0, /* tp_as_number */
39870 0, /* tp_as_sequence */
39871 0, /* tp_as_mapping */
39874 (reprfunc
)swig_varlink_str
, /* tp_str */
39875 0, /* tp_getattro */
39876 0, /* tp_setattro */
39877 0, /* tp_as_buffer */
39879 varlink__doc__
, /* tp_doc */
39880 0, /* tp_traverse */
39882 0, /* tp_richcompare */
39883 0, /* tp_weaklistoffset */
39884 #if PY_VERSION_HEX >= 0x02020000
39885 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39887 #if PY_VERSION_HEX >= 0x02030000
39890 #ifdef COUNT_ALLOCS
39891 0,0,0,0 /* tp_alloc -> tp_next */
39894 varlink_type
= tmp
;
39895 varlink_type
.ob_type
= &PyType_Type
;
39898 return &varlink_type
;
39901 /* Create a variable linking object for use later */
39902 SWIGINTERN PyObject
*
39903 SWIG_Python_newvarlink(void) {
39904 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39908 return ((PyObject
*) result
);
39912 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39913 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39914 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39916 size_t size
= strlen(name
)+1;
39917 gv
->name
= (char *)malloc(size
);
39919 strncpy(gv
->name
,name
,size
);
39920 gv
->get_attr
= get_attr
;
39921 gv
->set_attr
= set_attr
;
39922 gv
->next
= v
->vars
;
39928 SWIGINTERN PyObject
*
39930 static PyObject
*_SWIG_globals
= 0;
39931 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
39932 return _SWIG_globals
;
39935 /* -----------------------------------------------------------------------------
39936 * constants/methods manipulation
39937 * ----------------------------------------------------------------------------- */
39939 /* Install Constants */
39941 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39944 for (i
= 0; constants
[i
].type
; ++i
) {
39945 switch(constants
[i
].type
) {
39946 case SWIG_PY_POINTER
:
39947 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39949 case SWIG_PY_BINARY
:
39950 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39957 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
39963 /* -----------------------------------------------------------------------------*/
39964 /* Fix SwigMethods to carry the callback ptrs when needed */
39965 /* -----------------------------------------------------------------------------*/
39968 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39969 swig_const_info
*const_table
,
39970 swig_type_info
**types
,
39971 swig_type_info
**types_initial
) {
39973 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39974 const char *c
= methods
[i
].ml_doc
;
39975 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39977 swig_const_info
*ci
= 0;
39978 const char *name
= c
+ 10;
39979 for (j
= 0; const_table
[j
].type
; ++j
) {
39980 if (strncmp(const_table
[j
].name
, name
,
39981 strlen(const_table
[j
].name
)) == 0) {
39982 ci
= &(const_table
[j
]);
39987 size_t shift
= (ci
->ptype
) - types
;
39988 swig_type_info
*ty
= types_initial
[shift
];
39989 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39990 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39991 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39994 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39996 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39998 strncpy(buff
, "swig_ptr: ", 10);
40000 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40001 methods
[i
].ml_doc
= ndoc
;
40013 /* -----------------------------------------------------------------------------*
40014 * Partial Init method
40015 * -----------------------------------------------------------------------------*/
40020 SWIGEXPORT
void SWIG_init(void) {
40023 /* Fix SwigMethods to carry the callback ptrs when needed */
40024 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40026 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40027 d
= PyModule_GetDict(m
);
40029 SWIG_InitializeModule(0);
40030 SWIG_InstallConstants(d
,swig_const_table
);
40033 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
40034 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
40035 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
40036 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
40037 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
40038 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
40039 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
40040 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
40041 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
40042 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
40043 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
40044 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
40045 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
40046 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
40047 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
40048 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
40049 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
40050 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
40051 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
40052 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
40053 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
40054 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
40055 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
40056 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
40057 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
40058 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
40059 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
40060 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
40061 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
40062 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
40063 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
40064 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
40065 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
40066 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
40067 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
40068 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
40069 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
40070 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
40071 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
40072 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
40073 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
40074 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
40075 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
40076 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
40077 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
40078 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
40079 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
40080 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
40081 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
40082 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
40083 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
40084 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
40085 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
40086 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
40087 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
40088 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
40089 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
40090 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
40091 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
40092 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
40093 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
40094 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
40095 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
40096 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
40097 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
40098 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
40099 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
40100 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
40101 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
40102 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
40103 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
40104 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
40105 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
40106 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
40107 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
40108 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
40109 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
40110 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
40111 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
40112 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
40113 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
40114 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
40115 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
40116 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
40117 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
40118 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
40119 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
40120 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
40121 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
40122 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
40123 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
40124 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
40125 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
40126 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
40127 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
40128 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
40129 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
40130 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
40131 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
40132 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
40133 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
40134 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
40135 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
40136 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
40137 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
40138 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
40139 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
40140 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
40141 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
40142 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
40143 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
40144 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
40145 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
40146 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
40147 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
40148 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
40149 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
40150 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
40151 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
40152 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
40153 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
40154 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
40155 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
40156 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
40157 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
40158 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
40159 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
40160 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
40161 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
40162 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
40163 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
40164 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
40165 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
40166 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
40167 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
40168 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
40169 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
40170 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
40171 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
40172 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
40173 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
40174 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
40175 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
40176 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
40177 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
40178 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
40179 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
40180 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
40182 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
40184 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
40185 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
40186 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
40187 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
40188 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
40189 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
40190 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
40191 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
40192 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
40193 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
40194 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
40195 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
40196 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
40197 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
40198 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
40199 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
40200 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
40201 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
40202 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
40203 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
40204 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
40205 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
40206 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
40207 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
40208 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
40209 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
40210 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
40211 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
40212 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
40213 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
40214 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
40215 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
40216 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
40217 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
40218 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
40219 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
40220 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
40221 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
40222 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
40223 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
40224 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
40225 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
40226 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
40227 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
40228 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
40229 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
40230 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
40231 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
40232 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
40233 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
40234 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
40235 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
40236 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
40238 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
40240 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
40241 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
40242 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
40243 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
40244 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
40245 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
40246 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
40247 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
40248 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
40249 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
40250 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
40251 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
40252 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
40253 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
40254 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
40255 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
40256 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
40257 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
40258 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
40259 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
40260 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
40261 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
40262 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
40263 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
40264 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
40265 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
40266 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
40267 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
40268 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
40269 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
40270 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
40271 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
40272 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
40273 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
40274 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
40275 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
40276 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
40277 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
40278 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
40279 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
40280 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
40281 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
40282 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
40283 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
40284 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
40285 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
40286 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
40287 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
40288 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
40289 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
40290 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
40291 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
40292 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
40293 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
40294 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
40295 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
40296 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
40297 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
40298 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
40299 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
40300 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
40301 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
40302 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
40303 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
40304 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
40305 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
40306 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
40307 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
40308 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
40309 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
40310 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
40311 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
40312 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
40313 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
40314 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
40315 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
40317 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
40319 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
40320 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
40321 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
40322 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
40323 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
40324 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
40325 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
40326 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
40327 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
40328 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
40329 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
40330 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
40331 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
40332 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
40333 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
40334 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
40335 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
40336 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
40337 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
40338 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
40339 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
40340 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
40341 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
40342 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
40343 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
40344 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
40345 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
40346 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
40347 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
40348 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
40349 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
40350 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
40351 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
40352 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
40353 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
40354 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
40355 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
40356 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
40357 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
40358 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
40359 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
40360 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
40361 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
40362 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
40363 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
40364 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
40365 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
40366 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
40367 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
40368 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
40369 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
40370 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
40371 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
40372 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
40373 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
40374 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
40375 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
40376 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
40377 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
40378 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
40379 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
40380 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
40381 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
40382 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
40383 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
40384 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
40385 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
40386 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
40387 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
40388 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
40389 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
40390 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
40391 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
40392 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
40393 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
40394 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
40395 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
40396 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
40397 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
40398 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
40399 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
40400 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
40401 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
40402 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
40403 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
40404 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
40405 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
40406 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
40407 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
40408 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
40409 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
40410 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
40411 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
40412 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
40413 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
40414 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
40415 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
40416 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
40417 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
40418 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
40419 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
40420 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
40421 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
40422 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
40423 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
40424 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
40425 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
40426 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
40427 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
40428 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
40429 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
40430 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
40431 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
40432 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
40433 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
40434 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
40435 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
40436 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
40437 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
40438 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
40439 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
40440 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
40441 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
40442 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
40443 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
40444 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
40445 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
40446 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
40447 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
40448 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
40449 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
40450 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
40451 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
40452 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
40453 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
40454 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
40455 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
40456 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
40457 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
40458 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
40459 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
40460 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
40461 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
40462 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
40463 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
40464 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
40465 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
40466 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
40467 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
40468 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
40469 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
40470 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
40471 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
40472 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
40473 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
40474 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
40475 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
40476 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
40477 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
40478 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
40479 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
40480 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
40481 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
40482 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
40483 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
40484 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
40485 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
40486 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
40487 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
40488 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
40489 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
40490 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
40491 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
40492 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
40493 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
40494 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
40495 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
40496 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
40497 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
40498 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
40499 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
40500 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
40501 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
40502 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
40503 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
40504 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
40505 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
40506 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
40507 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
40508 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
40509 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
40510 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
40511 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
40512 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
40513 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
40514 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
40515 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
40516 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
40517 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
40518 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
40520 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
40521 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
40522 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
40523 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
40525 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
40526 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
40527 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
40528 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
40529 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
40530 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
40531 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
40532 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
40533 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
40534 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
40535 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
40536 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
40537 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
40538 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
40539 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
40540 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));