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_wxMetafile swig_types[93]
2560 #define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
2561 #define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
2562 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseEvent swig_types[98]
2565 #define SWIGTYPE_p_wxMouseState swig_types[99]
2566 #define SWIGTYPE_p_wxMoveEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[101]
2568 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNotifyEvent swig_types[104]
2571 #define SWIGTYPE_p_wxObject swig_types[105]
2572 #define SWIGTYPE_p_wxOutputStream swig_types[106]
2573 #define SWIGTYPE_p_wxPCXHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPNGHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNMHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaperSize swig_types[112]
2579 #define SWIGTYPE_p_wxPlatformInfo swig_types[113]
2580 #define SWIGTYPE_p_wxPoint swig_types[114]
2581 #define SWIGTYPE_p_wxPowerEvent swig_types[115]
2582 #define SWIGTYPE_p_wxProcessEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyArtProvider swig_types[118]
2585 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[121]
2588 #define SWIGTYPE_p_wxPyDropSource swig_types[122]
2589 #define SWIGTYPE_p_wxPyDropTarget swig_types[123]
2590 #define SWIGTYPE_p_wxPyEvent swig_types[124]
2591 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[125]
2592 #define SWIGTYPE_p_wxPyImageHandler swig_types[126]
2593 #define SWIGTYPE_p_wxPyLog swig_types[127]
2594 #define SWIGTYPE_p_wxPyProcess swig_types[128]
2595 #define SWIGTYPE_p_wxPySizer swig_types[129]
2596 #define SWIGTYPE_p_wxPyTextDataObject swig_types[130]
2597 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[131]
2598 #define SWIGTYPE_p_wxPyTimer swig_types[132]
2599 #define SWIGTYPE_p_wxPyTipProvider swig_types[133]
2600 #define SWIGTYPE_p_wxPyValidator swig_types[134]
2601 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[135]
2602 #define SWIGTYPE_p_wxRect swig_types[136]
2603 #define SWIGTYPE_p_wxScrollEvent swig_types[137]
2604 #define SWIGTYPE_p_wxScrollWinEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSetCursorEvent swig_types[139]
2606 #define SWIGTYPE_p_wxShowEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSound swig_types[146]
2613 #define SWIGTYPE_p_wxStandardPaths swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[148]
2615 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStopWatch swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSystemOptions swig_types[153]
2620 #define SWIGTYPE_p_wxSystemSettings swig_types[154]
2621 #define SWIGTYPE_p_wxTIFFHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTextCtrl swig_types[156]
2623 #define SWIGTYPE_p_wxTextDataObject swig_types[157]
2624 #define SWIGTYPE_p_wxTimeSpan swig_types[158]
2625 #define SWIGTYPE_p_wxTimer swig_types[159]
2626 #define SWIGTYPE_p_wxTimerEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTimerRunner swig_types[161]
2628 #define SWIGTYPE_p_wxTipProvider swig_types[162]
2629 #define SWIGTYPE_p_wxToolTip swig_types[163]
2630 #define SWIGTYPE_p_wxURLDataObject swig_types[164]
2631 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[165]
2632 #define SWIGTYPE_p_wxValidator swig_types[166]
2633 #define SWIGTYPE_p_wxVideoMode swig_types[167]
2634 #define SWIGTYPE_p_wxWindow swig_types[168]
2635 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[169]
2636 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[170]
2637 #define SWIGTYPE_p_wxWindowDisabler swig_types[171]
2638 #define SWIGTYPE_p_wxXPMHandler swig_types[172]
2639 static swig_type_info
*swig_types
[174];
2640 static swig_module_info swig_module
= {swig_types
, 173, 0, 0, 0, 0};
2641 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2642 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2644 /* -------- TYPES TABLE (END) -------- */
2646 #if (PY_VERSION_HEX <= 0x02000000)
2647 # if !defined(SWIG_PYTHON_CLASSIC)
2648 # error "This python version requires to use swig with the '-classic' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodern' option"
2654 #if (PY_VERSION_HEX <= 0x02020000)
2655 # error "This python version requires to use swig with the '-nomodernargs' option"
2658 # error "This python version requires to use swig with the '-nofastunpack' option"
2661 /*-----------------------------------------------
2662 @(target):= _misc_.so
2663 ------------------------------------------------*/
2664 #define SWIG_init init_misc_
2666 #define SWIG_name "_misc_"
2668 #define SWIGVERSION 0x010329
2671 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2672 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2675 #include <stdexcept>
2679 class PyObject_ptr
{
2684 PyObject_ptr() :_obj(0)
2688 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2693 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2695 if (initial_ref
) Py_XINCREF(_obj
);
2698 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2700 Py_XINCREF(item
._obj
);
2711 operator PyObject
*() const
2716 PyObject
*operator->() const
2725 struct PyObject_var
: PyObject_ptr
{
2726 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2728 PyObject_var
& operator = (PyObject
* obj
)
2738 #include "wx/wxPython/wxPython.h"
2739 #include "wx/wxPython/pyclasses.h"
2740 #include "wx/wxPython/pyistream.h"
2742 static const wxString
wxPyEmptyString(wxEmptyString
);
2746 #define SWIG_From_long PyInt_FromLong
2749 SWIGINTERNINLINE PyObject
*
2750 SWIG_From_int (int value
)
2752 return SWIG_From_long (value
);
2758 # define LLONG_MIN LONG_LONG_MIN
2761 # define LLONG_MAX LONG_LONG_MAX
2764 # define ULLONG_MAX ULONG_LONG_MAX
2769 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2771 if (PyNumber_Check(obj
)) {
2772 if (val
) *val
= PyInt_AsLong(obj
);
2775 return SWIG_TypeError
;
2780 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2783 int res
= SWIG_AsVal_long (obj
, &v
);
2784 if (SWIG_IsOK(res
)) {
2785 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2786 return SWIG_OverflowError
;
2788 if (val
) *val
= static_cast< int >(v
);
2794 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2796 #include <wx/stockitem.h>
2798 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2799 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2800 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2803 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2805 if (obj
== Py_True
) {
2806 if (val
) *val
= true;
2808 } else if (obj
== Py_False
) {
2809 if (val
) *val
= false;
2813 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2814 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2821 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2824 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2825 return SWIG_TypeError
;
2828 *val
= (unsigned long)v
;
2833 SWIGINTERNINLINE PyObject
*
2834 SWIG_From_unsigned_SS_long (unsigned long value
)
2836 return (value
> LONG_MAX
) ?
2837 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2841 void* wxGetXDisplay()
2844 return wxGetDisplay();
2851 wxWindow
* FindWindowAtPointer() {
2853 return wxFindWindowAtPointer(unused
);
2857 bool wxThread_IsMain() {
2858 #ifdef WXP_WITH_THREAD
2859 return wxThread::IsMain();
2865 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2869 #include <wx/snglinst.h>
2873 #include <wx/msw/private.h>
2874 #include <wx/dynload.h>
2879 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2890 // This one only partially works. Appears to be an undocumented
2891 // "standard" convention that not all widgets adhear to. For
2892 // example, for some widgets backgrounds or non-client areas may
2894 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2899 // This one works much better, nearly all widgets and their
2900 // children are captured correctly[**]. Prior to the big
2901 // background erase changes that Vadim did in 2004-2005 this
2902 // method failed badly on XP with Themes activated, most native
2903 // widgets draw only partially, if at all. Without themes it
2904 // worked just like on Win2k. After those changes this method
2907 // ** For example the radio buttons in a wxRadioBox are not its
2908 // children by default, but you can capture it via the panel
2909 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2910 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2911 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2912 PRF_ERASEBKGND
| PRF_OWNED
);
2918 // This one is only defined in the latest SDK and is only
2919 // available on XP. MSDN says it is similar to sending WM_PRINT
2920 // so I expect that it will work similar to the above. Since it
2921 // is avaialble only on XP, it can't be compiled like this and
2922 // will have to be loaded dynamically.
2923 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2928 // Use PrintWindow if available, or fallback to WM_PRINT
2929 // otherwise. Unfortunately using PrintWindow is even worse than
2930 // WM_PRINT. For most native widgets nothing is drawn to the dc
2931 // at all, with or without Themes.
2932 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2933 static bool s_triedToLoad
= false;
2934 static PrintWindow_t pfnPrintWindow
= NULL
;
2935 if ( !s_triedToLoad
)
2938 s_triedToLoad
= true;
2939 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2940 if ( dllUser32
.IsLoaded() )
2942 wxLogNull nolog
; // Don't report errors here
2943 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2948 //printf("Using PrintWindow\n");
2949 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2953 //printf("Using WM_PRINT\n");
2954 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2955 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2956 PRF_ERASEBKGND
| PRF_OWNED
);
2967 #include <wx/tipdlg.h>
2970 SWIGINTERNINLINE PyObject
*
2971 SWIG_From_size_t (size_t value
)
2973 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2977 class wxPyTipProvider
: public wxTipProvider
{
2979 wxPyTipProvider(size_t currentTip
)
2980 : wxTipProvider(currentTip
) {}
2982 DEC_PYCALLBACK_STRING__pure(GetTip
);
2983 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2987 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2988 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2991 SWIGINTERNINLINE
int
2992 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2995 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2996 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3001 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3003 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3005 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3006 : wxTimer(owner
, id
)
3013 SWIGINTERN swig_type_info
*
3014 SWIG_pchar_descriptor()
3016 static int init
= 0;
3017 static swig_type_info
* info
= 0;
3019 info
= SWIG_TypeQuery("_p_char");
3026 SWIGINTERNINLINE PyObject
*
3027 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3030 if (size
> INT_MAX
) {
3031 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3032 return pchar_descriptor
?
3033 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3035 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3038 return SWIG_Py_Void();
3043 SWIGINTERNINLINE PyObject
*
3044 SWIG_FromCharPtr(const char *cptr
)
3046 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3051 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3054 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3055 if (SWIG_IsOK(res
)) {
3056 if ((v
> UINT_MAX
)) {
3057 return SWIG_OverflowError
;
3059 if (val
) *val
= static_cast< unsigned int >(v
);
3065 SWIGINTERN wxString
wxLog_TimeStamp(){
3067 wxLog::TimeStamp(&msg
);
3070 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3071 // Make some wrappers that double any % signs so they are 'escaped'
3072 void wxPyLogFatalError(const wxString
& msg
)
3075 m
.Replace(wxT("%"), wxT("%%"));
3079 void wxPyLogError(const wxString
& msg
)
3082 m
.Replace(wxT("%"), wxT("%%"));
3086 void wxPyLogWarning(const wxString
& msg
)
3089 m
.Replace(wxT("%"), wxT("%%"));
3093 void wxPyLogMessage(const wxString
& msg
)
3096 m
.Replace(wxT("%"), wxT("%%"));
3100 void wxPyLogInfo(const wxString
& msg
)
3103 m
.Replace(wxT("%"), wxT("%%"));
3107 void wxPyLogDebug(const wxString
& msg
)
3110 m
.Replace(wxT("%"), wxT("%%"));
3114 void wxPyLogVerbose(const wxString
& msg
)
3117 m
.Replace(wxT("%"), wxT("%%"));
3121 void wxPyLogStatus(const wxString
& msg
)
3124 m
.Replace(wxT("%"), wxT("%%"));
3128 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3131 m
.Replace(wxT("%"), wxT("%%"));
3132 wxLogStatus(pFrame
, m
);
3135 void wxPyLogSysError(const wxString
& msg
)
3138 m
.Replace(wxT("%"), wxT("%%"));
3142 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3145 m
.Replace(wxT("%"), wxT("%%"));
3146 wxLogGeneric(level
, m
);
3149 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3152 m
.Replace(wxT("%"), wxT("%%"));
3153 wxLogTrace(mask
, m
);
3156 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3159 m
.Replace(wxT("%"), wxT("%%"));
3160 wxLogTrace(mask
, m
);
3165 // A wxLog class that can be derived from in wxPython
3166 class wxPyLog
: public wxLog
{
3168 wxPyLog() : wxLog() {}
3170 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3172 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3173 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3174 PyObject
* s
= wx2PyString(szString
);
3175 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3178 wxPyEndBlockThreads(blocked
);
3180 wxLog::DoLog(level
, szString
, t
);
3183 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3185 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3186 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3187 PyObject
* s
= wx2PyString(szString
);
3188 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3191 wxPyEndBlockThreads(blocked
);
3193 wxLog::DoLogString(szString
, t
);
3196 DEC_PYCALLBACK_VOID_(Flush
);
3199 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3204 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3207 #include <wx/joystick.h>
3210 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3211 // A C++ stub class for wxJoystick for platforms that don't have it.
3212 class wxJoystick
: public wxObject
{
3214 wxJoystick(int joystick
= wxJOYSTICK1
) {
3215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3216 PyErr_SetString(PyExc_NotImplementedError
,
3217 "wxJoystick is not available on this platform.");
3218 wxPyEndBlockThreads(blocked
);
3220 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3221 int GetZPosition() { return -1; }
3222 int GetButtonState() { return -1; }
3223 int GetPOVPosition() { return -1; }
3224 int GetPOVCTSPosition() { return -1; }
3225 int GetRudderPosition() { return -1; }
3226 int GetUPosition() { return -1; }
3227 int GetVPosition() { return -1; }
3228 int GetMovementThreshold() { return -1; }
3229 void SetMovementThreshold(int threshold
) {}
3231 bool IsOk(void) { return false; }
3232 int GetNumberJoysticks() { return -1; }
3233 int GetManufacturerId() { return -1; }
3234 int GetProductId() { return -1; }
3235 wxString
GetProductName() { return wxEmptyString
; }
3236 int GetXMin() { return -1; }
3237 int GetYMin() { return -1; }
3238 int GetZMin() { return -1; }
3239 int GetXMax() { return -1; }
3240 int GetYMax() { return -1; }
3241 int GetZMax() { return -1; }
3242 int GetNumberButtons() { return -1; }
3243 int GetNumberAxes() { return -1; }
3244 int GetMaxButtons() { return -1; }
3245 int GetMaxAxes() { return -1; }
3246 int GetPollingMin() { return -1; }
3247 int GetPollingMax() { return -1; }
3248 int GetRudderMin() { return -1; }
3249 int GetRudderMax() { return -1; }
3250 int GetUMin() { return -1; }
3251 int GetUMax() { return -1; }
3252 int GetVMin() { return -1; }
3253 int GetVMax() { return -1; }
3255 bool HasRudder() { return false; }
3256 bool HasZ() { return false; }
3257 bool HasU() { return false; }
3258 bool HasV() { return false; }
3259 bool HasPOV() { return false; }
3260 bool HasPOV4Dir() { return false; }
3261 bool HasPOVCTS() { return false; }
3263 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3264 bool ReleaseCapture() { return false; }
3269 #include <wx/sound.h>
3273 // A C++ stub class for wxWave for platforms that don't have it.
3274 class wxSound
: public wxObject
3278 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3279 PyErr_SetString(PyExc_NotImplementedError
,
3280 "wxSound is not available on this platform.");
3281 wxPyEndBlockThreads(blocked
);
3283 wxSound(const wxString
&/*, bool*/) {
3284 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3285 PyErr_SetString(PyExc_NotImplementedError
,
3286 "wxSound is not available on this platform.");
3287 wxPyEndBlockThreads(blocked
);
3289 wxSound(int, const wxByte
*) {
3290 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3291 PyErr_SetString(PyExc_NotImplementedError
,
3292 "wxSound is not available on this platform.");
3293 wxPyEndBlockThreads(blocked
);
3298 bool Create(const wxString
&/*, bool*/) { return false; }
3299 bool Create(int, const wxByte
*) { return false; };
3300 bool IsOk() { return false; };
3301 bool Play(unsigned) const { return false; }
3302 static bool Play(const wxString
&, unsigned) { return false; }
3303 static void Stop() {}
3308 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3309 if (fileName
.Length() == 0)
3312 return new wxSound(fileName
);
3314 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3315 unsigned char* buffer
; int size
;
3316 wxSound
*sound
= NULL
;
3318 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3319 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3321 sound
= new wxSound(size
, buffer
);
3323 wxPyEndBlockThreads(blocked
);
3326 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3328 unsigned char* buffer
;
3332 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3333 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3335 rv
= self
->Create(size
, buffer
);
3337 wxPyEndBlockThreads(blocked
);
3340 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3341 PyErr_SetString(PyExc_NotImplementedError
,
3342 "Create from data is not available on this platform.");
3343 wxPyEndBlockThreads(blocked
);
3348 #include <wx/mimetype.h>
3350 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3352 if (self
->GetMimeType(&str
))
3353 return wx2PyString(str
);
3357 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3359 if (self
->GetMimeTypes(arr
))
3360 return wxArrayString2PyList_helper(arr
);
3364 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3366 if (self
->GetExtensions(arr
))
3367 return wxArrayString2PyList_helper(arr
);
3371 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3373 if (self
->GetIcon(&loc
))
3374 return new wxIcon(loc
);
3378 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3380 if (self
->GetIcon(&loc
)) {
3381 wxString iconFile
= loc
.GetFileName();
3384 iconIndex
= loc
.GetIndex();
3386 // Make a tuple and put the values in it
3387 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3388 PyObject
* tuple
= PyTuple_New(3);
3389 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3390 wxT("wxIcon"), true));
3391 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3392 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3393 wxPyEndBlockThreads(blocked
);
3399 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3401 if (self
->GetDescription(&str
))
3402 return wx2PyString(str
);
3406 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3408 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3409 return wx2PyString(str
);
3413 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3415 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3416 return wx2PyString(str
);
3420 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3421 wxArrayString verbs
;
3422 wxArrayString commands
;
3423 if (self
->GetAllCommands(&verbs
, &commands
,
3424 wxFileType::MessageParameters(filename
, mimetype
))) {
3425 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3426 PyObject
* tuple
= PyTuple_New(2);
3427 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3428 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3429 wxPyEndBlockThreads(blocked
);
3435 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3436 return wxFileType::ExpandCommand(command
,
3437 wxFileType::MessageParameters(filename
, mimetype
));
3439 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3441 self
->EnumAllFileTypes(arr
);
3442 return wxArrayString2PyList_helper(arr
);
3445 #include <wx/artprov.h>
3447 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3448 static const wxString
wxPyART_MENU(wxART_MENU
);
3449 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3450 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3451 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3452 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3453 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3454 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3455 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3456 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3457 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3458 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3459 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3460 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3461 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3462 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3463 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3464 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3465 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3466 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3467 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3468 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3469 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3470 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3471 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3472 static const wxString
wxPyART_HELP(wxART_HELP
);
3473 static const wxString
wxPyART_TIP(wxART_TIP
);
3474 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3475 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3476 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3477 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3478 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3479 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3480 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3481 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3482 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3483 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3484 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3485 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3486 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3487 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3488 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3489 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3490 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3491 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3492 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3493 static const wxString
wxPyART_COPY(wxART_COPY
);
3494 static const wxString
wxPyART_CUT(wxART_CUT
);
3495 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3496 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3497 static const wxString
wxPyART_NEW(wxART_NEW
);
3498 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3499 static const wxString
wxPyART_REDO(wxART_REDO
);
3500 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3501 static const wxString
wxPyART_FIND(wxART_FIND
);
3502 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3503 // Python aware wxArtProvider
3504 class wxPyArtProvider
: public wxArtProvider
{
3507 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3508 const wxArtClient
& client
,
3509 const wxSize
& size
) {
3510 wxBitmap rval
= wxNullBitmap
;
3511 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3512 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3513 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3517 s1
= wx2PyString(id
);
3518 s2
= wx2PyString(client
);
3519 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3524 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3529 wxPyEndBlockThreads(blocked
);
3536 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3540 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3541 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3542 PyObject
* ret
= PyTuple_New(3);
3544 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3545 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3546 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3548 wxPyEndBlockThreads(blocked
);
3552 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3557 cont
= self
->GetFirstGroup(value
, index
);
3558 return __EnumerationHelper(cont
, value
, index
);
3560 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3564 cont
= self
->GetNextGroup(value
, index
);
3565 return __EnumerationHelper(cont
, value
, index
);
3567 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3572 cont
= self
->GetFirstEntry(value
, index
);
3573 return __EnumerationHelper(cont
, value
, index
);
3575 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3579 cont
= self
->GetNextEntry(value
, index
);
3580 return __EnumerationHelper(cont
, value
, index
);
3582 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3584 self
->Read(key
, &rv
, defaultVal
);
3589 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3591 if (PyNumber_Check(obj
)) {
3592 if (val
) *val
= PyFloat_AsDouble(obj
);
3595 return SWIG_TypeError
;
3598 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3600 self
->Read(key
, &rv
, defaultVal
);
3604 #define SWIG_From_double PyFloat_FromDouble
3606 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3608 self
->Read(key
, &rv
, defaultVal
);
3612 #include <wx/datetime.h>
3614 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3615 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3617 #define LOCAL_TZ wxDateTime::Local
3619 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3622 wxDateTime::GetAmPmStrings(&am
, &pm
);
3623 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3624 PyObject
* tup
= PyTuple_New(2);
3625 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3626 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3627 wxPyEndBlockThreads(blocked
);
3631 SWIGINTERNINLINE PyObject
*
3632 SWIG_From_unsigned_SS_int (unsigned int value
)
3634 return SWIG_From_unsigned_SS_long (value
);
3637 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3638 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3639 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3640 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3641 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3642 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3643 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3644 return (*self
< *other
);
3646 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3647 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3648 return (*self
<= *other
);
3650 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3651 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3652 return (*self
> *other
);
3654 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3655 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3656 return (*self
>= *other
);
3658 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3659 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3660 return (*self
== *other
);
3662 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3663 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3664 return (*self
!= *other
);
3666 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3668 const wxChar
* _date
= date
;
3669 rv
= self
->ParseRfc822Date(_date
);
3670 if (rv
== NULL
) return -1;
3673 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3675 const wxChar
* _date
= date
;
3676 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3677 if (rv
== NULL
) return -1;
3680 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3682 const wxChar
* _datetime
= datetime
;
3683 rv
= self
->ParseDateTime(_datetime
);
3684 if (rv
== NULL
) return -1;
3685 return rv
- _datetime
;
3687 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3689 const wxChar
* _date
= date
;
3690 rv
= self
->ParseDate(_date
);
3691 if (rv
== NULL
) return -1;
3694 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3696 const wxChar
* _time
= time
;
3697 rv
= self
->ParseTime(_time
);
3698 if (rv
== NULL
) return -1;
3701 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3702 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3703 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3704 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3705 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3706 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3707 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3708 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3709 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3710 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3711 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3712 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3713 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3714 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3715 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3716 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3718 #include <wx/dataobj.h>
3720 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3721 size_t count
= self
->GetFormatCount(dir
);
3722 wxDataFormat
* formats
= new wxDataFormat
[count
];
3723 self
->GetAllFormats(formats
, dir
);
3725 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3726 PyObject
* list
= PyList_New(count
);
3727 for (size_t i
=0; i
<count
; i
++) {
3728 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3729 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3730 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3732 wxPyEndBlockThreads(blocked
);
3736 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3737 PyObject
* rval
= NULL
;
3738 size_t size
= self
->GetDataSize(format
);
3739 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3741 char* buf
= new char[size
];
3742 if (self
->GetDataHere(format
, buf
))
3743 rval
= PyString_FromStringAndSize(buf
, size
);
3750 wxPyEndBlockThreads(blocked
);
3753 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3755 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3756 if (PyString_Check(data
)) {
3757 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3760 // raise a TypeError if not a string
3761 PyErr_SetString(PyExc_TypeError
, "String expected.");
3764 wxPyEndBlockThreads(blocked
);
3767 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3768 PyObject
* rval
= NULL
;
3769 size_t size
= self
->GetDataSize();
3770 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3772 char* buf
= new char[size
];
3773 if (self
->GetDataHere(buf
))
3774 rval
= PyString_FromStringAndSize(buf
, size
);
3781 wxPyEndBlockThreads(blocked
);
3784 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3786 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3787 if (PyString_Check(data
)) {
3788 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3791 // raise a TypeError if not a string
3792 PyErr_SetString(PyExc_TypeError
, "String expected.");
3795 wxPyEndBlockThreads(blocked
);
3798 // Create a new class for wxPython to use
3799 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3801 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3802 : wxDataObjectSimple(format
) {}
3804 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3805 bool GetDataHere(void *buf
) const;
3806 bool SetData(size_t len
, const void *buf
);
3810 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3812 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3813 // We need to get the data for this object and write it to buf. I think
3814 // the best way to do this for wxPython is to have the Python method
3815 // return either a string or None and then act appropriately with the
3819 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3820 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3822 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3824 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3826 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3830 wxPyEndBlockThreads(blocked
);
3834 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3835 // For this one we simply need to make a string from buf and len
3836 // and send it to the Python method.
3838 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3839 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3840 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3841 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3844 wxPyEndBlockThreads(blocked
);
3848 // Create a new class for wxPython to use
3849 class wxPyTextDataObject
: public wxTextDataObject
{
3851 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3852 : wxTextDataObject(text
) {}
3854 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3855 DEC_PYCALLBACK_STRING__const(GetText
);
3856 DEC_PYCALLBACK__STRING(SetText
);
3860 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3861 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3862 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3865 // Create a new class for wxPython to use
3866 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3868 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3869 : wxBitmapDataObject(bitmap
) {}
3871 wxBitmap
GetBitmap() const;
3872 void SetBitmap(const wxBitmap
& bitmap
);
3876 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3877 wxBitmap
* rval
= &wxNullBitmap
;
3878 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3879 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3882 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3884 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3889 wxPyEndBlockThreads(blocked
);
3893 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3895 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3896 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3897 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3900 wxPyEndBlockThreads(blocked
);
3903 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3904 return new wxCustomDataObject(wxDataFormat(formatName
));
3906 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3909 if (PyString_Check(data
)) {
3910 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3913 // raise a TypeError if not a string
3914 PyErr_SetString(PyExc_TypeError
, "String expected.");
3917 wxPyEndBlockThreads(blocked
);
3920 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3922 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3923 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3924 wxPyEndBlockThreads(blocked
);
3928 #include <wx/metafile.h>
3931 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3934 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3935 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3936 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3937 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3938 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3941 class wxPyTextDropTarget
: public wxTextDropTarget
{
3943 wxPyTextDropTarget() {}
3945 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3947 DEC_PYCALLBACK__(OnLeave
);
3948 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3949 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3950 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3951 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3956 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3957 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3958 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3959 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3960 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3961 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3965 class wxPyFileDropTarget
: public wxFileDropTarget
{
3967 wxPyFileDropTarget() {}
3969 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3971 DEC_PYCALLBACK__(OnLeave
);
3972 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3973 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3974 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3975 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3980 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3981 const wxArrayString
& filenames
) {
3983 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3984 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3985 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3986 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3989 wxPyEndBlockThreads(blocked
);
3995 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3996 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3997 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3998 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3999 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4004 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4006 #include <wx/display.h>
4008 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4009 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4012 const wxVideoMode wxDefaultVideoMode
;
4015 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4017 PyObject
* pyList
= NULL
;
4018 wxArrayVideoModes arr
= self
->GetModes(mode
);
4019 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4020 pyList
= PyList_New(0);
4021 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4023 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4024 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4025 PyList_Append(pyList
, pyObj
);
4028 wxPyEndBlockThreads(blocked
);
4031 wxPyRaiseNotImplemented();
4035 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4037 return self
->GetCurrentMode();
4039 wxPyRaiseNotImplemented();
4040 return wxDefaultVideoMode
;
4043 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4045 return self
->ChangeMode(mode
);
4047 wxPyRaiseNotImplemented();
4051 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4055 wxPyRaiseNotImplemented();
4059 #include <wx/stdpaths.h>
4061 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4062 return (wxStandardPaths
*) &wxStandardPaths::Get();
4064 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4065 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4067 #ifndef wxHAS_POWER_EVENTS
4068 // Dummy class and other definitions for platforms that don't have them
4070 // See wxPython_int.h for wxPowerEvent
4073 wxEVT_POWER_SUSPENDING
,
4074 wxEVT_POWER_SUSPENDED
,
4075 wxEVT_POWER_SUSPEND_CANCEL
,
4079 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4080 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4087 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
= 0;
4089 wxSystemColour arg1
;
4093 PyObject
* obj0
= 0 ;
4094 char * kwnames
[] = {
4095 (char *) "index", NULL
4098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4100 if (!SWIG_IsOK(ecode1
)) {
4101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4103 arg1
= static_cast< wxSystemColour
>(val1
);
4105 if (!wxPyCheckForApp()) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= wxSystemSettings::GetColour(arg1
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4118 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
= 0;
4124 PyObject
* obj0
= 0 ;
4125 char * kwnames
[] = {
4126 (char *) "index", NULL
4129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4130 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4131 if (!SWIG_IsOK(ecode1
)) {
4132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4134 arg1
= static_cast< wxSystemFont
>(val1
);
4136 if (!wxPyCheckForApp()) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= wxSystemSettings::GetFont(arg1
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4149 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
= 0;
4151 wxSystemMetric arg1
;
4152 wxWindow
*arg2
= (wxWindow
*) NULL
;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4160 char * kwnames
[] = {
4161 (char *) "index",(char *) "win", NULL
4164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4165 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4166 if (!SWIG_IsOK(ecode1
)) {
4167 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4169 arg1
= static_cast< wxSystemMetric
>(val1
);
4171 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4172 if (!SWIG_IsOK(res2
)) {
4173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4175 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4178 if (!wxPyCheckForApp()) SWIG_fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= SWIG_From_int(static_cast< int >(result
));
4191 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
= 0;
4193 wxSystemFeature arg1
;
4197 PyObject
* obj0
= 0 ;
4198 char * kwnames
[] = {
4199 (char *) "index", NULL
4202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4204 if (!SWIG_IsOK(ecode1
)) {
4205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4207 arg1
= static_cast< wxSystemFeature
>(val1
);
4209 if (!wxPyCheckForApp()) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4224 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4225 PyObject
*resultobj
= 0;
4226 wxSystemScreenType result
;
4228 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4230 if (!wxPyCheckForApp()) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= SWIG_From_int(static_cast< int >(result
));
4243 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
= 0;
4245 wxSystemScreenType arg1
;
4248 PyObject
* obj0
= 0 ;
4249 char * kwnames
[] = {
4250 (char *) "screen", NULL
4253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4254 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4255 if (!SWIG_IsOK(ecode1
)) {
4256 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4258 arg1
= static_cast< wxSystemScreenType
>(val1
);
4260 if (!wxPyCheckForApp()) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 wxSystemSettings::SetScreenType(arg1
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= SWIG_Py_Void();
4273 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4275 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4276 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4277 return SWIG_Py_Void();
4280 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4281 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4286 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4287 PyObject
*pyobj
= 0;
4291 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4293 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4300 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4301 PyObject
*resultobj
= 0;
4302 wxSystemOptions
*result
= 0 ;
4304 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= (wxSystemOptions
*)new wxSystemOptions();
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4318 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
= 0;
4320 wxString
*arg1
= 0 ;
4321 wxString
*arg2
= 0 ;
4322 bool temp1
= false ;
4323 bool temp2
= false ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4326 char * kwnames
[] = {
4327 (char *) "name",(char *) "value", NULL
4330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4332 arg1
= wxString_in_helper(obj0
);
4333 if (arg1
== NULL
) SWIG_fail
;
4337 arg2
= wxString_in_helper(obj1
);
4338 if (arg2
== NULL
) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_Py_Void();
4370 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
= 0;
4372 wxString
*arg1
= 0 ;
4374 bool temp1
= false ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4379 char * kwnames
[] = {
4380 (char *) "name",(char *) "value", NULL
4383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4385 arg1
= wxString_in_helper(obj0
);
4386 if (arg1
== NULL
) SWIG_fail
;
4389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4390 if (!SWIG_IsOK(ecode2
)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4393 arg2
= static_cast< int >(val2
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_Py_Void();
4415 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
= 0;
4417 wxString
*arg1
= 0 ;
4419 bool temp1
= false ;
4420 PyObject
* obj0
= 0 ;
4421 char * kwnames
[] = {
4422 (char *) "name", NULL
4425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4427 arg1
= wxString_in_helper(obj0
);
4428 if (arg1
== NULL
) SWIG_fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4458 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
= 0;
4460 wxString
*arg1
= 0 ;
4462 bool temp1
= false ;
4463 PyObject
* obj0
= 0 ;
4464 char * kwnames
[] = {
4465 (char *) "name", NULL
4468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4470 arg1
= wxString_in_helper(obj0
);
4471 if (arg1
== NULL
) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_From_int(static_cast< int >(result
));
4495 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
= 0;
4497 wxString
*arg1
= 0 ;
4499 bool temp1
= false ;
4500 PyObject
* obj0
= 0 ;
4501 char * kwnames
[] = {
4502 (char *) "name", NULL
4505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4507 arg1
= wxString_in_helper(obj0
);
4508 if (arg1
== NULL
) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4534 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
= 0;
4536 wxString
*arg1
= 0 ;
4538 bool temp1
= false ;
4539 PyObject
* obj0
= 0 ;
4540 char * kwnames
[] = {
4541 (char *) "name", NULL
4544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4546 arg1
= wxString_in_helper(obj0
);
4547 if (arg1
== NULL
) SWIG_fail
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4573 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4576 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4577 return SWIG_Py_Void();
4580 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4581 return SWIG_Python_InitShadowInstance(args
);
4584 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4585 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4590 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4591 PyObject
*pyobj
= 0;
4595 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4597 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4604 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4605 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4610 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4611 PyObject
*pyobj
= 0;
4615 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4617 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4624 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4625 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4630 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4631 PyObject
*pyobj
= 0;
4635 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4637 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4644 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4645 PyObject
*resultobj
= 0;
4648 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (long)wxNewId();
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_From_long(static_cast< long >(result
));
4662 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
= 0;
4667 PyObject
* obj0
= 0 ;
4668 char * kwnames
[] = {
4672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4673 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4674 if (!SWIG_IsOK(ecode1
)) {
4675 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4677 arg1
= static_cast< long >(val1
);
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= SWIG_Py_Void();
4691 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4692 PyObject
*resultobj
= 0;
4695 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (long)wxGetCurrentId();
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= SWIG_From_long(static_cast< long >(result
));
4709 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
= 0;
4715 PyObject
* obj0
= 0 ;
4716 char * kwnames
[] = {
4720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4722 if (!SWIG_IsOK(ecode1
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4725 arg1
= static_cast< int >(val1
);
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (bool)wxIsStockID(arg1
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4741 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
= 0;
4744 wxString
*arg2
= 0 ;
4748 bool temp2
= false ;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4751 char * kwnames
[] = {
4752 (char *) "id",(char *) "label", NULL
4755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4756 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4757 if (!SWIG_IsOK(ecode1
)) {
4758 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4760 arg1
= static_cast< int >(val1
);
4762 arg2
= wxString_in_helper(obj1
);
4763 if (arg2
== NULL
) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4789 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
= 0;
4792 bool arg2
= (bool) true ;
4793 wxString arg3
= (wxString
) wxPyEmptyString
;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4801 PyObject
* obj2
= 0 ;
4802 char * kwnames
[] = {
4803 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4807 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4808 if (!SWIG_IsOK(ecode1
)) {
4809 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4811 arg1
= static_cast< int >(val1
);
4813 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4814 if (!SWIG_IsOK(ecode2
)) {
4815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4817 arg2
= static_cast< bool >(val2
);
4821 wxString
* sptr
= wxString_in_helper(obj2
);
4822 if (sptr
== NULL
) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4846 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4847 PyObject
*resultobj
= 0;
4849 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4851 if (!wxPyCheckForApp()) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_Py_Void();
4864 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4865 PyObject
*resultobj
= 0;
4867 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4869 if (!wxPyCheckForApp()) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4875 resultobj
= SWIG_Py_Void();
4882 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
= 0;
4884 bool arg1
= (bool) true ;
4888 PyObject
* obj0
= 0 ;
4889 char * kwnames
[] = {
4890 (char *) "resetTimer", NULL
4893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4895 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4896 if (!SWIG_IsOK(ecode1
)) {
4897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4899 arg1
= static_cast< bool >(val1
);
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= (long)wxGetElapsedTime(arg1
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_From_long(static_cast< long >(result
));
4914 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4915 PyObject
*resultobj
= 0;
4918 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (bool)wxIsBusy();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4934 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4935 PyObject
*resultobj
= 0;
4938 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4958 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
*resultobj
= 0;
4960 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4961 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4963 bool temp1
= false ;
4964 PyObject
* obj0
= 0 ;
4965 char * kwnames
[] = {
4966 (char *) "command", NULL
4969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4972 arg1
= wxString_in_helper(obj0
);
4973 if (arg1
== NULL
) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (bool)wxShell((wxString
const &)*arg1
);
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5000 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5001 PyObject
*resultobj
= 0;
5003 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_Py_Void();
5017 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5018 PyObject
*resultobj
= 0;
5019 int *arg1
= (int *) 0 ;
5020 int *arg2
= (int *) 0 ;
5023 int res1
= SWIG_TMPOBJ
;
5025 int res2
= SWIG_TMPOBJ
;
5029 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (int)wxGetOsVersion(arg1
,arg2
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_From_int(static_cast< int >(result
));
5037 if (SWIG_IsTmpObj(res1
)) {
5038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5040 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5043 if (SWIG_IsTmpObj(res2
)) {
5044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5046 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5055 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5056 PyObject
*resultobj
= 0;
5059 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= wxGetOsDescription();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5079 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5080 PyObject
*resultobj
= 0;
5083 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= (bool)wxIsPlatformLittleEndian();
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5099 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5100 PyObject
*resultobj
= 0;
5103 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (bool)wxIsPlatform64Bit();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5119 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5120 PyObject
*resultobj
= 0;
5121 wxMemorySize result
;
5123 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= wxGetFreeMemory();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5134 resultobj
= PyInt_FromLong(result
);
5143 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
= 0;
5145 wxShutdownFlags arg1
;
5149 PyObject
* obj0
= 0 ;
5150 char * kwnames
[] = {
5151 (char *) "wFlags", NULL
5154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5155 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5156 if (!SWIG_IsOK(ecode1
)) {
5157 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5159 arg1
= static_cast< wxShutdownFlags
>(val1
);
5161 if (!wxPyCheckForApp()) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (bool)wxShutdown(arg1
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5176 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
= 0;
5181 PyObject
* obj0
= 0 ;
5182 char * kwnames
[] = {
5183 (char *) "secs", NULL
5186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5187 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5188 if (!SWIG_IsOK(ecode1
)) {
5189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5191 arg1
= static_cast< int >(val1
);
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_Py_Void();
5205 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
= 0;
5207 unsigned long arg1
;
5208 unsigned long val1
;
5210 PyObject
* obj0
= 0 ;
5211 char * kwnames
[] = {
5212 (char *) "milliseconds", NULL
5215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5216 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5217 if (!SWIG_IsOK(ecode1
)) {
5218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5220 arg1
= static_cast< unsigned long >(val1
);
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= SWIG_Py_Void();
5234 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
= 0;
5236 unsigned long arg1
;
5237 unsigned long val1
;
5239 PyObject
* obj0
= 0 ;
5240 char * kwnames
[] = {
5241 (char *) "microseconds", NULL
5244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5245 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5246 if (!SWIG_IsOK(ecode1
)) {
5247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5249 arg1
= static_cast< unsigned long >(val1
);
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_Py_Void();
5263 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
= 0;
5268 PyObject
* obj0
= 0 ;
5269 char * kwnames
[] = {
5270 (char *) "enable", NULL
5273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5274 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5275 if (!SWIG_IsOK(ecode1
)) {
5276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5278 arg1
= static_cast< bool >(val1
);
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 wxEnableTopLevelWindows(arg1
);
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= SWIG_Py_Void();
5292 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
= 0;
5294 wxString
*arg1
= 0 ;
5296 bool temp1
= false ;
5297 PyObject
* obj0
= 0 ;
5298 char * kwnames
[] = {
5302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5304 arg1
= wxString_in_helper(obj0
);
5305 if (arg1
== NULL
) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5335 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5336 PyObject
*resultobj
= 0;
5339 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 result
= wxGetEmailAddress();
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5359 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5360 PyObject
*resultobj
= 0;
5363 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= wxGetHostName();
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5383 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5384 PyObject
*resultobj
= 0;
5387 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= wxGetFullHostName();
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5407 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5408 PyObject
*resultobj
= 0;
5411 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= wxGetUserId();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5431 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5432 PyObject
*resultobj
= 0;
5435 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= wxGetUserName();
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5455 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5456 PyObject
*resultobj
= 0;
5459 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= wxGetHomeDir();
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5479 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
*resultobj
= 0;
5481 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5482 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5484 bool temp1
= false ;
5485 PyObject
* obj0
= 0 ;
5486 char * kwnames
[] = {
5487 (char *) "user", NULL
5490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5493 arg1
= wxString_in_helper(obj0
);
5494 if (arg1
== NULL
) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= wxGetUserHome((wxString
const &)*arg1
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5525 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5526 PyObject
*resultobj
= 0;
5527 unsigned long result
;
5529 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (unsigned long)wxGetProcessId();
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5543 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5544 PyObject
*resultobj
= 0;
5546 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= SWIG_Py_Void();
5560 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
= 0;
5562 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5563 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5564 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5565 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5566 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5567 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5568 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5569 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5570 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5571 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5572 int arg6
= (int) 0 ;
5573 wxWindow
*arg7
= (wxWindow
*) NULL
;
5574 int arg8
= (int) -1 ;
5575 int arg9
= (int) -1 ;
5577 bool temp1
= false ;
5578 bool temp2
= false ;
5579 bool temp3
= false ;
5580 bool temp4
= false ;
5581 bool temp5
= false ;
5590 PyObject
* obj0
= 0 ;
5591 PyObject
* obj1
= 0 ;
5592 PyObject
* obj2
= 0 ;
5593 PyObject
* obj3
= 0 ;
5594 PyObject
* obj4
= 0 ;
5595 PyObject
* obj5
= 0 ;
5596 PyObject
* obj6
= 0 ;
5597 PyObject
* obj7
= 0 ;
5598 PyObject
* obj8
= 0 ;
5599 char * kwnames
[] = {
5600 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5606 arg1
= wxString_in_helper(obj0
);
5607 if (arg1
== NULL
) SWIG_fail
;
5613 arg2
= wxString_in_helper(obj1
);
5614 if (arg2
== NULL
) SWIG_fail
;
5620 arg3
= wxString_in_helper(obj2
);
5621 if (arg3
== NULL
) SWIG_fail
;
5627 arg4
= wxString_in_helper(obj3
);
5628 if (arg4
== NULL
) SWIG_fail
;
5634 arg5
= wxString_in_helper(obj4
);
5635 if (arg5
== NULL
) SWIG_fail
;
5640 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5641 if (!SWIG_IsOK(ecode6
)) {
5642 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5644 arg6
= static_cast< int >(val6
);
5647 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5648 if (!SWIG_IsOK(res7
)) {
5649 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5651 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5654 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5655 if (!SWIG_IsOK(ecode8
)) {
5656 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5658 arg8
= static_cast< int >(val8
);
5661 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5662 if (!SWIG_IsOK(ecode9
)) {
5663 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5665 arg9
= static_cast< int >(val9
);
5668 if (!wxPyCheckForApp()) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5727 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
= 0;
5729 wxString
*arg1
= 0 ;
5730 wxString
*arg2
= 0 ;
5731 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5732 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5733 wxWindow
*arg4
= (wxWindow
*) NULL
;
5735 bool temp1
= false ;
5736 bool temp2
= false ;
5737 bool temp3
= false ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5743 PyObject
* obj3
= 0 ;
5744 char * kwnames
[] = {
5745 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5750 arg1
= wxString_in_helper(obj0
);
5751 if (arg1
== NULL
) SWIG_fail
;
5755 arg2
= wxString_in_helper(obj1
);
5756 if (arg2
== NULL
) SWIG_fail
;
5761 arg3
= wxString_in_helper(obj2
);
5762 if (arg3
== NULL
) SWIG_fail
;
5767 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5768 if (!SWIG_IsOK(res4
)) {
5769 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5771 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5774 if (!wxPyCheckForApp()) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5817 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
= 0;
5819 wxString
*arg1
= 0 ;
5820 wxString
*arg2
= 0 ;
5821 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5822 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5823 wxWindow
*arg4
= (wxWindow
*) NULL
;
5825 bool temp1
= false ;
5826 bool temp2
= false ;
5827 bool temp3
= false ;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5832 PyObject
* obj2
= 0 ;
5833 PyObject
* obj3
= 0 ;
5834 char * kwnames
[] = {
5835 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5840 arg1
= wxString_in_helper(obj0
);
5841 if (arg1
== NULL
) SWIG_fail
;
5845 arg2
= wxString_in_helper(obj1
);
5846 if (arg2
== NULL
) SWIG_fail
;
5851 arg3
= wxString_in_helper(obj2
);
5852 if (arg3
== NULL
) SWIG_fail
;
5857 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5858 if (!SWIG_IsOK(res4
)) {
5859 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5861 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5864 if (!wxPyCheckForApp()) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5907 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
= 0;
5909 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5910 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5911 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5912 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5913 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5916 wxWindow
*arg5
= (wxWindow
*) NULL
;
5918 bool temp1
= false ;
5919 bool temp2
= false ;
5925 PyObject
* obj0
= 0 ;
5926 PyObject
* obj1
= 0 ;
5927 PyObject
* obj2
= 0 ;
5928 PyObject
* obj3
= 0 ;
5929 PyObject
* obj4
= 0 ;
5930 char * kwnames
[] = {
5931 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5937 arg1
= wxString_in_helper(obj0
);
5938 if (arg1
== NULL
) SWIG_fail
;
5944 arg2
= wxString_in_helper(obj1
);
5945 if (arg2
== NULL
) SWIG_fail
;
5950 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5951 if (!SWIG_IsOK(ecode3
)) {
5952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5954 arg3
= static_cast< long >(val3
);
5959 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5963 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5964 if (!SWIG_IsOK(res5
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5967 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5970 if (!wxPyCheckForApp()) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6005 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
= 0;
6007 wxString
*arg1
= 0 ;
6008 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6009 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6010 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6011 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6012 wxWindow
*arg4
= (wxWindow
*) NULL
;
6013 int arg5
= (int) -1 ;
6014 int arg6
= (int) -1 ;
6015 bool arg7
= (bool) true ;
6017 bool temp1
= false ;
6018 bool temp2
= false ;
6019 bool temp3
= false ;
6028 PyObject
* obj0
= 0 ;
6029 PyObject
* obj1
= 0 ;
6030 PyObject
* obj2
= 0 ;
6031 PyObject
* obj3
= 0 ;
6032 PyObject
* obj4
= 0 ;
6033 PyObject
* obj5
= 0 ;
6034 PyObject
* obj6
= 0 ;
6035 char * kwnames
[] = {
6036 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6041 arg1
= wxString_in_helper(obj0
);
6042 if (arg1
== NULL
) SWIG_fail
;
6047 arg2
= wxString_in_helper(obj1
);
6048 if (arg2
== NULL
) SWIG_fail
;
6054 arg3
= wxString_in_helper(obj2
);
6055 if (arg3
== NULL
) SWIG_fail
;
6060 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6061 if (!SWIG_IsOK(res4
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6064 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6067 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6068 if (!SWIG_IsOK(ecode5
)) {
6069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6071 arg5
= static_cast< int >(val5
);
6074 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6075 if (!SWIG_IsOK(ecode6
)) {
6076 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6078 arg6
= static_cast< int >(val6
);
6081 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6082 if (!SWIG_IsOK(ecode7
)) {
6083 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6085 arg7
= static_cast< bool >(val7
);
6088 if (!wxPyCheckForApp()) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6131 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
= 0;
6133 wxString
*arg1
= 0 ;
6134 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6135 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6136 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6137 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6138 wxWindow
*arg4
= (wxWindow
*) NULL
;
6140 bool temp1
= false ;
6141 bool temp2
= false ;
6142 bool temp3
= false ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6148 PyObject
* obj3
= 0 ;
6149 char * kwnames
[] = {
6150 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6155 arg1
= wxString_in_helper(obj0
);
6156 if (arg1
== NULL
) SWIG_fail
;
6161 arg2
= wxString_in_helper(obj1
);
6162 if (arg2
== NULL
) SWIG_fail
;
6168 arg3
= wxString_in_helper(obj2
);
6169 if (arg3
== NULL
) SWIG_fail
;
6174 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6175 if (!SWIG_IsOK(res4
)) {
6176 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6178 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6181 if (!wxPyCheckForApp()) SWIG_fail
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6224 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
= 0;
6226 wxString
*arg1
= 0 ;
6227 wxString
*arg2
= 0 ;
6229 wxString
*arg4
= (wxString
*) 0 ;
6230 wxWindow
*arg5
= (wxWindow
*) NULL
;
6231 int arg6
= (int) -1 ;
6232 int arg7
= (int) -1 ;
6233 bool arg8
= (bool) true ;
6234 int arg9
= (int) 150 ;
6235 int arg10
= (int) 200 ;
6237 bool temp1
= false ;
6238 bool temp2
= false ;
6251 PyObject
* obj0
= 0 ;
6252 PyObject
* obj1
= 0 ;
6253 PyObject
* obj2
= 0 ;
6254 PyObject
* obj3
= 0 ;
6255 PyObject
* obj4
= 0 ;
6256 PyObject
* obj5
= 0 ;
6257 PyObject
* obj6
= 0 ;
6258 PyObject
* obj7
= 0 ;
6259 PyObject
* obj8
= 0 ;
6260 char * kwnames
[] = {
6261 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6266 arg1
= wxString_in_helper(obj0
);
6267 if (arg1
== NULL
) SWIG_fail
;
6271 arg2
= wxString_in_helper(obj1
);
6272 if (arg2
== NULL
) SWIG_fail
;
6276 arg3
= PyList_Size(obj2
);
6277 arg4
= wxString_LIST_helper(obj2
);
6278 if (arg4
== NULL
) SWIG_fail
;
6281 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6282 if (!SWIG_IsOK(res5
)) {
6283 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6285 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6288 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6289 if (!SWIG_IsOK(ecode6
)) {
6290 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6292 arg6
= static_cast< int >(val6
);
6295 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6296 if (!SWIG_IsOK(ecode7
)) {
6297 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6299 arg7
= static_cast< int >(val7
);
6302 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6303 if (!SWIG_IsOK(ecode8
)) {
6304 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6306 arg8
= static_cast< bool >(val8
);
6309 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6310 if (!SWIG_IsOK(ecode9
)) {
6311 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6313 arg9
= static_cast< int >(val9
);
6316 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6317 if (!SWIG_IsOK(ecode10
)) {
6318 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6320 arg10
= static_cast< int >(val10
);
6323 if (!wxPyCheckForApp()) SWIG_fail
;
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6345 if (arg4
) delete [] arg4
;
6358 if (arg4
) delete [] arg4
;
6364 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
= 0;
6366 wxString
*arg1
= 0 ;
6367 wxString
*arg2
= 0 ;
6369 wxString
*arg4
= (wxString
*) 0 ;
6370 wxWindow
*arg5
= (wxWindow
*) NULL
;
6371 int arg6
= (int) -1 ;
6372 int arg7
= (int) -1 ;
6373 bool arg8
= (bool) true ;
6374 int arg9
= (int) 150 ;
6375 int arg10
= (int) 200 ;
6377 bool temp1
= false ;
6378 bool temp2
= false ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 PyObject
* obj3
= 0 ;
6395 PyObject
* obj4
= 0 ;
6396 PyObject
* obj5
= 0 ;
6397 PyObject
* obj6
= 0 ;
6398 PyObject
* obj7
= 0 ;
6399 PyObject
* obj8
= 0 ;
6400 char * kwnames
[] = {
6401 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6406 arg1
= wxString_in_helper(obj0
);
6407 if (arg1
== NULL
) SWIG_fail
;
6411 arg2
= wxString_in_helper(obj1
);
6412 if (arg2
== NULL
) SWIG_fail
;
6416 arg3
= PyList_Size(obj2
);
6417 arg4
= wxString_LIST_helper(obj2
);
6418 if (arg4
== NULL
) SWIG_fail
;
6421 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6422 if (!SWIG_IsOK(res5
)) {
6423 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6425 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6428 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6429 if (!SWIG_IsOK(ecode6
)) {
6430 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6432 arg6
= static_cast< int >(val6
);
6435 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6436 if (!SWIG_IsOK(ecode7
)) {
6437 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6439 arg7
= static_cast< int >(val7
);
6442 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6443 if (!SWIG_IsOK(ecode8
)) {
6444 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6446 arg8
= static_cast< bool >(val8
);
6449 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6450 if (!SWIG_IsOK(ecode9
)) {
6451 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6453 arg9
= static_cast< int >(val9
);
6456 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6457 if (!SWIG_IsOK(ecode10
)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6460 arg10
= static_cast< int >(val10
);
6463 if (!wxPyCheckForApp()) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= SWIG_From_int(static_cast< int >(result
));
6479 if (arg4
) delete [] arg4
;
6492 if (arg4
) delete [] arg4
;
6498 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
= 0;
6500 wxString
*arg1
= 0 ;
6501 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6502 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6503 int arg3
= (int) wxOK
|wxCENTRE
;
6504 wxWindow
*arg4
= (wxWindow
*) NULL
;
6505 int arg5
= (int) -1 ;
6506 int arg6
= (int) -1 ;
6508 bool temp1
= false ;
6509 bool temp2
= false ;
6518 PyObject
* obj0
= 0 ;
6519 PyObject
* obj1
= 0 ;
6520 PyObject
* obj2
= 0 ;
6521 PyObject
* obj3
= 0 ;
6522 PyObject
* obj4
= 0 ;
6523 PyObject
* obj5
= 0 ;
6524 char * kwnames
[] = {
6525 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6530 arg1
= wxString_in_helper(obj0
);
6531 if (arg1
== NULL
) SWIG_fail
;
6536 arg2
= wxString_in_helper(obj1
);
6537 if (arg2
== NULL
) SWIG_fail
;
6542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6543 if (!SWIG_IsOK(ecode3
)) {
6544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6546 arg3
= static_cast< int >(val3
);
6549 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6550 if (!SWIG_IsOK(res4
)) {
6551 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6553 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6556 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6557 if (!SWIG_IsOK(ecode5
)) {
6558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6560 arg5
= static_cast< int >(val5
);
6563 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6564 if (!SWIG_IsOK(ecode6
)) {
6565 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6567 arg6
= static_cast< int >(val6
);
6570 if (!wxPyCheckForApp()) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_From_int(static_cast< int >(result
));
6599 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
= 0;
6601 wxString
*arg1
= 0 ;
6602 wxString
*arg2
= 0 ;
6603 wxString
*arg3
= 0 ;
6605 long arg5
= (long) 0 ;
6606 long arg6
= (long) 100 ;
6607 wxWindow
*arg7
= (wxWindow
*) NULL
;
6608 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6609 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6611 bool temp1
= false ;
6612 bool temp2
= false ;
6613 bool temp3
= false ;
6623 PyObject
* obj0
= 0 ;
6624 PyObject
* obj1
= 0 ;
6625 PyObject
* obj2
= 0 ;
6626 PyObject
* obj3
= 0 ;
6627 PyObject
* obj4
= 0 ;
6628 PyObject
* obj5
= 0 ;
6629 PyObject
* obj6
= 0 ;
6630 PyObject
* obj7
= 0 ;
6631 char * kwnames
[] = {
6632 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6637 arg1
= wxString_in_helper(obj0
);
6638 if (arg1
== NULL
) SWIG_fail
;
6642 arg2
= wxString_in_helper(obj1
);
6643 if (arg2
== NULL
) SWIG_fail
;
6647 arg3
= wxString_in_helper(obj2
);
6648 if (arg3
== NULL
) SWIG_fail
;
6651 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6652 if (!SWIG_IsOK(ecode4
)) {
6653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6655 arg4
= static_cast< long >(val4
);
6657 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6658 if (!SWIG_IsOK(ecode5
)) {
6659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6661 arg5
= static_cast< long >(val5
);
6664 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6665 if (!SWIG_IsOK(ecode6
)) {
6666 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6668 arg6
= static_cast< long >(val6
);
6671 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6672 if (!SWIG_IsOK(res7
)) {
6673 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6675 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6680 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6684 if (!wxPyCheckForApp()) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= SWIG_From_long(static_cast< long >(result
));
6721 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6722 PyObject
*resultobj
= 0;
6725 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6727 if (!wxPyCheckForApp()) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (bool)wxColourDisplay();
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6742 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6743 PyObject
*resultobj
= 0;
6746 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6748 if (!wxPyCheckForApp()) SWIG_fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 result
= (int)wxDisplayDepth();
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= SWIG_From_int(static_cast< int >(result
));
6761 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6762 PyObject
*resultobj
= 0;
6765 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6767 if (!wxPyCheckForApp()) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (int)wxGetDisplayDepth();
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= SWIG_From_int(static_cast< int >(result
));
6780 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6781 PyObject
*resultobj
= 0;
6782 int *arg1
= (int *) 0 ;
6783 int *arg2
= (int *) 0 ;
6785 int res1
= SWIG_TMPOBJ
;
6787 int res2
= SWIG_TMPOBJ
;
6791 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6793 if (!wxPyCheckForApp()) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 wxDisplaySize(arg1
,arg2
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= SWIG_Py_Void();
6800 if (SWIG_IsTmpObj(res1
)) {
6801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6803 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6806 if (SWIG_IsTmpObj(res2
)) {
6807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6809 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6818 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6819 PyObject
*resultobj
= 0;
6822 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6824 if (!wxPyCheckForApp()) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= wxGetDisplaySize();
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6837 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6838 PyObject
*resultobj
= 0;
6839 int *arg1
= (int *) 0 ;
6840 int *arg2
= (int *) 0 ;
6842 int res1
= SWIG_TMPOBJ
;
6844 int res2
= SWIG_TMPOBJ
;
6848 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6850 if (!wxPyCheckForApp()) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 wxDisplaySizeMM(arg1
,arg2
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_Py_Void();
6857 if (SWIG_IsTmpObj(res1
)) {
6858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6860 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6863 if (SWIG_IsTmpObj(res2
)) {
6864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6866 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6875 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6876 PyObject
*resultobj
= 0;
6879 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6881 if (!wxPyCheckForApp()) SWIG_fail
;
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 result
= wxGetDisplaySizeMM();
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6894 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6895 PyObject
*resultobj
= 0;
6896 int *arg1
= (int *) 0 ;
6897 int *arg2
= (int *) 0 ;
6898 int *arg3
= (int *) 0 ;
6899 int *arg4
= (int *) 0 ;
6901 int res1
= SWIG_TMPOBJ
;
6903 int res2
= SWIG_TMPOBJ
;
6905 int res3
= SWIG_TMPOBJ
;
6907 int res4
= SWIG_TMPOBJ
;
6913 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6915 if (!wxPyCheckForApp()) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= SWIG_Py_Void();
6922 if (SWIG_IsTmpObj(res1
)) {
6923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6925 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6928 if (SWIG_IsTmpObj(res2
)) {
6929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6931 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6934 if (SWIG_IsTmpObj(res3
)) {
6935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6937 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6940 if (SWIG_IsTmpObj(res4
)) {
6941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6943 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6952 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6953 PyObject
*resultobj
= 0;
6956 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6958 if (!wxPyCheckForApp()) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 result
= wxGetClientDisplayRect();
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6971 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
= 0;
6973 wxCursor
*arg1
= 0 ;
6976 PyObject
* obj0
= 0 ;
6977 char * kwnames
[] = {
6978 (char *) "cursor", NULL
6981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6982 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6983 if (!SWIG_IsOK(res1
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6989 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6991 if (!wxPyCheckForApp()) SWIG_fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= SWIG_Py_Void();
7004 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7005 PyObject
*resultobj
= 0;
7008 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7010 if (!wxPyCheckForApp()) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= (void *)wxGetXDisplay();
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7023 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
= 0;
7025 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7028 PyObject
* obj0
= 0 ;
7029 char * kwnames
[] = {
7030 (char *) "cursor", NULL
7033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7036 if (!SWIG_IsOK(res1
)) {
7037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7039 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7042 if (!wxPyCheckForApp()) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 wxBeginBusyCursor(arg1
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7056 PyObject
*resultobj
= 0;
7059 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7061 if (!wxPyCheckForApp()) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= wxGetMousePosition();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7074 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7075 PyObject
*resultobj
= 0;
7076 wxWindow
*result
= 0 ;
7078 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7080 if (!wxPyCheckForApp()) SWIG_fail
;
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 result
= (wxWindow
*)FindWindowAtPointer();
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= wxPyMake_wxObject(result
, 0);
7095 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7096 PyObject
*resultobj
= 0;
7097 wxWindow
*result
= 0 ;
7099 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7101 if (!wxPyCheckForApp()) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= (wxWindow
*)wxGetActiveWindow();
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7108 resultobj
= wxPyMake_wxObject(result
, 0);
7116 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
= 0;
7119 wxWindow
*result
= 0 ;
7121 PyObject
* obj0
= 0 ;
7122 char * kwnames
[] = {
7126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7129 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7132 if (!wxPyCheckForApp()) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= wxPyMake_wxObject(result
, 0);
7147 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
= 0;
7150 wxWindow
*result
= 0 ;
7152 PyObject
* obj0
= 0 ;
7153 char * kwnames
[] = {
7157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7160 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7163 if (!wxPyCheckForApp()) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= wxPyMake_wxObject(result
, 0);
7178 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
= 0;
7180 wxWindow
*arg1
= (wxWindow
*) 0 ;
7181 wxWindow
*result
= 0 ;
7184 PyObject
* obj0
= 0 ;
7185 char * kwnames
[] = {
7186 (char *) "win", NULL
7189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7191 if (!SWIG_IsOK(res1
)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7194 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7196 if (!wxPyCheckForApp()) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= wxPyMake_wxObject(result
, 0);
7211 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
= 0;
7213 wxString
*arg1
= 0 ;
7215 bool temp1
= false ;
7216 PyObject
* obj0
= 0 ;
7217 char * kwnames
[] = {
7218 (char *) "url", NULL
7221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7223 arg1
= wxString_in_helper(obj0
);
7224 if (arg1
== NULL
) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7250 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
= 0;
7256 PyObject
* obj0
= 0 ;
7257 char * kwnames
[] = {
7258 (char *) "key", NULL
7261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7262 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7263 if (!SWIG_IsOK(ecode1
)) {
7264 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7266 arg1
= static_cast< wxKeyCode
>(val1
);
7268 if (!wxPyCheckForApp()) SWIG_fail
;
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 result
= (bool)wxGetKeyState(arg1
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7283 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7284 PyObject
*resultobj
= 0;
7285 wxMouseState
*result
= 0 ;
7287 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 result
= (wxMouseState
*)new wxMouseState();
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7301 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7302 PyObject
*resultobj
= 0;
7303 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7306 PyObject
*swig_obj
[1] ;
7308 if (!args
) SWIG_fail
;
7310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7311 if (!SWIG_IsOK(res1
)) {
7312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7314 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_Py_Void();
7329 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7330 PyObject
*resultobj
= 0;
7331 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7335 PyObject
*swig_obj
[1] ;
7337 if (!args
) SWIG_fail
;
7339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7340 if (!SWIG_IsOK(res1
)) {
7341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7343 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 result
= (int)(arg1
)->GetX();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_From_int(static_cast< int >(result
));
7357 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7358 PyObject
*resultobj
= 0;
7359 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7363 PyObject
*swig_obj
[1] ;
7365 if (!args
) SWIG_fail
;
7367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7368 if (!SWIG_IsOK(res1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7371 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (int)(arg1
)->GetY();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_From_int(static_cast< int >(result
));
7385 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7386 PyObject
*resultobj
= 0;
7387 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7391 PyObject
*swig_obj
[1] ;
7393 if (!args
) SWIG_fail
;
7395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7396 if (!SWIG_IsOK(res1
)) {
7397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7399 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (bool)(arg1
)->LeftDown();
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7415 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7416 PyObject
*resultobj
= 0;
7417 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7421 PyObject
*swig_obj
[1] ;
7423 if (!args
) SWIG_fail
;
7425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7426 if (!SWIG_IsOK(res1
)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7429 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (bool)(arg1
)->MiddleDown();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7445 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7446 PyObject
*resultobj
= 0;
7447 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7451 PyObject
*swig_obj
[1] ;
7453 if (!args
) SWIG_fail
;
7455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7456 if (!SWIG_IsOK(res1
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7459 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (bool)(arg1
)->RightDown();
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7475 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7476 PyObject
*resultobj
= 0;
7477 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7481 PyObject
*swig_obj
[1] ;
7483 if (!args
) SWIG_fail
;
7485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7486 if (!SWIG_IsOK(res1
)) {
7487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7489 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (bool)(arg1
)->ControlDown();
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7505 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7506 PyObject
*resultobj
= 0;
7507 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7511 PyObject
*swig_obj
[1] ;
7513 if (!args
) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7519 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= (bool)(arg1
)->ShiftDown();
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7535 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7536 PyObject
*resultobj
= 0;
7537 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7541 PyObject
*swig_obj
[1] ;
7543 if (!args
) SWIG_fail
;
7545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7546 if (!SWIG_IsOK(res1
)) {
7547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7549 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 result
= (bool)(arg1
)->AltDown();
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7565 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7566 PyObject
*resultobj
= 0;
7567 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7571 PyObject
*swig_obj
[1] ;
7573 if (!args
) SWIG_fail
;
7575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7576 if (!SWIG_IsOK(res1
)) {
7577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7579 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (bool)(arg1
)->MetaDown();
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7595 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7596 PyObject
*resultobj
= 0;
7597 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7601 PyObject
*swig_obj
[1] ;
7603 if (!args
) SWIG_fail
;
7605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7606 if (!SWIG_IsOK(res1
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7609 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (bool)(arg1
)->CmdDown();
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7625 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
= 0;
7627 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7633 PyObject
* obj0
= 0 ;
7634 PyObject
* obj1
= 0 ;
7635 char * kwnames
[] = {
7636 (char *) "self",(char *) "x", NULL
7639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7641 if (!SWIG_IsOK(res1
)) {
7642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7644 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7646 if (!SWIG_IsOK(ecode2
)) {
7647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7649 arg2
= static_cast< int >(val2
);
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= SWIG_Py_Void();
7663 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
= 0;
7665 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7672 PyObject
* obj1
= 0 ;
7673 char * kwnames
[] = {
7674 (char *) "self",(char *) "y", NULL
7677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7679 if (!SWIG_IsOK(res1
)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7682 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7684 if (!SWIG_IsOK(ecode2
)) {
7685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7687 arg2
= static_cast< int >(val2
);
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_Py_Void();
7701 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
= 0;
7703 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7711 char * kwnames
[] = {
7712 (char *) "self",(char *) "down", NULL
7715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7717 if (!SWIG_IsOK(res1
)) {
7718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7720 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7722 if (!SWIG_IsOK(ecode2
)) {
7723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7725 arg2
= static_cast< bool >(val2
);
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 (arg1
)->SetLeftDown(arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_Py_Void();
7739 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
= 0;
7741 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7748 PyObject
* obj1
= 0 ;
7749 char * kwnames
[] = {
7750 (char *) "self",(char *) "down", NULL
7753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7755 if (!SWIG_IsOK(res1
)) {
7756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7758 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7759 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7760 if (!SWIG_IsOK(ecode2
)) {
7761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7763 arg2
= static_cast< bool >(val2
);
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 (arg1
)->SetMiddleDown(arg2
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= SWIG_Py_Void();
7777 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
= 0;
7779 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7786 PyObject
* obj1
= 0 ;
7787 char * kwnames
[] = {
7788 (char *) "self",(char *) "down", NULL
7791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7793 if (!SWIG_IsOK(res1
)) {
7794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7796 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7797 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7798 if (!SWIG_IsOK(ecode2
)) {
7799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7801 arg2
= static_cast< bool >(val2
);
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 (arg1
)->SetRightDown(arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= SWIG_Py_Void();
7815 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
= 0;
7817 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 char * kwnames
[] = {
7826 (char *) "self",(char *) "down", NULL
7829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7831 if (!SWIG_IsOK(res1
)) {
7832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7834 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7835 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7836 if (!SWIG_IsOK(ecode2
)) {
7837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7839 arg2
= static_cast< bool >(val2
);
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 (arg1
)->SetControlDown(arg2
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_Py_Void();
7853 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
= 0;
7855 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7863 char * kwnames
[] = {
7864 (char *) "self",(char *) "down", NULL
7867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7869 if (!SWIG_IsOK(res1
)) {
7870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7872 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7873 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7874 if (!SWIG_IsOK(ecode2
)) {
7875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7877 arg2
= static_cast< bool >(val2
);
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 (arg1
)->SetShiftDown(arg2
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_Py_Void();
7891 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
= 0;
7893 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7900 PyObject
* obj1
= 0 ;
7901 char * kwnames
[] = {
7902 (char *) "self",(char *) "down", NULL
7905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7907 if (!SWIG_IsOK(res1
)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7910 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7911 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7912 if (!SWIG_IsOK(ecode2
)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7915 arg2
= static_cast< bool >(val2
);
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 (arg1
)->SetAltDown(arg2
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_Py_Void();
7929 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
= 0;
7931 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7937 PyObject
* obj0
= 0 ;
7938 PyObject
* obj1
= 0 ;
7939 char * kwnames
[] = {
7940 (char *) "self",(char *) "down", NULL
7943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7945 if (!SWIG_IsOK(res1
)) {
7946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7948 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7949 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7950 if (!SWIG_IsOK(ecode2
)) {
7951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7953 arg2
= static_cast< bool >(val2
);
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 (arg1
)->SetMetaDown(arg2
);
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= SWIG_Py_Void();
7967 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7970 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7971 return SWIG_Py_Void();
7974 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7975 return SWIG_Python_InitShadowInstance(args
);
7978 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7979 PyObject
*resultobj
= 0;
7980 wxMouseState result
;
7982 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= wxGetMouseState();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7996 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7997 PyObject
*resultobj
= 0;
7999 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8001 if (!wxPyCheckForApp()) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 wxWakeUpMainThread();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_Py_Void();
8014 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8015 PyObject
*resultobj
= 0;
8017 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8019 if (!wxPyCheckForApp()) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_Py_Void();
8032 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 PyObject
*resultobj
= 0;
8035 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8037 if (!wxPyCheckForApp()) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_Py_Void();
8050 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8051 PyObject
*resultobj
= 0;
8052 wxMutexGuiLocker
*result
= 0 ;
8054 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8056 if (!wxPyCheckForApp()) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8069 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8070 PyObject
*resultobj
= 0;
8071 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8074 PyObject
*swig_obj
[1] ;
8076 if (!args
) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8082 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_Py_Void();
8097 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8100 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8101 return SWIG_Py_Void();
8104 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8105 return SWIG_Python_InitShadowInstance(args
);
8108 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8109 PyObject
*resultobj
= 0;
8112 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (bool)wxThread_IsMain();
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8128 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
= 0;
8130 wxString
*arg1
= 0 ;
8131 wxToolTip
*result
= 0 ;
8132 bool temp1
= false ;
8133 PyObject
* obj0
= 0 ;
8134 char * kwnames
[] = {
8135 (char *) "tip", NULL
8138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8140 arg1
= wxString_in_helper(obj0
);
8141 if (arg1
== NULL
) SWIG_fail
;
8145 if (!wxPyCheckForApp()) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8166 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8167 PyObject
*resultobj
= 0;
8168 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8171 PyObject
*swig_obj
[1] ;
8173 if (!args
) SWIG_fail
;
8175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8176 if (!SWIG_IsOK(res1
)) {
8177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8179 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_Py_Void();
8194 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= 0;
8196 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8197 wxString
*arg2
= 0 ;
8200 bool temp2
= false ;
8201 PyObject
* obj0
= 0 ;
8202 PyObject
* obj1
= 0 ;
8203 char * kwnames
[] = {
8204 (char *) "self",(char *) "tip", NULL
8207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8209 if (!SWIG_IsOK(res1
)) {
8210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8212 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8214 arg2
= wxString_in_helper(obj1
);
8215 if (arg2
== NULL
) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 (arg1
)->SetTip((wxString
const &)*arg2
);
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= SWIG_Py_Void();
8239 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8240 PyObject
*resultobj
= 0;
8241 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8245 PyObject
*swig_obj
[1] ;
8247 if (!args
) SWIG_fail
;
8249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8250 if (!SWIG_IsOK(res1
)) {
8251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8253 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (arg1
)->GetTip();
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8273 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8274 PyObject
*resultobj
= 0;
8275 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8276 wxWindow
*result
= 0 ;
8279 PyObject
*swig_obj
[1] ;
8281 if (!args
) SWIG_fail
;
8283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8284 if (!SWIG_IsOK(res1
)) {
8285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8287 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 result
= (wxWindow
*)(arg1
)->GetWindow();
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= wxPyMake_wxObject(result
, 0);
8303 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
= 0;
8308 PyObject
* obj0
= 0 ;
8309 char * kwnames
[] = {
8310 (char *) "flag", NULL
8313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8314 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8315 if (!SWIG_IsOK(ecode1
)) {
8316 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8318 arg1
= static_cast< bool >(val1
);
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 wxToolTip::Enable(arg1
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= SWIG_Py_Void();
8332 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
= 0;
8337 PyObject
* obj0
= 0 ;
8338 char * kwnames
[] = {
8339 (char *) "milliseconds", NULL
8342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8343 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8344 if (!SWIG_IsOK(ecode1
)) {
8345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8347 arg1
= static_cast< long >(val1
);
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 wxToolTip::SetDelay(arg1
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_Py_Void();
8361 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8364 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8365 return SWIG_Py_Void();
8368 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 return SWIG_Python_InitShadowInstance(args
);
8372 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
= 0;
8374 wxWindow
*arg1
= (wxWindow
*) 0 ;
8376 wxCaret
*result
= 0 ;
8380 PyObject
* obj0
= 0 ;
8381 PyObject
* obj1
= 0 ;
8382 char * kwnames
[] = {
8383 (char *) "window",(char *) "size", NULL
8386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8388 if (!SWIG_IsOK(res1
)) {
8389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8391 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8394 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8397 if (!wxPyCheckForApp()) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8410 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8411 PyObject
*resultobj
= 0;
8412 wxCaret
*arg1
= (wxCaret
*) 0 ;
8415 PyObject
*swig_obj
[1] ;
8417 if (!args
) SWIG_fail
;
8419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8420 if (!SWIG_IsOK(res1
)) {
8421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8423 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= SWIG_Py_Void();
8438 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8439 PyObject
*resultobj
= 0;
8440 wxCaret
*arg1
= (wxCaret
*) 0 ;
8443 PyObject
*swig_obj
[1] ;
8445 if (!args
) SWIG_fail
;
8447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8448 if (!SWIG_IsOK(res1
)) {
8449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8451 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 wxCaret_Destroy(arg1
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= SWIG_Py_Void();
8465 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8466 PyObject
*resultobj
= 0;
8467 wxCaret
*arg1
= (wxCaret
*) 0 ;
8471 PyObject
*swig_obj
[1] ;
8473 if (!args
) SWIG_fail
;
8475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8476 if (!SWIG_IsOK(res1
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8479 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (bool)(arg1
)->IsOk();
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8495 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8496 PyObject
*resultobj
= 0;
8497 wxCaret
*arg1
= (wxCaret
*) 0 ;
8501 PyObject
*swig_obj
[1] ;
8503 if (!args
) SWIG_fail
;
8505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8506 if (!SWIG_IsOK(res1
)) {
8507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8509 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (bool)(arg1
)->IsVisible();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8525 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8526 PyObject
*resultobj
= 0;
8527 wxCaret
*arg1
= (wxCaret
*) 0 ;
8531 PyObject
*swig_obj
[1] ;
8533 if (!args
) SWIG_fail
;
8535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8536 if (!SWIG_IsOK(res1
)) {
8537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8539 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 result
= (arg1
)->GetPosition();
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8553 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8554 PyObject
*resultobj
= 0;
8555 wxCaret
*arg1
= (wxCaret
*) 0 ;
8556 int *arg2
= (int *) 0 ;
8557 int *arg3
= (int *) 0 ;
8561 int res2
= SWIG_TMPOBJ
;
8563 int res3
= SWIG_TMPOBJ
;
8564 PyObject
*swig_obj
[1] ;
8568 if (!args
) SWIG_fail
;
8570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8571 if (!SWIG_IsOK(res1
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8574 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 (arg1
)->GetPosition(arg2
,arg3
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_Py_Void();
8582 if (SWIG_IsTmpObj(res2
)) {
8583 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8585 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8586 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8588 if (SWIG_IsTmpObj(res3
)) {
8589 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8591 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8592 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8600 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8601 PyObject
*resultobj
= 0;
8602 wxCaret
*arg1
= (wxCaret
*) 0 ;
8606 PyObject
*swig_obj
[1] ;
8608 if (!args
) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8614 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (arg1
)->GetSize();
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8628 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8629 PyObject
*resultobj
= 0;
8630 wxCaret
*arg1
= (wxCaret
*) 0 ;
8631 int *arg2
= (int *) 0 ;
8632 int *arg3
= (int *) 0 ;
8636 int res2
= SWIG_TMPOBJ
;
8638 int res3
= SWIG_TMPOBJ
;
8639 PyObject
*swig_obj
[1] ;
8643 if (!args
) SWIG_fail
;
8645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8646 if (!SWIG_IsOK(res1
)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8649 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 (arg1
)->GetSize(arg2
,arg3
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_Py_Void();
8657 if (SWIG_IsTmpObj(res2
)) {
8658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8660 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8663 if (SWIG_IsTmpObj(res3
)) {
8664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8666 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8675 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8676 PyObject
*resultobj
= 0;
8677 wxCaret
*arg1
= (wxCaret
*) 0 ;
8678 wxWindow
*result
= 0 ;
8681 PyObject
*swig_obj
[1] ;
8683 if (!args
) SWIG_fail
;
8685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8686 if (!SWIG_IsOK(res1
)) {
8687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8689 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (wxWindow
*)(arg1
)->GetWindow();
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= wxPyMake_wxObject(result
, 0);
8705 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
= 0;
8707 wxCaret
*arg1
= (wxCaret
*) 0 ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8718 PyObject
* obj2
= 0 ;
8719 char * kwnames
[] = {
8720 (char *) "self",(char *) "x",(char *) "y", NULL
8723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8725 if (!SWIG_IsOK(res1
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8728 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8730 if (!SWIG_IsOK(ecode2
)) {
8731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8733 arg2
= static_cast< int >(val2
);
8734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8735 if (!SWIG_IsOK(ecode3
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8738 arg3
= static_cast< int >(val3
);
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 (arg1
)->Move(arg2
,arg3
);
8742 wxPyEndAllowThreads(__tstate
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 resultobj
= SWIG_Py_Void();
8752 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
= 0;
8754 wxCaret
*arg1
= (wxCaret
*) 0 ;
8759 PyObject
* obj0
= 0 ;
8760 PyObject
* obj1
= 0 ;
8761 char * kwnames
[] = {
8762 (char *) "self",(char *) "pt", NULL
8765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8767 if (!SWIG_IsOK(res1
)) {
8768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8770 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8773 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 (arg1
)->Move((wxPoint
const &)*arg2
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= SWIG_Py_Void();
8788 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
= 0;
8790 wxCaret
*arg1
= (wxCaret
*) 0 ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 PyObject
* obj2
= 0 ;
8802 char * kwnames
[] = {
8803 (char *) "self",(char *) "width",(char *) "height", NULL
8806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8808 if (!SWIG_IsOK(res1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8811 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8813 if (!SWIG_IsOK(ecode2
)) {
8814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8816 arg2
= static_cast< int >(val2
);
8817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8818 if (!SWIG_IsOK(ecode3
)) {
8819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8821 arg3
= static_cast< int >(val3
);
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 (arg1
)->SetSize(arg2
,arg3
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_Py_Void();
8835 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
= 0;
8837 wxCaret
*arg1
= (wxCaret
*) 0 ;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8844 char * kwnames
[] = {
8845 (char *) "self",(char *) "size", NULL
8848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8853 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8856 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 (arg1
)->SetSize((wxSize
const &)*arg2
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 resultobj
= SWIG_Py_Void();
8871 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
= 0;
8873 wxCaret
*arg1
= (wxCaret
*) 0 ;
8874 int arg2
= (int) true ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 char * kwnames
[] = {
8882 (char *) "self",(char *) "show", NULL
8885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8890 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8893 if (!SWIG_IsOK(ecode2
)) {
8894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8896 arg2
= static_cast< int >(val2
);
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= SWIG_Py_Void();
8911 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8912 PyObject
*resultobj
= 0;
8913 wxCaret
*arg1
= (wxCaret
*) 0 ;
8916 PyObject
*swig_obj
[1] ;
8918 if (!args
) SWIG_fail
;
8920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8921 if (!SWIG_IsOK(res1
)) {
8922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8924 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= SWIG_Py_Void();
8938 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8939 PyObject
*resultobj
= 0;
8942 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= (int)wxCaret::GetBlinkTime();
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= SWIG_From_int(static_cast< int >(result
));
8956 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
= 0;
8961 PyObject
* obj0
= 0 ;
8962 char * kwnames
[] = {
8963 (char *) "milliseconds", NULL
8966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8968 if (!SWIG_IsOK(ecode1
)) {
8969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8971 arg1
= static_cast< int >(val1
);
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 wxCaret::SetBlinkTime(arg1
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= SWIG_Py_Void();
8985 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8988 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8989 return SWIG_Py_Void();
8992 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8993 return SWIG_Python_InitShadowInstance(args
);
8996 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
= 0;
8998 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8999 wxBusyCursor
*result
= 0 ;
9002 PyObject
* obj0
= 0 ;
9003 char * kwnames
[] = {
9004 (char *) "cursor", NULL
9007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9010 if (!SWIG_IsOK(res1
)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9013 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9016 if (!wxPyCheckForApp()) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9029 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9030 PyObject
*resultobj
= 0;
9031 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9034 PyObject
*swig_obj
[1] ;
9036 if (!args
) SWIG_fail
;
9038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9039 if (!SWIG_IsOK(res1
)) {
9040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9042 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_Py_Void();
9057 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9060 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9061 return SWIG_Py_Void();
9064 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9065 return SWIG_Python_InitShadowInstance(args
);
9068 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
= 0;
9070 wxWindow
*arg1
= (wxWindow
*) NULL
;
9071 wxWindowDisabler
*result
= 0 ;
9074 PyObject
* obj0
= 0 ;
9075 char * kwnames
[] = {
9076 (char *) "winToSkip", NULL
9079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9082 if (!SWIG_IsOK(res1
)) {
9083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9088 if (!wxPyCheckForApp()) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9101 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9102 PyObject
*resultobj
= 0;
9103 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9106 PyObject
*swig_obj
[1] ;
9108 if (!args
) SWIG_fail
;
9110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9111 if (!SWIG_IsOK(res1
)) {
9112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9114 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_Py_Void();
9129 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9132 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9133 return SWIG_Py_Void();
9136 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9137 return SWIG_Python_InitShadowInstance(args
);
9140 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
= 0;
9142 wxString
*arg1
= 0 ;
9143 wxBusyInfo
*result
= 0 ;
9144 bool temp1
= false ;
9145 PyObject
* obj0
= 0 ;
9146 char * kwnames
[] = {
9147 (char *) "message", NULL
9150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9152 arg1
= wxString_in_helper(obj0
);
9153 if (arg1
== NULL
) SWIG_fail
;
9157 if (!wxPyCheckForApp()) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9178 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9179 PyObject
*resultobj
= 0;
9180 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9183 PyObject
*swig_obj
[1] ;
9185 if (!args
) SWIG_fail
;
9187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9188 if (!SWIG_IsOK(res1
)) {
9189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9191 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= SWIG_Py_Void();
9206 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9209 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9210 return SWIG_Py_Void();
9213 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9214 return SWIG_Python_InitShadowInstance(args
);
9217 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9218 PyObject
*resultobj
= 0;
9219 wxStopWatch
*result
= 0 ;
9221 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (wxStopWatch
*)new wxStopWatch();
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9235 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
= 0;
9237 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9238 long arg2
= (long) 0 ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 char * kwnames
[] = {
9246 (char *) "self",(char *) "t0", NULL
9249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9251 if (!SWIG_IsOK(res1
)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9254 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9256 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9257 if (!SWIG_IsOK(ecode2
)) {
9258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9260 arg2
= static_cast< long >(val2
);
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 (arg1
)->Start(arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_Py_Void();
9275 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9276 PyObject
*resultobj
= 0;
9277 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9280 PyObject
*swig_obj
[1] ;
9282 if (!args
) SWIG_fail
;
9284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9285 if (!SWIG_IsOK(res1
)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9288 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_Py_Void();
9302 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9303 PyObject
*resultobj
= 0;
9304 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9307 PyObject
*swig_obj
[1] ;
9309 if (!args
) SWIG_fail
;
9311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9312 if (!SWIG_IsOK(res1
)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9315 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_Py_Void();
9329 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9330 PyObject
*resultobj
= 0;
9331 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9335 PyObject
*swig_obj
[1] ;
9337 if (!args
) SWIG_fail
;
9339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9340 if (!SWIG_IsOK(res1
)) {
9341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9343 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_From_long(static_cast< long >(result
));
9357 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9360 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9361 return SWIG_Py_Void();
9364 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9365 return SWIG_Python_InitShadowInstance(args
);
9368 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
= 0;
9370 int arg1
= (int) 9 ;
9371 int arg2
= (int) wxID_FILE1
;
9372 wxFileHistory
*result
= 0 ;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9379 char * kwnames
[] = {
9380 (char *) "maxFiles",(char *) "idBase", NULL
9383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9386 if (!SWIG_IsOK(ecode1
)) {
9387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9389 arg1
= static_cast< int >(val1
);
9392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9393 if (!SWIG_IsOK(ecode2
)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9396 arg2
= static_cast< int >(val2
);
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9411 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9412 PyObject
*resultobj
= 0;
9413 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9416 PyObject
*swig_obj
[1] ;
9418 if (!args
) SWIG_fail
;
9420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9421 if (!SWIG_IsOK(res1
)) {
9422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9424 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9432 resultobj
= SWIG_Py_Void();
9439 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
= 0;
9441 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9442 wxString
*arg2
= 0 ;
9445 bool temp2
= false ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9448 char * kwnames
[] = {
9449 (char *) "self",(char *) "file", NULL
9452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9454 if (!SWIG_IsOK(res1
)) {
9455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9457 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9459 arg2
= wxString_in_helper(obj1
);
9460 if (arg2
== NULL
) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= SWIG_Py_Void();
9484 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= 0;
9486 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9494 char * kwnames
[] = {
9495 (char *) "self",(char *) "i", NULL
9498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9500 if (!SWIG_IsOK(res1
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9503 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9505 if (!SWIG_IsOK(ecode2
)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9508 arg2
= static_cast< int >(val2
);
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 (arg1
)->RemoveFileFromHistory(arg2
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= SWIG_Py_Void();
9522 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9523 PyObject
*resultobj
= 0;
9524 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9528 PyObject
*swig_obj
[1] ;
9530 if (!args
) SWIG_fail
;
9532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9533 if (!SWIG_IsOK(res1
)) {
9534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9536 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_From_int(static_cast< int >(result
));
9550 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
= 0;
9552 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9553 wxMenu
*arg2
= (wxMenu
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 char * kwnames
[] = {
9561 (char *) "self",(char *) "menu", NULL
9564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9566 if (!SWIG_IsOK(res1
)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9569 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9571 if (!SWIG_IsOK(res2
)) {
9572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9574 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 (arg1
)->UseMenu(arg2
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_Py_Void();
9588 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
= 0;
9590 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9591 wxMenu
*arg2
= (wxMenu
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9598 char * kwnames
[] = {
9599 (char *) "self",(char *) "menu", NULL
9602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9604 if (!SWIG_IsOK(res1
)) {
9605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9607 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9609 if (!SWIG_IsOK(res2
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9612 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 (arg1
)->RemoveMenu(arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_Py_Void();
9626 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
= 0;
9628 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9629 wxConfigBase
*arg2
= 0 ;
9634 PyObject
* obj0
= 0 ;
9635 PyObject
* obj1
= 0 ;
9636 char * kwnames
[] = {
9637 (char *) "self",(char *) "config", NULL
9640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9642 if (!SWIG_IsOK(res1
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9645 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9646 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9647 if (!SWIG_IsOK(res2
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9653 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 (arg1
)->Load(*arg2
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_Py_Void();
9667 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
= 0;
9669 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9670 wxConfigBase
*arg2
= 0 ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "config", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9686 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9688 if (!SWIG_IsOK(res2
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9694 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 (arg1
)->Save(*arg2
);
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_Py_Void();
9708 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9709 PyObject
*resultobj
= 0;
9710 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9713 PyObject
*swig_obj
[1] ;
9715 if (!args
) SWIG_fail
;
9717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9718 if (!SWIG_IsOK(res1
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9721 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->AddFilesToMenu();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_Py_Void();
9735 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
= 0;
9737 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9738 wxMenu
*arg2
= (wxMenu
*) 0 ;
9743 PyObject
* obj0
= 0 ;
9744 PyObject
* obj1
= 0 ;
9745 char * kwnames
[] = {
9746 (char *) "self",(char *) "menu", NULL
9749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9751 if (!SWIG_IsOK(res1
)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9754 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9756 if (!SWIG_IsOK(res2
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9759 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 (arg1
)->AddFilesToMenu(arg2
);
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= SWIG_Py_Void();
9773 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
= 0;
9775 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9784 char * kwnames
[] = {
9785 (char *) "self",(char *) "i", NULL
9788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9793 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9795 if (!SWIG_IsOK(ecode2
)) {
9796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9798 arg2
= static_cast< int >(val2
);
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9818 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9819 PyObject
*resultobj
= 0;
9820 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9824 PyObject
*swig_obj
[1] ;
9826 if (!args
) SWIG_fail
;
9828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9829 if (!SWIG_IsOK(res1
)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9832 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_From_int(static_cast< int >(result
));
9846 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9849 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9850 return SWIG_Py_Void();
9853 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9854 return SWIG_Python_InitShadowInstance(args
);
9857 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
= 0;
9859 wxString
*arg1
= 0 ;
9860 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9861 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9862 wxSingleInstanceChecker
*result
= 0 ;
9863 bool temp1
= false ;
9864 bool temp2
= false ;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9867 char * kwnames
[] = {
9868 (char *) "name",(char *) "path", NULL
9871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9873 arg1
= wxString_in_helper(obj0
);
9874 if (arg1
== NULL
) SWIG_fail
;
9879 arg2
= wxString_in_helper(obj1
);
9880 if (arg2
== NULL
) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9913 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9914 PyObject
*resultobj
= 0;
9915 wxSingleInstanceChecker
*result
= 0 ;
9917 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9931 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9932 PyObject
*resultobj
= 0;
9933 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9936 PyObject
*swig_obj
[1] ;
9938 if (!args
) SWIG_fail
;
9940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9941 if (!SWIG_IsOK(res1
)) {
9942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9944 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_Py_Void();
9959 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
= 0;
9961 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9962 wxString
*arg2
= 0 ;
9963 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9964 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9968 bool temp2
= false ;
9969 bool temp3
= false ;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9972 PyObject
* obj2
= 0 ;
9973 char * kwnames
[] = {
9974 (char *) "self",(char *) "name",(char *) "path", NULL
9977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9979 if (!SWIG_IsOK(res1
)) {
9980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9982 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9984 arg2
= wxString_in_helper(obj1
);
9985 if (arg2
== NULL
) SWIG_fail
;
9990 arg3
= wxString_in_helper(obj2
);
9991 if (arg3
== NULL
) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10026 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10027 PyObject
*resultobj
= 0;
10028 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10032 PyObject
*swig_obj
[1] ;
10034 if (!args
) SWIG_fail
;
10035 swig_obj
[0] = args
;
10036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10037 if (!SWIG_IsOK(res1
)) {
10038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10040 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10056 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10059 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10060 return SWIG_Py_Void();
10063 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10064 return SWIG_Python_InitShadowInstance(args
);
10067 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10068 PyObject
*resultobj
= 0;
10069 wxPlatformInfo
*result
= 0 ;
10071 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10085 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
= 0;
10087 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10088 wxPlatformInfo
*arg2
= 0 ;
10094 PyObject
* obj0
= 0 ;
10095 PyObject
* obj1
= 0 ;
10096 char * kwnames
[] = {
10097 (char *) "self",(char *) "t", NULL
10100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10102 if (!SWIG_IsOK(res1
)) {
10103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10105 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10107 if (!SWIG_IsOK(res2
)) {
10108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10113 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10129 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
= 0;
10131 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10132 wxPlatformInfo
*arg2
= 0 ;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 char * kwnames
[] = {
10141 (char *) "self",(char *) "t", NULL
10144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10146 if (!SWIG_IsOK(res1
)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10149 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10151 if (!SWIG_IsOK(res2
)) {
10152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10157 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10173 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10174 PyObject
*resultobj
= 0;
10175 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10179 PyObject
*swig_obj
[1] ;
10181 if (!args
) SWIG_fail
;
10182 swig_obj
[0] = args
;
10183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10184 if (!SWIG_IsOK(res1
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10187 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= SWIG_From_int(static_cast< int >(result
));
10201 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10202 PyObject
*resultobj
= 0;
10203 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10207 PyObject
*swig_obj
[1] ;
10209 if (!args
) SWIG_fail
;
10210 swig_obj
[0] = args
;
10211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10212 if (!SWIG_IsOK(res1
)) {
10213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10215 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_From_int(static_cast< int >(result
));
10229 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10230 PyObject
*resultobj
= 0;
10231 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10235 PyObject
*swig_obj
[1] ;
10237 if (!args
) SWIG_fail
;
10238 swig_obj
[0] = args
;
10239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10240 if (!SWIG_IsOK(res1
)) {
10241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10243 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= SWIG_From_int(static_cast< int >(result
));
10257 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10258 PyObject
*resultobj
= 0;
10259 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10263 PyObject
*swig_obj
[1] ;
10265 if (!args
) SWIG_fail
;
10266 swig_obj
[0] = args
;
10267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10268 if (!SWIG_IsOK(res1
)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10271 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= SWIG_From_int(static_cast< int >(result
));
10285 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10286 PyObject
*resultobj
= 0;
10287 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10291 PyObject
*swig_obj
[1] ;
10293 if (!args
) SWIG_fail
;
10294 swig_obj
[0] = args
;
10295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10296 if (!SWIG_IsOK(res1
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10299 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10315 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10316 PyObject
*resultobj
= 0;
10317 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10318 wxOperatingSystemId result
;
10321 PyObject
*swig_obj
[1] ;
10323 if (!args
) SWIG_fail
;
10324 swig_obj
[0] = args
;
10325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10326 if (!SWIG_IsOK(res1
)) {
10327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10329 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_From_int(static_cast< int >(result
));
10343 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10344 PyObject
*resultobj
= 0;
10345 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10349 PyObject
*swig_obj
[1] ;
10351 if (!args
) SWIG_fail
;
10352 swig_obj
[0] = args
;
10353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10354 if (!SWIG_IsOK(res1
)) {
10355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10357 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= SWIG_From_int(static_cast< int >(result
));
10371 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10372 PyObject
*resultobj
= 0;
10373 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10374 wxArchitecture result
;
10377 PyObject
*swig_obj
[1] ;
10379 if (!args
) SWIG_fail
;
10380 swig_obj
[0] = args
;
10381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10382 if (!SWIG_IsOK(res1
)) {
10383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10385 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= SWIG_From_int(static_cast< int >(result
));
10399 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10400 PyObject
*resultobj
= 0;
10401 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10402 wxEndianness result
;
10405 PyObject
*swig_obj
[1] ;
10407 if (!args
) SWIG_fail
;
10408 swig_obj
[0] = args
;
10409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10413 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= SWIG_From_int(static_cast< int >(result
));
10427 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10428 PyObject
*resultobj
= 0;
10429 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10433 PyObject
*swig_obj
[1] ;
10435 if (!args
) SWIG_fail
;
10436 swig_obj
[0] = args
;
10437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10438 if (!SWIG_IsOK(res1
)) {
10439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10441 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10461 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10462 PyObject
*resultobj
= 0;
10463 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10467 PyObject
*swig_obj
[1] ;
10469 if (!args
) SWIG_fail
;
10470 swig_obj
[0] = args
;
10471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10472 if (!SWIG_IsOK(res1
)) {
10473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10475 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10495 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10496 PyObject
*resultobj
= 0;
10497 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10501 PyObject
*swig_obj
[1] ;
10503 if (!args
) SWIG_fail
;
10504 swig_obj
[0] = args
;
10505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10506 if (!SWIG_IsOK(res1
)) {
10507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10509 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10529 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10530 PyObject
*resultobj
= 0;
10531 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10535 PyObject
*swig_obj
[1] ;
10537 if (!args
) SWIG_fail
;
10538 swig_obj
[0] = args
;
10539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10540 if (!SWIG_IsOK(res1
)) {
10541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10543 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10563 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10564 PyObject
*resultobj
= 0;
10565 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10569 PyObject
*swig_obj
[1] ;
10571 if (!args
) SWIG_fail
;
10572 swig_obj
[0] = args
;
10573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10574 if (!SWIG_IsOK(res1
)) {
10575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10577 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10597 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10598 PyObject
*resultobj
= 0;
10599 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10603 PyObject
*swig_obj
[1] ;
10605 if (!args
) SWIG_fail
;
10606 swig_obj
[0] = args
;
10607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10608 if (!SWIG_IsOK(res1
)) {
10609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10611 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10631 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
= 0;
10633 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 PyObject
* obj2
= 0 ;
10645 char * kwnames
[] = {
10646 (char *) "self",(char *) "major",(char *) "minor", NULL
10649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10651 if (!SWIG_IsOK(res1
)) {
10652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10654 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10656 if (!SWIG_IsOK(ecode2
)) {
10657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10659 arg2
= static_cast< int >(val2
);
10660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10661 if (!SWIG_IsOK(ecode3
)) {
10662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10664 arg3
= static_cast< int >(val3
);
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 (arg1
)->SetOSVersion(arg2
,arg3
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= SWIG_Py_Void();
10678 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
= 0;
10680 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 char * kwnames
[] = {
10693 (char *) "self",(char *) "major",(char *) "minor", NULL
10696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10698 if (!SWIG_IsOK(res1
)) {
10699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10701 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10703 if (!SWIG_IsOK(ecode2
)) {
10704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10706 arg2
= static_cast< int >(val2
);
10707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10708 if (!SWIG_IsOK(ecode3
)) {
10709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10711 arg3
= static_cast< int >(val3
);
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_Py_Void();
10725 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
= 0;
10727 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10728 wxOperatingSystemId arg2
;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 char * kwnames
[] = {
10736 (char *) "self",(char *) "n", NULL
10739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10741 if (!SWIG_IsOK(res1
)) {
10742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10744 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10746 if (!SWIG_IsOK(ecode2
)) {
10747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10749 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 (arg1
)->SetOperatingSystemId(arg2
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= SWIG_Py_Void();
10763 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
= 0;
10765 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 char * kwnames
[] = {
10774 (char *) "self",(char *) "n", NULL
10777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10779 if (!SWIG_IsOK(res1
)) {
10780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10782 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10784 if (!SWIG_IsOK(ecode2
)) {
10785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10787 arg2
= static_cast< wxPortId
>(val2
);
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 (arg1
)->SetPortId(arg2
);
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= SWIG_Py_Void();
10801 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
= 0;
10803 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10804 wxArchitecture arg2
;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 char * kwnames
[] = {
10812 (char *) "self",(char *) "n", NULL
10815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10817 if (!SWIG_IsOK(res1
)) {
10818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10820 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10822 if (!SWIG_IsOK(ecode2
)) {
10823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
10825 arg2
= static_cast< wxArchitecture
>(val2
);
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 (arg1
)->SetArchitecture(arg2
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= SWIG_Py_Void();
10839 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
= 0;
10841 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10842 wxEndianness arg2
;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char * kwnames
[] = {
10850 (char *) "self",(char *) "n", NULL
10853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10855 if (!SWIG_IsOK(res1
)) {
10856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10858 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10860 if (!SWIG_IsOK(ecode2
)) {
10861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
10863 arg2
= static_cast< wxEndianness
>(val2
);
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->SetEndianness(arg2
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= SWIG_Py_Void();
10877 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10878 PyObject
*resultobj
= 0;
10879 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10883 PyObject
*swig_obj
[1] ;
10885 if (!args
) SWIG_fail
;
10886 swig_obj
[0] = args
;
10887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10888 if (!SWIG_IsOK(res1
)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10891 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10907 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10910 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
10911 return SWIG_Py_Void();
10914 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10915 return SWIG_Python_InitShadowInstance(args
);
10918 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
= 0;
10920 wxWindow
*arg1
= (wxWindow
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 char * kwnames
[] = {
10930 (char *) "window",(char *) "dc", NULL
10933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10935 if (!SWIG_IsOK(res1
)) {
10936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
10938 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
10940 if (!SWIG_IsOK(res2
)) {
10941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10946 arg2
= reinterpret_cast< wxDC
* >(argp2
);
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10962 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10963 PyObject
*resultobj
= 0;
10964 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10967 PyObject
*swig_obj
[1] ;
10969 if (!args
) SWIG_fail
;
10970 swig_obj
[0] = args
;
10971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
10972 if (!SWIG_IsOK(res1
)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10975 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_Py_Void();
10990 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10991 PyObject
*resultobj
= 0;
10992 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10996 PyObject
*swig_obj
[1] ;
10998 if (!args
) SWIG_fail
;
10999 swig_obj
[0] = args
;
11000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11001 if (!SWIG_IsOK(res1
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11004 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (arg1
)->GetTip();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11024 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11025 PyObject
*resultobj
= 0;
11026 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11030 PyObject
*swig_obj
[1] ;
11032 if (!args
) SWIG_fail
;
11033 swig_obj
[0] = args
;
11034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11035 if (!SWIG_IsOK(res1
)) {
11036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11038 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 result
= (size_t)(arg1
)->GetCurrentTip();
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11052 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
= 0;
11054 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11055 wxString
*arg2
= 0 ;
11059 bool temp2
= false ;
11060 PyObject
* obj0
= 0 ;
11061 PyObject
* obj1
= 0 ;
11062 char * kwnames
[] = {
11063 (char *) "self",(char *) "tip", NULL
11066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11068 if (!SWIG_IsOK(res1
)) {
11069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11071 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11073 arg2
= wxString_in_helper(obj1
);
11074 if (arg2
== NULL
) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11104 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11107 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11108 return SWIG_Py_Void();
11111 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
= 0;
11114 wxPyTipProvider
*result
= 0 ;
11117 PyObject
* obj0
= 0 ;
11118 char * kwnames
[] = {
11119 (char *) "currentTip", NULL
11122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11123 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11124 if (!SWIG_IsOK(ecode1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11127 arg1
= static_cast< size_t >(val1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11141 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
= 0;
11143 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11144 PyObject
*arg2
= (PyObject
*) 0 ;
11145 PyObject
*arg3
= (PyObject
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 PyObject
* obj1
= 0 ;
11150 PyObject
* obj2
= 0 ;
11151 char * kwnames
[] = {
11152 (char *) "self",(char *) "self",(char *) "_class", NULL
11155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11157 if (!SWIG_IsOK(res1
)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11160 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 resultobj
= SWIG_Py_Void();
11176 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11179 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11180 return SWIG_Py_Void();
11183 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11184 return SWIG_Python_InitShadowInstance(args
);
11187 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
= 0;
11189 wxWindow
*arg1
= (wxWindow
*) 0 ;
11190 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11191 bool arg3
= (bool) true ;
11199 PyObject
* obj0
= 0 ;
11200 PyObject
* obj1
= 0 ;
11201 PyObject
* obj2
= 0 ;
11202 char * kwnames
[] = {
11203 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11208 if (!SWIG_IsOK(res1
)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11211 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11213 if (!SWIG_IsOK(res2
)) {
11214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11216 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11218 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11219 if (!SWIG_IsOK(ecode3
)) {
11220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11222 arg3
= static_cast< bool >(val3
);
11225 if (!wxPyCheckForApp()) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11240 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
= 0;
11242 wxString
*arg1
= 0 ;
11244 wxTipProvider
*result
= 0 ;
11245 bool temp1
= false ;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 char * kwnames
[] = {
11251 (char *) "filename",(char *) "currentTip", NULL
11254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11256 arg1
= wxString_in_helper(obj0
);
11257 if (arg1
== NULL
) SWIG_fail
;
11260 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11261 if (!SWIG_IsOK(ecode2
)) {
11262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11264 arg2
= static_cast< size_t >(val2
);
11266 if (!wxPyCheckForApp()) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11287 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
= 0;
11289 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11290 int arg2
= (int) wxID_ANY
;
11291 wxPyTimer
*result
= 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 char * kwnames
[] = {
11299 (char *) "owner",(char *) "id", NULL
11302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11308 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11312 if (!SWIG_IsOK(ecode2
)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11315 arg2
= static_cast< int >(val2
);
11318 if (!wxPyCheckForApp()) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11331 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11332 PyObject
*resultobj
= 0;
11333 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11336 PyObject
*swig_obj
[1] ;
11338 if (!args
) SWIG_fail
;
11339 swig_obj
[0] = args
;
11340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11344 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_Py_Void();
11359 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
= 0;
11361 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11362 PyObject
*arg2
= (PyObject
*) 0 ;
11363 PyObject
*arg3
= (PyObject
*) 0 ;
11364 int arg4
= (int) 1 ;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 PyObject
* obj2
= 0 ;
11372 PyObject
* obj3
= 0 ;
11373 char * kwnames
[] = {
11374 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11379 if (!SWIG_IsOK(res1
)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11382 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11387 if (!SWIG_IsOK(ecode4
)) {
11388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11390 arg4
= static_cast< int >(val4
);
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 resultobj
= SWIG_Py_Void();
11405 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
= 0;
11407 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11408 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11409 int arg3
= (int) wxID_ANY
;
11416 PyObject
* obj0
= 0 ;
11417 PyObject
* obj1
= 0 ;
11418 PyObject
* obj2
= 0 ;
11419 char * kwnames
[] = {
11420 (char *) "self",(char *) "owner",(char *) "id", NULL
11423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11425 if (!SWIG_IsOK(res1
)) {
11426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11428 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11430 if (!SWIG_IsOK(res2
)) {
11431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11433 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11436 if (!SWIG_IsOK(ecode3
)) {
11437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11439 arg3
= static_cast< int >(val3
);
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 (arg1
)->SetOwner(arg2
,arg3
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_Py_Void();
11454 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11455 PyObject
*resultobj
= 0;
11456 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11457 wxEvtHandler
*result
= 0 ;
11460 PyObject
*swig_obj
[1] ;
11462 if (!args
) SWIG_fail
;
11463 swig_obj
[0] = args
;
11464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11465 if (!SWIG_IsOK(res1
)) {
11466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11468 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= wxPyMake_wxObject(result
, 0);
11484 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
= 0;
11486 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11487 int arg2
= (int) -1 ;
11488 bool arg3
= (bool) false ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 PyObject
* obj2
= 0 ;
11499 char * kwnames
[] = {
11500 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11505 if (!SWIG_IsOK(res1
)) {
11506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11508 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11511 if (!SWIG_IsOK(ecode2
)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11514 arg2
= static_cast< int >(val2
);
11517 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11518 if (!SWIG_IsOK(ecode3
)) {
11519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11521 arg3
= static_cast< bool >(val3
);
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11538 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11539 PyObject
*resultobj
= 0;
11540 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11543 PyObject
*swig_obj
[1] ;
11545 if (!args
) SWIG_fail
;
11546 swig_obj
[0] = args
;
11547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11548 if (!SWIG_IsOK(res1
)) {
11549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11551 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_Py_Void();
11565 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11566 PyObject
*resultobj
= 0;
11567 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11570 PyObject
*swig_obj
[1] ;
11572 if (!args
) SWIG_fail
;
11573 swig_obj
[0] = args
;
11574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11575 if (!SWIG_IsOK(res1
)) {
11576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11578 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= SWIG_Py_Void();
11592 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11593 PyObject
*resultobj
= 0;
11594 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11598 PyObject
*swig_obj
[1] ;
11600 if (!args
) SWIG_fail
;
11601 swig_obj
[0] = args
;
11602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11603 if (!SWIG_IsOK(res1
)) {
11604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11606 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11622 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11623 PyObject
*resultobj
= 0;
11624 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11628 PyObject
*swig_obj
[1] ;
11630 if (!args
) SWIG_fail
;
11631 swig_obj
[0] = args
;
11632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11636 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_From_int(static_cast< int >(result
));
11650 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11651 PyObject
*resultobj
= 0;
11652 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11656 PyObject
*swig_obj
[1] ;
11658 if (!args
) SWIG_fail
;
11659 swig_obj
[0] = args
;
11660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11661 if (!SWIG_IsOK(res1
)) {
11662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11664 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_From_int(static_cast< int >(result
));
11678 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 PyObject
*resultobj
= 0;
11680 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11684 PyObject
*swig_obj
[1] ;
11686 if (!args
) SWIG_fail
;
11687 swig_obj
[0] = args
;
11688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11689 if (!SWIG_IsOK(res1
)) {
11690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11692 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11708 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11711 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11712 return SWIG_Py_Void();
11715 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11716 return SWIG_Python_InitShadowInstance(args
);
11719 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
= 0;
11721 int arg1
= (int) 0 ;
11722 int arg2
= (int) 0 ;
11723 wxTimerEvent
*result
= 0 ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 char * kwnames
[] = {
11731 (char *) "timerid",(char *) "interval", NULL
11734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11737 if (!SWIG_IsOK(ecode1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11740 arg1
= static_cast< int >(val1
);
11743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11744 if (!SWIG_IsOK(ecode2
)) {
11745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11747 arg2
= static_cast< int >(val2
);
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11762 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11763 PyObject
*resultobj
= 0;
11764 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11768 PyObject
*swig_obj
[1] ;
11770 if (!args
) SWIG_fail
;
11771 swig_obj
[0] = args
;
11772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11773 if (!SWIG_IsOK(res1
)) {
11774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11776 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= SWIG_From_int(static_cast< int >(result
));
11790 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11793 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11794 return SWIG_Py_Void();
11797 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11798 return SWIG_Python_InitShadowInstance(args
);
11801 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11802 PyObject
*resultobj
= 0;
11803 wxTimer
*arg1
= 0 ;
11804 wxTimerRunner
*result
= 0 ;
11808 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11810 if (!SWIG_IsOK(res1
)) {
11811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11816 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11818 if (!wxPyCheckForApp()) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11831 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11832 PyObject
*resultobj
= 0;
11833 wxTimer
*arg1
= 0 ;
11835 bool arg3
= (bool) false ;
11836 wxTimerRunner
*result
= 0 ;
11844 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
11845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11846 if (!SWIG_IsOK(res1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11852 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11853 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
11854 if (!SWIG_IsOK(ecode2
)) {
11855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
11857 arg2
= static_cast< int >(val2
);
11859 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
11860 if (!SWIG_IsOK(ecode3
)) {
11861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
11863 arg3
= static_cast< bool >(val3
);
11866 if (!wxPyCheckForApp()) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11879 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
11883 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
11886 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
11888 if ((argc
>= 2) && (argc
<= 3)) {
11889 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
11893 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
11898 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11899 PyObject
*resultobj
= 0;
11900 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11903 PyObject
*swig_obj
[1] ;
11905 if (!args
) SWIG_fail
;
11906 swig_obj
[0] = args
;
11907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11911 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= SWIG_Py_Void();
11926 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
= 0;
11928 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11930 bool arg3
= (bool) false ;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 PyObject
* obj2
= 0 ;
11940 char * kwnames
[] = {
11941 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
11944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11949 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11951 if (!SWIG_IsOK(ecode2
)) {
11952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
11954 arg2
= static_cast< int >(val2
);
11956 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11957 if (!SWIG_IsOK(ecode3
)) {
11958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
11960 arg3
= static_cast< bool >(val3
);
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 (arg1
)->Start(arg2
,arg3
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= SWIG_Py_Void();
11975 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11978 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
11979 return SWIG_Py_Void();
11982 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11983 return SWIG_Python_InitShadowInstance(args
);
11986 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11987 PyObject
*resultobj
= 0;
11988 wxLog
*result
= 0 ;
11990 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (wxLog
*)new wxLog();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12004 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12005 PyObject
*resultobj
= 0;
12006 wxLog
*arg1
= (wxLog
*) 0 ;
12009 PyObject
*swig_obj
[1] ;
12011 if (!args
) SWIG_fail
;
12012 swig_obj
[0] = args
;
12013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12017 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_Py_Void();
12032 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12033 PyObject
*resultobj
= 0;
12036 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (bool)wxLog::IsEnabled();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12052 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
= 0;
12054 bool arg1
= (bool) true ;
12058 PyObject
* obj0
= 0 ;
12059 char * kwnames
[] = {
12060 (char *) "doIt", NULL
12063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12065 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12066 if (!SWIG_IsOK(ecode1
)) {
12067 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12069 arg1
= static_cast< bool >(val1
);
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (bool)wxLog::EnableLogging(arg1
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12086 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
= 0;
12089 wxChar
*arg2
= (wxChar
*) 0 ;
12091 unsigned long val1
;
12095 unsigned int val3
;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 PyObject
* obj2
= 0 ;
12100 char * kwnames
[] = {
12101 (char *) "level",(char *) "szString",(char *) "t", NULL
12104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12105 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12106 if (!SWIG_IsOK(ecode1
)) {
12107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12109 arg1
= static_cast< wxLogLevel
>(val1
);
12110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12111 if (!SWIG_IsOK(res2
)) {
12112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12114 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12115 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12116 if (!SWIG_IsOK(ecode3
)) {
12117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12119 arg3
= static_cast< time_t >(val3
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_Py_Void();
12133 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12134 PyObject
*resultobj
= 0;
12135 wxLog
*arg1
= (wxLog
*) 0 ;
12138 PyObject
*swig_obj
[1] ;
12140 if (!args
) SWIG_fail
;
12141 swig_obj
[0] = args
;
12142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12146 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_Py_Void();
12160 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12161 PyObject
*resultobj
= 0;
12163 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 wxLog::FlushActive();
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= SWIG_Py_Void();
12177 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12178 PyObject
*resultobj
= 0;
12179 wxLog
*result
= 0 ;
12181 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (wxLog
*)wxLog::GetActiveTarget();
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12195 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
= 0;
12197 wxLog
*arg1
= (wxLog
*) 0 ;
12198 wxLog
*result
= 0 ;
12200 PyObject
* obj0
= 0 ;
12201 char * kwnames
[] = {
12202 (char *) "pLogger", NULL
12205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12206 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12207 if (!SWIG_IsOK(res1
)) {
12208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12223 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12224 PyObject
*resultobj
= 0;
12226 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_Py_Void();
12240 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12241 PyObject
*resultobj
= 0;
12243 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= SWIG_Py_Void();
12257 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
= 0;
12259 bool arg1
= (bool) true ;
12262 PyObject
* obj0
= 0 ;
12263 char * kwnames
[] = {
12264 (char *) "bVerbose", NULL
12267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12269 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12270 if (!SWIG_IsOK(ecode1
)) {
12271 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12273 arg1
= static_cast< bool >(val1
);
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 wxLog::SetVerbose(arg1
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= SWIG_Py_Void();
12288 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
= 0;
12291 unsigned long val1
;
12293 PyObject
* obj0
= 0 ;
12294 char * kwnames
[] = {
12295 (char *) "logLevel", NULL
12298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12299 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12300 if (!SWIG_IsOK(ecode1
)) {
12301 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12303 arg1
= static_cast< wxLogLevel
>(val1
);
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 wxLog::SetLogLevel(arg1
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_Py_Void();
12317 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12318 PyObject
*resultobj
= 0;
12320 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 wxLog::DontCreateOnDemand();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_Py_Void();
12334 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
= 0;
12336 bool arg1
= (bool) true ;
12339 PyObject
* obj0
= 0 ;
12340 char * kwnames
[] = {
12341 (char *) "bRepetCounting", NULL
12344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12346 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12347 if (!SWIG_IsOK(ecode1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12350 arg1
= static_cast< bool >(val1
);
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 wxLog::SetRepetitionCounting(arg1
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_Py_Void();
12365 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12366 PyObject
*resultobj
= 0;
12369 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (bool)wxLog::GetRepetitionCounting();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12385 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
= 0;
12388 unsigned long val1
;
12390 PyObject
* obj0
= 0 ;
12391 char * kwnames
[] = {
12392 (char *) "ulMask", NULL
12395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12396 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12397 if (!SWIG_IsOK(ecode1
)) {
12398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12400 arg1
= static_cast< wxTraceMask
>(val1
);
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 wxLog::SetTraceMask(arg1
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_Py_Void();
12414 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
= 0;
12416 wxString
*arg1
= 0 ;
12417 bool temp1
= false ;
12418 PyObject
* obj0
= 0 ;
12419 char * kwnames
[] = {
12420 (char *) "str", NULL
12423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12425 arg1
= wxString_in_helper(obj0
);
12426 if (arg1
== NULL
) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 wxLog::AddTraceMask((wxString
const &)*arg1
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= SWIG_Py_Void();
12450 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
= 0;
12452 wxString
*arg1
= 0 ;
12453 bool temp1
= false ;
12454 PyObject
* obj0
= 0 ;
12455 char * kwnames
[] = {
12456 (char *) "str", NULL
12459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12461 arg1
= wxString_in_helper(obj0
);
12462 if (arg1
== NULL
) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= SWIG_Py_Void();
12486 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12487 PyObject
*resultobj
= 0;
12489 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 wxLog::ClearTraceMasks();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_Py_Void();
12503 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 PyObject
*resultobj
= 0;
12505 wxArrayString
*result
= 0 ;
12507 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12512 result
= (wxArrayString
*) &_result_ref
;
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= wxArrayString2PyList_helper(*result
);
12526 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
= 0;
12528 wxChar
*arg1
= (wxChar
*) 0 ;
12531 PyObject
* obj0
= 0 ;
12532 char * kwnames
[] = {
12533 (char *) "ts", NULL
12536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12538 if (!SWIG_IsOK(res1
)) {
12539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12541 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 wxLog::SetTimestamp((wxChar
const *)arg1
);
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= SWIG_Py_Void();
12555 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12556 PyObject
*resultobj
= 0;
12559 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= (bool)wxLog::GetVerbose();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12575 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12576 PyObject
*resultobj
= 0;
12577 wxTraceMask result
;
12579 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 result
= (wxTraceMask
)wxLog::GetTraceMask();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12593 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
= 0;
12595 wxChar
*arg1
= (wxChar
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char * kwnames
[] = {
12601 (char *) "mask", NULL
12604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12606 if (!SWIG_IsOK(res1
)) {
12607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12609 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12625 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12626 PyObject
*resultobj
= 0;
12629 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (wxLogLevel
)wxLog::GetLogLevel();
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12643 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12644 PyObject
*resultobj
= 0;
12645 wxChar
*result
= 0 ;
12647 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (wxChar
*)wxLog::GetTimestamp();
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12661 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12662 PyObject
*resultobj
= 0;
12665 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= wxLog_TimeStamp();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12685 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12686 PyObject
*resultobj
= 0;
12687 wxLog
*arg1
= (wxLog
*) 0 ;
12690 PyObject
*swig_obj
[1] ;
12692 if (!args
) SWIG_fail
;
12693 swig_obj
[0] = args
;
12694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12695 if (!SWIG_IsOK(res1
)) {
12696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12698 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 wxLog_Destroy(arg1
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= SWIG_Py_Void();
12712 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12715 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12716 return SWIG_Py_Void();
12719 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12720 return SWIG_Python_InitShadowInstance(args
);
12723 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12724 PyObject
*resultobj
= 0;
12725 wxLogStderr
*result
= 0 ;
12727 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= (wxLogStderr
*)new wxLogStderr();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12741 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12744 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12745 return SWIG_Py_Void();
12748 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12749 return SWIG_Python_InitShadowInstance(args
);
12752 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
= 0;
12754 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12755 wxLogTextCtrl
*result
= 0 ;
12758 PyObject
* obj0
= 0 ;
12759 char * kwnames
[] = {
12760 (char *) "pTextCtrl", NULL
12763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12768 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12782 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12785 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12786 return SWIG_Py_Void();
12789 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12790 return SWIG_Python_InitShadowInstance(args
);
12793 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12794 PyObject
*resultobj
= 0;
12795 wxLogGui
*result
= 0 ;
12797 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (wxLogGui
*)new wxLogGui();
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12811 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12814 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12815 return SWIG_Py_Void();
12818 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12819 return SWIG_Python_InitShadowInstance(args
);
12822 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
= 0;
12824 wxFrame
*arg1
= (wxFrame
*) 0 ;
12825 wxString
*arg2
= 0 ;
12826 bool arg3
= (bool) true ;
12827 bool arg4
= (bool) true ;
12828 wxLogWindow
*result
= 0 ;
12831 bool temp2
= false ;
12836 PyObject
* obj0
= 0 ;
12837 PyObject
* obj1
= 0 ;
12838 PyObject
* obj2
= 0 ;
12839 PyObject
* obj3
= 0 ;
12840 char * kwnames
[] = {
12841 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
12844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12846 if (!SWIG_IsOK(res1
)) {
12847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
12849 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12851 arg2
= wxString_in_helper(obj1
);
12852 if (arg2
== NULL
) SWIG_fail
;
12856 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12857 if (!SWIG_IsOK(ecode3
)) {
12858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
12860 arg3
= static_cast< bool >(val3
);
12863 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12864 if (!SWIG_IsOK(ecode4
)) {
12865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
12867 arg4
= static_cast< bool >(val4
);
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
12890 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
= 0;
12892 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12893 bool arg2
= (bool) true ;
12898 PyObject
* obj0
= 0 ;
12899 PyObject
* obj1
= 0 ;
12900 char * kwnames
[] = {
12901 (char *) "self",(char *) "bShow", NULL
12904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12906 if (!SWIG_IsOK(res1
)) {
12907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12909 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12911 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12912 if (!SWIG_IsOK(ecode2
)) {
12913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
12915 arg2
= static_cast< bool >(val2
);
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 (arg1
)->Show(arg2
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_Py_Void();
12930 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12931 PyObject
*resultobj
= 0;
12932 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12933 wxFrame
*result
= 0 ;
12936 PyObject
*swig_obj
[1] ;
12938 if (!args
) SWIG_fail
;
12939 swig_obj
[0] = args
;
12940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12941 if (!SWIG_IsOK(res1
)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12944 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= wxPyMake_wxObject(result
, (bool)0);
12960 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12961 PyObject
*resultobj
= 0;
12962 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12963 wxLog
*result
= 0 ;
12966 PyObject
*swig_obj
[1] ;
12968 if (!args
) SWIG_fail
;
12969 swig_obj
[0] = args
;
12970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12971 if (!SWIG_IsOK(res1
)) {
12972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12974 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12988 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12989 PyObject
*resultobj
= 0;
12990 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12994 PyObject
*swig_obj
[1] ;
12996 if (!args
) SWIG_fail
;
12997 swig_obj
[0] = args
;
12998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12999 if (!SWIG_IsOK(res1
)) {
13000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13002 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13018 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
= 0;
13020 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char * kwnames
[] = {
13029 (char *) "self",(char *) "bDoPass", NULL
13032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13034 if (!SWIG_IsOK(res1
)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13037 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13038 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13039 if (!SWIG_IsOK(ecode2
)) {
13040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13042 arg2
= static_cast< bool >(val2
);
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 (arg1
)->PassMessages(arg2
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= SWIG_Py_Void();
13056 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13059 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13060 return SWIG_Py_Void();
13063 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13064 return SWIG_Python_InitShadowInstance(args
);
13067 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
= 0;
13069 wxLog
*arg1
= (wxLog
*) 0 ;
13070 wxLogChain
*result
= 0 ;
13073 PyObject
* obj0
= 0 ;
13074 char * kwnames
[] = {
13075 (char *) "logger", NULL
13078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13080 if (!SWIG_IsOK(res1
)) {
13081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13083 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (wxLogChain
*)new wxLogChain(arg1
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13097 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
= 0;
13099 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13100 wxLog
*arg2
= (wxLog
*) 0 ;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 char * kwnames
[] = {
13108 (char *) "self",(char *) "logger", NULL
13111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13113 if (!SWIG_IsOK(res1
)) {
13114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13116 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13118 if (!SWIG_IsOK(res2
)) {
13119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13121 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 (arg1
)->SetLog(arg2
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= SWIG_Py_Void();
13135 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
= 0;
13137 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char * kwnames
[] = {
13146 (char *) "self",(char *) "bDoPass", NULL
13149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13151 if (!SWIG_IsOK(res1
)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13154 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13155 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13156 if (!SWIG_IsOK(ecode2
)) {
13157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13159 arg2
= static_cast< bool >(val2
);
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 (arg1
)->PassMessages(arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_Py_Void();
13173 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13174 PyObject
*resultobj
= 0;
13175 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13179 PyObject
*swig_obj
[1] ;
13181 if (!args
) SWIG_fail
;
13182 swig_obj
[0] = args
;
13183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13184 if (!SWIG_IsOK(res1
)) {
13185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13187 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (bool)(arg1
)->IsPassingMessages();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13203 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13204 PyObject
*resultobj
= 0;
13205 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13206 wxLog
*result
= 0 ;
13209 PyObject
*swig_obj
[1] ;
13211 if (!args
) SWIG_fail
;
13212 swig_obj
[0] = args
;
13213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13217 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (wxLog
*)(arg1
)->GetOldLog();
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13231 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13234 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13235 return SWIG_Py_Void();
13238 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13239 return SWIG_Python_InitShadowInstance(args
);
13242 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13243 PyObject
*resultobj
= 0;
13244 wxLogBuffer
*result
= 0 ;
13246 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 result
= (wxLogBuffer
*)new wxLogBuffer();
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13260 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13261 PyObject
*resultobj
= 0;
13262 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13263 wxString
*result
= 0 ;
13266 PyObject
*swig_obj
[1] ;
13268 if (!args
) SWIG_fail
;
13269 swig_obj
[0] = args
;
13270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13271 if (!SWIG_IsOK(res1
)) {
13272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13274 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13279 result
= (wxString
*) &_result_ref
;
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13288 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13297 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13300 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13301 return SWIG_Py_Void();
13304 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13305 return SWIG_Python_InitShadowInstance(args
);
13308 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13309 PyObject
*resultobj
= 0;
13310 unsigned long result
;
13312 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (unsigned long)wxSysErrorCode();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13326 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
= 0;
13328 unsigned long arg1
= (unsigned long) 0 ;
13330 unsigned long val1
;
13332 PyObject
* obj0
= 0 ;
13333 char * kwnames
[] = {
13334 (char *) "nErrCode", NULL
13337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13339 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13340 if (!SWIG_IsOK(ecode1
)) {
13341 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13343 arg1
= static_cast< unsigned long >(val1
);
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 result
= wxSysErrorMsg(arg1
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13364 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
= 0;
13366 wxString
*arg1
= 0 ;
13367 bool temp1
= false ;
13368 PyObject
* obj0
= 0 ;
13369 char * kwnames
[] = {
13370 (char *) "msg", NULL
13373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13375 arg1
= wxString_in_helper(obj0
);
13376 if (arg1
== NULL
) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 wxPyLogFatalError((wxString
const &)*arg1
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= SWIG_Py_Void();
13400 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
= 0;
13402 wxString
*arg1
= 0 ;
13403 bool temp1
= false ;
13404 PyObject
* obj0
= 0 ;
13405 char * kwnames
[] = {
13406 (char *) "msg", NULL
13409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13411 arg1
= wxString_in_helper(obj0
);
13412 if (arg1
== NULL
) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 wxPyLogError((wxString
const &)*arg1
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= SWIG_Py_Void();
13436 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
= 0;
13438 wxString
*arg1
= 0 ;
13439 bool temp1
= false ;
13440 PyObject
* obj0
= 0 ;
13441 char * kwnames
[] = {
13442 (char *) "msg", NULL
13445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13447 arg1
= wxString_in_helper(obj0
);
13448 if (arg1
== NULL
) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 wxPyLogWarning((wxString
const &)*arg1
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= SWIG_Py_Void();
13472 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
= 0;
13474 wxString
*arg1
= 0 ;
13475 bool temp1
= false ;
13476 PyObject
* obj0
= 0 ;
13477 char * kwnames
[] = {
13478 (char *) "msg", NULL
13481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13483 arg1
= wxString_in_helper(obj0
);
13484 if (arg1
== NULL
) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 wxPyLogMessage((wxString
const &)*arg1
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= SWIG_Py_Void();
13508 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
= 0;
13510 wxString
*arg1
= 0 ;
13511 bool temp1
= false ;
13512 PyObject
* obj0
= 0 ;
13513 char * kwnames
[] = {
13514 (char *) "msg", NULL
13517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13519 arg1
= wxString_in_helper(obj0
);
13520 if (arg1
== NULL
) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 wxPyLogInfo((wxString
const &)*arg1
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 resultobj
= SWIG_Py_Void();
13544 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
= 0;
13546 wxString
*arg1
= 0 ;
13547 bool temp1
= false ;
13548 PyObject
* obj0
= 0 ;
13549 char * kwnames
[] = {
13550 (char *) "msg", NULL
13553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13555 arg1
= wxString_in_helper(obj0
);
13556 if (arg1
== NULL
) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 wxPyLogDebug((wxString
const &)*arg1
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= SWIG_Py_Void();
13580 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
= 0;
13582 wxString
*arg1
= 0 ;
13583 bool temp1
= false ;
13584 PyObject
* obj0
= 0 ;
13585 char * kwnames
[] = {
13586 (char *) "msg", NULL
13589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13591 arg1
= wxString_in_helper(obj0
);
13592 if (arg1
== NULL
) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 wxPyLogVerbose((wxString
const &)*arg1
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= SWIG_Py_Void();
13616 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
= 0;
13618 wxString
*arg1
= 0 ;
13619 bool temp1
= false ;
13620 PyObject
* obj0
= 0 ;
13621 char * kwnames
[] = {
13622 (char *) "msg", NULL
13625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13627 arg1
= wxString_in_helper(obj0
);
13628 if (arg1
== NULL
) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 wxPyLogStatus((wxString
const &)*arg1
);
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 resultobj
= SWIG_Py_Void();
13652 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
= 0;
13654 wxFrame
*arg1
= (wxFrame
*) 0 ;
13655 wxString
*arg2
= 0 ;
13658 bool temp2
= false ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 char * kwnames
[] = {
13662 (char *) "pFrame",(char *) "msg", NULL
13665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13667 if (!SWIG_IsOK(res1
)) {
13668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13670 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13672 arg2
= wxString_in_helper(obj1
);
13673 if (arg2
== NULL
) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 resultobj
= SWIG_Py_Void();
13697 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
= 0;
13699 wxString
*arg1
= 0 ;
13700 bool temp1
= false ;
13701 PyObject
* obj0
= 0 ;
13702 char * kwnames
[] = {
13703 (char *) "msg", NULL
13706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13708 arg1
= wxString_in_helper(obj0
);
13709 if (arg1
== NULL
) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 wxPyLogSysError((wxString
const &)*arg1
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_Py_Void();
13733 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
= 0;
13735 unsigned long arg1
;
13736 wxString
*arg2
= 0 ;
13737 unsigned long val1
;
13739 bool temp2
= false ;
13740 PyObject
* obj0
= 0 ;
13741 PyObject
* obj1
= 0 ;
13742 char * kwnames
[] = {
13743 (char *) "level",(char *) "msg", NULL
13746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13747 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13748 if (!SWIG_IsOK(ecode1
)) {
13749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13751 arg1
= static_cast< unsigned long >(val1
);
13753 arg2
= wxString_in_helper(obj1
);
13754 if (arg2
== NULL
) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= SWIG_Py_Void();
13778 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13779 PyObject
*resultobj
= 0;
13780 unsigned long arg1
;
13781 wxString
*arg2
= 0 ;
13782 unsigned long val1
;
13784 bool temp2
= false ;
13786 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13787 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13788 if (!SWIG_IsOK(ecode1
)) {
13789 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13791 arg1
= static_cast< unsigned long >(val1
);
13793 arg2
= wxString_in_helper(swig_obj
[1]);
13794 if (arg2
== NULL
) SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_Py_Void();
13818 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13819 PyObject
*resultobj
= 0;
13820 wxString
*arg1
= 0 ;
13821 wxString
*arg2
= 0 ;
13822 bool temp1
= false ;
13823 bool temp2
= false ;
13825 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13827 arg1
= wxString_in_helper(swig_obj
[0]);
13828 if (arg1
== NULL
) SWIG_fail
;
13832 arg2
= wxString_in_helper(swig_obj
[1]);
13833 if (arg2
== NULL
) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= SWIG_Py_Void();
13865 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
13869 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
13875 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
13878 if (!_v
) goto check_1
;
13879 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
13884 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
13888 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
13893 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
= 0;
13895 wxString
*arg1
= 0 ;
13896 wxString
*arg2
= 0 ;
13897 bool temp1
= false ;
13898 bool temp2
= false ;
13899 PyObject
* obj0
= 0 ;
13900 PyObject
* obj1
= 0 ;
13901 char * kwnames
[] = {
13902 (char *) "title",(char *) "text", NULL
13905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13907 arg1
= wxString_in_helper(obj0
);
13908 if (arg1
== NULL
) SWIG_fail
;
13912 arg2
= wxString_in_helper(obj1
);
13913 if (arg2
== NULL
) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_Py_Void();
13945 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13946 PyObject
*resultobj
= 0;
13947 wxLogNull
*result
= 0 ;
13949 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (wxLogNull
*)new wxLogNull();
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
13963 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13964 PyObject
*resultobj
= 0;
13965 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
13968 PyObject
*swig_obj
[1] ;
13970 if (!args
) SWIG_fail
;
13971 swig_obj
[0] = args
;
13972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
13973 if (!SWIG_IsOK(res1
)) {
13974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
13976 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= SWIG_Py_Void();
13991 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13994 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
13995 return SWIG_Py_Void();
13998 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13999 return SWIG_Python_InitShadowInstance(args
);
14002 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14003 PyObject
*resultobj
= 0;
14004 wxPyLog
*result
= 0 ;
14006 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (wxPyLog
*)new wxPyLog();
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14020 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
= 0;
14022 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14023 PyObject
*arg2
= (PyObject
*) 0 ;
14024 PyObject
*arg3
= (PyObject
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 PyObject
* obj2
= 0 ;
14030 char * kwnames
[] = {
14031 (char *) "self",(char *) "self",(char *) "_class", NULL
14034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14036 if (!SWIG_IsOK(res1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14039 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= SWIG_Py_Void();
14055 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14058 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14059 return SWIG_Py_Void();
14062 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14063 return SWIG_Python_InitShadowInstance(args
);
14066 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
= 0;
14069 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14070 int arg3
= (int) wxKILL_NOCHILDREN
;
14071 wxKillError result
;
14078 PyObject
* obj0
= 0 ;
14079 PyObject
* obj1
= 0 ;
14080 PyObject
* obj2
= 0 ;
14081 char * kwnames
[] = {
14082 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14086 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14087 if (!SWIG_IsOK(ecode1
)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14090 arg1
= static_cast< int >(val1
);
14092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14093 if (!SWIG_IsOK(ecode2
)) {
14094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14096 arg2
= static_cast< wxSignal
>(val2
);
14099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14100 if (!SWIG_IsOK(ecode3
)) {
14101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14103 arg3
= static_cast< int >(val3
);
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= SWIG_From_int(static_cast< int >(result
));
14118 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
= 0;
14124 PyObject
* obj0
= 0 ;
14125 char * kwnames
[] = {
14126 (char *) "pid", NULL
14129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14130 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14131 if (!SWIG_IsOK(ecode1
)) {
14132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14134 arg1
= static_cast< int >(val1
);
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (bool)wxPyProcess::Exists(arg1
);
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14150 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
= 0;
14152 wxString
*arg1
= 0 ;
14153 int arg2
= (int) wxEXEC_ASYNC
;
14154 wxPyProcess
*result
= 0 ;
14155 bool temp1
= false ;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 char * kwnames
[] = {
14161 (char *) "cmd",(char *) "flags", NULL
14164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14166 arg1
= wxString_in_helper(obj0
);
14167 if (arg1
== NULL
) SWIG_fail
;
14171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14172 if (!SWIG_IsOK(ecode2
)) {
14173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14175 arg2
= static_cast< int >(val2
);
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14198 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
= 0;
14200 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14201 int arg2
= (int) -1 ;
14202 wxPyProcess
*result
= 0 ;
14207 PyObject
* obj0
= 0 ;
14208 PyObject
* obj1
= 0 ;
14209 char * kwnames
[] = {
14210 (char *) "parent",(char *) "id", NULL
14213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14216 if (!SWIG_IsOK(res1
)) {
14217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14219 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14223 if (!SWIG_IsOK(ecode2
)) {
14224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14226 arg2
= static_cast< int >(val2
);
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14241 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
= 0;
14243 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14244 PyObject
*arg2
= (PyObject
*) 0 ;
14245 PyObject
*arg3
= (PyObject
*) 0 ;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 PyObject
* obj2
= 0 ;
14251 char * kwnames
[] = {
14252 (char *) "self",(char *) "self",(char *) "_class", NULL
14255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14260 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= SWIG_Py_Void();
14276 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
= 0;
14278 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14287 PyObject
* obj0
= 0 ;
14288 PyObject
* obj1
= 0 ;
14289 PyObject
* obj2
= 0 ;
14290 char * kwnames
[] = {
14291 (char *) "self",(char *) "pid",(char *) "status", NULL
14294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14296 if (!SWIG_IsOK(res1
)) {
14297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14299 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14301 if (!SWIG_IsOK(ecode2
)) {
14302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14304 arg2
= static_cast< int >(val2
);
14305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14306 if (!SWIG_IsOK(ecode3
)) {
14307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14309 arg3
= static_cast< int >(val3
);
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 (arg1
)->OnTerminate(arg2
,arg3
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= SWIG_Py_Void();
14323 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14324 PyObject
*resultobj
= 0;
14325 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14328 PyObject
*swig_obj
[1] ;
14330 if (!args
) SWIG_fail
;
14331 swig_obj
[0] = args
;
14332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14333 if (!SWIG_IsOK(res1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14336 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->Redirect();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_Py_Void();
14350 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14351 PyObject
*resultobj
= 0;
14352 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14356 PyObject
*swig_obj
[1] ;
14358 if (!args
) SWIG_fail
;
14359 swig_obj
[0] = args
;
14360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14361 if (!SWIG_IsOK(res1
)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14364 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (bool)(arg1
)->IsRedirected();
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14380 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14381 PyObject
*resultobj
= 0;
14382 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14385 PyObject
*swig_obj
[1] ;
14387 if (!args
) SWIG_fail
;
14388 swig_obj
[0] = args
;
14389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14390 if (!SWIG_IsOK(res1
)) {
14391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14393 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= SWIG_Py_Void();
14407 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14408 PyObject
*resultobj
= 0;
14409 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14410 wxInputStream
*result
= 0 ;
14413 PyObject
*swig_obj
[1] ;
14415 if (!args
) SWIG_fail
;
14416 swig_obj
[0] = args
;
14417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14418 if (!SWIG_IsOK(res1
)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14421 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14429 wxPyInputStream
* _ptr
= NULL
;
14432 _ptr
= new wxPyInputStream(result
);
14434 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14442 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14443 PyObject
*resultobj
= 0;
14444 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14445 wxInputStream
*result
= 0 ;
14448 PyObject
*swig_obj
[1] ;
14450 if (!args
) SWIG_fail
;
14451 swig_obj
[0] = args
;
14452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14453 if (!SWIG_IsOK(res1
)) {
14454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14456 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14464 wxPyInputStream
* _ptr
= NULL
;
14467 _ptr
= new wxPyInputStream(result
);
14469 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14477 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14478 PyObject
*resultobj
= 0;
14479 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14480 wxOutputStream
*result
= 0 ;
14483 PyObject
*swig_obj
[1] ;
14485 if (!args
) SWIG_fail
;
14486 swig_obj
[0] = args
;
14487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14488 if (!SWIG_IsOK(res1
)) {
14489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14491 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14505 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14506 PyObject
*resultobj
= 0;
14507 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14510 PyObject
*swig_obj
[1] ;
14512 if (!args
) SWIG_fail
;
14513 swig_obj
[0] = args
;
14514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14515 if (!SWIG_IsOK(res1
)) {
14516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14518 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 (arg1
)->CloseOutput();
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 resultobj
= SWIG_Py_Void();
14532 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14533 PyObject
*resultobj
= 0;
14534 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14538 PyObject
*swig_obj
[1] ;
14540 if (!args
) SWIG_fail
;
14541 swig_obj
[0] = args
;
14542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14543 if (!SWIG_IsOK(res1
)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14546 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14562 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14563 PyObject
*resultobj
= 0;
14564 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14568 PyObject
*swig_obj
[1] ;
14570 if (!args
) SWIG_fail
;
14571 swig_obj
[0] = args
;
14572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14573 if (!SWIG_IsOK(res1
)) {
14574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14576 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14592 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14593 PyObject
*resultobj
= 0;
14594 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14598 PyObject
*swig_obj
[1] ;
14600 if (!args
) SWIG_fail
;
14601 swig_obj
[0] = args
;
14602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14606 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14622 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14625 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14626 return SWIG_Py_Void();
14629 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14630 return SWIG_Python_InitShadowInstance(args
);
14633 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
= 0;
14635 int arg1
= (int) 0 ;
14636 int arg2
= (int) 0 ;
14637 int arg3
= (int) 0 ;
14638 wxProcessEvent
*result
= 0 ;
14645 PyObject
* obj0
= 0 ;
14646 PyObject
* obj1
= 0 ;
14647 PyObject
* obj2
= 0 ;
14648 char * kwnames
[] = {
14649 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14654 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14655 if (!SWIG_IsOK(ecode1
)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14658 arg1
= static_cast< int >(val1
);
14661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14662 if (!SWIG_IsOK(ecode2
)) {
14663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14665 arg2
= static_cast< int >(val2
);
14668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14669 if (!SWIG_IsOK(ecode3
)) {
14670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14672 arg3
= static_cast< int >(val3
);
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14687 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14688 PyObject
*resultobj
= 0;
14689 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14693 PyObject
*swig_obj
[1] ;
14695 if (!args
) SWIG_fail
;
14696 swig_obj
[0] = args
;
14697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14698 if (!SWIG_IsOK(res1
)) {
14699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14701 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (int)(arg1
)->GetPid();
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_From_int(static_cast< int >(result
));
14715 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14716 PyObject
*resultobj
= 0;
14717 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14721 PyObject
*swig_obj
[1] ;
14723 if (!args
) SWIG_fail
;
14724 swig_obj
[0] = args
;
14725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14726 if (!SWIG_IsOK(res1
)) {
14727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14729 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (int)(arg1
)->GetExitCode();
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= SWIG_From_int(static_cast< int >(result
));
14743 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14744 PyObject
*resultobj
= 0;
14745 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14751 PyObject
*swig_obj
[2] ;
14753 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14755 if (!SWIG_IsOK(res1
)) {
14756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14758 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14759 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14760 if (!SWIG_IsOK(ecode2
)) {
14761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14763 arg2
= static_cast< int >(val2
);
14764 if (arg1
) (arg1
)->m_pid
= arg2
;
14766 resultobj
= SWIG_Py_Void();
14773 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14774 PyObject
*resultobj
= 0;
14775 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14779 PyObject
*swig_obj
[1] ;
14781 if (!args
) SWIG_fail
;
14782 swig_obj
[0] = args
;
14783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14784 if (!SWIG_IsOK(res1
)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14787 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14788 result
= (int) ((arg1
)->m_pid
);
14789 resultobj
= SWIG_From_int(static_cast< int >(result
));
14796 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14797 PyObject
*resultobj
= 0;
14798 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14804 PyObject
*swig_obj
[2] ;
14806 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
14807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14808 if (!SWIG_IsOK(res1
)) {
14809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14811 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14812 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14813 if (!SWIG_IsOK(ecode2
)) {
14814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
14816 arg2
= static_cast< int >(val2
);
14817 if (arg1
) (arg1
)->m_exitcode
= arg2
;
14819 resultobj
= SWIG_Py_Void();
14826 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14827 PyObject
*resultobj
= 0;
14828 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14832 PyObject
*swig_obj
[1] ;
14834 if (!args
) SWIG_fail
;
14835 swig_obj
[0] = args
;
14836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14837 if (!SWIG_IsOK(res1
)) {
14838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14840 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14841 result
= (int) ((arg1
)->m_exitcode
);
14842 resultobj
= SWIG_From_int(static_cast< int >(result
));
14849 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14852 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
14853 return SWIG_Py_Void();
14856 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14857 return SWIG_Python_InitShadowInstance(args
);
14860 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
= 0;
14862 wxString
*arg1
= 0 ;
14863 int arg2
= (int) wxEXEC_ASYNC
;
14864 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
14866 bool temp1
= false ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 PyObject
* obj2
= 0 ;
14874 char * kwnames
[] = {
14875 (char *) "command",(char *) "flags",(char *) "process", NULL
14878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14880 arg1
= wxString_in_helper(obj0
);
14881 if (arg1
== NULL
) SWIG_fail
;
14885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14886 if (!SWIG_IsOK(ecode2
)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
14889 arg2
= static_cast< int >(val2
);
14892 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14893 if (!SWIG_IsOK(res3
)) {
14894 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
14896 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
14899 if (!wxPyCheckForApp()) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= SWIG_From_long(static_cast< long >(result
));
14920 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
= 0;
14923 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14924 wxKillError
*arg3
= (wxKillError
*) 0 ;
14925 int arg4
= (int) wxKILL_NOCHILDREN
;
14931 wxKillError temp3
;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 PyObject
* obj2
= 0 ;
14937 char * kwnames
[] = {
14938 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14945 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
14946 if (!SWIG_IsOK(ecode1
)) {
14947 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
14949 arg1
= static_cast< long >(val1
);
14951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14952 if (!SWIG_IsOK(ecode2
)) {
14953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14955 arg2
= static_cast< wxSignal
>(val2
);
14958 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
14959 if (!SWIG_IsOK(ecode4
)) {
14960 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
14962 arg4
= static_cast< int >(val4
);
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= SWIG_From_int(static_cast< int >(result
));
14973 o
= PyInt_FromLong((long) (*arg3
));
14977 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
14986 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
= 0;
14988 int arg1
= (int) wxJOYSTICK1
;
14989 wxJoystick
*result
= 0 ;
14992 PyObject
* obj0
= 0 ;
14993 char * kwnames
[] = {
14994 (char *) "joystick", NULL
14997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
14999 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15000 if (!SWIG_IsOK(ecode1
)) {
15001 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15003 arg1
= static_cast< int >(val1
);
15006 if (!wxPyCheckForApp()) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (wxJoystick
*)new wxJoystick(arg1
);
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15019 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15020 PyObject
*resultobj
= 0;
15021 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15024 PyObject
*swig_obj
[1] ;
15026 if (!args
) SWIG_fail
;
15027 swig_obj
[0] = args
;
15028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15032 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= SWIG_Py_Void();
15047 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15048 PyObject
*resultobj
= 0;
15049 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15053 PyObject
*swig_obj
[1] ;
15055 if (!args
) SWIG_fail
;
15056 swig_obj
[0] = args
;
15057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15058 if (!SWIG_IsOK(res1
)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15061 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (arg1
)->GetPosition();
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15075 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15076 PyObject
*resultobj
= 0;
15077 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15081 PyObject
*swig_obj
[1] ;
15083 if (!args
) SWIG_fail
;
15084 swig_obj
[0] = args
;
15085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15086 if (!SWIG_IsOK(res1
)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15089 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (int)(arg1
)->GetZPosition();
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 resultobj
= SWIG_From_int(static_cast< int >(result
));
15103 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15104 PyObject
*resultobj
= 0;
15105 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15109 PyObject
*swig_obj
[1] ;
15111 if (!args
) SWIG_fail
;
15112 swig_obj
[0] = args
;
15113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15117 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (int)(arg1
)->GetButtonState();
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= SWIG_From_int(static_cast< int >(result
));
15131 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15132 PyObject
*resultobj
= 0;
15133 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15137 PyObject
*swig_obj
[1] ;
15139 if (!args
) SWIG_fail
;
15140 swig_obj
[0] = args
;
15141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15142 if (!SWIG_IsOK(res1
)) {
15143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15145 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 result
= (int)(arg1
)->GetPOVPosition();
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= SWIG_From_int(static_cast< int >(result
));
15159 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15160 PyObject
*resultobj
= 0;
15161 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15165 PyObject
*swig_obj
[1] ;
15167 if (!args
) SWIG_fail
;
15168 swig_obj
[0] = args
;
15169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15170 if (!SWIG_IsOK(res1
)) {
15171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15173 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 result
= (int)(arg1
)->GetPOVCTSPosition();
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15180 resultobj
= SWIG_From_int(static_cast< int >(result
));
15187 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15188 PyObject
*resultobj
= 0;
15189 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15193 PyObject
*swig_obj
[1] ;
15195 if (!args
) SWIG_fail
;
15196 swig_obj
[0] = args
;
15197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15198 if (!SWIG_IsOK(res1
)) {
15199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15201 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 result
= (int)(arg1
)->GetRudderPosition();
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= SWIG_From_int(static_cast< int >(result
));
15215 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15216 PyObject
*resultobj
= 0;
15217 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15221 PyObject
*swig_obj
[1] ;
15223 if (!args
) SWIG_fail
;
15224 swig_obj
[0] = args
;
15225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15226 if (!SWIG_IsOK(res1
)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15229 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (int)(arg1
)->GetUPosition();
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= SWIG_From_int(static_cast< int >(result
));
15243 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15244 PyObject
*resultobj
= 0;
15245 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15249 PyObject
*swig_obj
[1] ;
15251 if (!args
) SWIG_fail
;
15252 swig_obj
[0] = args
;
15253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15254 if (!SWIG_IsOK(res1
)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15257 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (int)(arg1
)->GetVPosition();
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= SWIG_From_int(static_cast< int >(result
));
15271 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15272 PyObject
*resultobj
= 0;
15273 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15277 PyObject
*swig_obj
[1] ;
15279 if (!args
) SWIG_fail
;
15280 swig_obj
[0] = args
;
15281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15282 if (!SWIG_IsOK(res1
)) {
15283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15285 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (int)(arg1
)->GetMovementThreshold();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_From_int(static_cast< int >(result
));
15299 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
= 0;
15301 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char * kwnames
[] = {
15310 (char *) "self",(char *) "threshold", NULL
15313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15315 if (!SWIG_IsOK(res1
)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15318 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15320 if (!SWIG_IsOK(ecode2
)) {
15321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15323 arg2
= static_cast< int >(val2
);
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 (arg1
)->SetMovementThreshold(arg2
);
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= SWIG_Py_Void();
15337 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15338 PyObject
*resultobj
= 0;
15339 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15343 PyObject
*swig_obj
[1] ;
15345 if (!args
) SWIG_fail
;
15346 swig_obj
[0] = args
;
15347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15348 if (!SWIG_IsOK(res1
)) {
15349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15351 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 result
= (bool)(arg1
)->IsOk();
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15367 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15368 PyObject
*resultobj
= 0;
15369 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15373 PyObject
*swig_obj
[1] ;
15375 if (!args
) SWIG_fail
;
15376 swig_obj
[0] = args
;
15377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15378 if (!SWIG_IsOK(res1
)) {
15379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15381 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 result
= (int)(arg1
)->GetNumberJoysticks();
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= SWIG_From_int(static_cast< int >(result
));
15395 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15396 PyObject
*resultobj
= 0;
15397 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15401 PyObject
*swig_obj
[1] ;
15403 if (!args
) SWIG_fail
;
15404 swig_obj
[0] = args
;
15405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15406 if (!SWIG_IsOK(res1
)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15409 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (int)(arg1
)->GetManufacturerId();
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= SWIG_From_int(static_cast< int >(result
));
15423 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15424 PyObject
*resultobj
= 0;
15425 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15429 PyObject
*swig_obj
[1] ;
15431 if (!args
) SWIG_fail
;
15432 swig_obj
[0] = args
;
15433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15434 if (!SWIG_IsOK(res1
)) {
15435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15437 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 result
= (int)(arg1
)->GetProductId();
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15444 resultobj
= SWIG_From_int(static_cast< int >(result
));
15451 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15452 PyObject
*resultobj
= 0;
15453 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15457 PyObject
*swig_obj
[1] ;
15459 if (!args
) SWIG_fail
;
15460 swig_obj
[0] = args
;
15461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15462 if (!SWIG_IsOK(res1
)) {
15463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15465 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (arg1
)->GetProductName();
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15485 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15486 PyObject
*resultobj
= 0;
15487 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15491 PyObject
*swig_obj
[1] ;
15493 if (!args
) SWIG_fail
;
15494 swig_obj
[0] = args
;
15495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15496 if (!SWIG_IsOK(res1
)) {
15497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15499 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (int)(arg1
)->GetXMin();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= SWIG_From_int(static_cast< int >(result
));
15513 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15514 PyObject
*resultobj
= 0;
15515 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15519 PyObject
*swig_obj
[1] ;
15521 if (!args
) SWIG_fail
;
15522 swig_obj
[0] = args
;
15523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15524 if (!SWIG_IsOK(res1
)) {
15525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15527 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (int)(arg1
)->GetYMin();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_From_int(static_cast< int >(result
));
15541 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15542 PyObject
*resultobj
= 0;
15543 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15547 PyObject
*swig_obj
[1] ;
15549 if (!args
) SWIG_fail
;
15550 swig_obj
[0] = args
;
15551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15552 if (!SWIG_IsOK(res1
)) {
15553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15555 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (int)(arg1
)->GetZMin();
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= SWIG_From_int(static_cast< int >(result
));
15569 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15570 PyObject
*resultobj
= 0;
15571 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15575 PyObject
*swig_obj
[1] ;
15577 if (!args
) SWIG_fail
;
15578 swig_obj
[0] = args
;
15579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15580 if (!SWIG_IsOK(res1
)) {
15581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15583 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (int)(arg1
)->GetXMax();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= SWIG_From_int(static_cast< int >(result
));
15597 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15598 PyObject
*resultobj
= 0;
15599 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15603 PyObject
*swig_obj
[1] ;
15605 if (!args
) SWIG_fail
;
15606 swig_obj
[0] = args
;
15607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15608 if (!SWIG_IsOK(res1
)) {
15609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15611 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (int)(arg1
)->GetYMax();
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= SWIG_From_int(static_cast< int >(result
));
15625 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15626 PyObject
*resultobj
= 0;
15627 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15631 PyObject
*swig_obj
[1] ;
15633 if (!args
) SWIG_fail
;
15634 swig_obj
[0] = args
;
15635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15636 if (!SWIG_IsOK(res1
)) {
15637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15639 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (int)(arg1
)->GetZMax();
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 resultobj
= SWIG_From_int(static_cast< int >(result
));
15653 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15654 PyObject
*resultobj
= 0;
15655 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15659 PyObject
*swig_obj
[1] ;
15661 if (!args
) SWIG_fail
;
15662 swig_obj
[0] = args
;
15663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15664 if (!SWIG_IsOK(res1
)) {
15665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15667 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (int)(arg1
)->GetNumberButtons();
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= SWIG_From_int(static_cast< int >(result
));
15681 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15682 PyObject
*resultobj
= 0;
15683 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15687 PyObject
*swig_obj
[1] ;
15689 if (!args
) SWIG_fail
;
15690 swig_obj
[0] = args
;
15691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15692 if (!SWIG_IsOK(res1
)) {
15693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15695 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (int)(arg1
)->GetNumberAxes();
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 resultobj
= SWIG_From_int(static_cast< int >(result
));
15709 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15710 PyObject
*resultobj
= 0;
15711 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15715 PyObject
*swig_obj
[1] ;
15717 if (!args
) SWIG_fail
;
15718 swig_obj
[0] = args
;
15719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15720 if (!SWIG_IsOK(res1
)) {
15721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15723 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (int)(arg1
)->GetMaxButtons();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= SWIG_From_int(static_cast< int >(result
));
15737 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15738 PyObject
*resultobj
= 0;
15739 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15743 PyObject
*swig_obj
[1] ;
15745 if (!args
) SWIG_fail
;
15746 swig_obj
[0] = args
;
15747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15748 if (!SWIG_IsOK(res1
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15751 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (int)(arg1
)->GetMaxAxes();
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= SWIG_From_int(static_cast< int >(result
));
15765 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15766 PyObject
*resultobj
= 0;
15767 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15771 PyObject
*swig_obj
[1] ;
15773 if (!args
) SWIG_fail
;
15774 swig_obj
[0] = args
;
15775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15776 if (!SWIG_IsOK(res1
)) {
15777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15779 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (int)(arg1
)->GetPollingMin();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= SWIG_From_int(static_cast< int >(result
));
15793 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15794 PyObject
*resultobj
= 0;
15795 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15799 PyObject
*swig_obj
[1] ;
15801 if (!args
) SWIG_fail
;
15802 swig_obj
[0] = args
;
15803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15804 if (!SWIG_IsOK(res1
)) {
15805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15807 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (int)(arg1
)->GetPollingMax();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= SWIG_From_int(static_cast< int >(result
));
15821 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15822 PyObject
*resultobj
= 0;
15823 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15827 PyObject
*swig_obj
[1] ;
15829 if (!args
) SWIG_fail
;
15830 swig_obj
[0] = args
;
15831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15832 if (!SWIG_IsOK(res1
)) {
15833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15835 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= (int)(arg1
)->GetRudderMin();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= SWIG_From_int(static_cast< int >(result
));
15849 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15850 PyObject
*resultobj
= 0;
15851 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15855 PyObject
*swig_obj
[1] ;
15857 if (!args
) SWIG_fail
;
15858 swig_obj
[0] = args
;
15859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15860 if (!SWIG_IsOK(res1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15863 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (int)(arg1
)->GetRudderMax();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_From_int(static_cast< int >(result
));
15877 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15878 PyObject
*resultobj
= 0;
15879 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15883 PyObject
*swig_obj
[1] ;
15885 if (!args
) SWIG_fail
;
15886 swig_obj
[0] = args
;
15887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15888 if (!SWIG_IsOK(res1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15891 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (int)(arg1
)->GetUMin();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= SWIG_From_int(static_cast< int >(result
));
15905 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15906 PyObject
*resultobj
= 0;
15907 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15911 PyObject
*swig_obj
[1] ;
15913 if (!args
) SWIG_fail
;
15914 swig_obj
[0] = args
;
15915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15916 if (!SWIG_IsOK(res1
)) {
15917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15919 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (int)(arg1
)->GetUMax();
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_From_int(static_cast< int >(result
));
15933 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15934 PyObject
*resultobj
= 0;
15935 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15939 PyObject
*swig_obj
[1] ;
15941 if (!args
) SWIG_fail
;
15942 swig_obj
[0] = args
;
15943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15944 if (!SWIG_IsOK(res1
)) {
15945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15947 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (int)(arg1
)->GetVMin();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_From_int(static_cast< int >(result
));
15961 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15962 PyObject
*resultobj
= 0;
15963 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15967 PyObject
*swig_obj
[1] ;
15969 if (!args
) SWIG_fail
;
15970 swig_obj
[0] = args
;
15971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15972 if (!SWIG_IsOK(res1
)) {
15973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15975 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= (int)(arg1
)->GetVMax();
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 resultobj
= SWIG_From_int(static_cast< int >(result
));
15989 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15990 PyObject
*resultobj
= 0;
15991 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15995 PyObject
*swig_obj
[1] ;
15997 if (!args
) SWIG_fail
;
15998 swig_obj
[0] = args
;
15999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16000 if (!SWIG_IsOK(res1
)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16003 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (bool)(arg1
)->HasRudder();
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16019 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16020 PyObject
*resultobj
= 0;
16021 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16025 PyObject
*swig_obj
[1] ;
16027 if (!args
) SWIG_fail
;
16028 swig_obj
[0] = args
;
16029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16033 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (bool)(arg1
)->HasZ();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16050 PyObject
*resultobj
= 0;
16051 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16055 PyObject
*swig_obj
[1] ;
16057 if (!args
) SWIG_fail
;
16058 swig_obj
[0] = args
;
16059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16060 if (!SWIG_IsOK(res1
)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16063 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (bool)(arg1
)->HasU();
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16079 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16080 PyObject
*resultobj
= 0;
16081 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16085 PyObject
*swig_obj
[1] ;
16087 if (!args
) SWIG_fail
;
16088 swig_obj
[0] = args
;
16089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16090 if (!SWIG_IsOK(res1
)) {
16091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16093 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (bool)(arg1
)->HasV();
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16110 PyObject
*resultobj
= 0;
16111 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16115 PyObject
*swig_obj
[1] ;
16117 if (!args
) SWIG_fail
;
16118 swig_obj
[0] = args
;
16119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16120 if (!SWIG_IsOK(res1
)) {
16121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16123 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (bool)(arg1
)->HasPOV();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16139 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16140 PyObject
*resultobj
= 0;
16141 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16145 PyObject
*swig_obj
[1] ;
16147 if (!args
) SWIG_fail
;
16148 swig_obj
[0] = args
;
16149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16150 if (!SWIG_IsOK(res1
)) {
16151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16153 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (bool)(arg1
)->HasPOV4Dir();
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16169 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16170 PyObject
*resultobj
= 0;
16171 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16175 PyObject
*swig_obj
[1] ;
16177 if (!args
) SWIG_fail
;
16178 swig_obj
[0] = args
;
16179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16180 if (!SWIG_IsOK(res1
)) {
16181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16183 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (bool)(arg1
)->HasPOVCTS();
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16199 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
= 0;
16201 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16202 wxWindow
*arg2
= (wxWindow
*) 0 ;
16203 int arg3
= (int) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 PyObject
* obj2
= 0 ;
16214 char * kwnames
[] = {
16215 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16220 if (!SWIG_IsOK(res1
)) {
16221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16223 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16224 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16225 if (!SWIG_IsOK(res2
)) {
16226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16228 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16231 if (!SWIG_IsOK(ecode3
)) {
16232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16234 arg3
= static_cast< int >(val3
);
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16251 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16252 PyObject
*resultobj
= 0;
16253 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16257 PyObject
*swig_obj
[1] ;
16259 if (!args
) SWIG_fail
;
16260 swig_obj
[0] = args
;
16261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16262 if (!SWIG_IsOK(res1
)) {
16263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16265 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= (bool)(arg1
)->ReleaseCapture();
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16281 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16284 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16285 return SWIG_Py_Void();
16288 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16289 return SWIG_Python_InitShadowInstance(args
);
16292 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
= 0;
16294 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16295 int arg2
= (int) 0 ;
16296 int arg3
= (int) wxJOYSTICK1
;
16297 int arg4
= (int) 0 ;
16298 wxJoystickEvent
*result
= 0 ;
16307 PyObject
* obj0
= 0 ;
16308 PyObject
* obj1
= 0 ;
16309 PyObject
* obj2
= 0 ;
16310 PyObject
* obj3
= 0 ;
16311 char * kwnames
[] = {
16312 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16317 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16318 if (!SWIG_IsOK(ecode1
)) {
16319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16321 arg1
= static_cast< wxEventType
>(val1
);
16324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16325 if (!SWIG_IsOK(ecode2
)) {
16326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16328 arg2
= static_cast< int >(val2
);
16331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16332 if (!SWIG_IsOK(ecode3
)) {
16333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16335 arg3
= static_cast< int >(val3
);
16338 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16339 if (!SWIG_IsOK(ecode4
)) {
16340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16342 arg4
= static_cast< int >(val4
);
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16357 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16358 PyObject
*resultobj
= 0;
16359 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16363 PyObject
*swig_obj
[1] ;
16365 if (!args
) SWIG_fail
;
16366 swig_obj
[0] = args
;
16367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16368 if (!SWIG_IsOK(res1
)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16371 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16378 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16385 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16386 PyObject
*resultobj
= 0;
16387 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16391 PyObject
*swig_obj
[1] ;
16393 if (!args
) SWIG_fail
;
16394 swig_obj
[0] = args
;
16395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16396 if (!SWIG_IsOK(res1
)) {
16397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16399 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= SWIG_From_int(static_cast< int >(result
));
16413 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16414 PyObject
*resultobj
= 0;
16415 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16419 PyObject
*swig_obj
[1] ;
16421 if (!args
) SWIG_fail
;
16422 swig_obj
[0] = args
;
16423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16424 if (!SWIG_IsOK(res1
)) {
16425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16427 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= SWIG_From_int(static_cast< int >(result
));
16441 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16442 PyObject
*resultobj
= 0;
16443 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16447 PyObject
*swig_obj
[1] ;
16449 if (!args
) SWIG_fail
;
16450 swig_obj
[0] = args
;
16451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16452 if (!SWIG_IsOK(res1
)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16455 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= SWIG_From_int(static_cast< int >(result
));
16469 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16470 PyObject
*resultobj
= 0;
16471 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16475 PyObject
*swig_obj
[1] ;
16477 if (!args
) SWIG_fail
;
16478 swig_obj
[0] = args
;
16479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16480 if (!SWIG_IsOK(res1
)) {
16481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16483 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= SWIG_From_int(static_cast< int >(result
));
16497 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
= 0;
16499 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char * kwnames
[] = {
16508 (char *) "self",(char *) "stick", NULL
16511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16513 if (!SWIG_IsOK(res1
)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16516 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16518 if (!SWIG_IsOK(ecode2
)) {
16519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16521 arg2
= static_cast< int >(val2
);
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 (arg1
)->SetJoystick(arg2
);
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= SWIG_Py_Void();
16535 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
= 0;
16537 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16543 PyObject
* obj0
= 0 ;
16544 PyObject
* obj1
= 0 ;
16545 char * kwnames
[] = {
16546 (char *) "self",(char *) "state", NULL
16549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16551 if (!SWIG_IsOK(res1
)) {
16552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16554 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16556 if (!SWIG_IsOK(ecode2
)) {
16557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16559 arg2
= static_cast< int >(val2
);
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 (arg1
)->SetButtonState(arg2
);
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= SWIG_Py_Void();
16573 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
= 0;
16575 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16581 PyObject
* obj0
= 0 ;
16582 PyObject
* obj1
= 0 ;
16583 char * kwnames
[] = {
16584 (char *) "self",(char *) "change", NULL
16587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16589 if (!SWIG_IsOK(res1
)) {
16590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16592 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16594 if (!SWIG_IsOK(ecode2
)) {
16595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16597 arg2
= static_cast< int >(val2
);
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 (arg1
)->SetButtonChange(arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= SWIG_Py_Void();
16611 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
= 0;
16613 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16614 wxPoint
*arg2
= 0 ;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 char * kwnames
[] = {
16621 (char *) "self",(char *) "pos", NULL
16624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16626 if (!SWIG_IsOK(res1
)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16629 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= SWIG_Py_Void();
16647 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
= 0;
16649 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 char * kwnames
[] = {
16658 (char *) "self",(char *) "zPos", NULL
16661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16663 if (!SWIG_IsOK(res1
)) {
16664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16666 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16668 if (!SWIG_IsOK(ecode2
)) {
16669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16671 arg2
= static_cast< int >(val2
);
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 (arg1
)->SetZPosition(arg2
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= SWIG_Py_Void();
16685 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16686 PyObject
*resultobj
= 0;
16687 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16691 PyObject
*swig_obj
[1] ;
16693 if (!args
) SWIG_fail
;
16694 swig_obj
[0] = args
;
16695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16696 if (!SWIG_IsOK(res1
)) {
16697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16699 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16715 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16716 PyObject
*resultobj
= 0;
16717 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16721 PyObject
*swig_obj
[1] ;
16723 if (!args
) SWIG_fail
;
16724 swig_obj
[0] = args
;
16725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16726 if (!SWIG_IsOK(res1
)) {
16727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16729 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16745 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16746 PyObject
*resultobj
= 0;
16747 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16751 PyObject
*swig_obj
[1] ;
16753 if (!args
) SWIG_fail
;
16754 swig_obj
[0] = args
;
16755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16756 if (!SWIG_IsOK(res1
)) {
16757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16759 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16775 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
= 0;
16777 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16778 int arg2
= (int) wxJOY_BUTTON_ANY
;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char * kwnames
[] = {
16787 (char *) "self",(char *) "but", NULL
16790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16792 if (!SWIG_IsOK(res1
)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16795 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16798 if (!SWIG_IsOK(ecode2
)) {
16799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
16801 arg2
= static_cast< int >(val2
);
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16818 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
= 0;
16820 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16821 int arg2
= (int) wxJOY_BUTTON_ANY
;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 char * kwnames
[] = {
16830 (char *) "self",(char *) "but", NULL
16833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16835 if (!SWIG_IsOK(res1
)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16838 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16841 if (!SWIG_IsOK(ecode2
)) {
16842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
16844 arg2
= static_cast< int >(val2
);
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16861 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
= 0;
16863 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16864 int arg2
= (int) wxJOY_BUTTON_ANY
;
16870 PyObject
* obj0
= 0 ;
16871 PyObject
* obj1
= 0 ;
16872 char * kwnames
[] = {
16873 (char *) "self",(char *) "but", NULL
16876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16878 if (!SWIG_IsOK(res1
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16881 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16884 if (!SWIG_IsOK(ecode2
)) {
16885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
16887 arg2
= static_cast< int >(val2
);
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16904 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16907 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
16908 return SWIG_Py_Void();
16911 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16912 return SWIG_Python_InitShadowInstance(args
);
16915 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= 0;
16917 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16918 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16919 wxSound
*result
= 0 ;
16920 bool temp1
= false ;
16921 PyObject
* obj0
= 0 ;
16922 char * kwnames
[] = {
16923 (char *) "fileName", NULL
16926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
16929 arg1
= wxString_in_helper(obj0
);
16930 if (arg1
== NULL
) SWIG_fail
;
16935 if (!wxPyCheckForApp()) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
16956 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
= 0;
16958 PyObject
*arg1
= (PyObject
*) 0 ;
16959 wxSound
*result
= 0 ;
16960 PyObject
* obj0
= 0 ;
16961 char * kwnames
[] = {
16962 (char *) "data", NULL
16965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
16968 if (!wxPyCheckForApp()) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= (wxSound
*)new_wxSound(arg1
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
16981 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16982 PyObject
*resultobj
= 0;
16983 wxSound
*arg1
= (wxSound
*) 0 ;
16986 PyObject
*swig_obj
[1] ;
16988 if (!args
) SWIG_fail
;
16989 swig_obj
[0] = args
;
16990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
16991 if (!SWIG_IsOK(res1
)) {
16992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
16994 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= SWIG_Py_Void();
17009 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
= 0;
17011 wxSound
*arg1
= (wxSound
*) 0 ;
17012 wxString
*arg2
= 0 ;
17016 bool temp2
= false ;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char * kwnames
[] = {
17020 (char *) "self",(char *) "fileName", NULL
17023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17025 if (!SWIG_IsOK(res1
)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17028 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17030 arg2
= wxString_in_helper(obj1
);
17031 if (arg2
== NULL
) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17057 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
= 0;
17059 wxSound
*arg1
= (wxSound
*) 0 ;
17060 PyObject
*arg2
= (PyObject
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 PyObject
* obj1
= 0 ;
17066 char * kwnames
[] = {
17067 (char *) "self",(char *) "data", NULL
17070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17072 if (!SWIG_IsOK(res1
)) {
17073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17075 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17092 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17093 PyObject
*resultobj
= 0;
17094 wxSound
*arg1
= (wxSound
*) 0 ;
17098 PyObject
*swig_obj
[1] ;
17100 if (!args
) SWIG_fail
;
17101 swig_obj
[0] = args
;
17102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17103 if (!SWIG_IsOK(res1
)) {
17104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17106 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17109 result
= (bool)(arg1
)->IsOk();
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17122 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
= 0;
17124 wxSound
*arg1
= (wxSound
*) 0 ;
17125 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17129 unsigned int val2
;
17131 PyObject
* obj0
= 0 ;
17132 PyObject
* obj1
= 0 ;
17133 char * kwnames
[] = {
17134 (char *) "self",(char *) "flags", NULL
17137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17139 if (!SWIG_IsOK(res1
)) {
17140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17142 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17144 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17145 if (!SWIG_IsOK(ecode2
)) {
17146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17148 arg2
= static_cast< unsigned int >(val2
);
17151 if (!wxPyCheckForApp()) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17166 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
= 0;
17168 wxString
*arg1
= 0 ;
17169 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17171 bool temp1
= false ;
17172 unsigned int val2
;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 char * kwnames
[] = {
17177 (char *) "filename",(char *) "flags", NULL
17180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17182 arg1
= wxString_in_helper(obj0
);
17183 if (arg1
== NULL
) SWIG_fail
;
17187 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17188 if (!SWIG_IsOK(ecode2
)) {
17189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17191 arg2
= static_cast< unsigned int >(val2
);
17194 if (!wxPyCheckForApp()) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17217 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17218 PyObject
*resultobj
= 0;
17220 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17222 if (!wxPyCheckForApp()) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= SWIG_Py_Void();
17235 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17237 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17238 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17239 return SWIG_Py_Void();
17242 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17243 return SWIG_Python_InitShadowInstance(args
);
17246 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17247 PyObject
*resultobj
= 0;
17248 wxString
*arg1
= 0 ;
17249 wxString
*arg2
= 0 ;
17250 wxString
*arg3
= 0 ;
17251 wxString
*arg4
= 0 ;
17252 wxFileTypeInfo
*result
= 0 ;
17253 bool temp1
= false ;
17254 bool temp2
= false ;
17255 bool temp3
= false ;
17256 bool temp4
= false ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 PyObject
* obj2
= 0 ;
17260 PyObject
* obj3
= 0 ;
17261 char * kwnames
[] = {
17262 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17267 arg1
= wxString_in_helper(obj0
);
17268 if (arg1
== NULL
) SWIG_fail
;
17272 arg2
= wxString_in_helper(obj1
);
17273 if (arg2
== NULL
) SWIG_fail
;
17277 arg3
= wxString_in_helper(obj2
);
17278 if (arg3
== NULL
) SWIG_fail
;
17282 arg4
= wxString_in_helper(obj3
);
17283 if (arg4
== NULL
) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17331 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
= 0;
17333 wxArrayString
*arg1
= 0 ;
17334 wxFileTypeInfo
*result
= 0 ;
17335 bool temp1
= false ;
17336 PyObject
* obj0
= 0 ;
17337 char * kwnames
[] = {
17338 (char *) "sArray", NULL
17341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17343 if (! PySequence_Check(obj0
)) {
17344 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17347 arg1
= new wxArrayString
;
17349 int i
, len
=PySequence_Length(obj0
);
17350 for (i
=0; i
<len
; i
++) {
17351 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17352 wxString
* s
= wxString_in_helper(item
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17367 if (temp1
) delete arg1
;
17372 if (temp1
) delete arg1
;
17378 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17379 PyObject
*resultobj
= 0;
17380 wxFileTypeInfo
*result
= 0 ;
17382 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17396 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17397 PyObject
*resultobj
= 0;
17398 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17402 PyObject
*swig_obj
[1] ;
17404 if (!args
) SWIG_fail
;
17405 swig_obj
[0] = args
;
17406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17407 if (!SWIG_IsOK(res1
)) {
17408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17410 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17426 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17427 PyObject
*resultobj
= 0;
17428 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17429 wxString
*arg2
= 0 ;
17430 int arg3
= (int) 0 ;
17433 bool temp2
= false ;
17436 PyObject
* obj0
= 0 ;
17437 PyObject
* obj1
= 0 ;
17438 PyObject
* obj2
= 0 ;
17439 char * kwnames
[] = {
17440 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17445 if (!SWIG_IsOK(res1
)) {
17446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17448 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17450 arg2
= wxString_in_helper(obj1
);
17451 if (arg2
== NULL
) SWIG_fail
;
17455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17456 if (!SWIG_IsOK(ecode3
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17459 arg3
= static_cast< int >(val3
);
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= SWIG_Py_Void();
17482 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
= 0;
17484 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17485 wxString
*arg2
= 0 ;
17488 bool temp2
= false ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 char * kwnames
[] = {
17492 (char *) "self",(char *) "shortDesc", NULL
17495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17497 if (!SWIG_IsOK(res1
)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17500 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17502 arg2
= wxString_in_helper(obj1
);
17503 if (arg2
== NULL
) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= SWIG_Py_Void();
17527 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17528 PyObject
*resultobj
= 0;
17529 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17530 wxString
*result
= 0 ;
17533 PyObject
*swig_obj
[1] ;
17535 if (!args
) SWIG_fail
;
17536 swig_obj
[0] = args
;
17537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17538 if (!SWIG_IsOK(res1
)) {
17539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17541 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17546 result
= (wxString
*) &_result_ref
;
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17555 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17564 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17565 PyObject
*resultobj
= 0;
17566 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17567 wxString
*result
= 0 ;
17570 PyObject
*swig_obj
[1] ;
17572 if (!args
) SWIG_fail
;
17573 swig_obj
[0] = args
;
17574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17575 if (!SWIG_IsOK(res1
)) {
17576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17578 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17583 result
= (wxString
*) &_result_ref
;
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17592 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17601 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17602 PyObject
*resultobj
= 0;
17603 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17604 wxString
*result
= 0 ;
17607 PyObject
*swig_obj
[1] ;
17609 if (!args
) SWIG_fail
;
17610 swig_obj
[0] = args
;
17611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17612 if (!SWIG_IsOK(res1
)) {
17613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17615 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17620 result
= (wxString
*) &_result_ref
;
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17629 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17638 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17639 PyObject
*resultobj
= 0;
17640 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17641 wxString
*result
= 0 ;
17644 PyObject
*swig_obj
[1] ;
17646 if (!args
) SWIG_fail
;
17647 swig_obj
[0] = args
;
17648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17649 if (!SWIG_IsOK(res1
)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17652 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17657 result
= (wxString
*) &_result_ref
;
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17666 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17675 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17676 PyObject
*resultobj
= 0;
17677 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17678 wxString
*result
= 0 ;
17681 PyObject
*swig_obj
[1] ;
17683 if (!args
) SWIG_fail
;
17684 swig_obj
[0] = args
;
17685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17686 if (!SWIG_IsOK(res1
)) {
17687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17689 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17694 result
= (wxString
*) &_result_ref
;
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17701 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17703 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17712 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17713 PyObject
*resultobj
= 0;
17714 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17715 wxArrayString
*result
= 0 ;
17718 PyObject
*swig_obj
[1] ;
17720 if (!args
) SWIG_fail
;
17721 swig_obj
[0] = args
;
17722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17723 if (!SWIG_IsOK(res1
)) {
17724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17726 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17731 result
= (wxArrayString
*) &_result_ref
;
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= wxArrayString2PyList_helper(*result
);
17745 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17746 PyObject
*resultobj
= 0;
17747 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17751 PyObject
*swig_obj
[1] ;
17753 if (!args
) SWIG_fail
;
17754 swig_obj
[0] = args
;
17755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17756 if (!SWIG_IsOK(res1
)) {
17757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17759 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
17773 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17774 PyObject
*resultobj
= 0;
17775 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17776 wxString
*result
= 0 ;
17779 PyObject
*swig_obj
[1] ;
17781 if (!args
) SWIG_fail
;
17782 swig_obj
[0] = args
;
17783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17784 if (!SWIG_IsOK(res1
)) {
17785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17787 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
17792 result
= (wxString
*) &_result_ref
;
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17799 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17801 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17810 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17811 PyObject
*resultobj
= 0;
17812 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17816 PyObject
*swig_obj
[1] ;
17818 if (!args
) SWIG_fail
;
17819 swig_obj
[0] = args
;
17820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17821 if (!SWIG_IsOK(res1
)) {
17822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17824 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_From_int(static_cast< int >(result
));
17838 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17841 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
17842 return SWIG_Py_Void();
17845 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17846 return SWIG_Python_InitShadowInstance(args
);
17849 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
= 0;
17851 wxFileTypeInfo
*arg1
= 0 ;
17852 wxFileType
*result
= 0 ;
17855 PyObject
* obj0
= 0 ;
17856 char * kwnames
[] = {
17857 (char *) "ftInfo", NULL
17860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
17861 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17862 if (!SWIG_IsOK(res1
)) {
17863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
17866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
17868 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
17882 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17883 PyObject
*resultobj
= 0;
17884 wxFileType
*arg1
= (wxFileType
*) 0 ;
17887 PyObject
*swig_obj
[1] ;
17889 if (!args
) SWIG_fail
;
17890 swig_obj
[0] = args
;
17891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
17892 if (!SWIG_IsOK(res1
)) {
17893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
17895 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= SWIG_Py_Void();
17910 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17911 PyObject
*resultobj
= 0;
17912 wxFileType
*arg1
= (wxFileType
*) 0 ;
17913 PyObject
*result
= 0 ;
17916 PyObject
*swig_obj
[1] ;
17918 if (!args
) SWIG_fail
;
17919 swig_obj
[0] = args
;
17920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17921 if (!SWIG_IsOK(res1
)) {
17922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
17924 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= result
;
17938 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17939 PyObject
*resultobj
= 0;
17940 wxFileType
*arg1
= (wxFileType
*) 0 ;
17941 PyObject
*result
= 0 ;
17944 PyObject
*swig_obj
[1] ;
17946 if (!args
) SWIG_fail
;
17947 swig_obj
[0] = args
;
17948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
17952 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= result
;
17966 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17967 PyObject
*resultobj
= 0;
17968 wxFileType
*arg1
= (wxFileType
*) 0 ;
17969 PyObject
*result
= 0 ;
17972 PyObject
*swig_obj
[1] ;
17974 if (!args
) SWIG_fail
;
17975 swig_obj
[0] = args
;
17976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17977 if (!SWIG_IsOK(res1
)) {
17978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
17980 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= result
;
17994 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17995 PyObject
*resultobj
= 0;
17996 wxFileType
*arg1
= (wxFileType
*) 0 ;
17997 wxIcon
*result
= 0 ;
18000 PyObject
*swig_obj
[1] ;
18002 if (!args
) SWIG_fail
;
18003 swig_obj
[0] = args
;
18004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18005 if (!SWIG_IsOK(res1
)) {
18006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18008 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18022 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18023 PyObject
*resultobj
= 0;
18024 wxFileType
*arg1
= (wxFileType
*) 0 ;
18025 PyObject
*result
= 0 ;
18028 PyObject
*swig_obj
[1] ;
18030 if (!args
) SWIG_fail
;
18031 swig_obj
[0] = args
;
18032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18033 if (!SWIG_IsOK(res1
)) {
18034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18036 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= result
;
18050 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18051 PyObject
*resultobj
= 0;
18052 wxFileType
*arg1
= (wxFileType
*) 0 ;
18053 PyObject
*result
= 0 ;
18056 PyObject
*swig_obj
[1] ;
18058 if (!args
) SWIG_fail
;
18059 swig_obj
[0] = args
;
18060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18061 if (!SWIG_IsOK(res1
)) {
18062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18064 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= result
;
18078 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
= 0;
18080 wxFileType
*arg1
= (wxFileType
*) 0 ;
18081 wxString
*arg2
= 0 ;
18082 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18083 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18084 PyObject
*result
= 0 ;
18087 bool temp2
= false ;
18088 bool temp3
= false ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 PyObject
* obj2
= 0 ;
18092 char * kwnames
[] = {
18093 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18098 if (!SWIG_IsOK(res1
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18101 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18103 arg2
= wxString_in_helper(obj1
);
18104 if (arg2
== NULL
) SWIG_fail
;
18109 arg3
= wxString_in_helper(obj2
);
18110 if (arg3
== NULL
) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= result
;
18143 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
= 0;
18145 wxFileType
*arg1
= (wxFileType
*) 0 ;
18146 wxString
*arg2
= 0 ;
18147 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18148 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18149 PyObject
*result
= 0 ;
18152 bool temp2
= false ;
18153 bool temp3
= false ;
18154 PyObject
* obj0
= 0 ;
18155 PyObject
* obj1
= 0 ;
18156 PyObject
* obj2
= 0 ;
18157 char * kwnames
[] = {
18158 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18163 if (!SWIG_IsOK(res1
)) {
18164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18166 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18168 arg2
= wxString_in_helper(obj1
);
18169 if (arg2
== NULL
) SWIG_fail
;
18174 arg3
= wxString_in_helper(obj2
);
18175 if (arg3
== NULL
) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= result
;
18208 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
= 0;
18210 wxFileType
*arg1
= (wxFileType
*) 0 ;
18211 wxString
*arg2
= 0 ;
18212 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18213 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18214 PyObject
*result
= 0 ;
18217 bool temp2
= false ;
18218 bool temp3
= false ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 PyObject
* obj2
= 0 ;
18222 char * kwnames
[] = {
18223 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18228 if (!SWIG_IsOK(res1
)) {
18229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18231 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18233 arg2
= wxString_in_helper(obj1
);
18234 if (arg2
== NULL
) SWIG_fail
;
18239 arg3
= wxString_in_helper(obj2
);
18240 if (arg3
== NULL
) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= result
;
18273 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
= 0;
18275 wxFileType
*arg1
= (wxFileType
*) 0 ;
18276 wxString
*arg2
= 0 ;
18277 wxString
*arg3
= 0 ;
18278 bool arg4
= (bool) true ;
18282 bool temp2
= false ;
18283 bool temp3
= false ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 PyObject
* obj2
= 0 ;
18289 PyObject
* obj3
= 0 ;
18290 char * kwnames
[] = {
18291 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18296 if (!SWIG_IsOK(res1
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18299 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18301 arg2
= wxString_in_helper(obj1
);
18302 if (arg2
== NULL
) SWIG_fail
;
18306 arg3
= wxString_in_helper(obj2
);
18307 if (arg3
== NULL
) SWIG_fail
;
18311 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18312 if (!SWIG_IsOK(ecode4
)) {
18313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18315 arg4
= static_cast< bool >(val4
);
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18348 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
= 0;
18350 wxFileType
*arg1
= (wxFileType
*) 0 ;
18351 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18352 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18353 int arg3
= (int) 0 ;
18357 bool temp2
= false ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 PyObject
* obj2
= 0 ;
18363 char * kwnames
[] = {
18364 (char *) "self",(char *) "cmd",(char *) "index", NULL
18367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18369 if (!SWIG_IsOK(res1
)) {
18370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18372 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18375 arg2
= wxString_in_helper(obj1
);
18376 if (arg2
== NULL
) SWIG_fail
;
18381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18382 if (!SWIG_IsOK(ecode3
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18385 arg3
= static_cast< int >(val3
);
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18410 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18411 PyObject
*resultobj
= 0;
18412 wxFileType
*arg1
= (wxFileType
*) 0 ;
18416 PyObject
*swig_obj
[1] ;
18418 if (!args
) SWIG_fail
;
18419 swig_obj
[0] = args
;
18420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18421 if (!SWIG_IsOK(res1
)) {
18422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18424 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (bool)(arg1
)->Unassociate();
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18440 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
= 0;
18442 wxString
*arg1
= 0 ;
18443 wxString
*arg2
= 0 ;
18444 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18445 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18447 bool temp1
= false ;
18448 bool temp2
= false ;
18449 bool temp3
= false ;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj1
= 0 ;
18452 PyObject
* obj2
= 0 ;
18453 char * kwnames
[] = {
18454 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18459 arg1
= wxString_in_helper(obj0
);
18460 if (arg1
== NULL
) SWIG_fail
;
18464 arg2
= wxString_in_helper(obj1
);
18465 if (arg2
== NULL
) SWIG_fail
;
18470 arg3
= wxString_in_helper(obj2
);
18471 if (arg3
== NULL
) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18518 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18521 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18522 return SWIG_Py_Void();
18525 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18526 return SWIG_Python_InitShadowInstance(args
);
18529 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18530 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18535 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18536 PyObject
*pyobj
= 0;
18538 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18543 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
= 0;
18545 wxString
*arg1
= 0 ;
18546 wxString
*arg2
= 0 ;
18548 bool temp1
= false ;
18549 bool temp2
= false ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char * kwnames
[] = {
18553 (char *) "mimeType",(char *) "wildcard", NULL
18556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18558 arg1
= wxString_in_helper(obj0
);
18559 if (arg1
== NULL
) SWIG_fail
;
18563 arg2
= wxString_in_helper(obj1
);
18564 if (arg2
== NULL
) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18598 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18599 PyObject
*resultobj
= 0;
18600 wxMimeTypesManager
*result
= 0 ;
18602 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18616 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
= 0;
18618 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18619 int arg2
= (int) wxMAILCAP_ALL
;
18620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18626 bool temp3
= false ;
18627 PyObject
* obj0
= 0 ;
18628 PyObject
* obj1
= 0 ;
18629 PyObject
* obj2
= 0 ;
18630 char * kwnames
[] = {
18631 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18636 if (!SWIG_IsOK(res1
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18639 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18642 if (!SWIG_IsOK(ecode2
)) {
18643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18645 arg2
= static_cast< int >(val2
);
18649 arg3
= wxString_in_helper(obj2
);
18650 if (arg3
== NULL
) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= SWIG_Py_Void();
18675 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18676 PyObject
*resultobj
= 0;
18677 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18680 PyObject
*swig_obj
[1] ;
18682 if (!args
) SWIG_fail
;
18683 swig_obj
[0] = args
;
18684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18685 if (!SWIG_IsOK(res1
)) {
18686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18688 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 (arg1
)->ClearData();
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= SWIG_Py_Void();
18702 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
= 0;
18704 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18705 wxString
*arg2
= 0 ;
18706 wxFileType
*result
= 0 ;
18709 bool temp2
= false ;
18710 PyObject
* obj0
= 0 ;
18711 PyObject
* obj1
= 0 ;
18712 char * kwnames
[] = {
18713 (char *) "self",(char *) "ext", NULL
18716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18718 if (!SWIG_IsOK(res1
)) {
18719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18721 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18723 arg2
= wxString_in_helper(obj1
);
18724 if (arg2
== NULL
) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18748 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
= 0;
18750 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18751 wxString
*arg2
= 0 ;
18752 wxFileType
*result
= 0 ;
18755 bool temp2
= false ;
18756 PyObject
* obj0
= 0 ;
18757 PyObject
* obj1
= 0 ;
18758 char * kwnames
[] = {
18759 (char *) "self",(char *) "mimeType", NULL
18762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18764 if (!SWIG_IsOK(res1
)) {
18765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18767 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18769 arg2
= wxString_in_helper(obj1
);
18770 if (arg2
== NULL
) SWIG_fail
;
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18775 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18794 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
= 0;
18796 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18797 wxString
*arg2
= 0 ;
18798 bool arg3
= (bool) false ;
18802 bool temp2
= false ;
18805 PyObject
* obj0
= 0 ;
18806 PyObject
* obj1
= 0 ;
18807 PyObject
* obj2
= 0 ;
18808 char * kwnames
[] = {
18809 (char *) "self",(char *) "filename",(char *) "fallback", NULL
18812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18814 if (!SWIG_IsOK(res1
)) {
18815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18817 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18819 arg2
= wxString_in_helper(obj1
);
18820 if (arg2
== NULL
) SWIG_fail
;
18824 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
18825 if (!SWIG_IsOK(ecode3
)) {
18826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
18828 arg3
= static_cast< bool >(val3
);
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18853 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
= 0;
18855 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18856 wxString
*arg2
= 0 ;
18860 bool temp2
= false ;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 char * kwnames
[] = {
18864 (char *) "self",(char *) "filename", NULL
18867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18869 if (!SWIG_IsOK(res1
)) {
18870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18872 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18874 arg2
= wxString_in_helper(obj1
);
18875 if (arg2
== NULL
) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18901 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18902 PyObject
*resultobj
= 0;
18903 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18904 PyObject
*result
= 0 ;
18907 PyObject
*swig_obj
[1] ;
18909 if (!args
) SWIG_fail
;
18910 swig_obj
[0] = args
;
18911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18912 if (!SWIG_IsOK(res1
)) {
18913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18915 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= result
;
18929 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
= 0;
18931 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18932 wxFileTypeInfo
*arg2
= 0 ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char * kwnames
[] = {
18940 (char *) "self",(char *) "ft", NULL
18943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18945 if (!SWIG_IsOK(res1
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18948 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18949 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18950 if (!SWIG_IsOK(res2
)) {
18951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18956 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= SWIG_Py_Void();
18970 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
= 0;
18972 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18973 wxFileTypeInfo
*arg2
= 0 ;
18974 wxFileType
*result
= 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char * kwnames
[] = {
18982 (char *) "self",(char *) "ftInfo", NULL
18985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18987 if (!SWIG_IsOK(res1
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18990 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18992 if (!SWIG_IsOK(res2
)) {
18993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18998 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19012 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
= 0;
19014 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19015 wxFileType
*arg2
= (wxFileType
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 char * kwnames
[] = {
19024 (char *) "self",(char *) "ft", NULL
19027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19029 if (!SWIG_IsOK(res1
)) {
19030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19032 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19033 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19034 if (!SWIG_IsOK(res2
)) {
19035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19037 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 result
= (bool)(arg1
)->Unassociate(arg2
);
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19053 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19054 PyObject
*resultobj
= 0;
19055 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19058 PyObject
*swig_obj
[1] ;
19060 if (!args
) SWIG_fail
;
19061 swig_obj
[0] = args
;
19062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19063 if (!SWIG_IsOK(res1
)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19066 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= SWIG_Py_Void();
19081 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19084 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19085 return SWIG_Py_Void();
19088 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19089 return SWIG_Python_InitShadowInstance(args
);
19092 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19093 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19098 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19099 PyObject
*pyobj
= 0;
19103 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19105 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19112 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19113 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19118 SWIGINTERN PyObject
*ART_MENU_get(void) {
19119 PyObject
*pyobj
= 0;
19123 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19125 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19132 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19133 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19138 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19139 PyObject
*pyobj
= 0;
19143 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19145 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19152 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19153 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19158 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19159 PyObject
*pyobj
= 0;
19163 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19165 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19172 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19173 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19178 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19179 PyObject
*pyobj
= 0;
19183 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19185 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19192 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19193 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19198 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19199 PyObject
*pyobj
= 0;
19203 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19205 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19212 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19213 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19218 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19219 PyObject
*pyobj
= 0;
19223 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19225 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19232 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19233 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19238 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19239 PyObject
*pyobj
= 0;
19243 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19245 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19252 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19253 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19258 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19259 PyObject
*pyobj
= 0;
19263 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19265 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19272 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19273 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19278 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19279 PyObject
*pyobj
= 0;
19283 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19285 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19292 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19293 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19298 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19299 PyObject
*pyobj
= 0;
19303 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19305 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19312 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19313 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19318 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19319 PyObject
*pyobj
= 0;
19323 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19325 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19332 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19333 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19338 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19339 PyObject
*pyobj
= 0;
19343 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19345 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19352 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19353 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19358 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19359 PyObject
*pyobj
= 0;
19363 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19365 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19372 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19373 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19378 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19379 PyObject
*pyobj
= 0;
19383 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19385 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19392 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19393 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19398 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19399 PyObject
*pyobj
= 0;
19403 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19405 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19412 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19413 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19418 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19419 PyObject
*pyobj
= 0;
19423 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19425 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19432 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19433 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19438 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19439 PyObject
*pyobj
= 0;
19443 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19445 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19452 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19453 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19458 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19459 PyObject
*pyobj
= 0;
19463 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19465 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19472 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19473 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19478 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19479 PyObject
*pyobj
= 0;
19483 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19485 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19492 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19493 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19498 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19499 PyObject
*pyobj
= 0;
19503 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19505 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19512 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19513 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19518 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19519 PyObject
*pyobj
= 0;
19523 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19525 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19532 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19533 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19538 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19539 PyObject
*pyobj
= 0;
19543 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19545 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19552 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19553 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19558 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19559 PyObject
*pyobj
= 0;
19563 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19565 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19572 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19573 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19578 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19579 PyObject
*pyobj
= 0;
19583 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19585 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19592 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19593 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19598 SWIGINTERN PyObject
*ART_HELP_get(void) {
19599 PyObject
*pyobj
= 0;
19603 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19605 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19612 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19613 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19618 SWIGINTERN PyObject
*ART_TIP_get(void) {
19619 PyObject
*pyobj
= 0;
19623 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19625 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19632 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19633 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19638 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19639 PyObject
*pyobj
= 0;
19643 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19645 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19652 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19653 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19658 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19659 PyObject
*pyobj
= 0;
19663 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19665 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19672 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19673 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19678 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19679 PyObject
*pyobj
= 0;
19683 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19685 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19692 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19693 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19698 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19699 PyObject
*pyobj
= 0;
19703 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19705 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19712 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19713 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19718 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19719 PyObject
*pyobj
= 0;
19723 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19725 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19732 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19733 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19738 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19739 PyObject
*pyobj
= 0;
19743 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19745 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19752 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19753 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
19758 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
19759 PyObject
*pyobj
= 0;
19763 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19765 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19772 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
19773 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
19778 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
19779 PyObject
*pyobj
= 0;
19783 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19785 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19792 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
19793 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
19798 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
19799 PyObject
*pyobj
= 0;
19803 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
19805 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
19812 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
19813 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
19818 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
19819 PyObject
*pyobj
= 0;
19823 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
19825 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
19832 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
19833 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
19838 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
19839 PyObject
*pyobj
= 0;
19843 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
19845 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
19852 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
19853 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
19858 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
19859 PyObject
*pyobj
= 0;
19863 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
19865 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
19872 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
19873 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
19878 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
19879 PyObject
*pyobj
= 0;
19883 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
19885 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
19892 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
19893 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
19898 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
19899 PyObject
*pyobj
= 0;
19903 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19905 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19912 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
19913 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
19918 SWIGINTERN PyObject
*ART_ERROR_get(void) {
19919 PyObject
*pyobj
= 0;
19923 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19925 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19932 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
19933 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
19938 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
19939 PyObject
*pyobj
= 0;
19943 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19945 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19952 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
19953 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
19958 SWIGINTERN PyObject
*ART_WARNING_get(void) {
19959 PyObject
*pyobj
= 0;
19963 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19965 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19972 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
19973 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
19978 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
19979 PyObject
*pyobj
= 0;
19983 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19985 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19992 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
19993 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
19998 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
19999 PyObject
*pyobj
= 0;
20003 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20005 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20012 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20013 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20018 SWIGINTERN PyObject
*ART_COPY_get(void) {
20019 PyObject
*pyobj
= 0;
20023 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20025 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20032 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20033 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20038 SWIGINTERN PyObject
*ART_CUT_get(void) {
20039 PyObject
*pyobj
= 0;
20043 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20045 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20052 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20053 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20058 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20059 PyObject
*pyobj
= 0;
20063 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20065 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20072 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20073 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20078 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20079 PyObject
*pyobj
= 0;
20083 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20085 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20092 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20093 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20098 SWIGINTERN PyObject
*ART_NEW_get(void) {
20099 PyObject
*pyobj
= 0;
20103 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20105 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20112 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20113 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20118 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20119 PyObject
*pyobj
= 0;
20123 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20125 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20132 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20133 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20138 SWIGINTERN PyObject
*ART_REDO_get(void) {
20139 PyObject
*pyobj
= 0;
20143 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20145 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20152 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20153 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20158 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20159 PyObject
*pyobj
= 0;
20163 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20165 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20172 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20173 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20178 SWIGINTERN PyObject
*ART_FIND_get(void) {
20179 PyObject
*pyobj
= 0;
20183 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20185 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20192 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20193 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20198 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20199 PyObject
*pyobj
= 0;
20203 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20205 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20212 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20213 PyObject
*resultobj
= 0;
20214 wxPyArtProvider
*result
= 0 ;
20216 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20218 if (!wxPyCheckForApp()) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20231 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20232 PyObject
*resultobj
= 0;
20233 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20236 PyObject
*swig_obj
[1] ;
20238 if (!args
) SWIG_fail
;
20239 swig_obj
[0] = args
;
20240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20241 if (!SWIG_IsOK(res1
)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20244 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= SWIG_Py_Void();
20259 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
= 0;
20261 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20262 PyObject
*arg2
= (PyObject
*) 0 ;
20263 PyObject
*arg3
= (PyObject
*) 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 PyObject
* obj2
= 0 ;
20269 char * kwnames
[] = {
20270 (char *) "self",(char *) "self",(char *) "_class", NULL
20273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20275 if (!SWIG_IsOK(res1
)) {
20276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20278 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_Py_Void();
20294 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
= 0;
20296 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 char * kwnames
[] = {
20300 (char *) "provider", NULL
20303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
20304 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20305 if (!SWIG_IsOK(res1
)) {
20306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 wxPyArtProvider::PushProvider(arg1
);
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_Py_Void();
20321 SWIGINTERN PyObject
*_wrap_ArtProvider_InsertProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= 0;
20323 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20325 PyObject
* obj0
= 0 ;
20326 char * kwnames
[] = {
20327 (char *) "provider", NULL
20330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_InsertProvider",kwnames
,&obj0
)) SWIG_fail
;
20331 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20332 if (!SWIG_IsOK(res1
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_InsertProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 wxPyArtProvider::InsertProvider(arg1
);
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 resultobj
= SWIG_Py_Void();
20348 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20349 PyObject
*resultobj
= 0;
20352 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (bool)wxPyArtProvider::PopProvider();
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20368 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
= 0;
20370 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 char * kwnames
[] = {
20376 (char *) "provider", NULL
20379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
20380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20381 if (!SWIG_IsOK(res1
)) {
20382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20384 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20400 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
= 0;
20402 wxString
*arg1
= 0 ;
20403 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20404 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20405 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20406 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20408 bool temp1
= false ;
20409 bool temp2
= false ;
20411 PyObject
* obj0
= 0 ;
20412 PyObject
* obj1
= 0 ;
20413 PyObject
* obj2
= 0 ;
20414 char * kwnames
[] = {
20415 (char *) "id",(char *) "client",(char *) "size", NULL
20418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20420 arg1
= wxString_in_helper(obj0
);
20421 if (arg1
== NULL
) SWIG_fail
;
20426 arg2
= wxString_in_helper(obj1
);
20427 if (arg2
== NULL
) SWIG_fail
;
20434 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20438 if (!wxPyCheckForApp()) SWIG_fail
;
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20441 wxPyEndAllowThreads(__tstate
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20444 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20467 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
= 0;
20469 wxString
*arg1
= 0 ;
20470 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20471 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20472 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20473 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20475 bool temp1
= false ;
20476 bool temp2
= false ;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 PyObject
* obj2
= 0 ;
20481 char * kwnames
[] = {
20482 (char *) "id",(char *) "client",(char *) "size", NULL
20485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20487 arg1
= wxString_in_helper(obj0
);
20488 if (arg1
== NULL
) SWIG_fail
;
20493 arg2
= wxString_in_helper(obj1
);
20494 if (arg2
== NULL
) SWIG_fail
;
20501 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20505 if (!wxPyCheckForApp()) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20534 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
= 0;
20536 wxString
*arg1
= 0 ;
20537 bool arg2
= (bool) false ;
20539 bool temp1
= false ;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 char * kwnames
[] = {
20545 (char *) "client",(char *) "platform_dependent", NULL
20548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20550 arg1
= wxString_in_helper(obj0
);
20551 if (arg1
== NULL
) SWIG_fail
;
20555 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20556 if (!SWIG_IsOK(ecode2
)) {
20557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20559 arg2
= static_cast< bool >(val2
);
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20582 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20583 PyObject
*resultobj
= 0;
20584 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20587 PyObject
*swig_obj
[1] ;
20589 if (!args
) SWIG_fail
;
20590 swig_obj
[0] = args
;
20591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20592 if (!SWIG_IsOK(res1
)) {
20593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20595 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 wxPyArtProvider_Destroy(arg1
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= SWIG_Py_Void();
20609 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20611 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20612 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20613 return SWIG_Py_Void();
20616 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20617 return SWIG_Python_InitShadowInstance(args
);
20620 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20621 PyObject
*resultobj
= 0;
20622 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20625 PyObject
*swig_obj
[1] ;
20627 if (!args
) SWIG_fail
;
20628 swig_obj
[0] = args
;
20629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20630 if (!SWIG_IsOK(res1
)) {
20631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20633 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20641 resultobj
= SWIG_Py_Void();
20648 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
= 0;
20650 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20651 wxConfigBase
*result
= 0 ;
20653 PyObject
* obj0
= 0 ;
20654 char * kwnames
[] = {
20655 (char *) "config", NULL
20658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20659 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20660 if (!SWIG_IsOK(res1
)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20676 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20677 PyObject
*resultobj
= 0;
20678 bool arg1
= (bool) true ;
20679 wxConfigBase
*result
= 0 ;
20682 PyObject
* obj0
= 0 ;
20683 char * kwnames
[] = {
20684 (char *) "createOnDemand", NULL
20687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20689 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20690 if (!SWIG_IsOK(ecode1
)) {
20691 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20693 arg1
= static_cast< bool >(val1
);
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20708 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20709 PyObject
*resultobj
= 0;
20710 wxConfigBase
*result
= 0 ;
20712 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (wxConfigBase
*)wxConfigBase::Create();
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20726 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20727 PyObject
*resultobj
= 0;
20729 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 wxConfigBase::DontCreateOnDemand();
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= SWIG_Py_Void();
20743 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
= 0;
20745 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20746 wxString
*arg2
= 0 ;
20749 bool temp2
= false ;
20750 PyObject
* obj0
= 0 ;
20751 PyObject
* obj1
= 0 ;
20752 char * kwnames
[] = {
20753 (char *) "self",(char *) "path", NULL
20756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20758 if (!SWIG_IsOK(res1
)) {
20759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20761 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20763 arg2
= wxString_in_helper(obj1
);
20764 if (arg2
== NULL
) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 (arg1
)->SetPath((wxString
const &)*arg2
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_Py_Void();
20788 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20789 PyObject
*resultobj
= 0;
20790 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20791 wxString
*result
= 0 ;
20794 PyObject
*swig_obj
[1] ;
20796 if (!args
) SWIG_fail
;
20797 swig_obj
[0] = args
;
20798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20799 if (!SWIG_IsOK(res1
)) {
20800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20802 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
20807 result
= (wxString
*) &_result_ref
;
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20816 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20825 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20826 PyObject
*resultobj
= 0;
20827 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20828 PyObject
*result
= 0 ;
20831 PyObject
*swig_obj
[1] ;
20833 if (!args
) SWIG_fail
;
20834 swig_obj
[0] = args
;
20835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20836 if (!SWIG_IsOK(res1
)) {
20837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20839 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= result
;
20853 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
= 0;
20855 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20857 PyObject
*result
= 0 ;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 char * kwnames
[] = {
20865 (char *) "self",(char *) "index", NULL
20868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20870 if (!SWIG_IsOK(res1
)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20873 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20874 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20875 if (!SWIG_IsOK(ecode2
)) {
20876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
20878 arg2
= static_cast< long >(val2
);
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= result
;
20892 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20893 PyObject
*resultobj
= 0;
20894 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20895 PyObject
*result
= 0 ;
20898 PyObject
*swig_obj
[1] ;
20900 if (!args
) SWIG_fail
;
20901 swig_obj
[0] = args
;
20902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20903 if (!SWIG_IsOK(res1
)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20906 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= result
;
20920 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
= 0;
20922 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20924 PyObject
*result
= 0 ;
20929 PyObject
* obj0
= 0 ;
20930 PyObject
* obj1
= 0 ;
20931 char * kwnames
[] = {
20932 (char *) "self",(char *) "index", NULL
20935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20937 if (!SWIG_IsOK(res1
)) {
20938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20940 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20941 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20942 if (!SWIG_IsOK(ecode2
)) {
20943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
20945 arg2
= static_cast< long >(val2
);
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= result
;
20959 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
= 0;
20961 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20962 bool arg2
= (bool) false ;
20968 PyObject
* obj0
= 0 ;
20969 PyObject
* obj1
= 0 ;
20970 char * kwnames
[] = {
20971 (char *) "self",(char *) "recursive", NULL
20974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20976 if (!SWIG_IsOK(res1
)) {
20977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20979 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20981 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20982 if (!SWIG_IsOK(ecode2
)) {
20983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
20985 arg2
= static_cast< bool >(val2
);
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21000 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
= 0;
21002 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21003 bool arg2
= (bool) false ;
21009 PyObject
* obj0
= 0 ;
21010 PyObject
* obj1
= 0 ;
21011 char * kwnames
[] = {
21012 (char *) "self",(char *) "recursive", NULL
21015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21017 if (!SWIG_IsOK(res1
)) {
21018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21020 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21022 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21023 if (!SWIG_IsOK(ecode2
)) {
21024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21026 arg2
= static_cast< bool >(val2
);
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21041 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
= 0;
21043 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21044 wxString
*arg2
= 0 ;
21048 bool temp2
= false ;
21049 PyObject
* obj0
= 0 ;
21050 PyObject
* obj1
= 0 ;
21051 char * kwnames
[] = {
21052 (char *) "self",(char *) "name", NULL
21055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21057 if (!SWIG_IsOK(res1
)) {
21058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21060 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21062 arg2
= wxString_in_helper(obj1
);
21063 if (arg2
== NULL
) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21089 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
= 0;
21091 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21092 wxString
*arg2
= 0 ;
21096 bool temp2
= false ;
21097 PyObject
* obj0
= 0 ;
21098 PyObject
* obj1
= 0 ;
21099 char * kwnames
[] = {
21100 (char *) "self",(char *) "name", NULL
21103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21105 if (!SWIG_IsOK(res1
)) {
21106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21108 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21110 arg2
= wxString_in_helper(obj1
);
21111 if (arg2
== NULL
) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21137 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
= 0;
21139 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21140 wxString
*arg2
= 0 ;
21144 bool temp2
= false ;
21145 PyObject
* obj0
= 0 ;
21146 PyObject
* obj1
= 0 ;
21147 char * kwnames
[] = {
21148 (char *) "self",(char *) "name", NULL
21151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21153 if (!SWIG_IsOK(res1
)) {
21154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21156 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21158 arg2
= wxString_in_helper(obj1
);
21159 if (arg2
== NULL
) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21185 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
= 0;
21187 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21188 wxString
*arg2
= 0 ;
21189 wxConfigBase::EntryType result
;
21192 bool temp2
= false ;
21193 PyObject
* obj0
= 0 ;
21194 PyObject
* obj1
= 0 ;
21195 char * kwnames
[] = {
21196 (char *) "self",(char *) "name", NULL
21199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21201 if (!SWIG_IsOK(res1
)) {
21202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21204 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21206 arg2
= wxString_in_helper(obj1
);
21207 if (arg2
== NULL
) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21216 resultobj
= SWIG_From_int(static_cast< int >(result
));
21231 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
= 0;
21233 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21234 wxString
*arg2
= 0 ;
21235 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21236 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21240 bool temp2
= false ;
21241 bool temp3
= false ;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 PyObject
* obj2
= 0 ;
21245 char * kwnames
[] = {
21246 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21251 if (!SWIG_IsOK(res1
)) {
21252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21254 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21256 arg2
= wxString_in_helper(obj1
);
21257 if (arg2
== NULL
) SWIG_fail
;
21262 arg3
= wxString_in_helper(obj2
);
21263 if (arg3
== NULL
) SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21302 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
= 0;
21304 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21305 wxString
*arg2
= 0 ;
21306 long arg3
= (long) 0 ;
21310 bool temp2
= false ;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 PyObject
* obj2
= 0 ;
21316 char * kwnames
[] = {
21317 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21322 if (!SWIG_IsOK(res1
)) {
21323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21325 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21327 arg2
= wxString_in_helper(obj1
);
21328 if (arg2
== NULL
) SWIG_fail
;
21332 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21333 if (!SWIG_IsOK(ecode3
)) {
21334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21336 arg3
= static_cast< long >(val3
);
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= SWIG_From_long(static_cast< long >(result
));
21359 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
= 0;
21361 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21362 wxString
*arg2
= 0 ;
21363 double arg3
= (double) 0.0 ;
21367 bool temp2
= false ;
21370 PyObject
* obj0
= 0 ;
21371 PyObject
* obj1
= 0 ;
21372 PyObject
* obj2
= 0 ;
21373 char * kwnames
[] = {
21374 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21379 if (!SWIG_IsOK(res1
)) {
21380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21382 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21384 arg2
= wxString_in_helper(obj1
);
21385 if (arg2
== NULL
) SWIG_fail
;
21389 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21390 if (!SWIG_IsOK(ecode3
)) {
21391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21393 arg3
= static_cast< double >(val3
);
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 resultobj
= SWIG_From_double(static_cast< double >(result
));
21416 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
= 0;
21418 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21419 wxString
*arg2
= 0 ;
21420 bool arg3
= (bool) false ;
21424 bool temp2
= false ;
21427 PyObject
* obj0
= 0 ;
21428 PyObject
* obj1
= 0 ;
21429 PyObject
* obj2
= 0 ;
21430 char * kwnames
[] = {
21431 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21436 if (!SWIG_IsOK(res1
)) {
21437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21439 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21441 arg2
= wxString_in_helper(obj1
);
21442 if (arg2
== NULL
) SWIG_fail
;
21446 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21447 if (!SWIG_IsOK(ecode3
)) {
21448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21450 arg3
= static_cast< bool >(val3
);
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21475 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
= 0;
21477 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21478 wxString
*arg2
= 0 ;
21479 wxString
*arg3
= 0 ;
21483 bool temp2
= false ;
21484 bool temp3
= false ;
21485 PyObject
* obj0
= 0 ;
21486 PyObject
* obj1
= 0 ;
21487 PyObject
* obj2
= 0 ;
21488 char * kwnames
[] = {
21489 (char *) "self",(char *) "key",(char *) "value", NULL
21492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21494 if (!SWIG_IsOK(res1
)) {
21495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21497 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21499 arg2
= wxString_in_helper(obj1
);
21500 if (arg2
== NULL
) SWIG_fail
;
21504 arg3
= wxString_in_helper(obj2
);
21505 if (arg3
== NULL
) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21539 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
= 0;
21541 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21542 wxString
*arg2
= 0 ;
21547 bool temp2
= false ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 PyObject
* obj2
= 0 ;
21553 char * kwnames
[] = {
21554 (char *) "self",(char *) "key",(char *) "value", NULL
21557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21559 if (!SWIG_IsOK(res1
)) {
21560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21562 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21564 arg2
= wxString_in_helper(obj1
);
21565 if (arg2
== NULL
) SWIG_fail
;
21568 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21569 if (!SWIG_IsOK(ecode3
)) {
21570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21572 arg3
= static_cast< long >(val3
);
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21596 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
= 0;
21598 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21599 wxString
*arg2
= 0 ;
21604 bool temp2
= false ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 PyObject
* obj2
= 0 ;
21610 char * kwnames
[] = {
21611 (char *) "self",(char *) "key",(char *) "value", NULL
21614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21616 if (!SWIG_IsOK(res1
)) {
21617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21619 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21621 arg2
= wxString_in_helper(obj1
);
21622 if (arg2
== NULL
) SWIG_fail
;
21625 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21626 if (!SWIG_IsOK(ecode3
)) {
21627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21629 arg3
= static_cast< double >(val3
);
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21653 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
= 0;
21655 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21656 wxString
*arg2
= 0 ;
21661 bool temp2
= false ;
21664 PyObject
* obj0
= 0 ;
21665 PyObject
* obj1
= 0 ;
21666 PyObject
* obj2
= 0 ;
21667 char * kwnames
[] = {
21668 (char *) "self",(char *) "key",(char *) "value", NULL
21671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21673 if (!SWIG_IsOK(res1
)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21676 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21678 arg2
= wxString_in_helper(obj1
);
21679 if (arg2
== NULL
) SWIG_fail
;
21682 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21683 if (!SWIG_IsOK(ecode3
)) {
21684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21686 arg3
= static_cast< bool >(val3
);
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21710 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
= 0;
21712 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21713 bool arg2
= (bool) false ;
21719 PyObject
* obj0
= 0 ;
21720 PyObject
* obj1
= 0 ;
21721 char * kwnames
[] = {
21722 (char *) "self",(char *) "currentOnly", NULL
21725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21727 if (!SWIG_IsOK(res1
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21730 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21732 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21733 if (!SWIG_IsOK(ecode2
)) {
21734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21736 arg2
= static_cast< bool >(val2
);
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= (bool)(arg1
)->Flush(arg2
);
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21753 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
= 0;
21755 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21756 wxString
*arg2
= 0 ;
21757 wxString
*arg3
= 0 ;
21761 bool temp2
= false ;
21762 bool temp3
= false ;
21763 PyObject
* obj0
= 0 ;
21764 PyObject
* obj1
= 0 ;
21765 PyObject
* obj2
= 0 ;
21766 char * kwnames
[] = {
21767 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21772 if (!SWIG_IsOK(res1
)) {
21773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21775 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21777 arg2
= wxString_in_helper(obj1
);
21778 if (arg2
== NULL
) SWIG_fail
;
21782 arg3
= wxString_in_helper(obj2
);
21783 if (arg3
== NULL
) SWIG_fail
;
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21788 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21817 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
= 0;
21819 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21820 wxString
*arg2
= 0 ;
21821 wxString
*arg3
= 0 ;
21825 bool temp2
= false ;
21826 bool temp3
= false ;
21827 PyObject
* obj0
= 0 ;
21828 PyObject
* obj1
= 0 ;
21829 PyObject
* obj2
= 0 ;
21830 char * kwnames
[] = {
21831 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21836 if (!SWIG_IsOK(res1
)) {
21837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21839 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21841 arg2
= wxString_in_helper(obj1
);
21842 if (arg2
== NULL
) SWIG_fail
;
21846 arg3
= wxString_in_helper(obj2
);
21847 if (arg3
== NULL
) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21881 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
= 0;
21883 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21884 wxString
*arg2
= 0 ;
21885 bool arg3
= (bool) true ;
21889 bool temp2
= false ;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 PyObject
* obj2
= 0 ;
21895 char * kwnames
[] = {
21896 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
21899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21901 if (!SWIG_IsOK(res1
)) {
21902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21904 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21906 arg2
= wxString_in_helper(obj1
);
21907 if (arg2
== NULL
) SWIG_fail
;
21911 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21912 if (!SWIG_IsOK(ecode3
)) {
21913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
21915 arg3
= static_cast< bool >(val3
);
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21940 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
= 0;
21942 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21943 wxString
*arg2
= 0 ;
21947 bool temp2
= false ;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 char * kwnames
[] = {
21951 (char *) "self",(char *) "key", NULL
21954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21956 if (!SWIG_IsOK(res1
)) {
21957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21959 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21961 arg2
= wxString_in_helper(obj1
);
21962 if (arg2
== NULL
) SWIG_fail
;
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21988 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21989 PyObject
*resultobj
= 0;
21990 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21994 PyObject
*swig_obj
[1] ;
21996 if (!args
) SWIG_fail
;
21997 swig_obj
[0] = args
;
21998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21999 if (!SWIG_IsOK(res1
)) {
22000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22002 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (bool)(arg1
)->DeleteAll();
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22018 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
= 0;
22020 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22021 bool arg2
= (bool) true ;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 char * kwnames
[] = {
22029 (char *) "self",(char *) "doIt", NULL
22032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22034 if (!SWIG_IsOK(res1
)) {
22035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22037 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22039 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22040 if (!SWIG_IsOK(ecode2
)) {
22041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22043 arg2
= static_cast< bool >(val2
);
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 (arg1
)->SetExpandEnvVars(arg2
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= SWIG_Py_Void();
22058 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22059 PyObject
*resultobj
= 0;
22060 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22064 PyObject
*swig_obj
[1] ;
22066 if (!args
) SWIG_fail
;
22067 swig_obj
[0] = args
;
22068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22069 if (!SWIG_IsOK(res1
)) {
22070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22072 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22088 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
= 0;
22090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22091 bool arg2
= (bool) true ;
22096 PyObject
* obj0
= 0 ;
22097 PyObject
* obj1
= 0 ;
22098 char * kwnames
[] = {
22099 (char *) "self",(char *) "doIt", NULL
22102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22104 if (!SWIG_IsOK(res1
)) {
22105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22107 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22109 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22110 if (!SWIG_IsOK(ecode2
)) {
22111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22113 arg2
= static_cast< bool >(val2
);
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 (arg1
)->SetRecordDefaults(arg2
);
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 resultobj
= SWIG_Py_Void();
22128 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22129 PyObject
*resultobj
= 0;
22130 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22134 PyObject
*swig_obj
[1] ;
22136 if (!args
) SWIG_fail
;
22137 swig_obj
[0] = args
;
22138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22139 if (!SWIG_IsOK(res1
)) {
22140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22142 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22158 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
= 0;
22160 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22161 wxString
*arg2
= 0 ;
22165 bool temp2
= false ;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 char * kwnames
[] = {
22169 (char *) "self",(char *) "str", NULL
22172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22174 if (!SWIG_IsOK(res1
)) {
22175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22177 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22179 arg2
= wxString_in_helper(obj1
);
22180 if (arg2
== NULL
) SWIG_fail
;
22184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22185 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22210 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22211 PyObject
*resultobj
= 0;
22212 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22216 PyObject
*swig_obj
[1] ;
22218 if (!args
) SWIG_fail
;
22219 swig_obj
[0] = args
;
22220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22221 if (!SWIG_IsOK(res1
)) {
22222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22224 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22244 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22245 PyObject
*resultobj
= 0;
22246 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22250 PyObject
*swig_obj
[1] ;
22252 if (!args
) SWIG_fail
;
22253 swig_obj
[0] = args
;
22254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22255 if (!SWIG_IsOK(res1
)) {
22256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22258 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22278 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
= 0;
22280 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22281 wxString
*arg2
= 0 ;
22284 bool temp2
= false ;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 char * kwnames
[] = {
22288 (char *) "self",(char *) "appName", NULL
22291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22293 if (!SWIG_IsOK(res1
)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22296 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22298 arg2
= wxString_in_helper(obj1
);
22299 if (arg2
== NULL
) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 (arg1
)->SetAppName((wxString
const &)*arg2
);
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= SWIG_Py_Void();
22323 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
= 0;
22325 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22326 wxString
*arg2
= 0 ;
22329 bool temp2
= false ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 char * kwnames
[] = {
22333 (char *) "self",(char *) "vendorName", NULL
22336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22338 if (!SWIG_IsOK(res1
)) {
22339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22341 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22343 arg2
= wxString_in_helper(obj1
);
22344 if (arg2
== NULL
) SWIG_fail
;
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_Py_Void();
22368 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
= 0;
22370 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22376 PyObject
* obj0
= 0 ;
22377 PyObject
* obj1
= 0 ;
22378 char * kwnames
[] = {
22379 (char *) "self",(char *) "style", NULL
22382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22384 if (!SWIG_IsOK(res1
)) {
22385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22387 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22388 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22389 if (!SWIG_IsOK(ecode2
)) {
22390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22392 arg2
= static_cast< long >(val2
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 (arg1
)->SetStyle(arg2
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_Py_Void();
22406 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22407 PyObject
*resultobj
= 0;
22408 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22412 PyObject
*swig_obj
[1] ;
22414 if (!args
) SWIG_fail
;
22415 swig_obj
[0] = args
;
22416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22417 if (!SWIG_IsOK(res1
)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22420 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_From_long(static_cast< long >(result
));
22434 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22437 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22438 return SWIG_Py_Void();
22441 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
= 0;
22443 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22444 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22445 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22446 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22447 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22449 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22450 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22451 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22452 wxConfig
*result
= 0 ;
22453 bool temp1
= false ;
22454 bool temp2
= false ;
22455 bool temp3
= false ;
22456 bool temp4
= false ;
22459 PyObject
* obj0
= 0 ;
22460 PyObject
* obj1
= 0 ;
22461 PyObject
* obj2
= 0 ;
22462 PyObject
* obj3
= 0 ;
22463 PyObject
* obj4
= 0 ;
22464 char * kwnames
[] = {
22465 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22471 arg1
= wxString_in_helper(obj0
);
22472 if (arg1
== NULL
) SWIG_fail
;
22478 arg2
= wxString_in_helper(obj1
);
22479 if (arg2
== NULL
) SWIG_fail
;
22485 arg3
= wxString_in_helper(obj2
);
22486 if (arg3
== NULL
) SWIG_fail
;
22492 arg4
= wxString_in_helper(obj3
);
22493 if (arg4
== NULL
) SWIG_fail
;
22498 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22499 if (!SWIG_IsOK(ecode5
)) {
22500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22502 arg5
= static_cast< long >(val5
);
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22549 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22550 PyObject
*resultobj
= 0;
22551 wxConfig
*arg1
= (wxConfig
*) 0 ;
22554 PyObject
*swig_obj
[1] ;
22556 if (!args
) SWIG_fail
;
22557 swig_obj
[0] = args
;
22558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22559 if (!SWIG_IsOK(res1
)) {
22560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22562 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= SWIG_Py_Void();
22577 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22580 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22581 return SWIG_Py_Void();
22584 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22585 return SWIG_Python_InitShadowInstance(args
);
22588 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
= 0;
22590 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22591 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22592 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22593 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22594 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22595 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22596 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22597 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22598 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22599 wxFileConfig
*result
= 0 ;
22600 bool temp1
= false ;
22601 bool temp2
= false ;
22602 bool temp3
= false ;
22603 bool temp4
= false ;
22606 PyObject
* obj0
= 0 ;
22607 PyObject
* obj1
= 0 ;
22608 PyObject
* obj2
= 0 ;
22609 PyObject
* obj3
= 0 ;
22610 PyObject
* obj4
= 0 ;
22611 char * kwnames
[] = {
22612 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22618 arg1
= wxString_in_helper(obj0
);
22619 if (arg1
== NULL
) SWIG_fail
;
22625 arg2
= wxString_in_helper(obj1
);
22626 if (arg2
== NULL
) SWIG_fail
;
22632 arg3
= wxString_in_helper(obj2
);
22633 if (arg3
== NULL
) SWIG_fail
;
22639 arg4
= wxString_in_helper(obj3
);
22640 if (arg4
== NULL
) SWIG_fail
;
22645 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22646 if (!SWIG_IsOK(ecode5
)) {
22647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22649 arg5
= static_cast< long >(val5
);
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22696 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22697 PyObject
*resultobj
= 0;
22698 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22701 PyObject
*swig_obj
[1] ;
22703 if (!args
) SWIG_fail
;
22704 swig_obj
[0] = args
;
22705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22706 if (!SWIG_IsOK(res1
)) {
22707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22709 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 resultobj
= SWIG_Py_Void();
22724 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22727 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22728 return SWIG_Py_Void();
22731 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22732 return SWIG_Python_InitShadowInstance(args
);
22735 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
= 0;
22737 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22738 wxString
*arg2
= 0 ;
22739 wxConfigPathChanger
*result
= 0 ;
22742 bool temp2
= false ;
22743 PyObject
* obj0
= 0 ;
22744 PyObject
* obj1
= 0 ;
22745 char * kwnames
[] = {
22746 (char *) "config",(char *) "entry", NULL
22749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22751 if (!SWIG_IsOK(res1
)) {
22752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22754 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22756 arg2
= wxString_in_helper(obj1
);
22757 if (arg2
== NULL
) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
22781 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22782 PyObject
*resultobj
= 0;
22783 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22786 PyObject
*swig_obj
[1] ;
22788 if (!args
) SWIG_fail
;
22789 swig_obj
[0] = args
;
22790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
22791 if (!SWIG_IsOK(res1
)) {
22792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
22794 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= SWIG_Py_Void();
22809 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22810 PyObject
*resultobj
= 0;
22811 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22812 wxString
*result
= 0 ;
22815 PyObject
*swig_obj
[1] ;
22817 if (!args
) SWIG_fail
;
22818 swig_obj
[0] = args
;
22819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
22820 if (!SWIG_IsOK(res1
)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
22823 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
22828 result
= (wxString
*) &_result_ref
;
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22835 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22837 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22846 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22849 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
22850 return SWIG_Py_Void();
22853 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22854 return SWIG_Python_InitShadowInstance(args
);
22857 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
= 0;
22859 wxString
*arg1
= 0 ;
22861 bool temp1
= false ;
22862 PyObject
* obj0
= 0 ;
22863 char * kwnames
[] = {
22864 (char *) "sz", NULL
22867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
22869 arg1
= wxString_in_helper(obj0
);
22870 if (arg1
== NULL
) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= wxExpandEnvVars((wxString
const &)*arg1
);
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22900 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
22901 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
22906 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
22907 PyObject
*pyobj
= 0;
22911 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22913 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22920 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
22921 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
22926 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
22927 PyObject
*pyobj
= 0;
22931 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22933 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22940 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
= 0;
22942 wxDateTime::Country arg1
;
22945 PyObject
* obj0
= 0 ;
22946 char * kwnames
[] = {
22947 (char *) "country", NULL
22950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
22951 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22952 if (!SWIG_IsOK(ecode1
)) {
22953 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22955 arg1
= static_cast< wxDateTime::Country
>(val1
);
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 wxDateTime::SetCountry(arg1
);
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_Py_Void();
22969 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22970 PyObject
*resultobj
= 0;
22971 wxDateTime::Country result
;
22973 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_From_int(static_cast< int >(result
));
22987 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
= 0;
22989 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22993 PyObject
* obj0
= 0 ;
22994 char * kwnames
[] = {
22995 (char *) "country", NULL
22998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23001 if (!SWIG_IsOK(ecode1
)) {
23002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23004 arg1
= static_cast< wxDateTime::Country
>(val1
);
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23021 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
= 0;
23023 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23027 PyObject
* obj0
= 0 ;
23028 char * kwnames
[] = {
23029 (char *) "cal", NULL
23032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23035 if (!SWIG_IsOK(ecode1
)) {
23036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23038 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_From_int(static_cast< int >(result
));
23053 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
= 0;
23059 PyObject
* obj0
= 0 ;
23060 char * kwnames
[] = {
23061 (char *) "year", NULL
23064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23065 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23066 if (!SWIG_IsOK(ecode1
)) {
23067 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23069 arg1
= static_cast< int >(val1
);
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 resultobj
= SWIG_From_int(static_cast< int >(result
));
23083 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
= 0;
23085 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23086 wxDateTime::Month result
;
23089 PyObject
* obj0
= 0 ;
23090 char * kwnames
[] = {
23091 (char *) "cal", NULL
23094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",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_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23100 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_From_int(static_cast< int >(result
));
23115 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
= 0;
23117 int arg1
= (int) wxDateTime::Inv_Year
;
23118 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23124 PyObject
* obj0
= 0 ;
23125 PyObject
* obj1
= 0 ;
23126 char * kwnames
[] = {
23127 (char *) "year",(char *) "cal", NULL
23130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23132 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23133 if (!SWIG_IsOK(ecode1
)) {
23134 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23136 arg1
= static_cast< int >(val1
);
23139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23140 if (!SWIG_IsOK(ecode2
)) {
23141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23143 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23160 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
= 0;
23162 int arg1
= (int) wxDateTime::Inv_Year
;
23166 PyObject
* obj0
= 0 ;
23167 char * kwnames
[] = {
23168 (char *) "year", NULL
23171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23173 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23174 if (!SWIG_IsOK(ecode1
)) {
23175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23177 arg1
= static_cast< int >(val1
);
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (int)wxDateTime::GetCentury(arg1
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= SWIG_From_int(static_cast< int >(result
));
23192 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
= 0;
23195 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23201 PyObject
* obj0
= 0 ;
23202 PyObject
* obj1
= 0 ;
23203 char * kwnames
[] = {
23204 (char *) "year",(char *) "cal", NULL
23207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23209 if (!SWIG_IsOK(ecode1
)) {
23210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23212 arg1
= static_cast< int >(val1
);
23214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23215 if (!SWIG_IsOK(ecode2
)) {
23216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23218 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= SWIG_From_int(static_cast< int >(result
));
23233 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
= 0;
23235 wxDateTime::Month arg1
;
23236 int arg2
= (int) wxDateTime::Inv_Year
;
23237 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23245 PyObject
* obj0
= 0 ;
23246 PyObject
* obj1
= 0 ;
23247 PyObject
* obj2
= 0 ;
23248 char * kwnames
[] = {
23249 (char *) "month",(char *) "year",(char *) "cal", NULL
23252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23254 if (!SWIG_IsOK(ecode1
)) {
23255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23257 arg1
= static_cast< wxDateTime::Month
>(val1
);
23259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23260 if (!SWIG_IsOK(ecode2
)) {
23261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23263 arg2
= static_cast< int >(val2
);
23266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23267 if (!SWIG_IsOK(ecode3
)) {
23268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23270 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= SWIG_From_int(static_cast< int >(result
));
23285 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
= 0;
23287 wxDateTime::Month arg1
;
23288 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 char * kwnames
[] = {
23297 (char *) "month",(char *) "flags", NULL
23300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23301 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23302 if (!SWIG_IsOK(ecode1
)) {
23303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23305 arg1
= static_cast< wxDateTime::Month
>(val1
);
23307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23308 if (!SWIG_IsOK(ecode2
)) {
23309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23311 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23332 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
= 0;
23334 wxDateTime::WeekDay arg1
;
23335 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 char * kwnames
[] = {
23344 (char *) "weekday",(char *) "flags", NULL
23347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23349 if (!SWIG_IsOK(ecode1
)) {
23350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23352 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23355 if (!SWIG_IsOK(ecode2
)) {
23356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23358 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23379 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23380 PyObject
*resultobj
= 0;
23381 PyObject
*result
= 0 ;
23383 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= result
;
23397 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
= 0;
23399 int arg1
= (int) wxDateTime::Inv_Year
;
23400 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 char * kwnames
[] = {
23409 (char *) "year",(char *) "country", NULL
23412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23414 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23415 if (!SWIG_IsOK(ecode1
)) {
23416 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23418 arg1
= static_cast< int >(val1
);
23421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23422 if (!SWIG_IsOK(ecode2
)) {
23423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23425 arg2
= static_cast< wxDateTime::Country
>(val2
);
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23442 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
= 0;
23444 int arg1
= (int) wxDateTime::Inv_Year
;
23445 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char * kwnames
[] = {
23454 (char *) "year",(char *) "country", NULL
23457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23459 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23460 if (!SWIG_IsOK(ecode1
)) {
23461 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23463 arg1
= static_cast< int >(val1
);
23466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23467 if (!SWIG_IsOK(ecode2
)) {
23468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23470 arg2
= static_cast< wxDateTime::Country
>(val2
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23485 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
= 0;
23487 int arg1
= (int) wxDateTime::Inv_Year
;
23488 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 char * kwnames
[] = {
23497 (char *) "year",(char *) "country", NULL
23500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23502 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23503 if (!SWIG_IsOK(ecode1
)) {
23504 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23506 arg1
= static_cast< int >(val1
);
23509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23510 if (!SWIG_IsOK(ecode2
)) {
23511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23513 arg2
= static_cast< wxDateTime::Country
>(val2
);
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23528 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23529 PyObject
*resultobj
= 0;
23532 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= wxDateTime::Now();
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23539 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23546 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23547 PyObject
*resultobj
= 0;
23550 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= wxDateTime::UNow();
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23564 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23565 PyObject
*resultobj
= 0;
23568 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 result
= wxDateTime::Today();
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23582 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23583 PyObject
*resultobj
= 0;
23584 wxDateTime
*result
= 0 ;
23586 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (wxDateTime
*)new wxDateTime();
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23600 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
= 0;
23603 wxDateTime
*result
= 0 ;
23604 unsigned int val1
;
23606 PyObject
* obj0
= 0 ;
23607 char * kwnames
[] = {
23608 (char *) "timet", NULL
23611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23612 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23613 if (!SWIG_IsOK(ecode1
)) {
23614 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23616 arg1
= static_cast< time_t >(val1
);
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= (wxDateTime
*)new wxDateTime(arg1
);
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23630 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
= 0;
23633 wxDateTime
*result
= 0 ;
23636 PyObject
* obj0
= 0 ;
23637 char * kwnames
[] = {
23638 (char *) "jdn", NULL
23641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23642 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23643 if (!SWIG_IsOK(ecode1
)) {
23644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23646 arg1
= static_cast< double >(val1
);
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (wxDateTime
*)new wxDateTime(arg1
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23660 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
= 0;
23663 int arg2
= (int) 0 ;
23664 int arg3
= (int) 0 ;
23665 int arg4
= (int) 0 ;
23666 wxDateTime
*result
= 0 ;
23675 PyObject
* obj0
= 0 ;
23676 PyObject
* obj1
= 0 ;
23677 PyObject
* obj2
= 0 ;
23678 PyObject
* obj3
= 0 ;
23679 char * kwnames
[] = {
23680 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23684 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23685 if (!SWIG_IsOK(ecode1
)) {
23686 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23688 arg1
= static_cast< int >(val1
);
23690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23691 if (!SWIG_IsOK(ecode2
)) {
23692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23694 arg2
= static_cast< int >(val2
);
23697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23698 if (!SWIG_IsOK(ecode3
)) {
23699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23701 arg3
= static_cast< int >(val3
);
23704 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23705 if (!SWIG_IsOK(ecode4
)) {
23706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23708 arg4
= static_cast< int >(val4
);
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23723 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
= 0;
23726 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23727 int arg3
= (int) wxDateTime::Inv_Year
;
23728 int arg4
= (int) 0 ;
23729 int arg5
= (int) 0 ;
23730 int arg6
= (int) 0 ;
23731 int arg7
= (int) 0 ;
23732 wxDateTime
*result
= 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 PyObject
* obj2
= 0 ;
23750 PyObject
* obj3
= 0 ;
23751 PyObject
* obj4
= 0 ;
23752 PyObject
* obj5
= 0 ;
23753 PyObject
* obj6
= 0 ;
23754 char * kwnames
[] = {
23755 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23760 if (!SWIG_IsOK(ecode1
)) {
23761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
23763 arg1
= static_cast< int >(val1
);
23765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23766 if (!SWIG_IsOK(ecode2
)) {
23767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23769 arg2
= static_cast< wxDateTime::Month
>(val2
);
23772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23773 if (!SWIG_IsOK(ecode3
)) {
23774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
23776 arg3
= static_cast< int >(val3
);
23779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23780 if (!SWIG_IsOK(ecode4
)) {
23781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
23783 arg4
= static_cast< int >(val4
);
23786 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23787 if (!SWIG_IsOK(ecode5
)) {
23788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
23790 arg5
= static_cast< int >(val5
);
23793 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23794 if (!SWIG_IsOK(ecode6
)) {
23795 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
23797 arg6
= static_cast< int >(val6
);
23800 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23801 if (!SWIG_IsOK(ecode7
)) {
23802 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
23804 arg7
= static_cast< int >(val7
);
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23819 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
= 0;
23821 wxDateTime
*arg1
= 0 ;
23822 wxDateTime
*result
= 0 ;
23825 PyObject
* obj0
= 0 ;
23826 char * kwnames
[] = {
23827 (char *) "date", NULL
23830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
23831 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
23832 if (!SWIG_IsOK(res1
)) {
23833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23838 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23852 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23853 PyObject
*resultobj
= 0;
23854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23857 PyObject
*swig_obj
[1] ;
23859 if (!args
) SWIG_fail
;
23860 swig_obj
[0] = args
;
23861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
23862 if (!SWIG_IsOK(res1
)) {
23863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23865 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_Py_Void();
23880 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23881 PyObject
*resultobj
= 0;
23882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23883 wxDateTime
*result
= 0 ;
23886 PyObject
*swig_obj
[1] ;
23888 if (!args
) SWIG_fail
;
23889 swig_obj
[0] = args
;
23890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
23894 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
23899 result
= (wxDateTime
*) &_result_ref
;
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23911 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
= 0;
23913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23915 wxDateTime
*result
= 0 ;
23918 unsigned int val2
;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 char * kwnames
[] = {
23923 (char *) "self",(char *) "timet", NULL
23926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23928 if (!SWIG_IsOK(res1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
23931 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23932 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
23933 if (!SWIG_IsOK(ecode2
)) {
23934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
23936 arg2
= static_cast< time_t >(val2
);
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23941 result
= (wxDateTime
*) &_result_ref
;
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23953 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
= 0;
23955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23957 wxDateTime
*result
= 0 ;
23962 PyObject
* obj0
= 0 ;
23963 PyObject
* obj1
= 0 ;
23964 char * kwnames
[] = {
23965 (char *) "self",(char *) "jdn", NULL
23968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23970 if (!SWIG_IsOK(res1
)) {
23971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
23973 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23974 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23975 if (!SWIG_IsOK(ecode2
)) {
23976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
23978 arg2
= static_cast< double >(val2
);
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23983 result
= (wxDateTime
*) &_result_ref
;
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23995 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
= 0;
23997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23999 int arg3
= (int) 0 ;
24000 int arg4
= (int) 0 ;
24001 int arg5
= (int) 0 ;
24002 wxDateTime
*result
= 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 PyObject
* obj2
= 0 ;
24016 PyObject
* obj3
= 0 ;
24017 PyObject
* obj4
= 0 ;
24018 char * kwnames
[] = {
24019 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24024 if (!SWIG_IsOK(res1
)) {
24025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24027 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24029 if (!SWIG_IsOK(ecode2
)) {
24030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24032 arg2
= static_cast< int >(val2
);
24034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24035 if (!SWIG_IsOK(ecode3
)) {
24036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24038 arg3
= static_cast< int >(val3
);
24041 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24042 if (!SWIG_IsOK(ecode4
)) {
24043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24045 arg4
= static_cast< int >(val4
);
24048 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24049 if (!SWIG_IsOK(ecode5
)) {
24050 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24052 arg5
= static_cast< int >(val5
);
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24058 result
= (wxDateTime
*) &_result_ref
;
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24070 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
= 0;
24072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24074 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24075 int arg4
= (int) wxDateTime::Inv_Year
;
24076 int arg5
= (int) 0 ;
24077 int arg6
= (int) 0 ;
24078 int arg7
= (int) 0 ;
24079 int arg8
= (int) 0 ;
24080 wxDateTime
*result
= 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 PyObject
* obj2
= 0 ;
24100 PyObject
* obj3
= 0 ;
24101 PyObject
* obj4
= 0 ;
24102 PyObject
* obj5
= 0 ;
24103 PyObject
* obj6
= 0 ;
24104 PyObject
* obj7
= 0 ;
24105 char * kwnames
[] = {
24106 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24111 if (!SWIG_IsOK(res1
)) {
24112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24114 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24116 if (!SWIG_IsOK(ecode2
)) {
24117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24119 arg2
= static_cast< int >(val2
);
24121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24122 if (!SWIG_IsOK(ecode3
)) {
24123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24125 arg3
= static_cast< wxDateTime::Month
>(val3
);
24128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24129 if (!SWIG_IsOK(ecode4
)) {
24130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24132 arg4
= static_cast< int >(val4
);
24135 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24136 if (!SWIG_IsOK(ecode5
)) {
24137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24139 arg5
= static_cast< int >(val5
);
24142 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24143 if (!SWIG_IsOK(ecode6
)) {
24144 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24146 arg6
= static_cast< int >(val6
);
24149 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24150 if (!SWIG_IsOK(ecode7
)) {
24151 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24153 arg7
= static_cast< int >(val7
);
24156 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24157 if (!SWIG_IsOK(ecode8
)) {
24158 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24160 arg8
= static_cast< int >(val8
);
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24166 result
= (wxDateTime
*) &_result_ref
;
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24178 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24179 PyObject
*resultobj
= 0;
24180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24181 wxDateTime
*result
= 0 ;
24184 PyObject
*swig_obj
[1] ;
24186 if (!args
) SWIG_fail
;
24187 swig_obj
[0] = args
;
24188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24189 if (!SWIG_IsOK(res1
)) {
24190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24192 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24197 result
= (wxDateTime
*) &_result_ref
;
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24209 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
= 0;
24211 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24213 wxDateTime
*result
= 0 ;
24218 PyObject
* obj0
= 0 ;
24219 PyObject
* obj1
= 0 ;
24220 char * kwnames
[] = {
24221 (char *) "self",(char *) "year", NULL
24224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24226 if (!SWIG_IsOK(res1
)) {
24227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24229 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24231 if (!SWIG_IsOK(ecode2
)) {
24232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24234 arg2
= static_cast< int >(val2
);
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24239 result
= (wxDateTime
*) &_result_ref
;
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24251 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
= 0;
24253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24254 wxDateTime::Month arg2
;
24255 wxDateTime
*result
= 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char * kwnames
[] = {
24263 (char *) "self",(char *) "month", NULL
24266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24268 if (!SWIG_IsOK(res1
)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24271 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24273 if (!SWIG_IsOK(ecode2
)) {
24274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24276 arg2
= static_cast< wxDateTime::Month
>(val2
);
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24281 result
= (wxDateTime
*) &_result_ref
;
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24293 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
= 0;
24295 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24297 wxDateTime
*result
= 0 ;
24302 PyObject
* obj0
= 0 ;
24303 PyObject
* obj1
= 0 ;
24304 char * kwnames
[] = {
24305 (char *) "self",(char *) "day", NULL
24308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24310 if (!SWIG_IsOK(res1
)) {
24311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24313 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24315 if (!SWIG_IsOK(ecode2
)) {
24316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24318 arg2
= static_cast< int >(val2
);
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24323 result
= (wxDateTime
*) &_result_ref
;
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24335 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
= 0;
24337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24339 wxDateTime
*result
= 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char * kwnames
[] = {
24347 (char *) "self",(char *) "hour", NULL
24350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24352 if (!SWIG_IsOK(res1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24355 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24357 if (!SWIG_IsOK(ecode2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24360 arg2
= static_cast< int >(val2
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24365 result
= (wxDateTime
*) &_result_ref
;
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24377 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
= 0;
24379 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24381 wxDateTime
*result
= 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 char * kwnames
[] = {
24389 (char *) "self",(char *) "minute", NULL
24392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24394 if (!SWIG_IsOK(res1
)) {
24395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24397 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24399 if (!SWIG_IsOK(ecode2
)) {
24400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24402 arg2
= static_cast< int >(val2
);
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24407 result
= (wxDateTime
*) &_result_ref
;
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24419 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
= 0;
24421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24423 wxDateTime
*result
= 0 ;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 char * kwnames
[] = {
24431 (char *) "self",(char *) "second", NULL
24434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24436 if (!SWIG_IsOK(res1
)) {
24437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24439 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24441 if (!SWIG_IsOK(ecode2
)) {
24442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24444 arg2
= static_cast< int >(val2
);
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24449 result
= (wxDateTime
*) &_result_ref
;
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24461 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
= 0;
24463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24465 wxDateTime
*result
= 0 ;
24470 PyObject
* obj0
= 0 ;
24471 PyObject
* obj1
= 0 ;
24472 char * kwnames
[] = {
24473 (char *) "self",(char *) "millisecond", NULL
24476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24478 if (!SWIG_IsOK(res1
)) {
24479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24481 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24483 if (!SWIG_IsOK(ecode2
)) {
24484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24486 arg2
= static_cast< int >(val2
);
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24491 result
= (wxDateTime
*) &_result_ref
;
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24503 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
= 0;
24505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24506 wxDateTime::WeekDay arg2
;
24507 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24508 wxDateTime
*result
= 0 ;
24515 PyObject
* obj0
= 0 ;
24516 PyObject
* obj1
= 0 ;
24517 PyObject
* obj2
= 0 ;
24518 char * kwnames
[] = {
24519 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24524 if (!SWIG_IsOK(res1
)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24527 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24529 if (!SWIG_IsOK(ecode2
)) {
24530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24532 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24535 if (!SWIG_IsOK(ecode3
)) {
24536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24538 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24544 result
= (wxDateTime
*) &_result_ref
;
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24556 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
= 0;
24558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24559 wxDateTime::WeekDay arg2
;
24560 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24568 PyObject
* obj0
= 0 ;
24569 PyObject
* obj1
= 0 ;
24570 PyObject
* obj2
= 0 ;
24571 char * kwnames
[] = {
24572 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24577 if (!SWIG_IsOK(res1
)) {
24578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24580 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24582 if (!SWIG_IsOK(ecode2
)) {
24583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24585 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24588 if (!SWIG_IsOK(ecode3
)) {
24589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24591 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24606 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
= 0;
24608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24609 wxDateTime::WeekDay arg2
;
24610 wxDateTime
*result
= 0 ;
24615 PyObject
* obj0
= 0 ;
24616 PyObject
* obj1
= 0 ;
24617 char * kwnames
[] = {
24618 (char *) "self",(char *) "weekday", NULL
24621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",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_SetToNextWeekDay" "', 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_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24631 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(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_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
= 0;
24650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24651 wxDateTime::WeekDay arg2
;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24659 char * kwnames
[] = {
24660 (char *) "self",(char *) "weekday", NULL
24663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24665 if (!SWIG_IsOK(res1
)) {
24666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24668 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24670 if (!SWIG_IsOK(ecode2
)) {
24671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24673 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= (arg1
)->GetNextWeekDay(arg2
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24687 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
= 0;
24689 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24690 wxDateTime::WeekDay arg2
;
24691 wxDateTime
*result
= 0 ;
24696 PyObject
* obj0
= 0 ;
24697 PyObject
* obj1
= 0 ;
24698 char * kwnames
[] = {
24699 (char *) "self",(char *) "weekday", NULL
24702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24704 if (!SWIG_IsOK(res1
)) {
24705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24707 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24709 if (!SWIG_IsOK(ecode2
)) {
24710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24712 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24717 result
= (wxDateTime
*) &_result_ref
;
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24729 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
= 0;
24731 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24732 wxDateTime::WeekDay arg2
;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char * kwnames
[] = {
24741 (char *) "self",(char *) "weekday", NULL
24744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24746 if (!SWIG_IsOK(res1
)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24749 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24751 if (!SWIG_IsOK(ecode2
)) {
24752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24754 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (arg1
)->GetPrevWeekDay(arg2
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24768 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24769 PyObject
*resultobj
= 0;
24770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24771 wxDateTime::WeekDay arg2
;
24772 int arg3
= (int) 1 ;
24773 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24774 int arg5
= (int) wxDateTime::Inv_Year
;
24786 PyObject
* obj0
= 0 ;
24787 PyObject
* obj1
= 0 ;
24788 PyObject
* obj2
= 0 ;
24789 PyObject
* obj3
= 0 ;
24790 PyObject
* obj4
= 0 ;
24791 char * kwnames
[] = {
24792 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
24795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24800 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24802 if (!SWIG_IsOK(ecode2
)) {
24803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24805 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24808 if (!SWIG_IsOK(ecode3
)) {
24809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
24811 arg3
= static_cast< int >(val3
);
24814 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24815 if (!SWIG_IsOK(ecode4
)) {
24816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
24818 arg4
= static_cast< wxDateTime::Month
>(val4
);
24821 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24822 if (!SWIG_IsOK(ecode5
)) {
24823 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
24825 arg5
= static_cast< int >(val5
);
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24842 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
= 0;
24844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24845 wxDateTime::WeekDay arg2
;
24846 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24847 int arg4
= (int) wxDateTime::Inv_Year
;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 PyObject
* obj2
= 0 ;
24860 PyObject
* obj3
= 0 ;
24861 char * kwnames
[] = {
24862 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24867 if (!SWIG_IsOK(res1
)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24870 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24872 if (!SWIG_IsOK(ecode2
)) {
24873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24875 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24877 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24878 if (!SWIG_IsOK(ecode3
)) {
24879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24881 arg3
= static_cast< wxDateTime::Month
>(val3
);
24884 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24885 if (!SWIG_IsOK(ecode4
)) {
24886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24888 arg4
= static_cast< int >(val4
);
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24905 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
= 0;
24907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24908 wxDateTime::WeekDay arg2
;
24909 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24910 int arg4
= (int) wxDateTime::Inv_Year
;
24920 PyObject
* obj0
= 0 ;
24921 PyObject
* obj1
= 0 ;
24922 PyObject
* obj2
= 0 ;
24923 PyObject
* obj3
= 0 ;
24924 char * kwnames
[] = {
24925 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24930 if (!SWIG_IsOK(res1
)) {
24931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24933 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24935 if (!SWIG_IsOK(ecode2
)) {
24936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24938 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24941 if (!SWIG_IsOK(ecode3
)) {
24942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24944 arg3
= static_cast< wxDateTime::Month
>(val3
);
24947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24948 if (!SWIG_IsOK(ecode4
)) {
24949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24951 arg4
= static_cast< int >(val4
);
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24966 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
= 0;
24968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24970 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24971 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24981 PyObject
* obj0
= 0 ;
24982 PyObject
* obj1
= 0 ;
24983 PyObject
* obj2
= 0 ;
24984 PyObject
* obj3
= 0 ;
24985 char * kwnames
[] = {
24986 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24991 if (!SWIG_IsOK(res1
)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24994 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24996 if (!SWIG_IsOK(ecode2
)) {
24997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
24999 arg2
= static_cast< int >(val2
);
25001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25002 if (!SWIG_IsOK(ecode3
)) {
25003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25005 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25008 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25009 if (!SWIG_IsOK(ecode4
)) {
25010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25012 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25029 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
= 0;
25031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25033 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25034 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 PyObject
* obj2
= 0 ;
25047 PyObject
* obj3
= 0 ;
25048 char * kwnames
[] = {
25049 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25054 if (!SWIG_IsOK(res1
)) {
25055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25057 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25059 if (!SWIG_IsOK(ecode2
)) {
25060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25062 arg2
= static_cast< int >(val2
);
25064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25065 if (!SWIG_IsOK(ecode3
)) {
25066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25068 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25071 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25072 if (!SWIG_IsOK(ecode4
)) {
25073 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25075 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25090 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
= 0;
25094 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 PyObject
* obj2
= 0 ;
25105 char * kwnames
[] = {
25106 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25110 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25111 if (!SWIG_IsOK(ecode1
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25114 arg1
= static_cast< int >(val1
);
25115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25116 if (!SWIG_IsOK(ecode2
)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25119 arg2
= static_cast< int >(val2
);
25121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25122 if (!SWIG_IsOK(ecode3
)) {
25123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25125 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25140 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
= 0;
25142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25143 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25144 int arg3
= (int) wxDateTime::Inv_Year
;
25145 wxDateTime
*result
= 0 ;
25152 PyObject
* obj0
= 0 ;
25153 PyObject
* obj1
= 0 ;
25154 PyObject
* obj2
= 0 ;
25155 char * kwnames
[] = {
25156 (char *) "self",(char *) "month",(char *) "year", NULL
25159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25161 if (!SWIG_IsOK(res1
)) {
25162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25164 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25167 if (!SWIG_IsOK(ecode2
)) {
25168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25170 arg2
= static_cast< wxDateTime::Month
>(val2
);
25173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25174 if (!SWIG_IsOK(ecode3
)) {
25175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25177 arg3
= static_cast< int >(val3
);
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25183 result
= (wxDateTime
*) &_result_ref
;
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25195 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
= 0;
25197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25198 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25199 int arg3
= (int) wxDateTime::Inv_Year
;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 PyObject
* obj2
= 0 ;
25210 char * kwnames
[] = {
25211 (char *) "self",(char *) "month",(char *) "year", NULL
25214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25216 if (!SWIG_IsOK(res1
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25219 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25222 if (!SWIG_IsOK(ecode2
)) {
25223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25225 arg2
= static_cast< wxDateTime::Month
>(val2
);
25228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25229 if (!SWIG_IsOK(ecode3
)) {
25230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25232 arg3
= static_cast< int >(val3
);
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25247 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
= 0;
25249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25251 wxDateTime
*result
= 0 ;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 char * kwnames
[] = {
25259 (char *) "self",(char *) "yday", NULL
25262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25264 if (!SWIG_IsOK(res1
)) {
25265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25267 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25269 if (!SWIG_IsOK(ecode2
)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25272 arg2
= static_cast< int >(val2
);
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25277 result
= (wxDateTime
*) &_result_ref
;
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25289 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
= 0;
25291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25298 PyObject
* obj0
= 0 ;
25299 PyObject
* obj1
= 0 ;
25300 char * kwnames
[] = {
25301 (char *) "self",(char *) "yday", NULL
25304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) 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_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25309 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25311 if (!SWIG_IsOK(ecode2
)) {
25312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25314 arg2
= static_cast< int >(val2
);
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (arg1
)->GetYearDay(arg2
);
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25328 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25329 PyObject
*resultobj
= 0;
25330 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25334 PyObject
*swig_obj
[1] ;
25336 if (!args
) SWIG_fail
;
25337 swig_obj
[0] = args
;
25338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25342 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (double)(arg1
)->GetJulianDayNumber();
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_From_double(static_cast< double >(result
));
25356 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25357 PyObject
*resultobj
= 0;
25358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25362 PyObject
*swig_obj
[1] ;
25364 if (!args
) SWIG_fail
;
25365 swig_obj
[0] = args
;
25366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25367 if (!SWIG_IsOK(res1
)) {
25368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25370 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (double)(arg1
)->GetJDN();
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= SWIG_From_double(static_cast< double >(result
));
25384 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25385 PyObject
*resultobj
= 0;
25386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25390 PyObject
*swig_obj
[1] ;
25392 if (!args
) SWIG_fail
;
25393 swig_obj
[0] = args
;
25394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25398 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 resultobj
= SWIG_From_double(static_cast< double >(result
));
25412 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25413 PyObject
*resultobj
= 0;
25414 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25418 PyObject
*swig_obj
[1] ;
25420 if (!args
) SWIG_fail
;
25421 swig_obj
[0] = args
;
25422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25423 if (!SWIG_IsOK(res1
)) {
25424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25426 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (double)(arg1
)->GetMJD();
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 resultobj
= SWIG_From_double(static_cast< double >(result
));
25440 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25441 PyObject
*resultobj
= 0;
25442 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25446 PyObject
*swig_obj
[1] ;
25448 if (!args
) SWIG_fail
;
25449 swig_obj
[0] = args
;
25450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25451 if (!SWIG_IsOK(res1
)) {
25452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25454 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (double)(arg1
)->GetRataDie();
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= SWIG_From_double(static_cast< double >(result
));
25468 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
= 0;
25470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25471 wxDateTime::TimeZone
*arg2
= 0 ;
25472 bool arg3
= (bool) false ;
25476 bool temp2
= false ;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 PyObject
* obj2
= 0 ;
25482 char * kwnames
[] = {
25483 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25488 if (!SWIG_IsOK(res1
)) {
25489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25491 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25493 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25497 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25498 if (!SWIG_IsOK(ecode3
)) {
25499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25501 arg3
= static_cast< bool >(val3
);
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25511 if (temp2
) delete arg2
;
25516 if (temp2
) delete arg2
;
25522 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
= 0;
25524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25525 wxDateTime::TimeZone
*arg2
= 0 ;
25526 bool arg3
= (bool) false ;
25527 wxDateTime
*result
= 0 ;
25530 bool temp2
= false ;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 PyObject
* obj2
= 0 ;
25536 char * kwnames
[] = {
25537 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25542 if (!SWIG_IsOK(res1
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25545 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25547 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25551 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25552 if (!SWIG_IsOK(ecode3
)) {
25553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25555 arg3
= static_cast< bool >(val3
);
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25561 result
= (wxDateTime
*) &_result_ref
;
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25568 if (temp2
) delete arg2
;
25573 if (temp2
) delete arg2
;
25579 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
= 0;
25581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25582 wxDateTime::TimeZone
*arg2
= 0 ;
25583 bool arg3
= (bool) false ;
25587 bool temp2
= false ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 PyObject
* obj2
= 0 ;
25593 char * kwnames
[] = {
25594 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25599 if (!SWIG_IsOK(res1
)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25602 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25604 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25608 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25609 if (!SWIG_IsOK(ecode3
)) {
25610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25612 arg3
= static_cast< bool >(val3
);
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25622 if (temp2
) delete arg2
;
25627 if (temp2
) delete arg2
;
25633 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
= 0;
25635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25636 wxDateTime::TimeZone
*arg2
= 0 ;
25637 bool arg3
= (bool) false ;
25638 wxDateTime
*result
= 0 ;
25641 bool temp2
= false ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 PyObject
* obj2
= 0 ;
25647 char * kwnames
[] = {
25648 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25653 if (!SWIG_IsOK(res1
)) {
25654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25656 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25658 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25662 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25663 if (!SWIG_IsOK(ecode3
)) {
25664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25666 arg3
= static_cast< bool >(val3
);
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25672 result
= (wxDateTime
*) &_result_ref
;
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25679 if (temp2
) delete arg2
;
25684 if (temp2
) delete arg2
;
25690 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
= 0;
25692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25693 bool arg2
= (bool) false ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 char * kwnames
[] = {
25702 (char *) "self",(char *) "noDST", NULL
25705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25707 if (!SWIG_IsOK(res1
)) {
25708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25710 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25712 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25713 if (!SWIG_IsOK(ecode2
)) {
25714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25716 arg2
= static_cast< bool >(val2
);
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25731 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25732 PyObject
*resultobj
= 0;
25733 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25734 bool arg2
= (bool) false ;
25735 wxDateTime
*result
= 0 ;
25740 PyObject
* obj0
= 0 ;
25741 PyObject
* obj1
= 0 ;
25742 char * kwnames
[] = {
25743 (char *) "self",(char *) "noDST", NULL
25746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25748 if (!SWIG_IsOK(res1
)) {
25749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25751 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25753 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25754 if (!SWIG_IsOK(ecode2
)) {
25755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25757 arg2
= static_cast< bool >(val2
);
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25763 result
= (wxDateTime
*) &_result_ref
;
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25775 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
= 0;
25777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25778 bool arg2
= (bool) false ;
25784 PyObject
* obj0
= 0 ;
25785 PyObject
* obj1
= 0 ;
25786 char * kwnames
[] = {
25787 (char *) "self",(char *) "noDST", NULL
25790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25792 if (!SWIG_IsOK(res1
)) {
25793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25795 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25797 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25798 if (!SWIG_IsOK(ecode2
)) {
25799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
25801 arg2
= static_cast< bool >(val2
);
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25816 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
= 0;
25818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25819 bool arg2
= (bool) false ;
25820 wxDateTime
*result
= 0 ;
25825 PyObject
* obj0
= 0 ;
25826 PyObject
* obj1
= 0 ;
25827 char * kwnames
[] = {
25828 (char *) "self",(char *) "noDST", NULL
25831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25833 if (!SWIG_IsOK(res1
)) {
25834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
25836 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25838 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25839 if (!SWIG_IsOK(ecode2
)) {
25840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
25842 arg2
= static_cast< bool >(val2
);
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25847 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
25848 result
= (wxDateTime
*) &_result_ref
;
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25860 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25861 PyObject
*resultobj
= 0;
25862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25863 bool arg2
= (bool) false ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 char * kwnames
[] = {
25872 (char *) "self",(char *) "noDST", NULL
25875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25877 if (!SWIG_IsOK(res1
)) {
25878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25880 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25882 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25883 if (!SWIG_IsOK(ecode2
)) {
25884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
25886 arg2
= static_cast< bool >(val2
);
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25901 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
= 0;
25903 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25904 bool arg2
= (bool) false ;
25905 wxDateTime
*result
= 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 char * kwnames
[] = {
25913 (char *) "self",(char *) "noDST", NULL
25916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25918 if (!SWIG_IsOK(res1
)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25921 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25923 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25924 if (!SWIG_IsOK(ecode2
)) {
25925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
25927 arg2
= static_cast< bool >(val2
);
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
25933 result
= (wxDateTime
*) &_result_ref
;
25935 wxPyEndAllowThreads(__tstate
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25945 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25946 PyObject
*resultobj
= 0;
25947 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25948 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25954 PyObject
* obj0
= 0 ;
25955 PyObject
* obj1
= 0 ;
25956 char * kwnames
[] = {
25957 (char *) "self",(char *) "country", NULL
25960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25962 if (!SWIG_IsOK(res1
)) {
25963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
25965 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25968 if (!SWIG_IsOK(ecode2
)) {
25969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25971 arg2
= static_cast< wxDateTime::Country
>(val2
);
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (int)(arg1
)->IsDST(arg2
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_From_int(static_cast< int >(result
));
25986 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25987 PyObject
*resultobj
= 0;
25988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25992 PyObject
*swig_obj
[1] ;
25994 if (!args
) SWIG_fail
;
25995 swig_obj
[0] = args
;
25996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25997 if (!SWIG_IsOK(res1
)) {
25998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26000 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26016 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26017 PyObject
*resultobj
= 0;
26018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26022 PyObject
*swig_obj
[1] ;
26024 if (!args
) SWIG_fail
;
26025 swig_obj
[0] = args
;
26026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26027 if (!SWIG_IsOK(res1
)) {
26028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26030 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26044 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
= 0;
26046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26047 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26048 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26052 bool temp2
= false ;
26053 PyObject
* obj0
= 0 ;
26054 PyObject
* obj1
= 0 ;
26055 char * kwnames
[] = {
26056 (char *) "self",(char *) "tz", NULL
26059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26061 if (!SWIG_IsOK(res1
)) {
26062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26064 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26067 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= SWIG_From_int(static_cast< int >(result
));
26079 if (temp2
) delete arg2
;
26084 if (temp2
) delete arg2
;
26090 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26091 PyObject
*resultobj
= 0;
26092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26093 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26094 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26095 wxDateTime::Month result
;
26098 bool temp2
= false ;
26099 PyObject
* obj0
= 0 ;
26100 PyObject
* obj1
= 0 ;
26101 char * kwnames
[] = {
26102 (char *) "self",(char *) "tz", NULL
26105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",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_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26110 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26113 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= SWIG_From_int(static_cast< int >(result
));
26125 if (temp2
) delete arg2
;
26130 if (temp2
) delete arg2
;
26136 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
= 0;
26138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26139 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26140 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26144 bool temp2
= false ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 char * kwnames
[] = {
26148 (char *) "self",(char *) "tz", NULL
26151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26153 if (!SWIG_IsOK(res1
)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26156 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26159 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= SWIG_From_int(static_cast< int >(result
));
26171 if (temp2
) delete arg2
;
26176 if (temp2
) delete arg2
;
26182 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
= 0;
26184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26185 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26186 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26187 wxDateTime::WeekDay result
;
26190 bool temp2
= false ;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 char * kwnames
[] = {
26194 (char *) "self",(char *) "tz", NULL
26197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26199 if (!SWIG_IsOK(res1
)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26202 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26205 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_From_int(static_cast< int >(result
));
26217 if (temp2
) delete arg2
;
26222 if (temp2
) delete arg2
;
26228 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26229 PyObject
*resultobj
= 0;
26230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26231 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26232 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26236 bool temp2
= false ;
26237 PyObject
* obj0
= 0 ;
26238 PyObject
* obj1
= 0 ;
26239 char * kwnames
[] = {
26240 (char *) "self",(char *) "tz", NULL
26243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26245 if (!SWIG_IsOK(res1
)) {
26246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26248 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26251 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 resultobj
= SWIG_From_int(static_cast< int >(result
));
26263 if (temp2
) delete arg2
;
26268 if (temp2
) delete arg2
;
26274 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
= 0;
26276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26277 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26278 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26282 bool temp2
= false ;
26283 PyObject
* obj0
= 0 ;
26284 PyObject
* obj1
= 0 ;
26285 char * kwnames
[] = {
26286 (char *) "self",(char *) "tz", NULL
26289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26291 if (!SWIG_IsOK(res1
)) {
26292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26294 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26297 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26307 resultobj
= SWIG_From_int(static_cast< int >(result
));
26309 if (temp2
) delete arg2
;
26314 if (temp2
) delete arg2
;
26320 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26321 PyObject
*resultobj
= 0;
26322 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26323 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26324 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26328 bool temp2
= false ;
26329 PyObject
* obj0
= 0 ;
26330 PyObject
* obj1
= 0 ;
26331 char * kwnames
[] = {
26332 (char *) "self",(char *) "tz", NULL
26335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26337 if (!SWIG_IsOK(res1
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26340 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26343 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_From_int(static_cast< int >(result
));
26355 if (temp2
) delete arg2
;
26360 if (temp2
) delete arg2
;
26366 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
= 0;
26368 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26369 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26370 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26374 bool temp2
= false ;
26375 PyObject
* obj0
= 0 ;
26376 PyObject
* obj1
= 0 ;
26377 char * kwnames
[] = {
26378 (char *) "self",(char *) "tz", NULL
26381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26383 if (!SWIG_IsOK(res1
)) {
26384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26386 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26389 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26399 resultobj
= SWIG_From_int(static_cast< int >(result
));
26401 if (temp2
) delete arg2
;
26406 if (temp2
) delete arg2
;
26412 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
= 0;
26414 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26415 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26416 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26420 bool temp2
= false ;
26421 PyObject
* obj0
= 0 ;
26422 PyObject
* obj1
= 0 ;
26423 char * kwnames
[] = {
26424 (char *) "self",(char *) "tz", NULL
26427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26429 if (!SWIG_IsOK(res1
)) {
26430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26432 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26435 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_From_int(static_cast< int >(result
));
26447 if (temp2
) delete arg2
;
26452 if (temp2
) delete arg2
;
26458 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26459 PyObject
*resultobj
= 0;
26460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26461 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26462 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26463 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26469 bool temp3
= false ;
26470 PyObject
* obj0
= 0 ;
26471 PyObject
* obj1
= 0 ;
26472 PyObject
* obj2
= 0 ;
26473 char * kwnames
[] = {
26474 (char *) "self",(char *) "flags",(char *) "tz", NULL
26477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26479 if (!SWIG_IsOK(res1
)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26482 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26485 if (!SWIG_IsOK(ecode2
)) {
26486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26488 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26492 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_From_int(static_cast< int >(result
));
26504 if (temp3
) delete arg3
;
26509 if (temp3
) delete arg3
;
26515 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
= 0;
26517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26518 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26519 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26520 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26526 bool temp3
= false ;
26527 PyObject
* obj0
= 0 ;
26528 PyObject
* obj1
= 0 ;
26529 PyObject
* obj2
= 0 ;
26530 char * kwnames
[] = {
26531 (char *) "self",(char *) "flags",(char *) "tz", NULL
26534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26536 if (!SWIG_IsOK(res1
)) {
26537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26539 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26542 if (!SWIG_IsOK(ecode2
)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26545 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26549 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_From_int(static_cast< int >(result
));
26561 if (temp3
) delete arg3
;
26566 if (temp3
) delete arg3
;
26572 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
= 0;
26574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26575 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 char * kwnames
[] = {
26584 (char *) "self",(char *) "country", NULL
26587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26589 if (!SWIG_IsOK(res1
)) {
26590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26592 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26595 if (!SWIG_IsOK(ecode2
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26598 arg2
= static_cast< wxDateTime::Country
>(val2
);
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26615 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
= 0;
26617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26618 wxDateTime
*arg2
= 0 ;
26624 PyObject
* obj0
= 0 ;
26625 PyObject
* obj1
= 0 ;
26626 char * kwnames
[] = {
26627 (char *) "self",(char *) "datetime", NULL
26630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26632 if (!SWIG_IsOK(res1
)) {
26633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26635 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26637 if (!SWIG_IsOK(res2
)) {
26638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26643 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26659 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
= 0;
26661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26662 wxDateTime
*arg2
= 0 ;
26668 PyObject
* obj0
= 0 ;
26669 PyObject
* obj1
= 0 ;
26670 char * kwnames
[] = {
26671 (char *) "self",(char *) "datetime", NULL
26674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26676 if (!SWIG_IsOK(res1
)) {
26677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26679 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26681 if (!SWIG_IsOK(res2
)) {
26682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26687 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26703 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
= 0;
26705 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26706 wxDateTime
*arg2
= 0 ;
26712 PyObject
* obj0
= 0 ;
26713 PyObject
* obj1
= 0 ;
26714 char * kwnames
[] = {
26715 (char *) "self",(char *) "datetime", NULL
26718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26720 if (!SWIG_IsOK(res1
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26723 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26725 if (!SWIG_IsOK(res2
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26731 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26747 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
= 0;
26749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26750 wxDateTime
*arg2
= 0 ;
26751 wxDateTime
*arg3
= 0 ;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 PyObject
* obj2
= 0 ;
26762 char * kwnames
[] = {
26763 (char *) "self",(char *) "t1",(char *) "t2", NULL
26766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26768 if (!SWIG_IsOK(res1
)) {
26769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26771 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26773 if (!SWIG_IsOK(res2
)) {
26774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26779 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26780 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26781 if (!SWIG_IsOK(res3
)) {
26782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26787 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26803 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
= 0;
26805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26806 wxDateTime
*arg2
= 0 ;
26807 wxDateTime
*arg3
= 0 ;
26815 PyObject
* obj0
= 0 ;
26816 PyObject
* obj1
= 0 ;
26817 PyObject
* obj2
= 0 ;
26818 char * kwnames
[] = {
26819 (char *) "self",(char *) "t1",(char *) "t2", NULL
26822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26824 if (!SWIG_IsOK(res1
)) {
26825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26827 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26828 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26829 if (!SWIG_IsOK(res2
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26835 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26836 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26837 if (!SWIG_IsOK(res3
)) {
26838 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26843 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26859 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
= 0;
26861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26862 wxDateTime
*arg2
= 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char * kwnames
[] = {
26871 (char *) "self",(char *) "dt", NULL
26874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26876 if (!SWIG_IsOK(res1
)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26879 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26881 if (!SWIG_IsOK(res2
)) {
26882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26887 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26903 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
= 0;
26905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26906 wxDateTime
*arg2
= 0 ;
26912 PyObject
* obj0
= 0 ;
26913 PyObject
* obj1
= 0 ;
26914 char * kwnames
[] = {
26915 (char *) "self",(char *) "dt", NULL
26918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26920 if (!SWIG_IsOK(res1
)) {
26921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26923 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26925 if (!SWIG_IsOK(res2
)) {
26926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26931 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
26935 wxPyEndAllowThreads(__tstate
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26947 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
= 0;
26949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26950 wxDateTime
*arg2
= 0 ;
26951 wxTimeSpan
*arg3
= 0 ;
26959 PyObject
* obj0
= 0 ;
26960 PyObject
* obj1
= 0 ;
26961 PyObject
* obj2
= 0 ;
26962 char * kwnames
[] = {
26963 (char *) "self",(char *) "dt",(char *) "ts", NULL
26966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26968 if (!SWIG_IsOK(res1
)) {
26969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26971 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26973 if (!SWIG_IsOK(res2
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26979 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26980 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26981 if (!SWIG_IsOK(res3
)) {
26982 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26987 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27003 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
= 0;
27005 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27006 wxTimeSpan
*arg2
= 0 ;
27007 wxDateTime
*result
= 0 ;
27012 PyObject
* obj0
= 0 ;
27013 PyObject
* obj1
= 0 ;
27014 char * kwnames
[] = {
27015 (char *) "self",(char *) "diff", NULL
27018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27020 if (!SWIG_IsOK(res1
)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27023 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27025 if (!SWIG_IsOK(res2
)) {
27026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27031 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27036 result
= (wxDateTime
*) &_result_ref
;
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27048 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
= 0;
27050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27051 wxDateSpan
*arg2
= 0 ;
27052 wxDateTime
*result
= 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char * kwnames
[] = {
27060 (char *) "self",(char *) "diff", NULL
27063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",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_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27068 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27070 if (!SWIG_IsOK(res2
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27076 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27081 result
= (wxDateTime
*) &_result_ref
;
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27093 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
= 0;
27095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27096 wxTimeSpan
*arg2
= 0 ;
27097 wxDateTime
*result
= 0 ;
27102 PyObject
* obj0
= 0 ;
27103 PyObject
* obj1
= 0 ;
27104 char * kwnames
[] = {
27105 (char *) "self",(char *) "diff", NULL
27108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27110 if (!SWIG_IsOK(res1
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27113 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27115 if (!SWIG_IsOK(res2
)) {
27116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27121 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27126 result
= (wxDateTime
*) &_result_ref
;
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27138 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
= 0;
27140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27141 wxDateSpan
*arg2
= 0 ;
27142 wxDateTime
*result
= 0 ;
27147 PyObject
* obj0
= 0 ;
27148 PyObject
* obj1
= 0 ;
27149 char * kwnames
[] = {
27150 (char *) "self",(char *) "diff", NULL
27153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27155 if (!SWIG_IsOK(res1
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27158 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27160 if (!SWIG_IsOK(res2
)) {
27161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27166 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27171 result
= (wxDateTime
*) &_result_ref
;
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27183 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
= 0;
27185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27186 wxDateTime
*arg2
= 0 ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char * kwnames
[] = {
27195 (char *) "self",(char *) "dt", NULL
27198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27203 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27205 if (!SWIG_IsOK(res2
)) {
27206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27211 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27225 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27226 PyObject
*resultobj
= 0;
27227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27228 wxTimeSpan
*arg2
= 0 ;
27229 wxDateTime
*result
= 0 ;
27235 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27237 if (!SWIG_IsOK(res1
)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27240 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27241 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27242 if (!SWIG_IsOK(res2
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27248 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27253 result
= (wxDateTime
*) &_result_ref
;
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27265 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27266 PyObject
*resultobj
= 0;
27267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27268 wxDateSpan
*arg2
= 0 ;
27269 wxDateTime
*result
= 0 ;
27275 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27277 if (!SWIG_IsOK(res1
)) {
27278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27280 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27281 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27282 if (!SWIG_IsOK(res2
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27288 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27293 result
= (wxDateTime
*) &_result_ref
;
27295 wxPyEndAllowThreads(__tstate
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27305 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27309 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27314 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27315 _v
= SWIG_CheckState(res
);
27317 if (!_v
) goto check_1
;
27318 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27323 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27327 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27332 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27333 PyObject
*resultobj
= 0;
27334 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27335 wxTimeSpan
*arg2
= 0 ;
27336 wxDateTime
*result
= 0 ;
27342 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27344 if (!SWIG_IsOK(res1
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27347 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27348 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27349 if (!SWIG_IsOK(res2
)) {
27350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27355 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27360 result
= (wxDateTime
*) &_result_ref
;
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27372 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27373 PyObject
*resultobj
= 0;
27374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27375 wxDateSpan
*arg2
= 0 ;
27376 wxDateTime
*result
= 0 ;
27382 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27384 if (!SWIG_IsOK(res1
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27387 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27388 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27389 if (!SWIG_IsOK(res2
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27395 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27399 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27400 result
= (wxDateTime
*) &_result_ref
;
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27412 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27416 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27421 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27422 _v
= SWIG_CheckState(res
);
27424 if (!_v
) goto check_1
;
27425 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27430 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27434 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27439 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27440 PyObject
*resultobj
= 0;
27441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27442 wxTimeSpan
*arg2
= 0 ;
27449 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27451 if (!SWIG_IsOK(res1
)) {
27452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27454 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27455 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27456 if (!SWIG_IsOK(res2
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27462 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27476 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27477 PyObject
*resultobj
= 0;
27478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27479 wxDateSpan
*arg2
= 0 ;
27486 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27488 if (!SWIG_IsOK(res1
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27491 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27492 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27493 if (!SWIG_IsOK(res2
)) {
27494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27499 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27513 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27517 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27522 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27523 _v
= SWIG_CheckState(res
);
27525 if (!_v
) goto check_1
;
27526 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27531 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27535 Py_INCREF(Py_NotImplemented
);
27536 return Py_NotImplemented
;
27540 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27541 PyObject
*resultobj
= 0;
27542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27543 wxDateTime
*arg2
= 0 ;
27550 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27552 if (!SWIG_IsOK(res1
)) {
27553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27555 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27556 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27557 if (!SWIG_IsOK(res2
)) {
27558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27563 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27577 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27578 PyObject
*resultobj
= 0;
27579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27580 wxTimeSpan
*arg2
= 0 ;
27587 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27592 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27593 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27594 if (!SWIG_IsOK(res2
)) {
27595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27600 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27614 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27615 PyObject
*resultobj
= 0;
27616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27617 wxDateSpan
*arg2
= 0 ;
27624 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27626 if (!SWIG_IsOK(res1
)) {
27627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27629 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27630 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27631 if (!SWIG_IsOK(res2
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27637 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27651 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27655 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27660 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27661 _v
= SWIG_CheckState(res
);
27663 if (!_v
) goto check_1
;
27664 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27671 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27672 _v
= SWIG_CheckState(res
);
27674 if (!_v
) goto check_2
;
27675 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27680 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27684 Py_INCREF(Py_NotImplemented
);
27685 return Py_NotImplemented
;
27689 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27690 PyObject
*resultobj
= 0;
27691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27692 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27698 PyObject
* obj0
= 0 ;
27699 PyObject
* obj1
= 0 ;
27700 char * kwnames
[] = {
27701 (char *) "self",(char *) "other", NULL
27704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27706 if (!SWIG_IsOK(res1
)) {
27707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27709 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27711 if (!SWIG_IsOK(res2
)) {
27712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27714 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27730 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
= 0;
27732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27733 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 char * kwnames
[] = {
27742 (char *) "self",(char *) "other", NULL
27745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27747 if (!SWIG_IsOK(res1
)) {
27748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27750 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27751 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27752 if (!SWIG_IsOK(res2
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27755 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27771 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
= 0;
27773 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27774 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27780 PyObject
* obj0
= 0 ;
27781 PyObject
* obj1
= 0 ;
27782 char * kwnames
[] = {
27783 (char *) "self",(char *) "other", NULL
27786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27788 if (!SWIG_IsOK(res1
)) {
27789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27791 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27793 if (!SWIG_IsOK(res2
)) {
27794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27796 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
27800 wxPyEndAllowThreads(__tstate
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27812 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
= 0;
27814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27815 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27821 PyObject
* obj0
= 0 ;
27822 PyObject
* obj1
= 0 ;
27823 char * kwnames
[] = {
27824 (char *) "self",(char *) "other", NULL
27827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27829 if (!SWIG_IsOK(res1
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27832 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27833 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27834 if (!SWIG_IsOK(res2
)) {
27835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27837 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27840 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27853 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27854 PyObject
*resultobj
= 0;
27855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27856 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27862 PyObject
* obj0
= 0 ;
27863 PyObject
* obj1
= 0 ;
27864 char * kwnames
[] = {
27865 (char *) "self",(char *) "other", NULL
27868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27873 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27874 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27875 if (!SWIG_IsOK(res2
)) {
27876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27878 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27881 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27894 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27895 PyObject
*resultobj
= 0;
27896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27897 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27903 PyObject
* obj0
= 0 ;
27904 PyObject
* obj1
= 0 ;
27905 char * kwnames
[] = {
27906 (char *) "self",(char *) "other", NULL
27909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27911 if (!SWIG_IsOK(res1
)) {
27912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27914 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27915 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27916 if (!SWIG_IsOK(res2
)) {
27917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27919 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27922 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27935 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
= 0;
27937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27938 wxString
*arg2
= 0 ;
27942 bool temp2
= false ;
27943 PyObject
* obj0
= 0 ;
27944 PyObject
* obj1
= 0 ;
27945 char * kwnames
[] = {
27946 (char *) "self",(char *) "date", NULL
27949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27951 if (!SWIG_IsOK(res1
)) {
27952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
27954 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27956 arg2
= wxString_in_helper(obj1
);
27957 if (arg2
== NULL
) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
27963 wxPyEndAllowThreads(__tstate
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= SWIG_From_int(static_cast< int >(result
));
27981 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
= 0;
27983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27984 wxString
*arg2
= 0 ;
27985 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
27986 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27987 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
27988 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
27992 bool temp2
= false ;
27993 bool temp3
= false ;
27996 PyObject
* obj0
= 0 ;
27997 PyObject
* obj1
= 0 ;
27998 PyObject
* obj2
= 0 ;
27999 PyObject
* obj3
= 0 ;
28000 char * kwnames
[] = {
28001 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28006 if (!SWIG_IsOK(res1
)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28009 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28011 arg2
= wxString_in_helper(obj1
);
28012 if (arg2
== NULL
) SWIG_fail
;
28017 arg3
= wxString_in_helper(obj2
);
28018 if (arg3
== NULL
) SWIG_fail
;
28023 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28024 if (!SWIG_IsOK(res4
)) {
28025 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28030 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28034 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28035 wxPyEndAllowThreads(__tstate
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28038 resultobj
= SWIG_From_int(static_cast< int >(result
));
28061 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
= 0;
28063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28064 wxString
*arg2
= 0 ;
28068 bool temp2
= false ;
28069 PyObject
* obj0
= 0 ;
28070 PyObject
* obj1
= 0 ;
28071 char * kwnames
[] = {
28072 (char *) "self",(char *) "datetime", NULL
28075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28077 if (!SWIG_IsOK(res1
)) {
28078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28080 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28082 arg2
= wxString_in_helper(obj1
);
28083 if (arg2
== NULL
) SWIG_fail
;
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28089 wxPyEndAllowThreads(__tstate
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28092 resultobj
= SWIG_From_int(static_cast< int >(result
));
28107 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
= 0;
28109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28110 wxString
*arg2
= 0 ;
28114 bool temp2
= false ;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 char * kwnames
[] = {
28118 (char *) "self",(char *) "date", NULL
28121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28123 if (!SWIG_IsOK(res1
)) {
28124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28126 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28128 arg2
= wxString_in_helper(obj1
);
28129 if (arg2
== NULL
) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= SWIG_From_int(static_cast< int >(result
));
28153 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
= 0;
28155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28156 wxString
*arg2
= 0 ;
28160 bool temp2
= false ;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 char * kwnames
[] = {
28164 (char *) "self",(char *) "time", NULL
28167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28169 if (!SWIG_IsOK(res1
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28172 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28174 arg2
= wxString_in_helper(obj1
);
28175 if (arg2
== NULL
) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= SWIG_From_int(static_cast< int >(result
));
28199 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28200 PyObject
*resultobj
= 0;
28201 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28202 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28203 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28204 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28205 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28209 bool temp2
= false ;
28210 bool temp3
= false ;
28211 PyObject
* obj0
= 0 ;
28212 PyObject
* obj1
= 0 ;
28213 PyObject
* obj2
= 0 ;
28214 char * kwnames
[] = {
28215 (char *) "self",(char *) "format",(char *) "tz", NULL
28218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28220 if (!SWIG_IsOK(res1
)) {
28221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28223 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28226 arg2
= wxString_in_helper(obj1
);
28227 if (arg2
== NULL
) SWIG_fail
;
28233 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28255 if (temp3
) delete arg3
;
28264 if (temp3
) delete arg3
;
28270 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28271 PyObject
*resultobj
= 0;
28272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28276 PyObject
*swig_obj
[1] ;
28278 if (!args
) SWIG_fail
;
28279 swig_obj
[0] = args
;
28280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28281 if (!SWIG_IsOK(res1
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28284 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28287 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28304 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28305 PyObject
*resultobj
= 0;
28306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28310 PyObject
*swig_obj
[1] ;
28312 if (!args
) SWIG_fail
;
28313 swig_obj
[0] = args
;
28314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28315 if (!SWIG_IsOK(res1
)) {
28316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28318 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28321 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28322 wxPyEndAllowThreads(__tstate
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28338 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28339 PyObject
*resultobj
= 0;
28340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28344 PyObject
*swig_obj
[1] ;
28346 if (!args
) SWIG_fail
;
28347 swig_obj
[0] = args
;
28348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28349 if (!SWIG_IsOK(res1
)) {
28350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28352 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28372 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28373 PyObject
*resultobj
= 0;
28374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28378 PyObject
*swig_obj
[1] ;
28380 if (!args
) SWIG_fail
;
28381 swig_obj
[0] = args
;
28382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28383 if (!SWIG_IsOK(res1
)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28386 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28406 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28409 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28410 return SWIG_Py_Void();
28413 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28414 return SWIG_Python_InitShadowInstance(args
);
28417 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28418 PyObject
*resultobj
= 0;
28423 PyObject
* obj0
= 0 ;
28424 char * kwnames
[] = {
28425 (char *) "ms", NULL
28428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28429 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28430 if (!SWIG_IsOK(ecode1
)) {
28431 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28433 arg1
= static_cast< long >(val1
);
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 result
= wxTimeSpan::Milliseconds(arg1
);
28437 wxPyEndAllowThreads(__tstate
);
28438 if (PyErr_Occurred()) SWIG_fail
;
28440 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28447 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28448 PyObject
*resultobj
= 0;
28451 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 result
= wxTimeSpan::Millisecond();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28465 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28466 PyObject
*resultobj
= 0;
28471 PyObject
* obj0
= 0 ;
28472 char * kwnames
[] = {
28473 (char *) "sec", NULL
28476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28477 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28478 if (!SWIG_IsOK(ecode1
)) {
28479 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28481 arg1
= static_cast< long >(val1
);
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 result
= wxTimeSpan::Seconds(arg1
);
28485 wxPyEndAllowThreads(__tstate
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28488 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28495 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28496 PyObject
*resultobj
= 0;
28499 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 result
= wxTimeSpan::Second();
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28506 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28513 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28514 PyObject
*resultobj
= 0;
28519 PyObject
* obj0
= 0 ;
28520 char * kwnames
[] = {
28521 (char *) "min", NULL
28524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28525 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28526 if (!SWIG_IsOK(ecode1
)) {
28527 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28529 arg1
= static_cast< long >(val1
);
28531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28532 result
= wxTimeSpan::Minutes(arg1
);
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28543 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28544 PyObject
*resultobj
= 0;
28547 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= wxTimeSpan::Minute();
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28561 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
= 0;
28567 PyObject
* obj0
= 0 ;
28568 char * kwnames
[] = {
28569 (char *) "hours", NULL
28572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28573 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28574 if (!SWIG_IsOK(ecode1
)) {
28575 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28577 arg1
= static_cast< long >(val1
);
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 result
= wxTimeSpan::Hours(arg1
);
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28584 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28591 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28592 PyObject
*resultobj
= 0;
28595 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 result
= wxTimeSpan::Hour();
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28609 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
= 0;
28615 PyObject
* obj0
= 0 ;
28616 char * kwnames
[] = {
28617 (char *) "days", NULL
28620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28621 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28622 if (!SWIG_IsOK(ecode1
)) {
28623 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28625 arg1
= static_cast< long >(val1
);
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= wxTimeSpan::Days(arg1
);
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28639 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28640 PyObject
*resultobj
= 0;
28643 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28646 result
= wxTimeSpan::Day();
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28657 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28658 PyObject
*resultobj
= 0;
28663 PyObject
* obj0
= 0 ;
28664 char * kwnames
[] = {
28665 (char *) "days", NULL
28668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28669 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28670 if (!SWIG_IsOK(ecode1
)) {
28671 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28673 arg1
= static_cast< long >(val1
);
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 result
= wxTimeSpan::Weeks(arg1
);
28677 wxPyEndAllowThreads(__tstate
);
28678 if (PyErr_Occurred()) SWIG_fail
;
28680 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28687 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28688 PyObject
*resultobj
= 0;
28691 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= wxTimeSpan::Week();
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28705 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
= 0;
28707 long arg1
= (long) 0 ;
28708 long arg2
= (long) 0 ;
28709 long arg3
= (long) 0 ;
28710 long arg4
= (long) 0 ;
28711 wxTimeSpan
*result
= 0 ;
28720 PyObject
* obj0
= 0 ;
28721 PyObject
* obj1
= 0 ;
28722 PyObject
* obj2
= 0 ;
28723 PyObject
* obj3
= 0 ;
28724 char * kwnames
[] = {
28725 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28730 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28731 if (!SWIG_IsOK(ecode1
)) {
28732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28734 arg1
= static_cast< long >(val1
);
28737 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28738 if (!SWIG_IsOK(ecode2
)) {
28739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28741 arg2
= static_cast< long >(val2
);
28744 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28745 if (!SWIG_IsOK(ecode3
)) {
28746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28748 arg3
= static_cast< long >(val3
);
28751 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28752 if (!SWIG_IsOK(ecode4
)) {
28753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28755 arg4
= static_cast< long >(val4
);
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
28770 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28771 PyObject
*resultobj
= 0;
28772 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28775 PyObject
*swig_obj
[1] ;
28777 if (!args
) SWIG_fail
;
28778 swig_obj
[0] = args
;
28779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28780 if (!SWIG_IsOK(res1
)) {
28781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28783 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= SWIG_Py_Void();
28798 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
= 0;
28800 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28801 wxTimeSpan
*arg2
= 0 ;
28802 wxTimeSpan
*result
= 0 ;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 char * kwnames
[] = {
28810 (char *) "self",(char *) "diff", NULL
28813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28815 if (!SWIG_IsOK(res1
)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28818 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28820 if (!SWIG_IsOK(res2
)) {
28821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28826 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
28831 result
= (wxTimeSpan
*) &_result_ref
;
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28843 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
= 0;
28845 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28846 wxTimeSpan
*arg2
= 0 ;
28847 wxTimeSpan
*result
= 0 ;
28852 PyObject
* obj0
= 0 ;
28853 PyObject
* obj1
= 0 ;
28854 char * kwnames
[] = {
28855 (char *) "self",(char *) "diff", NULL
28858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28860 if (!SWIG_IsOK(res1
)) {
28861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28863 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28865 if (!SWIG_IsOK(res2
)) {
28866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28871 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
28876 result
= (wxTimeSpan
*) &_result_ref
;
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28888 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
= 0;
28890 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28892 wxTimeSpan
*result
= 0 ;
28897 PyObject
* obj0
= 0 ;
28898 PyObject
* obj1
= 0 ;
28899 char * kwnames
[] = {
28900 (char *) "self",(char *) "n", NULL
28903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28905 if (!SWIG_IsOK(res1
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28908 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28910 if (!SWIG_IsOK(ecode2
)) {
28911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
28913 arg2
= static_cast< int >(val2
);
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28917 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
28918 result
= (wxTimeSpan
*) &_result_ref
;
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28930 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28931 PyObject
*resultobj
= 0;
28932 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28933 wxTimeSpan
*result
= 0 ;
28936 PyObject
*swig_obj
[1] ;
28938 if (!args
) SWIG_fail
;
28939 swig_obj
[0] = args
;
28940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28944 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
28949 result
= (wxTimeSpan
*) &_result_ref
;
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28961 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28962 PyObject
*resultobj
= 0;
28963 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28967 PyObject
*swig_obj
[1] ;
28969 if (!args
) SWIG_fail
;
28970 swig_obj
[0] = args
;
28971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28972 if (!SWIG_IsOK(res1
)) {
28973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28975 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 result
= ((wxTimeSpan
const *)arg1
)->Abs();
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28989 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
= 0;
28991 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28992 wxTimeSpan
*arg2
= 0 ;
28993 wxTimeSpan
*result
= 0 ;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 char * kwnames
[] = {
29001 (char *) "self",(char *) "diff", NULL
29004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29006 if (!SWIG_IsOK(res1
)) {
29007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29009 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29011 if (!SWIG_IsOK(res2
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29017 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29022 result
= (wxTimeSpan
*) &_result_ref
;
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29034 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
= 0;
29036 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29037 wxTimeSpan
*arg2
= 0 ;
29038 wxTimeSpan
*result
= 0 ;
29043 PyObject
* obj0
= 0 ;
29044 PyObject
* obj1
= 0 ;
29045 char * kwnames
[] = {
29046 (char *) "self",(char *) "diff", NULL
29049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29051 if (!SWIG_IsOK(res1
)) {
29052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29054 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29056 if (!SWIG_IsOK(res2
)) {
29057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29062 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29067 result
= (wxTimeSpan
*) &_result_ref
;
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29079 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
= 0;
29081 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29083 wxTimeSpan
*result
= 0 ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 char * kwnames
[] = {
29091 (char *) "self",(char *) "n", NULL
29094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29096 if (!SWIG_IsOK(res1
)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29099 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29101 if (!SWIG_IsOK(ecode2
)) {
29102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29104 arg2
= static_cast< int >(val2
);
29106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29109 result
= (wxTimeSpan
*) &_result_ref
;
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29121 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29122 PyObject
*resultobj
= 0;
29123 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29124 wxTimeSpan
*result
= 0 ;
29127 PyObject
*swig_obj
[1] ;
29129 if (!args
) SWIG_fail
;
29130 swig_obj
[0] = args
;
29131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29132 if (!SWIG_IsOK(res1
)) {
29133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29135 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29139 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29140 result
= (wxTimeSpan
*) &_result_ref
;
29142 wxPyEndAllowThreads(__tstate
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29152 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
= 0;
29154 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29155 wxTimeSpan
*arg2
= 0 ;
29161 PyObject
* obj0
= 0 ;
29162 PyObject
* obj1
= 0 ;
29163 char * kwnames
[] = {
29164 (char *) "self",(char *) "other", NULL
29167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29169 if (!SWIG_IsOK(res1
)) {
29170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29172 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29173 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29174 if (!SWIG_IsOK(res2
)) {
29175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29180 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29194 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
= 0;
29196 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29197 wxTimeSpan
*arg2
= 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char * kwnames
[] = {
29206 (char *) "self",(char *) "other", NULL
29209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29214 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29216 if (!SWIG_IsOK(res2
)) {
29217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29222 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29225 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29236 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
= 0;
29238 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29245 PyObject
* obj0
= 0 ;
29246 PyObject
* obj1
= 0 ;
29247 char * kwnames
[] = {
29248 (char *) "self",(char *) "n", NULL
29251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29256 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29258 if (!SWIG_IsOK(ecode2
)) {
29259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29261 arg2
= static_cast< int >(val2
);
29263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29264 result
= wxTimeSpan___mul__(arg1
,arg2
);
29265 wxPyEndAllowThreads(__tstate
);
29266 if (PyErr_Occurred()) SWIG_fail
;
29268 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29275 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
= 0;
29277 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29284 PyObject
* obj0
= 0 ;
29285 PyObject
* obj1
= 0 ;
29286 char * kwnames
[] = {
29287 (char *) "self",(char *) "n", NULL
29290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29292 if (!SWIG_IsOK(res1
)) {
29293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29295 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29297 if (!SWIG_IsOK(ecode2
)) {
29298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29300 arg2
= static_cast< int >(val2
);
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29304 wxPyEndAllowThreads(__tstate
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29314 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
= 0;
29316 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29317 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29323 PyObject
* obj0
= 0 ;
29324 PyObject
* obj1
= 0 ;
29325 char * kwnames
[] = {
29326 (char *) "self",(char *) "other", NULL
29329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29331 if (!SWIG_IsOK(res1
)) {
29332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29334 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29335 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29336 if (!SWIG_IsOK(res2
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29339 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29343 wxPyEndAllowThreads(__tstate
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29355 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= 0;
29357 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29358 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29364 PyObject
* obj0
= 0 ;
29365 PyObject
* obj1
= 0 ;
29366 char * kwnames
[] = {
29367 (char *) "self",(char *) "other", NULL
29370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29372 if (!SWIG_IsOK(res1
)) {
29373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29375 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29377 if (!SWIG_IsOK(res2
)) {
29378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29380 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29383 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29396 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29397 PyObject
*resultobj
= 0;
29398 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29399 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29405 PyObject
* obj0
= 0 ;
29406 PyObject
* obj1
= 0 ;
29407 char * kwnames
[] = {
29408 (char *) "self",(char *) "other", NULL
29411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29413 if (!SWIG_IsOK(res1
)) {
29414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29416 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29418 if (!SWIG_IsOK(res2
)) {
29419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29421 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29424 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29437 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29438 PyObject
*resultobj
= 0;
29439 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29440 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29446 PyObject
* obj0
= 0 ;
29447 PyObject
* obj1
= 0 ;
29448 char * kwnames
[] = {
29449 (char *) "self",(char *) "other", NULL
29452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29454 if (!SWIG_IsOK(res1
)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29457 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29459 if (!SWIG_IsOK(res2
)) {
29460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29462 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29466 wxPyEndAllowThreads(__tstate
);
29467 if (PyErr_Occurred()) SWIG_fail
;
29470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29478 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
= 0;
29480 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29481 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29487 PyObject
* obj0
= 0 ;
29488 PyObject
* obj1
= 0 ;
29489 char * kwnames
[] = {
29490 (char *) "self",(char *) "other", NULL
29493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29495 if (!SWIG_IsOK(res1
)) {
29496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29498 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29500 if (!SWIG_IsOK(res2
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29503 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29519 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
= 0;
29521 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29522 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29528 PyObject
* obj0
= 0 ;
29529 PyObject
* obj1
= 0 ;
29530 char * kwnames
[] = {
29531 (char *) "self",(char *) "other", NULL
29534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29536 if (!SWIG_IsOK(res1
)) {
29537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29539 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29541 if (!SWIG_IsOK(res2
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29544 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29560 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29561 PyObject
*resultobj
= 0;
29562 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29566 PyObject
*swig_obj
[1] ;
29568 if (!args
) SWIG_fail
;
29569 swig_obj
[0] = args
;
29570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29571 if (!SWIG_IsOK(res1
)) {
29572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29574 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29577 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29590 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29591 PyObject
*resultobj
= 0;
29592 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29596 PyObject
*swig_obj
[1] ;
29598 if (!args
) SWIG_fail
;
29599 swig_obj
[0] = args
;
29600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29601 if (!SWIG_IsOK(res1
)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29604 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29620 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29621 PyObject
*resultobj
= 0;
29622 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29626 PyObject
*swig_obj
[1] ;
29628 if (!args
) SWIG_fail
;
29629 swig_obj
[0] = args
;
29630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29631 if (!SWIG_IsOK(res1
)) {
29632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29634 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29650 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
= 0;
29652 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29653 wxTimeSpan
*arg2
= 0 ;
29659 PyObject
* obj0
= 0 ;
29660 PyObject
* obj1
= 0 ;
29661 char * kwnames
[] = {
29662 (char *) "self",(char *) "ts", NULL
29665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29667 if (!SWIG_IsOK(res1
)) {
29668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29670 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29672 if (!SWIG_IsOK(res2
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29678 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29681 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29694 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29695 PyObject
*resultobj
= 0;
29696 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29697 wxTimeSpan
*arg2
= 0 ;
29703 PyObject
* obj0
= 0 ;
29704 PyObject
* obj1
= 0 ;
29705 char * kwnames
[] = {
29706 (char *) "self",(char *) "ts", NULL
29709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29711 if (!SWIG_IsOK(res1
)) {
29712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29714 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29715 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29716 if (!SWIG_IsOK(res2
)) {
29717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29722 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29738 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29739 PyObject
*resultobj
= 0;
29740 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29741 wxTimeSpan
*arg2
= 0 ;
29747 PyObject
* obj0
= 0 ;
29748 PyObject
* obj1
= 0 ;
29749 char * kwnames
[] = {
29750 (char *) "self",(char *) "t", NULL
29753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29755 if (!SWIG_IsOK(res1
)) {
29756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29758 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29760 if (!SWIG_IsOK(res2
)) {
29761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29766 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29782 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29783 PyObject
*resultobj
= 0;
29784 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29788 PyObject
*swig_obj
[1] ;
29790 if (!args
) SWIG_fail
;
29791 swig_obj
[0] = args
;
29792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29793 if (!SWIG_IsOK(res1
)) {
29794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29796 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29799 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
29800 wxPyEndAllowThreads(__tstate
);
29801 if (PyErr_Occurred()) SWIG_fail
;
29803 resultobj
= SWIG_From_int(static_cast< int >(result
));
29810 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29811 PyObject
*resultobj
= 0;
29812 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29816 PyObject
*swig_obj
[1] ;
29818 if (!args
) SWIG_fail
;
29819 swig_obj
[0] = args
;
29820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29821 if (!SWIG_IsOK(res1
)) {
29822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29824 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29831 resultobj
= SWIG_From_int(static_cast< int >(result
));
29838 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29839 PyObject
*resultobj
= 0;
29840 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29844 PyObject
*swig_obj
[1] ;
29846 if (!args
) SWIG_fail
;
29847 swig_obj
[0] = args
;
29848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29849 if (!SWIG_IsOK(res1
)) {
29850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29852 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29855 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 resultobj
= SWIG_From_int(static_cast< int >(result
));
29866 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29867 PyObject
*resultobj
= 0;
29868 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29872 PyObject
*swig_obj
[1] ;
29874 if (!args
) SWIG_fail
;
29875 swig_obj
[0] = args
;
29876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29877 if (!SWIG_IsOK(res1
)) {
29878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29880 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
29884 wxPyEndAllowThreads(__tstate
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29887 resultobj
= SWIG_From_int(static_cast< int >(result
));
29894 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29895 PyObject
*resultobj
= 0;
29896 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29900 PyObject
*swig_obj
[1] ;
29902 if (!args
) SWIG_fail
;
29903 swig_obj
[0] = args
;
29904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29905 if (!SWIG_IsOK(res1
)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29908 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29911 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29916 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29917 hi
= PyLong_FromLong( (&result
)->GetHi() );
29918 lo
= PyLong_FromLong( (&result
)->GetLo() );
29919 shifter
= PyLong_FromLong(32);
29920 shifted
= PyNumber_Lshift(hi
, shifter
);
29921 resultobj
= PyNumber_Or(shifted
, lo
);
29924 Py_DECREF(shifter
);
29925 Py_DECREF(shifted
);
29933 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29934 PyObject
*resultobj
= 0;
29935 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29939 PyObject
*swig_obj
[1] ;
29941 if (!args
) SWIG_fail
;
29942 swig_obj
[0] = args
;
29943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29944 if (!SWIG_IsOK(res1
)) {
29945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29947 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29955 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29956 hi
= PyLong_FromLong( (&result
)->GetHi() );
29957 lo
= PyLong_FromLong( (&result
)->GetLo() );
29958 shifter
= PyLong_FromLong(32);
29959 shifted
= PyNumber_Lshift(hi
, shifter
);
29960 resultobj
= PyNumber_Or(shifted
, lo
);
29963 Py_DECREF(shifter
);
29964 Py_DECREF(shifted
);
29972 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29973 PyObject
*resultobj
= 0;
29974 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29975 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
29976 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
29980 bool temp2
= false ;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 char * kwnames
[] = {
29984 (char *) "self",(char *) "format", NULL
29987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29989 if (!SWIG_IsOK(res1
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29992 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29995 arg2
= wxString_in_helper(obj1
);
29996 if (arg2
== NULL
) SWIG_fail
;
30001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30002 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30003 wxPyEndAllowThreads(__tstate
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30027 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30030 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30031 return SWIG_Py_Void();
30034 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30035 return SWIG_Python_InitShadowInstance(args
);
30038 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30039 PyObject
*resultobj
= 0;
30040 int arg1
= (int) 0 ;
30041 int arg2
= (int) 0 ;
30042 int arg3
= (int) 0 ;
30043 int arg4
= (int) 0 ;
30044 wxDateSpan
*result
= 0 ;
30053 PyObject
* obj0
= 0 ;
30054 PyObject
* obj1
= 0 ;
30055 PyObject
* obj2
= 0 ;
30056 PyObject
* obj3
= 0 ;
30057 char * kwnames
[] = {
30058 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30063 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30064 if (!SWIG_IsOK(ecode1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30067 arg1
= static_cast< int >(val1
);
30070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30071 if (!SWIG_IsOK(ecode2
)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30074 arg2
= static_cast< int >(val2
);
30077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30078 if (!SWIG_IsOK(ecode3
)) {
30079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30081 arg3
= static_cast< int >(val3
);
30084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30085 if (!SWIG_IsOK(ecode4
)) {
30086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30088 arg4
= static_cast< int >(val4
);
30091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30093 wxPyEndAllowThreads(__tstate
);
30094 if (PyErr_Occurred()) SWIG_fail
;
30096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30103 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30104 PyObject
*resultobj
= 0;
30105 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30108 PyObject
*swig_obj
[1] ;
30110 if (!args
) SWIG_fail
;
30111 swig_obj
[0] = args
;
30112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30113 if (!SWIG_IsOK(res1
)) {
30114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30116 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 resultobj
= SWIG_Py_Void();
30131 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
= 0;
30137 PyObject
* obj0
= 0 ;
30138 char * kwnames
[] = {
30139 (char *) "days", NULL
30142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30144 if (!SWIG_IsOK(ecode1
)) {
30145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30147 arg1
= static_cast< int >(val1
);
30149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30150 result
= wxDateSpan::Days(arg1
);
30151 wxPyEndAllowThreads(__tstate
);
30152 if (PyErr_Occurred()) SWIG_fail
;
30154 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30161 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30162 PyObject
*resultobj
= 0;
30165 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 result
= wxDateSpan::Day();
30169 wxPyEndAllowThreads(__tstate
);
30170 if (PyErr_Occurred()) SWIG_fail
;
30172 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30179 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30180 PyObject
*resultobj
= 0;
30185 PyObject
* obj0
= 0 ;
30186 char * kwnames
[] = {
30187 (char *) "weeks", NULL
30190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30191 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30192 if (!SWIG_IsOK(ecode1
)) {
30193 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30195 arg1
= static_cast< int >(val1
);
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30198 result
= wxDateSpan::Weeks(arg1
);
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30202 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30209 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30210 PyObject
*resultobj
= 0;
30213 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 result
= wxDateSpan::Week();
30217 wxPyEndAllowThreads(__tstate
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30227 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30228 PyObject
*resultobj
= 0;
30233 PyObject
* obj0
= 0 ;
30234 char * kwnames
[] = {
30235 (char *) "mon", NULL
30238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30240 if (!SWIG_IsOK(ecode1
)) {
30241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30243 arg1
= static_cast< int >(val1
);
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 result
= wxDateSpan::Months(arg1
);
30247 wxPyEndAllowThreads(__tstate
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30250 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30257 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30258 PyObject
*resultobj
= 0;
30261 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 result
= wxDateSpan::Month();
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30275 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30276 PyObject
*resultobj
= 0;
30281 PyObject
* obj0
= 0 ;
30282 char * kwnames
[] = {
30283 (char *) "years", NULL
30286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30287 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30288 if (!SWIG_IsOK(ecode1
)) {
30289 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30291 arg1
= static_cast< int >(val1
);
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 result
= wxDateSpan::Years(arg1
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30305 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30306 PyObject
*resultobj
= 0;
30309 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 result
= wxDateSpan::Year();
30313 wxPyEndAllowThreads(__tstate
);
30314 if (PyErr_Occurred()) SWIG_fail
;
30316 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30323 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30324 PyObject
*resultobj
= 0;
30325 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30327 wxDateSpan
*result
= 0 ;
30332 PyObject
* obj0
= 0 ;
30333 PyObject
* obj1
= 0 ;
30334 char * kwnames
[] = {
30335 (char *) "self",(char *) "n", NULL
30338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30340 if (!SWIG_IsOK(res1
)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30343 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30345 if (!SWIG_IsOK(ecode2
)) {
30346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30348 arg2
= static_cast< int >(val2
);
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30353 result
= (wxDateSpan
*) &_result_ref
;
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30365 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
= 0;
30367 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30369 wxDateSpan
*result
= 0 ;
30374 PyObject
* obj0
= 0 ;
30375 PyObject
* obj1
= 0 ;
30376 char * kwnames
[] = {
30377 (char *) "self",(char *) "n", NULL
30380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30382 if (!SWIG_IsOK(res1
)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30385 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30387 if (!SWIG_IsOK(ecode2
)) {
30388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30390 arg2
= static_cast< int >(val2
);
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30395 result
= (wxDateSpan
*) &_result_ref
;
30397 wxPyEndAllowThreads(__tstate
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30407 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30408 PyObject
*resultobj
= 0;
30409 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30411 wxDateSpan
*result
= 0 ;
30416 PyObject
* obj0
= 0 ;
30417 PyObject
* obj1
= 0 ;
30418 char * kwnames
[] = {
30419 (char *) "self",(char *) "n", NULL
30422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30424 if (!SWIG_IsOK(res1
)) {
30425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30427 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30429 if (!SWIG_IsOK(ecode2
)) {
30430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30432 arg2
= static_cast< int >(val2
);
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30437 result
= (wxDateSpan
*) &_result_ref
;
30439 wxPyEndAllowThreads(__tstate
);
30440 if (PyErr_Occurred()) SWIG_fail
;
30442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30449 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30450 PyObject
*resultobj
= 0;
30451 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30453 wxDateSpan
*result
= 0 ;
30458 PyObject
* obj0
= 0 ;
30459 PyObject
* obj1
= 0 ;
30460 char * kwnames
[] = {
30461 (char *) "self",(char *) "n", NULL
30464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30466 if (!SWIG_IsOK(res1
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30469 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30471 if (!SWIG_IsOK(ecode2
)) {
30472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30474 arg2
= static_cast< int >(val2
);
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30479 result
= (wxDateSpan
*) &_result_ref
;
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30491 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30492 PyObject
*resultobj
= 0;
30493 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30497 PyObject
*swig_obj
[1] ;
30499 if (!args
) SWIG_fail
;
30500 swig_obj
[0] = args
;
30501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30505 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= SWIG_From_int(static_cast< int >(result
));
30519 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30520 PyObject
*resultobj
= 0;
30521 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30525 PyObject
*swig_obj
[1] ;
30527 if (!args
) SWIG_fail
;
30528 swig_obj
[0] = args
;
30529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30530 if (!SWIG_IsOK(res1
)) {
30531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30533 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= SWIG_From_int(static_cast< int >(result
));
30547 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30548 PyObject
*resultobj
= 0;
30549 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30553 PyObject
*swig_obj
[1] ;
30555 if (!args
) SWIG_fail
;
30556 swig_obj
[0] = args
;
30557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30558 if (!SWIG_IsOK(res1
)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30561 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= SWIG_From_int(static_cast< int >(result
));
30575 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30576 PyObject
*resultobj
= 0;
30577 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30581 PyObject
*swig_obj
[1] ;
30583 if (!args
) SWIG_fail
;
30584 swig_obj
[0] = args
;
30585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30586 if (!SWIG_IsOK(res1
)) {
30587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30589 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30592 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= SWIG_From_int(static_cast< int >(result
));
30603 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30604 PyObject
*resultobj
= 0;
30605 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30609 PyObject
*swig_obj
[1] ;
30611 if (!args
) SWIG_fail
;
30612 swig_obj
[0] = args
;
30613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30614 if (!SWIG_IsOK(res1
)) {
30615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30617 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 resultobj
= SWIG_From_int(static_cast< int >(result
));
30631 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30632 PyObject
*resultobj
= 0;
30633 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30634 wxDateSpan
*arg2
= 0 ;
30635 wxDateSpan
*result
= 0 ;
30640 PyObject
* obj0
= 0 ;
30641 PyObject
* obj1
= 0 ;
30642 char * kwnames
[] = {
30643 (char *) "self",(char *) "other", NULL
30646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30648 if (!SWIG_IsOK(res1
)) {
30649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30651 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30653 if (!SWIG_IsOK(res2
)) {
30654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30659 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30663 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30664 result
= (wxDateSpan
*) &_result_ref
;
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30676 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
= 0;
30678 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30679 wxDateSpan
*arg2
= 0 ;
30680 wxDateSpan
*result
= 0 ;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 char * kwnames
[] = {
30688 (char *) "self",(char *) "other", NULL
30691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30696 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30698 if (!SWIG_IsOK(res2
)) {
30699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30704 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30709 result
= (wxDateSpan
*) &_result_ref
;
30711 wxPyEndAllowThreads(__tstate
);
30712 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30721 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30722 PyObject
*resultobj
= 0;
30723 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30724 wxDateSpan
*result
= 0 ;
30727 PyObject
*swig_obj
[1] ;
30729 if (!args
) SWIG_fail
;
30730 swig_obj
[0] = args
;
30731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30732 if (!SWIG_IsOK(res1
)) {
30733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30735 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30739 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30740 result
= (wxDateSpan
*) &_result_ref
;
30742 wxPyEndAllowThreads(__tstate
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30752 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
= 0;
30754 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30756 wxDateSpan
*result
= 0 ;
30761 PyObject
* obj0
= 0 ;
30762 PyObject
* obj1
= 0 ;
30763 char * kwnames
[] = {
30764 (char *) "self",(char *) "factor", NULL
30767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30769 if (!SWIG_IsOK(res1
)) {
30770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30772 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30774 if (!SWIG_IsOK(ecode2
)) {
30775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
30777 arg2
= static_cast< int >(val2
);
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
30782 result
= (wxDateSpan
*) &_result_ref
;
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30794 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30795 PyObject
*resultobj
= 0;
30796 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30797 wxDateSpan
*arg2
= 0 ;
30798 wxDateSpan
*result
= 0 ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 char * kwnames
[] = {
30806 (char *) "self",(char *) "other", NULL
30809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30811 if (!SWIG_IsOK(res1
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30814 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30816 if (!SWIG_IsOK(res2
)) {
30817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30822 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
30827 result
= (wxDateSpan
*) &_result_ref
;
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30839 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30840 PyObject
*resultobj
= 0;
30841 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30842 wxDateSpan
*arg2
= 0 ;
30843 wxDateSpan
*result
= 0 ;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 char * kwnames
[] = {
30851 (char *) "self",(char *) "other", NULL
30854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30856 if (!SWIG_IsOK(res1
)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30859 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30861 if (!SWIG_IsOK(res2
)) {
30862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30867 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30871 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
30872 result
= (wxDateSpan
*) &_result_ref
;
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30884 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30885 PyObject
*resultobj
= 0;
30886 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30887 wxDateSpan
*result
= 0 ;
30890 PyObject
*swig_obj
[1] ;
30892 if (!args
) SWIG_fail
;
30893 swig_obj
[0] = args
;
30894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30895 if (!SWIG_IsOK(res1
)) {
30896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30898 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 wxDateSpan
&_result_ref
= (arg1
)->operator -();
30903 result
= (wxDateSpan
*) &_result_ref
;
30905 wxPyEndAllowThreads(__tstate
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30915 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
= 0;
30917 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30919 wxDateSpan
*result
= 0 ;
30924 PyObject
* obj0
= 0 ;
30925 PyObject
* obj1
= 0 ;
30926 char * kwnames
[] = {
30927 (char *) "self",(char *) "factor", NULL
30930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30932 if (!SWIG_IsOK(res1
)) {
30933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30935 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30937 if (!SWIG_IsOK(ecode2
)) {
30938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
30940 arg2
= static_cast< int >(val2
);
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
30945 result
= (wxDateSpan
*) &_result_ref
;
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30957 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30958 PyObject
*resultobj
= 0;
30959 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30960 wxDateSpan
*arg2
= 0 ;
30966 PyObject
* obj0
= 0 ;
30967 PyObject
* obj1
= 0 ;
30968 char * kwnames
[] = {
30969 (char *) "self",(char *) "other", NULL
30972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30974 if (!SWIG_IsOK(res1
)) {
30975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30977 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30979 if (!SWIG_IsOK(res2
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30985 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30988 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30999 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
= 0;
31001 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31002 wxDateSpan
*arg2
= 0 ;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 char * kwnames
[] = {
31011 (char *) "self",(char *) "other", NULL
31014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31016 if (!SWIG_IsOK(res1
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31019 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31021 if (!SWIG_IsOK(res2
)) {
31022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31027 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31041 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31042 PyObject
*resultobj
= 0;
31043 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 char * kwnames
[] = {
31053 (char *) "self",(char *) "n", NULL
31056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31058 if (!SWIG_IsOK(res1
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31061 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31063 if (!SWIG_IsOK(ecode2
)) {
31064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31066 arg2
= static_cast< int >(val2
);
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 result
= wxDateSpan___mul__(arg1
,arg2
);
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31080 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
= 0;
31082 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31089 PyObject
* obj0
= 0 ;
31090 PyObject
* obj1
= 0 ;
31091 char * kwnames
[] = {
31092 (char *) "self",(char *) "n", NULL
31095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31097 if (!SWIG_IsOK(res1
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31100 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31102 if (!SWIG_IsOK(ecode2
)) {
31103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31105 arg2
= static_cast< int >(val2
);
31107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31108 result
= wxDateSpan___rmul__(arg1
,arg2
);
31109 wxPyEndAllowThreads(__tstate
);
31110 if (PyErr_Occurred()) SWIG_fail
;
31112 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31119 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31120 PyObject
*resultobj
= 0;
31121 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31122 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31128 PyObject
* obj0
= 0 ;
31129 PyObject
* obj1
= 0 ;
31130 char * kwnames
[] = {
31131 (char *) "self",(char *) "other", NULL
31134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31136 if (!SWIG_IsOK(res1
)) {
31137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31139 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31141 if (!SWIG_IsOK(res2
)) {
31142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31144 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31147 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31148 wxPyEndAllowThreads(__tstate
);
31149 if (PyErr_Occurred()) SWIG_fail
;
31152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31160 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
= 0;
31162 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31163 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31169 PyObject
* obj0
= 0 ;
31170 PyObject
* obj1
= 0 ;
31171 char * kwnames
[] = {
31172 (char *) "self",(char *) "other", NULL
31175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31177 if (!SWIG_IsOK(res1
)) {
31178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31180 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31182 if (!SWIG_IsOK(res2
)) {
31183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31185 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31189 wxPyEndAllowThreads(__tstate
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31201 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31204 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31205 return SWIG_Py_Void();
31208 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31209 return SWIG_Python_InitShadowInstance(args
);
31212 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31213 PyObject
*resultobj
= 0;
31216 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31219 result
= (long)wxGetLocalTime();
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= SWIG_From_long(static_cast< long >(result
));
31230 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31231 PyObject
*resultobj
= 0;
31234 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31237 result
= (long)wxGetUTCTime();
31238 wxPyEndAllowThreads(__tstate
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31241 resultobj
= SWIG_From_long(static_cast< long >(result
));
31248 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31249 PyObject
*resultobj
= 0;
31252 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31255 result
= (long)wxGetCurrentTime();
31256 wxPyEndAllowThreads(__tstate
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31259 resultobj
= SWIG_From_long(static_cast< long >(result
));
31266 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31267 PyObject
*resultobj
= 0;
31270 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= wxGetLocalTimeMillis();
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31278 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31279 hi
= PyLong_FromLong( (&result
)->GetHi() );
31280 lo
= PyLong_FromLong( (&result
)->GetLo() );
31281 shifter
= PyLong_FromLong(32);
31282 shifted
= PyNumber_Lshift(hi
, shifter
);
31283 resultobj
= PyNumber_Or(shifted
, lo
);
31286 Py_DECREF(shifter
);
31287 Py_DECREF(shifted
);
31295 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31296 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31301 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31302 PyObject
*pyobj
= 0;
31304 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31309 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31310 PyObject
*resultobj
= 0;
31311 wxDataFormatId arg1
;
31312 wxDataFormat
*result
= 0 ;
31315 PyObject
* obj0
= 0 ;
31316 char * kwnames
[] = {
31317 (char *) "type", NULL
31320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31321 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31322 if (!SWIG_IsOK(ecode1
)) {
31323 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31325 arg1
= static_cast< wxDataFormatId
>(val1
);
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31329 wxPyEndAllowThreads(__tstate
);
31330 if (PyErr_Occurred()) SWIG_fail
;
31332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31339 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31340 PyObject
*resultobj
= 0;
31341 wxString
*arg1
= 0 ;
31342 wxDataFormat
*result
= 0 ;
31343 bool temp1
= false ;
31344 PyObject
* obj0
= 0 ;
31345 char * kwnames
[] = {
31346 (char *) "format", NULL
31349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31351 arg1
= wxString_in_helper(obj0
);
31352 if (arg1
== NULL
) SWIG_fail
;
31356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31357 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31358 wxPyEndAllowThreads(__tstate
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31376 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31377 PyObject
*resultobj
= 0;
31378 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31381 PyObject
*swig_obj
[1] ;
31383 if (!args
) SWIG_fail
;
31384 swig_obj
[0] = args
;
31385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31386 if (!SWIG_IsOK(res1
)) {
31387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31389 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31397 resultobj
= SWIG_Py_Void();
31404 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31405 PyObject
*resultobj
= 0;
31406 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31407 wxDataFormatId arg2
;
31414 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31416 if (!SWIG_IsOK(res1
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31419 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31420 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31421 if (!SWIG_IsOK(ecode2
)) {
31422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31424 arg2
= static_cast< wxDataFormatId
>(val2
);
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31428 wxPyEndAllowThreads(__tstate
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31440 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31441 PyObject
*resultobj
= 0;
31442 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31443 wxDataFormatId arg2
;
31450 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31452 if (!SWIG_IsOK(res1
)) {
31453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31455 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31456 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31457 if (!SWIG_IsOK(ecode2
)) {
31458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31460 arg2
= static_cast< wxDataFormatId
>(val2
);
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31476 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31477 PyObject
*resultobj
= 0;
31478 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31479 wxDataFormat
*arg2
= 0 ;
31486 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31488 if (!SWIG_IsOK(res1
)) {
31489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31491 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31492 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31493 if (!SWIG_IsOK(res2
)) {
31494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31499 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31515 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31519 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31524 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31525 _v
= SWIG_CheckState(res
);
31527 if (!_v
) goto check_1
;
31528 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31533 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31537 Py_INCREF(Py_NotImplemented
);
31538 return Py_NotImplemented
;
31542 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31543 PyObject
*resultobj
= 0;
31544 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31545 wxDataFormat
*arg2
= 0 ;
31552 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31554 if (!SWIG_IsOK(res1
)) {
31555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31557 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31558 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31559 if (!SWIG_IsOK(res2
)) {
31560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31565 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31581 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31585 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31590 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31591 _v
= SWIG_CheckState(res
);
31593 if (!_v
) goto check_1
;
31594 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31599 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31603 Py_INCREF(Py_NotImplemented
);
31604 return Py_NotImplemented
;
31608 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31609 PyObject
*resultobj
= 0;
31610 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31611 wxDataFormatId arg2
;
31616 PyObject
* obj0
= 0 ;
31617 PyObject
* obj1
= 0 ;
31618 char * kwnames
[] = {
31619 (char *) "self",(char *) "format", NULL
31622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31624 if (!SWIG_IsOK(res1
)) {
31625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31627 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31629 if (!SWIG_IsOK(ecode2
)) {
31630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31632 arg2
= static_cast< wxDataFormatId
>(val2
);
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31635 (arg1
)->SetType(arg2
);
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 resultobj
= SWIG_Py_Void();
31646 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31647 PyObject
*resultobj
= 0;
31648 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31649 wxDataFormatId result
;
31652 PyObject
*swig_obj
[1] ;
31654 if (!args
) SWIG_fail
;
31655 swig_obj
[0] = args
;
31656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31657 if (!SWIG_IsOK(res1
)) {
31658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31660 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31663 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31664 wxPyEndAllowThreads(__tstate
);
31665 if (PyErr_Occurred()) SWIG_fail
;
31667 resultobj
= SWIG_From_int(static_cast< int >(result
));
31674 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31675 PyObject
*resultobj
= 0;
31676 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31680 PyObject
*swig_obj
[1] ;
31682 if (!args
) SWIG_fail
;
31683 swig_obj
[0] = args
;
31684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31685 if (!SWIG_IsOK(res1
)) {
31686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31688 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= ((wxDataFormat
const *)arg1
)->GetId();
31692 wxPyEndAllowThreads(__tstate
);
31693 if (PyErr_Occurred()) SWIG_fail
;
31697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31708 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
= 0;
31710 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31711 wxString
*arg2
= 0 ;
31714 bool temp2
= false ;
31715 PyObject
* obj0
= 0 ;
31716 PyObject
* obj1
= 0 ;
31717 char * kwnames
[] = {
31718 (char *) "self",(char *) "format", NULL
31721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31723 if (!SWIG_IsOK(res1
)) {
31724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31726 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31728 arg2
= wxString_in_helper(obj1
);
31729 if (arg2
== NULL
) SWIG_fail
;
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 (arg1
)->SetId((wxString
const &)*arg2
);
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31738 resultobj
= SWIG_Py_Void();
31753 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31756 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31757 return SWIG_Py_Void();
31760 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31761 return SWIG_Python_InitShadowInstance(args
);
31764 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
31765 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
31770 SWIGINTERN PyObject
*FormatInvalid_get(void) {
31771 PyObject
*pyobj
= 0;
31773 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
31778 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31779 PyObject
*resultobj
= 0;
31780 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31783 PyObject
*swig_obj
[1] ;
31785 if (!args
) SWIG_fail
;
31786 swig_obj
[0] = args
;
31787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
31788 if (!SWIG_IsOK(res1
)) {
31789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
31791 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31799 resultobj
= SWIG_Py_Void();
31806 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31807 PyObject
*resultobj
= 0;
31808 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31809 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31810 SwigValueWrapper
<wxDataFormat
> result
;
31815 PyObject
* obj0
= 0 ;
31816 PyObject
* obj1
= 0 ;
31817 char * kwnames
[] = {
31818 (char *) "self",(char *) "dir", NULL
31821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31823 if (!SWIG_IsOK(res1
)) {
31824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31826 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31829 if (!SWIG_IsOK(ecode2
)) {
31830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31832 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31836 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31840 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31847 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
= 0;
31849 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31850 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31856 PyObject
* obj0
= 0 ;
31857 PyObject
* obj1
= 0 ;
31858 char * kwnames
[] = {
31859 (char *) "self",(char *) "dir", NULL
31862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31864 if (!SWIG_IsOK(res1
)) {
31865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31867 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31870 if (!SWIG_IsOK(ecode2
)) {
31871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31873 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31881 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31888 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31889 PyObject
*resultobj
= 0;
31890 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31891 wxDataFormat
*arg2
= 0 ;
31892 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
31900 PyObject
* obj0
= 0 ;
31901 PyObject
* obj1
= 0 ;
31902 PyObject
* obj2
= 0 ;
31903 char * kwnames
[] = {
31904 (char *) "self",(char *) "format",(char *) "dir", NULL
31907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31909 if (!SWIG_IsOK(res1
)) {
31910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31912 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31914 if (!SWIG_IsOK(res2
)) {
31915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31920 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31923 if (!SWIG_IsOK(ecode3
)) {
31924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
31926 arg3
= static_cast< wxDataObject::Direction
>(val3
);
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
31931 wxPyEndAllowThreads(__tstate
);
31932 if (PyErr_Occurred()) SWIG_fail
;
31935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31943 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31944 PyObject
*resultobj
= 0;
31945 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31946 wxDataFormat
*arg2
= 0 ;
31952 PyObject
* obj0
= 0 ;
31953 PyObject
* obj1
= 0 ;
31954 char * kwnames
[] = {
31955 (char *) "self",(char *) "format", NULL
31958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31960 if (!SWIG_IsOK(res1
)) {
31961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31963 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31965 if (!SWIG_IsOK(res2
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31971 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31974 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
31975 wxPyEndAllowThreads(__tstate
);
31976 if (PyErr_Occurred()) SWIG_fail
;
31978 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31985 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31986 PyObject
*resultobj
= 0;
31987 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31988 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31989 PyObject
*result
= 0 ;
31994 PyObject
* obj0
= 0 ;
31995 PyObject
* obj1
= 0 ;
31996 char * kwnames
[] = {
31997 (char *) "self",(char *) "dir", NULL
32000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32002 if (!SWIG_IsOK(res1
)) {
32003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32005 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32008 if (!SWIG_IsOK(ecode2
)) {
32009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32011 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32015 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= result
;
32026 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
= 0;
32028 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32029 wxDataFormat
*arg2
= 0 ;
32030 PyObject
*result
= 0 ;
32035 PyObject
* obj0
= 0 ;
32036 PyObject
* obj1
= 0 ;
32037 char * kwnames
[] = {
32038 (char *) "self",(char *) "format", NULL
32041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32043 if (!SWIG_IsOK(res1
)) {
32044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32046 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32048 if (!SWIG_IsOK(res2
)) {
32049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32054 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32061 resultobj
= result
;
32068 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32069 PyObject
*resultobj
= 0;
32070 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32071 wxDataFormat
*arg2
= 0 ;
32072 PyObject
*arg3
= (PyObject
*) 0 ;
32078 PyObject
* obj0
= 0 ;
32079 PyObject
* obj1
= 0 ;
32080 PyObject
* obj2
= 0 ;
32081 char * kwnames
[] = {
32082 (char *) "self",(char *) "format",(char *) "data", NULL
32085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32087 if (!SWIG_IsOK(res1
)) {
32088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32090 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32092 if (!SWIG_IsOK(res2
)) {
32093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32098 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32102 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32103 wxPyEndAllowThreads(__tstate
);
32104 if (PyErr_Occurred()) SWIG_fail
;
32107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32115 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32118 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32119 return SWIG_Py_Void();
32122 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32123 PyObject
*resultobj
= 0;
32124 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32125 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32126 wxDataObjectSimple
*result
= 0 ;
32129 PyObject
* obj0
= 0 ;
32130 char * kwnames
[] = {
32131 (char *) "format", NULL
32134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32136 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32137 if (!SWIG_IsOK(res1
)) {
32138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32143 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32147 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32158 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32159 PyObject
*resultobj
= 0;
32160 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32161 wxDataFormat
*result
= 0 ;
32164 PyObject
*swig_obj
[1] ;
32166 if (!args
) SWIG_fail
;
32167 swig_obj
[0] = args
;
32168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32169 if (!SWIG_IsOK(res1
)) {
32170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32172 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32176 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32177 result
= (wxDataFormat
*) &_result_ref
;
32179 wxPyEndAllowThreads(__tstate
);
32180 if (PyErr_Occurred()) SWIG_fail
;
32182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32189 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32190 PyObject
*resultobj
= 0;
32191 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32192 wxDataFormat
*arg2
= 0 ;
32197 PyObject
* obj0
= 0 ;
32198 PyObject
* obj1
= 0 ;
32199 char * kwnames
[] = {
32200 (char *) "self",(char *) "format", NULL
32203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32205 if (!SWIG_IsOK(res1
)) {
32206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32208 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32210 if (!SWIG_IsOK(res2
)) {
32211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32216 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32219 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32223 resultobj
= SWIG_Py_Void();
32230 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32231 PyObject
*resultobj
= 0;
32232 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32236 PyObject
*swig_obj
[1] ;
32238 if (!args
) SWIG_fail
;
32239 swig_obj
[0] = args
;
32240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32241 if (!SWIG_IsOK(res1
)) {
32242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32244 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32251 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32258 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32259 PyObject
*resultobj
= 0;
32260 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32261 PyObject
*result
= 0 ;
32264 PyObject
*swig_obj
[1] ;
32266 if (!args
) SWIG_fail
;
32267 swig_obj
[0] = args
;
32268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32269 if (!SWIG_IsOK(res1
)) {
32270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32272 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32275 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32276 wxPyEndAllowThreads(__tstate
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32279 resultobj
= result
;
32286 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32287 PyObject
*resultobj
= 0;
32288 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32289 PyObject
*arg2
= (PyObject
*) 0 ;
32293 PyObject
* obj0
= 0 ;
32294 PyObject
* obj1
= 0 ;
32295 char * kwnames
[] = {
32296 (char *) "self",(char *) "data", NULL
32299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32301 if (!SWIG_IsOK(res1
)) {
32302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32304 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32308 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32309 wxPyEndAllowThreads(__tstate
);
32310 if (PyErr_Occurred()) SWIG_fail
;
32313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32321 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32324 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32325 return SWIG_Py_Void();
32328 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32329 return SWIG_Python_InitShadowInstance(args
);
32332 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32333 PyObject
*resultobj
= 0;
32334 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32335 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32336 wxPyDataObjectSimple
*result
= 0 ;
32339 PyObject
* obj0
= 0 ;
32340 char * kwnames
[] = {
32341 (char *) "format", NULL
32344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32346 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32347 if (!SWIG_IsOK(res1
)) {
32348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32353 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32357 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32358 wxPyEndAllowThreads(__tstate
);
32359 if (PyErr_Occurred()) SWIG_fail
;
32361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32368 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32369 PyObject
*resultobj
= 0;
32370 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32371 PyObject
*arg2
= (PyObject
*) 0 ;
32372 PyObject
*arg3
= (PyObject
*) 0 ;
32375 PyObject
* obj0
= 0 ;
32376 PyObject
* obj1
= 0 ;
32377 PyObject
* obj2
= 0 ;
32378 char * kwnames
[] = {
32379 (char *) "self",(char *) "self",(char *) "_class", NULL
32382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32384 if (!SWIG_IsOK(res1
)) {
32385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32387 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32393 wxPyEndAllowThreads(__tstate
);
32394 if (PyErr_Occurred()) SWIG_fail
;
32396 resultobj
= SWIG_Py_Void();
32403 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32406 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32407 return SWIG_Py_Void();
32410 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32411 return SWIG_Python_InitShadowInstance(args
);
32414 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32415 PyObject
*resultobj
= 0;
32416 wxDataObjectComposite
*result
= 0 ;
32418 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32421 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32422 wxPyEndAllowThreads(__tstate
);
32423 if (PyErr_Occurred()) SWIG_fail
;
32425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32432 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32433 PyObject
*resultobj
= 0;
32434 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32435 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32436 bool arg3
= (bool) false ;
32442 PyObject
* obj0
= 0 ;
32443 PyObject
* obj1
= 0 ;
32444 PyObject
* obj2
= 0 ;
32445 char * kwnames
[] = {
32446 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32451 if (!SWIG_IsOK(res1
)) {
32452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32454 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32455 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32456 if (!SWIG_IsOK(res2
)) {
32457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32460 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32461 if (!SWIG_IsOK(ecode3
)) {
32462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32464 arg3
= static_cast< bool >(val3
);
32467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32468 (arg1
)->Add(arg2
,arg3
);
32469 wxPyEndAllowThreads(__tstate
);
32470 if (PyErr_Occurred()) SWIG_fail
;
32472 resultobj
= SWIG_Py_Void();
32479 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32480 PyObject
*resultobj
= 0;
32481 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32482 SwigValueWrapper
<wxDataFormat
> result
;
32485 PyObject
*swig_obj
[1] ;
32487 if (!args
) SWIG_fail
;
32488 swig_obj
[0] = args
;
32489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32490 if (!SWIG_IsOK(res1
)) {
32491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32493 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32496 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32497 wxPyEndAllowThreads(__tstate
);
32498 if (PyErr_Occurred()) SWIG_fail
;
32500 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32507 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32510 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32511 return SWIG_Py_Void();
32514 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32515 return SWIG_Python_InitShadowInstance(args
);
32518 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32519 PyObject
*resultobj
= 0;
32520 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32521 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32522 wxTextDataObject
*result
= 0 ;
32523 bool temp1
= false ;
32524 PyObject
* obj0
= 0 ;
32525 char * kwnames
[] = {
32526 (char *) "text", NULL
32529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32532 arg1
= wxString_in_helper(obj0
);
32533 if (arg1
== NULL
) SWIG_fail
;
32538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32539 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32540 wxPyEndAllowThreads(__tstate
);
32541 if (PyErr_Occurred()) SWIG_fail
;
32543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32558 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32559 PyObject
*resultobj
= 0;
32560 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32564 PyObject
*swig_obj
[1] ;
32566 if (!args
) SWIG_fail
;
32567 swig_obj
[0] = args
;
32568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32569 if (!SWIG_IsOK(res1
)) {
32570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32572 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32575 result
= (size_t)(arg1
)->GetTextLength();
32576 wxPyEndAllowThreads(__tstate
);
32577 if (PyErr_Occurred()) SWIG_fail
;
32579 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32586 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32587 PyObject
*resultobj
= 0;
32588 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32592 PyObject
*swig_obj
[1] ;
32594 if (!args
) SWIG_fail
;
32595 swig_obj
[0] = args
;
32596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32597 if (!SWIG_IsOK(res1
)) {
32598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32600 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32603 result
= (arg1
)->GetText();
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32620 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32621 PyObject
*resultobj
= 0;
32622 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32623 wxString
*arg2
= 0 ;
32626 bool temp2
= false ;
32627 PyObject
* obj0
= 0 ;
32628 PyObject
* obj1
= 0 ;
32629 char * kwnames
[] = {
32630 (char *) "self",(char *) "text", NULL
32633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32635 if (!SWIG_IsOK(res1
)) {
32636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32638 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32640 arg2
= wxString_in_helper(obj1
);
32641 if (arg2
== NULL
) SWIG_fail
;
32645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32646 (arg1
)->SetText((wxString
const &)*arg2
);
32647 wxPyEndAllowThreads(__tstate
);
32648 if (PyErr_Occurred()) SWIG_fail
;
32650 resultobj
= SWIG_Py_Void();
32665 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32667 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32668 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32669 return SWIG_Py_Void();
32672 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32673 return SWIG_Python_InitShadowInstance(args
);
32676 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32677 PyObject
*resultobj
= 0;
32678 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32679 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32680 wxPyTextDataObject
*result
= 0 ;
32681 bool temp1
= false ;
32682 PyObject
* obj0
= 0 ;
32683 char * kwnames
[] = {
32684 (char *) "text", NULL
32687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32690 arg1
= wxString_in_helper(obj0
);
32691 if (arg1
== NULL
) SWIG_fail
;
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32698 wxPyEndAllowThreads(__tstate
);
32699 if (PyErr_Occurred()) SWIG_fail
;
32701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32716 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32717 PyObject
*resultobj
= 0;
32718 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32719 PyObject
*arg2
= (PyObject
*) 0 ;
32720 PyObject
*arg3
= (PyObject
*) 0 ;
32723 PyObject
* obj0
= 0 ;
32724 PyObject
* obj1
= 0 ;
32725 PyObject
* obj2
= 0 ;
32726 char * kwnames
[] = {
32727 (char *) "self",(char *) "self",(char *) "_class", NULL
32730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32732 if (!SWIG_IsOK(res1
)) {
32733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32735 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32740 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 resultobj
= SWIG_Py_Void();
32751 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32754 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32755 return SWIG_Py_Void();
32758 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32759 return SWIG_Python_InitShadowInstance(args
);
32762 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32763 PyObject
*resultobj
= 0;
32764 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32765 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32766 wxBitmapDataObject
*result
= 0 ;
32769 PyObject
* obj0
= 0 ;
32770 char * kwnames
[] = {
32771 (char *) "bitmap", NULL
32774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32776 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32777 if (!SWIG_IsOK(res1
)) {
32778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32783 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32787 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
32788 wxPyEndAllowThreads(__tstate
);
32789 if (PyErr_Occurred()) SWIG_fail
;
32791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32798 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32799 PyObject
*resultobj
= 0;
32800 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32804 PyObject
*swig_obj
[1] ;
32806 if (!args
) SWIG_fail
;
32807 swig_obj
[0] = args
;
32808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32809 if (!SWIG_IsOK(res1
)) {
32810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
32812 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32826 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32827 PyObject
*resultobj
= 0;
32828 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32829 wxBitmap
*arg2
= 0 ;
32834 PyObject
* obj0
= 0 ;
32835 PyObject
* obj1
= 0 ;
32836 char * kwnames
[] = {
32837 (char *) "self",(char *) "bitmap", NULL
32840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32842 if (!SWIG_IsOK(res1
)) {
32843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
32845 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32847 if (!SWIG_IsOK(res2
)) {
32848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32853 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32860 resultobj
= SWIG_Py_Void();
32867 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32870 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
32871 return SWIG_Py_Void();
32874 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32875 return SWIG_Python_InitShadowInstance(args
);
32878 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32879 PyObject
*resultobj
= 0;
32880 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32881 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32882 wxPyBitmapDataObject
*result
= 0 ;
32885 PyObject
* obj0
= 0 ;
32886 char * kwnames
[] = {
32887 (char *) "bitmap", NULL
32890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32892 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32893 if (!SWIG_IsOK(res1
)) {
32894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32899 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32903 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
32904 wxPyEndAllowThreads(__tstate
);
32905 if (PyErr_Occurred()) SWIG_fail
;
32907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32914 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32915 PyObject
*resultobj
= 0;
32916 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
32917 PyObject
*arg2
= (PyObject
*) 0 ;
32918 PyObject
*arg3
= (PyObject
*) 0 ;
32921 PyObject
* obj0
= 0 ;
32922 PyObject
* obj1
= 0 ;
32923 PyObject
* obj2
= 0 ;
32924 char * kwnames
[] = {
32925 (char *) "self",(char *) "self",(char *) "_class", NULL
32928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
32930 if (!SWIG_IsOK(res1
)) {
32931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
32933 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32939 wxPyEndAllowThreads(__tstate
);
32940 if (PyErr_Occurred()) SWIG_fail
;
32942 resultobj
= SWIG_Py_Void();
32949 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32952 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
32953 return SWIG_Py_Void();
32956 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32957 return SWIG_Python_InitShadowInstance(args
);
32960 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32961 PyObject
*resultobj
= 0;
32962 wxFileDataObject
*result
= 0 ;
32964 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
32966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32967 result
= (wxFileDataObject
*)new wxFileDataObject();
32968 wxPyEndAllowThreads(__tstate
);
32969 if (PyErr_Occurred()) SWIG_fail
;
32971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
32978 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32979 PyObject
*resultobj
= 0;
32980 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32981 wxArrayString
*result
= 0 ;
32984 PyObject
*swig_obj
[1] ;
32986 if (!args
) SWIG_fail
;
32987 swig_obj
[0] = args
;
32988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32989 if (!SWIG_IsOK(res1
)) {
32990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32992 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
32997 result
= (wxArrayString
*) &_result_ref
;
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33003 resultobj
= wxArrayString2PyList_helper(*result
);
33011 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
= 0;
33013 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33014 wxString
*arg2
= 0 ;
33017 bool temp2
= false ;
33018 PyObject
* obj0
= 0 ;
33019 PyObject
* obj1
= 0 ;
33020 char * kwnames
[] = {
33021 (char *) "self",(char *) "filename", NULL
33024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33026 if (!SWIG_IsOK(res1
)) {
33027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33029 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33031 arg2
= wxString_in_helper(obj1
);
33032 if (arg2
== NULL
) SWIG_fail
;
33036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33037 (arg1
)->AddFile((wxString
const &)*arg2
);
33038 wxPyEndAllowThreads(__tstate
);
33039 if (PyErr_Occurred()) SWIG_fail
;
33041 resultobj
= SWIG_Py_Void();
33056 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33059 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33060 return SWIG_Py_Void();
33063 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33064 return SWIG_Python_InitShadowInstance(args
);
33067 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33068 PyObject
*resultobj
= 0;
33069 wxDataFormat
*arg1
= 0 ;
33070 wxCustomDataObject
*result
= 0 ;
33074 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33076 if (!SWIG_IsOK(res1
)) {
33077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33082 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33096 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33097 PyObject
*resultobj
= 0;
33098 wxString
*arg1
= 0 ;
33099 wxCustomDataObject
*result
= 0 ;
33100 bool temp1
= false ;
33102 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33104 arg1
= wxString_in_helper(swig_obj
[0]);
33105 if (arg1
== NULL
) SWIG_fail
;
33109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33110 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33111 wxPyEndAllowThreads(__tstate
);
33112 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33129 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33130 PyObject
*resultobj
= 0;
33131 wxCustomDataObject
*result
= 0 ;
33133 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33137 wxPyEndAllowThreads(__tstate
);
33138 if (PyErr_Occurred()) SWIG_fail
;
33140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33147 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33151 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33154 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33160 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33163 if (!_v
) goto check_2
;
33164 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33169 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33173 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33178 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
= 0;
33180 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33181 PyObject
*arg2
= (PyObject
*) 0 ;
33185 PyObject
* obj0
= 0 ;
33186 PyObject
* obj1
= 0 ;
33187 char * kwnames
[] = {
33188 (char *) "self",(char *) "data", NULL
33191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33193 if (!SWIG_IsOK(res1
)) {
33194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33196 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33200 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33201 wxPyEndAllowThreads(__tstate
);
33202 if (PyErr_Occurred()) SWIG_fail
;
33205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33213 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33214 PyObject
*resultobj
= 0;
33215 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33219 PyObject
*swig_obj
[1] ;
33221 if (!args
) SWIG_fail
;
33222 swig_obj
[0] = args
;
33223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33224 if (!SWIG_IsOK(res1
)) {
33225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33227 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 result
= (size_t)(arg1
)->GetSize();
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33241 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33242 PyObject
*resultobj
= 0;
33243 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33244 PyObject
*result
= 0 ;
33247 PyObject
*swig_obj
[1] ;
33249 if (!args
) SWIG_fail
;
33250 swig_obj
[0] = args
;
33251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33252 if (!SWIG_IsOK(res1
)) {
33253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33255 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33258 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33259 wxPyEndAllowThreads(__tstate
);
33260 if (PyErr_Occurred()) SWIG_fail
;
33262 resultobj
= result
;
33269 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33272 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33273 return SWIG_Py_Void();
33276 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33277 return SWIG_Python_InitShadowInstance(args
);
33280 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33281 PyObject
*resultobj
= 0;
33282 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33283 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33284 wxURLDataObject
*result
= 0 ;
33285 bool temp1
= false ;
33286 PyObject
* obj0
= 0 ;
33287 char * kwnames
[] = {
33288 (char *) "url", NULL
33291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33294 arg1
= wxString_in_helper(obj0
);
33295 if (arg1
== NULL
) SWIG_fail
;
33300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33301 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33302 wxPyEndAllowThreads(__tstate
);
33303 if (PyErr_Occurred()) SWIG_fail
;
33305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33320 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33321 PyObject
*resultobj
= 0;
33322 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33326 PyObject
*swig_obj
[1] ;
33328 if (!args
) SWIG_fail
;
33329 swig_obj
[0] = args
;
33330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33331 if (!SWIG_IsOK(res1
)) {
33332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33334 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33337 result
= (arg1
)->GetURL();
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33354 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33355 PyObject
*resultobj
= 0;
33356 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33357 wxString
*arg2
= 0 ;
33360 bool temp2
= false ;
33361 PyObject
* obj0
= 0 ;
33362 PyObject
* obj1
= 0 ;
33363 char * kwnames
[] = {
33364 (char *) "self",(char *) "url", NULL
33367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33369 if (!SWIG_IsOK(res1
)) {
33370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33372 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33374 arg2
= wxString_in_helper(obj1
);
33375 if (arg2
== NULL
) SWIG_fail
;
33379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33380 (arg1
)->SetURL((wxString
const &)*arg2
);
33381 wxPyEndAllowThreads(__tstate
);
33382 if (PyErr_Occurred()) SWIG_fail
;
33384 resultobj
= SWIG_Py_Void();
33399 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33401 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33402 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33403 return SWIG_Py_Void();
33406 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33407 return SWIG_Python_InitShadowInstance(args
);
33410 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33411 PyObject
*resultobj
= 0;
33412 wxMetafileDataObject
*result
= 0 ;
33414 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33428 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
= 0;
33430 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33431 wxMetafile
*arg2
= 0 ;
33436 PyObject
* obj0
= 0 ;
33437 PyObject
* obj1
= 0 ;
33438 char * kwnames
[] = {
33439 (char *) "self",(char *) "metafile", NULL
33442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33444 if (!SWIG_IsOK(res1
)) {
33445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
33447 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
33449 if (!SWIG_IsOK(res2
)) {
33450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33455 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
33457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33458 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
33459 wxPyEndAllowThreads(__tstate
);
33460 if (PyErr_Occurred()) SWIG_fail
;
33462 resultobj
= SWIG_Py_Void();
33469 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33470 PyObject
*resultobj
= 0;
33471 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33475 PyObject
*swig_obj
[1] ;
33477 if (!args
) SWIG_fail
;
33478 swig_obj
[0] = args
;
33479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33480 if (!SWIG_IsOK(res1
)) {
33481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
33483 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33486 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
33487 wxPyEndAllowThreads(__tstate
);
33488 if (PyErr_Occurred()) SWIG_fail
;
33490 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
33497 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33500 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33501 return SWIG_Py_Void();
33504 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33505 return SWIG_Python_InitShadowInstance(args
);
33508 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33509 PyObject
*resultobj
= 0;
33510 wxDragResult arg1
;
33514 PyObject
* obj0
= 0 ;
33515 char * kwnames
[] = {
33516 (char *) "res", NULL
33519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33520 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33521 if (!SWIG_IsOK(ecode1
)) {
33522 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33524 arg1
= static_cast< wxDragResult
>(val1
);
33526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33527 result
= (bool)wxIsDragResultOk(arg1
);
33528 wxPyEndAllowThreads(__tstate
);
33529 if (PyErr_Occurred()) SWIG_fail
;
33532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33540 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33541 PyObject
*resultobj
= 0;
33542 wxWindow
*arg1
= (wxWindow
*) 0 ;
33543 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33544 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33545 wxCursor
const &arg3_defvalue
= wxNullCursor
;
33546 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
33547 wxCursor
const &arg4_defvalue
= wxNullCursor
;
33548 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
33549 wxPyDropSource
*result
= 0 ;
33558 PyObject
* obj0
= 0 ;
33559 PyObject
* obj1
= 0 ;
33560 PyObject
* obj2
= 0 ;
33561 PyObject
* obj3
= 0 ;
33562 char * kwnames
[] = {
33563 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33568 if (!SWIG_IsOK(res1
)) {
33569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33571 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
33574 if (!SWIG_IsOK(res2
)) {
33575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33580 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
33583 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33584 if (!SWIG_IsOK(res3
)) {
33585 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33590 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33593 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
33594 if (!SWIG_IsOK(res4
)) {
33595 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33600 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
33605 wxPyEndAllowThreads(__tstate
);
33606 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33615 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33616 PyObject
*resultobj
= 0;
33617 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33618 PyObject
*arg2
= (PyObject
*) 0 ;
33619 PyObject
*arg3
= (PyObject
*) 0 ;
33625 PyObject
* obj0
= 0 ;
33626 PyObject
* obj1
= 0 ;
33627 PyObject
* obj2
= 0 ;
33628 PyObject
* obj3
= 0 ;
33629 char * kwnames
[] = {
33630 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33635 if (!SWIG_IsOK(res1
)) {
33636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33638 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33641 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33642 if (!SWIG_IsOK(ecode4
)) {
33643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33645 arg4
= static_cast< int >(val4
);
33647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33648 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33649 wxPyEndAllowThreads(__tstate
);
33650 if (PyErr_Occurred()) SWIG_fail
;
33652 resultobj
= SWIG_Py_Void();
33659 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33660 PyObject
*resultobj
= 0;
33661 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33664 PyObject
*swig_obj
[1] ;
33666 if (!args
) SWIG_fail
;
33667 swig_obj
[0] = args
;
33668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33669 if (!SWIG_IsOK(res1
)) {
33670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33672 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33680 resultobj
= SWIG_Py_Void();
33687 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33688 PyObject
*resultobj
= 0;
33689 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33690 wxDataObject
*arg2
= 0 ;
33695 PyObject
* obj0
= 0 ;
33696 PyObject
* obj1
= 0 ;
33697 char * kwnames
[] = {
33698 (char *) "self",(char *) "data", NULL
33701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33703 if (!SWIG_IsOK(res1
)) {
33704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33706 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33708 if (!SWIG_IsOK(res2
)) {
33709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33714 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33717 (arg1
)->SetData(*arg2
);
33718 wxPyEndAllowThreads(__tstate
);
33719 if (PyErr_Occurred()) SWIG_fail
;
33721 resultobj
= SWIG_Py_Void();
33728 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33729 PyObject
*resultobj
= 0;
33730 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33731 wxDataObject
*result
= 0 ;
33734 PyObject
*swig_obj
[1] ;
33736 if (!args
) SWIG_fail
;
33737 swig_obj
[0] = args
;
33738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33739 if (!SWIG_IsOK(res1
)) {
33740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33742 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33746 wxPyEndAllowThreads(__tstate
);
33747 if (PyErr_Occurred()) SWIG_fail
;
33749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33756 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33757 PyObject
*resultobj
= 0;
33758 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33759 wxDragResult arg2
;
33760 wxCursor
*arg3
= 0 ;
33767 PyObject
* obj0
= 0 ;
33768 PyObject
* obj1
= 0 ;
33769 PyObject
* obj2
= 0 ;
33770 char * kwnames
[] = {
33771 (char *) "self",(char *) "res",(char *) "cursor", NULL
33774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33776 if (!SWIG_IsOK(res1
)) {
33777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33779 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33781 if (!SWIG_IsOK(ecode2
)) {
33782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33784 arg2
= static_cast< wxDragResult
>(val2
);
33785 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33786 if (!SWIG_IsOK(res3
)) {
33787 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33792 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33795 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
33796 wxPyEndAllowThreads(__tstate
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33799 resultobj
= SWIG_Py_Void();
33806 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33807 PyObject
*resultobj
= 0;
33808 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33809 int arg2
= (int) wxDrag_CopyOnly
;
33810 wxDragResult result
;
33815 PyObject
* obj0
= 0 ;
33816 PyObject
* obj1
= 0 ;
33817 char * kwnames
[] = {
33818 (char *) "self",(char *) "flags", NULL
33821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33823 if (!SWIG_IsOK(res1
)) {
33824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33826 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33829 if (!SWIG_IsOK(ecode2
)) {
33830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
33832 arg2
= static_cast< int >(val2
);
33835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33836 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
33837 wxPyEndAllowThreads(__tstate
);
33838 if (PyErr_Occurred()) SWIG_fail
;
33840 resultobj
= SWIG_From_int(static_cast< int >(result
));
33847 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33848 PyObject
*resultobj
= 0;
33849 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33850 wxDragResult arg2
;
33856 PyObject
* obj0
= 0 ;
33857 PyObject
* obj1
= 0 ;
33858 char * kwnames
[] = {
33859 (char *) "self",(char *) "effect", NULL
33862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33864 if (!SWIG_IsOK(res1
)) {
33865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33867 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33869 if (!SWIG_IsOK(ecode2
)) {
33870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
33872 arg2
= static_cast< wxDragResult
>(val2
);
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 result
= (bool)(arg1
)->GiveFeedback(arg2
);
33876 wxPyEndAllowThreads(__tstate
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33888 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33891 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
33892 return SWIG_Py_Void();
33895 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33896 return SWIG_Python_InitShadowInstance(args
);
33899 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33900 PyObject
*resultobj
= 0;
33901 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
33902 wxPyDropTarget
*result
= 0 ;
33904 PyObject
* obj0
= 0 ;
33905 char * kwnames
[] = {
33906 (char *) "dataObject", NULL
33909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
33911 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33912 if (!SWIG_IsOK(res1
)) {
33913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
33917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33918 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
33929 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33930 PyObject
*resultobj
= 0;
33931 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33932 PyObject
*arg2
= (PyObject
*) 0 ;
33933 PyObject
*arg3
= (PyObject
*) 0 ;
33936 PyObject
* obj0
= 0 ;
33937 PyObject
* obj1
= 0 ;
33938 PyObject
* obj2
= 0 ;
33939 char * kwnames
[] = {
33940 (char *) "self",(char *) "self",(char *) "_class", NULL
33943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33945 if (!SWIG_IsOK(res1
)) {
33946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33948 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33953 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33954 wxPyEndAllowThreads(__tstate
);
33955 if (PyErr_Occurred()) SWIG_fail
;
33957 resultobj
= SWIG_Py_Void();
33964 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33965 PyObject
*resultobj
= 0;
33966 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33969 PyObject
*swig_obj
[1] ;
33971 if (!args
) SWIG_fail
;
33972 swig_obj
[0] = args
;
33973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
33974 if (!SWIG_IsOK(res1
)) {
33975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33977 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33982 wxPyEndAllowThreads(__tstate
);
33983 if (PyErr_Occurred()) SWIG_fail
;
33985 resultobj
= SWIG_Py_Void();
33992 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33993 PyObject
*resultobj
= 0;
33994 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33995 wxDataObject
*result
= 0 ;
33998 PyObject
*swig_obj
[1] ;
34000 if (!args
) SWIG_fail
;
34001 swig_obj
[0] = args
;
34002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34003 if (!SWIG_IsOK(res1
)) {
34004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34006 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34009 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34010 wxPyEndAllowThreads(__tstate
);
34011 if (PyErr_Occurred()) SWIG_fail
;
34013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34020 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34021 PyObject
*resultobj
= 0;
34022 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34023 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34027 PyObject
* obj0
= 0 ;
34028 PyObject
* obj1
= 0 ;
34029 char * kwnames
[] = {
34030 (char *) "self",(char *) "dataObject", NULL
34033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34035 if (!SWIG_IsOK(res1
)) {
34036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34038 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34039 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34040 if (!SWIG_IsOK(res2
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34045 (arg1
)->SetDataObject(arg2
);
34046 wxPyEndAllowThreads(__tstate
);
34047 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= SWIG_Py_Void();
34056 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34057 PyObject
*resultobj
= 0;
34058 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34061 wxDragResult arg4
;
34062 wxDragResult result
;
34071 PyObject
* obj0
= 0 ;
34072 PyObject
* obj1
= 0 ;
34073 PyObject
* obj2
= 0 ;
34074 PyObject
* obj3
= 0 ;
34075 char * kwnames
[] = {
34076 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34081 if (!SWIG_IsOK(res1
)) {
34082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34084 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34086 if (!SWIG_IsOK(ecode2
)) {
34087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34089 arg2
= static_cast< int >(val2
);
34090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34091 if (!SWIG_IsOK(ecode3
)) {
34092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34094 arg3
= static_cast< int >(val3
);
34095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34096 if (!SWIG_IsOK(ecode4
)) {
34097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34099 arg4
= static_cast< wxDragResult
>(val4
);
34101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34102 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34103 wxPyEndAllowThreads(__tstate
);
34104 if (PyErr_Occurred()) SWIG_fail
;
34106 resultobj
= SWIG_From_int(static_cast< int >(result
));
34113 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34114 PyObject
*resultobj
= 0;
34115 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34118 wxDragResult arg4
;
34119 wxDragResult result
;
34128 PyObject
* obj0
= 0 ;
34129 PyObject
* obj1
= 0 ;
34130 PyObject
* obj2
= 0 ;
34131 PyObject
* obj3
= 0 ;
34132 char * kwnames
[] = {
34133 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34138 if (!SWIG_IsOK(res1
)) {
34139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34141 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34143 if (!SWIG_IsOK(ecode2
)) {
34144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34146 arg2
= static_cast< int >(val2
);
34147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34148 if (!SWIG_IsOK(ecode3
)) {
34149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34151 arg3
= static_cast< int >(val3
);
34152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34153 if (!SWIG_IsOK(ecode4
)) {
34154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34156 arg4
= static_cast< wxDragResult
>(val4
);
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= SWIG_From_int(static_cast< int >(result
));
34170 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34171 PyObject
*resultobj
= 0;
34172 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34175 PyObject
*swig_obj
[1] ;
34177 if (!args
) SWIG_fail
;
34178 swig_obj
[0] = args
;
34179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34180 if (!SWIG_IsOK(res1
)) {
34181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34183 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= SWIG_Py_Void();
34197 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34198 PyObject
*resultobj
= 0;
34199 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34209 PyObject
* obj0
= 0 ;
34210 PyObject
* obj1
= 0 ;
34211 PyObject
* obj2
= 0 ;
34212 char * kwnames
[] = {
34213 (char *) "self",(char *) "x",(char *) "y", NULL
34216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34218 if (!SWIG_IsOK(res1
)) {
34219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34221 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34223 if (!SWIG_IsOK(ecode2
)) {
34224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34226 arg2
= static_cast< int >(val2
);
34227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34228 if (!SWIG_IsOK(ecode3
)) {
34229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34231 arg3
= static_cast< int >(val3
);
34233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34234 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34235 wxPyEndAllowThreads(__tstate
);
34236 if (PyErr_Occurred()) SWIG_fail
;
34239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34247 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34248 PyObject
*resultobj
= 0;
34249 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34253 PyObject
*swig_obj
[1] ;
34255 if (!args
) SWIG_fail
;
34256 swig_obj
[0] = args
;
34257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34258 if (!SWIG_IsOK(res1
)) {
34259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34261 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34264 result
= (bool)(arg1
)->GetData();
34265 wxPyEndAllowThreads(__tstate
);
34266 if (PyErr_Occurred()) SWIG_fail
;
34269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34277 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34278 PyObject
*resultobj
= 0;
34279 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34280 wxDragResult arg2
;
34285 PyObject
* obj0
= 0 ;
34286 PyObject
* obj1
= 0 ;
34287 char * kwnames
[] = {
34288 (char *) "self",(char *) "action", NULL
34291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34293 if (!SWIG_IsOK(res1
)) {
34294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34296 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34298 if (!SWIG_IsOK(ecode2
)) {
34299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34301 arg2
= static_cast< wxDragResult
>(val2
);
34303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34304 (arg1
)->SetDefaultAction(arg2
);
34305 wxPyEndAllowThreads(__tstate
);
34306 if (PyErr_Occurred()) SWIG_fail
;
34308 resultobj
= SWIG_Py_Void();
34315 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34316 PyObject
*resultobj
= 0;
34317 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34318 wxDragResult result
;
34321 PyObject
*swig_obj
[1] ;
34323 if (!args
) SWIG_fail
;
34324 swig_obj
[0] = args
;
34325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34326 if (!SWIG_IsOK(res1
)) {
34327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34329 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34332 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34333 wxPyEndAllowThreads(__tstate
);
34334 if (PyErr_Occurred()) SWIG_fail
;
34336 resultobj
= SWIG_From_int(static_cast< int >(result
));
34343 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34346 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34347 return SWIG_Py_Void();
34350 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34351 return SWIG_Python_InitShadowInstance(args
);
34354 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34355 PyObject
*resultobj
= 0;
34356 wxPyTextDropTarget
*result
= 0 ;
34358 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34361 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34372 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
= 0;
34374 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34375 PyObject
*arg2
= (PyObject
*) 0 ;
34376 PyObject
*arg3
= (PyObject
*) 0 ;
34379 PyObject
* obj0
= 0 ;
34380 PyObject
* obj1
= 0 ;
34381 PyObject
* obj2
= 0 ;
34382 char * kwnames
[] = {
34383 (char *) "self",(char *) "self",(char *) "_class", NULL
34386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34388 if (!SWIG_IsOK(res1
)) {
34389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34391 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34396 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34397 wxPyEndAllowThreads(__tstate
);
34398 if (PyErr_Occurred()) SWIG_fail
;
34400 resultobj
= SWIG_Py_Void();
34407 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34408 PyObject
*resultobj
= 0;
34409 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34412 wxString
*arg4
= 0 ;
34420 bool temp4
= false ;
34421 PyObject
* obj0
= 0 ;
34422 PyObject
* obj1
= 0 ;
34423 PyObject
* obj2
= 0 ;
34424 PyObject
* obj3
= 0 ;
34425 char * kwnames
[] = {
34426 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34431 if (!SWIG_IsOK(res1
)) {
34432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34434 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34436 if (!SWIG_IsOK(ecode2
)) {
34437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34439 arg2
= static_cast< int >(val2
);
34440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34441 if (!SWIG_IsOK(ecode3
)) {
34442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34444 arg3
= static_cast< int >(val3
);
34446 arg4
= wxString_in_helper(obj3
);
34447 if (arg4
== NULL
) SWIG_fail
;
34451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34452 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34453 wxPyEndAllowThreads(__tstate
);
34454 if (PyErr_Occurred()) SWIG_fail
;
34457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34473 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34474 PyObject
*resultobj
= 0;
34475 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34478 wxDragResult arg4
;
34479 wxDragResult result
;
34488 PyObject
* obj0
= 0 ;
34489 PyObject
* obj1
= 0 ;
34490 PyObject
* obj2
= 0 ;
34491 PyObject
* obj3
= 0 ;
34492 char * kwnames
[] = {
34493 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34498 if (!SWIG_IsOK(res1
)) {
34499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34501 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34503 if (!SWIG_IsOK(ecode2
)) {
34504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34506 arg2
= static_cast< int >(val2
);
34507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34508 if (!SWIG_IsOK(ecode3
)) {
34509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34511 arg3
= static_cast< int >(val3
);
34512 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34513 if (!SWIG_IsOK(ecode4
)) {
34514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34516 arg4
= static_cast< wxDragResult
>(val4
);
34518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34519 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34523 resultobj
= SWIG_From_int(static_cast< int >(result
));
34530 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34531 PyObject
*resultobj
= 0;
34532 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34535 wxDragResult arg4
;
34536 wxDragResult result
;
34545 PyObject
* obj0
= 0 ;
34546 PyObject
* obj1
= 0 ;
34547 PyObject
* obj2
= 0 ;
34548 PyObject
* obj3
= 0 ;
34549 char * kwnames
[] = {
34550 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34555 if (!SWIG_IsOK(res1
)) {
34556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34558 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34560 if (!SWIG_IsOK(ecode2
)) {
34561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34563 arg2
= static_cast< int >(val2
);
34564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34565 if (!SWIG_IsOK(ecode3
)) {
34566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34568 arg3
= static_cast< int >(val3
);
34569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34570 if (!SWIG_IsOK(ecode4
)) {
34571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34573 arg4
= static_cast< wxDragResult
>(val4
);
34575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34576 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34577 wxPyEndAllowThreads(__tstate
);
34578 if (PyErr_Occurred()) SWIG_fail
;
34580 resultobj
= SWIG_From_int(static_cast< int >(result
));
34587 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34588 PyObject
*resultobj
= 0;
34589 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34592 PyObject
*swig_obj
[1] ;
34594 if (!args
) SWIG_fail
;
34595 swig_obj
[0] = args
;
34596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34597 if (!SWIG_IsOK(res1
)) {
34598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34600 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34604 wxPyEndAllowThreads(__tstate
);
34605 if (PyErr_Occurred()) SWIG_fail
;
34607 resultobj
= SWIG_Py_Void();
34614 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34615 PyObject
*resultobj
= 0;
34616 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34626 PyObject
* obj0
= 0 ;
34627 PyObject
* obj1
= 0 ;
34628 PyObject
* obj2
= 0 ;
34629 char * kwnames
[] = {
34630 (char *) "self",(char *) "x",(char *) "y", NULL
34633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34635 if (!SWIG_IsOK(res1
)) {
34636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34638 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34640 if (!SWIG_IsOK(ecode2
)) {
34641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34643 arg2
= static_cast< int >(val2
);
34644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34645 if (!SWIG_IsOK(ecode3
)) {
34646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34648 arg3
= static_cast< int >(val3
);
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34652 wxPyEndAllowThreads(__tstate
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34664 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
= 0;
34666 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34669 wxDragResult arg4
;
34670 wxDragResult result
;
34679 PyObject
* obj0
= 0 ;
34680 PyObject
* obj1
= 0 ;
34681 PyObject
* obj2
= 0 ;
34682 PyObject
* obj3
= 0 ;
34683 char * kwnames
[] = {
34684 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34689 if (!SWIG_IsOK(res1
)) {
34690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34692 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34694 if (!SWIG_IsOK(ecode2
)) {
34695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34697 arg2
= static_cast< int >(val2
);
34698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34699 if (!SWIG_IsOK(ecode3
)) {
34700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34702 arg3
= static_cast< int >(val3
);
34703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34704 if (!SWIG_IsOK(ecode4
)) {
34705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34707 arg4
= static_cast< wxDragResult
>(val4
);
34709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34710 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34711 wxPyEndAllowThreads(__tstate
);
34712 if (PyErr_Occurred()) SWIG_fail
;
34714 resultobj
= SWIG_From_int(static_cast< int >(result
));
34721 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34724 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34725 return SWIG_Py_Void();
34728 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34729 return SWIG_Python_InitShadowInstance(args
);
34732 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34733 PyObject
*resultobj
= 0;
34734 wxPyFileDropTarget
*result
= 0 ;
34736 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34739 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34740 wxPyEndAllowThreads(__tstate
);
34741 if (PyErr_Occurred()) SWIG_fail
;
34743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34750 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34751 PyObject
*resultobj
= 0;
34752 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34753 PyObject
*arg2
= (PyObject
*) 0 ;
34754 PyObject
*arg3
= (PyObject
*) 0 ;
34757 PyObject
* obj0
= 0 ;
34758 PyObject
* obj1
= 0 ;
34759 PyObject
* obj2
= 0 ;
34760 char * kwnames
[] = {
34761 (char *) "self",(char *) "self",(char *) "_class", NULL
34764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34766 if (!SWIG_IsOK(res1
)) {
34767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34769 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34774 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34775 wxPyEndAllowThreads(__tstate
);
34776 if (PyErr_Occurred()) SWIG_fail
;
34778 resultobj
= SWIG_Py_Void();
34785 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34786 PyObject
*resultobj
= 0;
34787 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34790 wxArrayString
*arg4
= 0 ;
34798 bool temp4
= false ;
34799 PyObject
* obj0
= 0 ;
34800 PyObject
* obj1
= 0 ;
34801 PyObject
* obj2
= 0 ;
34802 PyObject
* obj3
= 0 ;
34803 char * kwnames
[] = {
34804 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
34807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34809 if (!SWIG_IsOK(res1
)) {
34810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34812 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34814 if (!SWIG_IsOK(ecode2
)) {
34815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
34817 arg2
= static_cast< int >(val2
);
34818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34819 if (!SWIG_IsOK(ecode3
)) {
34820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
34822 arg3
= static_cast< int >(val3
);
34824 if (! PySequence_Check(obj3
)) {
34825 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34828 arg4
= new wxArrayString
;
34830 int i
, len
=PySequence_Length(obj3
);
34831 for (i
=0; i
<len
; i
++) {
34832 PyObject
* item
= PySequence_GetItem(obj3
, i
);
34833 wxString
* s
= wxString_in_helper(item
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
34843 wxPyEndAllowThreads(__tstate
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34850 if (temp4
) delete arg4
;
34855 if (temp4
) delete arg4
;
34861 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34862 PyObject
*resultobj
= 0;
34863 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34866 wxDragResult arg4
;
34867 wxDragResult result
;
34876 PyObject
* obj0
= 0 ;
34877 PyObject
* obj1
= 0 ;
34878 PyObject
* obj2
= 0 ;
34879 PyObject
* obj3
= 0 ;
34880 char * kwnames
[] = {
34881 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34886 if (!SWIG_IsOK(res1
)) {
34887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34889 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34891 if (!SWIG_IsOK(ecode2
)) {
34892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34894 arg2
= static_cast< int >(val2
);
34895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34896 if (!SWIG_IsOK(ecode3
)) {
34897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34899 arg3
= static_cast< int >(val3
);
34900 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34901 if (!SWIG_IsOK(ecode4
)) {
34902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34904 arg4
= static_cast< wxDragResult
>(val4
);
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 resultobj
= SWIG_From_int(static_cast< int >(result
));
34918 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
= 0;
34920 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34923 wxDragResult arg4
;
34924 wxDragResult result
;
34933 PyObject
* obj0
= 0 ;
34934 PyObject
* obj1
= 0 ;
34935 PyObject
* obj2
= 0 ;
34936 PyObject
* obj3
= 0 ;
34937 char * kwnames
[] = {
34938 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34943 if (!SWIG_IsOK(res1
)) {
34944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34946 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34948 if (!SWIG_IsOK(ecode2
)) {
34949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34951 arg2
= static_cast< int >(val2
);
34952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34953 if (!SWIG_IsOK(ecode3
)) {
34954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34956 arg3
= static_cast< int >(val3
);
34957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34958 if (!SWIG_IsOK(ecode4
)) {
34959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34961 arg4
= static_cast< wxDragResult
>(val4
);
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34964 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= SWIG_From_int(static_cast< int >(result
));
34975 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34976 PyObject
*resultobj
= 0;
34977 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34980 PyObject
*swig_obj
[1] ;
34982 if (!args
) SWIG_fail
;
34983 swig_obj
[0] = args
;
34984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34985 if (!SWIG_IsOK(res1
)) {
34986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34988 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34992 wxPyEndAllowThreads(__tstate
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34995 resultobj
= SWIG_Py_Void();
35002 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35003 PyObject
*resultobj
= 0;
35004 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35014 PyObject
* obj0
= 0 ;
35015 PyObject
* obj1
= 0 ;
35016 PyObject
* obj2
= 0 ;
35017 char * kwnames
[] = {
35018 (char *) "self",(char *) "x",(char *) "y", NULL
35021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35023 if (!SWIG_IsOK(res1
)) {
35024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35026 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35028 if (!SWIG_IsOK(ecode2
)) {
35029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35031 arg2
= static_cast< int >(val2
);
35032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35033 if (!SWIG_IsOK(ecode3
)) {
35034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35036 arg3
= static_cast< int >(val3
);
35038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35039 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35040 wxPyEndAllowThreads(__tstate
);
35041 if (PyErr_Occurred()) SWIG_fail
;
35044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35052 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35053 PyObject
*resultobj
= 0;
35054 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35057 wxDragResult arg4
;
35058 wxDragResult result
;
35067 PyObject
* obj0
= 0 ;
35068 PyObject
* obj1
= 0 ;
35069 PyObject
* obj2
= 0 ;
35070 PyObject
* obj3
= 0 ;
35071 char * kwnames
[] = {
35072 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35077 if (!SWIG_IsOK(res1
)) {
35078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35080 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35082 if (!SWIG_IsOK(ecode2
)) {
35083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35085 arg2
= static_cast< int >(val2
);
35086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35087 if (!SWIG_IsOK(ecode3
)) {
35088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35090 arg3
= static_cast< int >(val3
);
35091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35092 if (!SWIG_IsOK(ecode4
)) {
35093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35095 arg4
= static_cast< wxDragResult
>(val4
);
35097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35098 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35099 wxPyEndAllowThreads(__tstate
);
35100 if (PyErr_Occurred()) SWIG_fail
;
35102 resultobj
= SWIG_From_int(static_cast< int >(result
));
35109 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35113 return SWIG_Py_Void();
35116 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35117 return SWIG_Python_InitShadowInstance(args
);
35120 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35121 PyObject
*resultobj
= 0;
35122 wxClipboard
*result
= 0 ;
35124 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35127 result
= (wxClipboard
*)new wxClipboard();
35128 wxPyEndAllowThreads(__tstate
);
35129 if (PyErr_Occurred()) SWIG_fail
;
35131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35138 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35139 PyObject
*resultobj
= 0;
35140 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35143 PyObject
*swig_obj
[1] ;
35145 if (!args
) SWIG_fail
;
35146 swig_obj
[0] = args
;
35147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35148 if (!SWIG_IsOK(res1
)) {
35149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35151 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35156 wxPyEndAllowThreads(__tstate
);
35157 if (PyErr_Occurred()) SWIG_fail
;
35159 resultobj
= SWIG_Py_Void();
35166 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35167 PyObject
*resultobj
= 0;
35168 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35172 PyObject
*swig_obj
[1] ;
35174 if (!args
) SWIG_fail
;
35175 swig_obj
[0] = args
;
35176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35177 if (!SWIG_IsOK(res1
)) {
35178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35180 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35183 result
= (bool)(arg1
)->Open();
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35196 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35197 PyObject
*resultobj
= 0;
35198 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35201 PyObject
*swig_obj
[1] ;
35203 if (!args
) SWIG_fail
;
35204 swig_obj
[0] = args
;
35205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35206 if (!SWIG_IsOK(res1
)) {
35207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35209 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35216 resultobj
= SWIG_Py_Void();
35223 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35224 PyObject
*resultobj
= 0;
35225 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35229 PyObject
*swig_obj
[1] ;
35231 if (!args
) SWIG_fail
;
35232 swig_obj
[0] = args
;
35233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35234 if (!SWIG_IsOK(res1
)) {
35235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35237 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35240 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35241 wxPyEndAllowThreads(__tstate
);
35242 if (PyErr_Occurred()) SWIG_fail
;
35245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35253 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35254 PyObject
*resultobj
= 0;
35255 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35256 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35261 PyObject
* obj0
= 0 ;
35262 PyObject
* obj1
= 0 ;
35263 char * kwnames
[] = {
35264 (char *) "self",(char *) "data", NULL
35267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35269 if (!SWIG_IsOK(res1
)) {
35270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35272 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35273 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35274 if (!SWIG_IsOK(res2
)) {
35275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35279 result
= (bool)(arg1
)->AddData(arg2
);
35280 wxPyEndAllowThreads(__tstate
);
35281 if (PyErr_Occurred()) SWIG_fail
;
35284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35292 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35293 PyObject
*resultobj
= 0;
35294 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35295 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35300 PyObject
* obj0
= 0 ;
35301 PyObject
* obj1
= 0 ;
35302 char * kwnames
[] = {
35303 (char *) "self",(char *) "data", NULL
35306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35308 if (!SWIG_IsOK(res1
)) {
35309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35311 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35312 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35313 if (!SWIG_IsOK(res2
)) {
35314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 result
= (bool)(arg1
)->SetData(arg2
);
35319 wxPyEndAllowThreads(__tstate
);
35320 if (PyErr_Occurred()) SWIG_fail
;
35323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35331 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35332 PyObject
*resultobj
= 0;
35333 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35334 wxDataFormat
*arg2
= 0 ;
35340 PyObject
* obj0
= 0 ;
35341 PyObject
* obj1
= 0 ;
35342 char * kwnames
[] = {
35343 (char *) "self",(char *) "format", NULL
35346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35348 if (!SWIG_IsOK(res1
)) {
35349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35351 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35353 if (!SWIG_IsOK(res2
)) {
35354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35359 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35362 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35363 wxPyEndAllowThreads(__tstate
);
35364 if (PyErr_Occurred()) SWIG_fail
;
35367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35375 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35376 PyObject
*resultobj
= 0;
35377 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35378 wxDataObject
*arg2
= 0 ;
35384 PyObject
* obj0
= 0 ;
35385 PyObject
* obj1
= 0 ;
35386 char * kwnames
[] = {
35387 (char *) "self",(char *) "data", NULL
35390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35392 if (!SWIG_IsOK(res1
)) {
35393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35395 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35397 if (!SWIG_IsOK(res2
)) {
35398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35403 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35406 result
= (bool)(arg1
)->GetData(*arg2
);
35407 wxPyEndAllowThreads(__tstate
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35419 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35420 PyObject
*resultobj
= 0;
35421 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35424 PyObject
*swig_obj
[1] ;
35426 if (!args
) SWIG_fail
;
35427 swig_obj
[0] = args
;
35428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35429 if (!SWIG_IsOK(res1
)) {
35430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35432 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35436 wxPyEndAllowThreads(__tstate
);
35437 if (PyErr_Occurred()) SWIG_fail
;
35439 resultobj
= SWIG_Py_Void();
35446 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35447 PyObject
*resultobj
= 0;
35448 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35452 PyObject
*swig_obj
[1] ;
35454 if (!args
) SWIG_fail
;
35455 swig_obj
[0] = args
;
35456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35457 if (!SWIG_IsOK(res1
)) {
35458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35460 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35463 result
= (bool)(arg1
)->Flush();
35464 wxPyEndAllowThreads(__tstate
);
35465 if (PyErr_Occurred()) SWIG_fail
;
35468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35476 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35477 PyObject
*resultobj
= 0;
35478 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35479 bool arg2
= (bool) true ;
35484 PyObject
* obj0
= 0 ;
35485 PyObject
* obj1
= 0 ;
35486 char * kwnames
[] = {
35487 (char *) "self",(char *) "primary", NULL
35490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35492 if (!SWIG_IsOK(res1
)) {
35493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35495 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35497 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35498 if (!SWIG_IsOK(ecode2
)) {
35499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35501 arg2
= static_cast< bool >(val2
);
35504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35505 (arg1
)->UsePrimarySelection(arg2
);
35506 wxPyEndAllowThreads(__tstate
);
35507 if (PyErr_Occurred()) SWIG_fail
;
35509 resultobj
= SWIG_Py_Void();
35516 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35517 PyObject
*resultobj
= 0;
35518 wxClipboard
*result
= 0 ;
35520 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35523 result
= (wxClipboard
*)wxClipboard::Get();
35524 wxPyEndAllowThreads(__tstate
);
35525 if (PyErr_Occurred()) SWIG_fail
;
35527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35534 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35537 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35538 return SWIG_Py_Void();
35541 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35542 return SWIG_Python_InitShadowInstance(args
);
35545 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35546 PyObject
*resultobj
= 0;
35547 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35548 wxClipboardLocker
*result
= 0 ;
35551 PyObject
* obj0
= 0 ;
35552 char * kwnames
[] = {
35553 (char *) "clipboard", NULL
35556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35559 if (!SWIG_IsOK(res1
)) {
35560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35562 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35566 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35567 wxPyEndAllowThreads(__tstate
);
35568 if (PyErr_Occurred()) SWIG_fail
;
35570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35577 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35578 PyObject
*resultobj
= 0;
35579 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35582 PyObject
*swig_obj
[1] ;
35584 if (!args
) SWIG_fail
;
35585 swig_obj
[0] = args
;
35586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35587 if (!SWIG_IsOK(res1
)) {
35588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35590 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35595 wxPyEndAllowThreads(__tstate
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35598 resultobj
= SWIG_Py_Void();
35605 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35606 PyObject
*resultobj
= 0;
35607 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35611 PyObject
*swig_obj
[1] ;
35613 if (!args
) SWIG_fail
;
35614 swig_obj
[0] = args
;
35615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35616 if (!SWIG_IsOK(res1
)) {
35617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35619 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35622 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35623 wxPyEndAllowThreads(__tstate
);
35624 if (PyErr_Occurred()) SWIG_fail
;
35627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35635 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35638 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35639 return SWIG_Py_Void();
35642 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35643 return SWIG_Python_InitShadowInstance(args
);
35646 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35647 PyObject
*resultobj
= 0;
35648 int arg1
= (int) 0 ;
35649 int arg2
= (int) 0 ;
35650 int arg3
= (int) 0 ;
35651 int arg4
= (int) 0 ;
35652 wxVideoMode
*result
= 0 ;
35661 PyObject
* obj0
= 0 ;
35662 PyObject
* obj1
= 0 ;
35663 PyObject
* obj2
= 0 ;
35664 PyObject
* obj3
= 0 ;
35665 char * kwnames
[] = {
35666 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35671 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35672 if (!SWIG_IsOK(ecode1
)) {
35673 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35675 arg1
= static_cast< int >(val1
);
35678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35679 if (!SWIG_IsOK(ecode2
)) {
35680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35682 arg2
= static_cast< int >(val2
);
35685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35686 if (!SWIG_IsOK(ecode3
)) {
35687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35689 arg3
= static_cast< int >(val3
);
35692 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35693 if (!SWIG_IsOK(ecode4
)) {
35694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35696 arg4
= static_cast< int >(val4
);
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35700 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35701 wxPyEndAllowThreads(__tstate
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35711 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35712 PyObject
*resultobj
= 0;
35713 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35716 PyObject
*swig_obj
[1] ;
35718 if (!args
) SWIG_fail
;
35719 swig_obj
[0] = args
;
35720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35721 if (!SWIG_IsOK(res1
)) {
35722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35724 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35729 wxPyEndAllowThreads(__tstate
);
35730 if (PyErr_Occurred()) SWIG_fail
;
35732 resultobj
= SWIG_Py_Void();
35739 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35740 PyObject
*resultobj
= 0;
35741 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35742 wxVideoMode
*arg2
= 0 ;
35748 PyObject
* obj0
= 0 ;
35749 PyObject
* obj1
= 0 ;
35750 char * kwnames
[] = {
35751 (char *) "self",(char *) "other", NULL
35754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35756 if (!SWIG_IsOK(res1
)) {
35757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35759 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35761 if (!SWIG_IsOK(res2
)) {
35762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35767 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35770 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35771 wxPyEndAllowThreads(__tstate
);
35772 if (PyErr_Occurred()) SWIG_fail
;
35775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35783 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35784 PyObject
*resultobj
= 0;
35785 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35789 PyObject
*swig_obj
[1] ;
35791 if (!args
) SWIG_fail
;
35792 swig_obj
[0] = args
;
35793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35794 if (!SWIG_IsOK(res1
)) {
35795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35797 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35800 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
35801 wxPyEndAllowThreads(__tstate
);
35802 if (PyErr_Occurred()) SWIG_fail
;
35804 resultobj
= SWIG_From_int(static_cast< int >(result
));
35811 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35812 PyObject
*resultobj
= 0;
35813 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35817 PyObject
*swig_obj
[1] ;
35819 if (!args
) SWIG_fail
;
35820 swig_obj
[0] = args
;
35821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35822 if (!SWIG_IsOK(res1
)) {
35823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35825 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35828 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
35829 wxPyEndAllowThreads(__tstate
);
35830 if (PyErr_Occurred()) SWIG_fail
;
35832 resultobj
= SWIG_From_int(static_cast< int >(result
));
35839 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35840 PyObject
*resultobj
= 0;
35841 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35845 PyObject
*swig_obj
[1] ;
35847 if (!args
) SWIG_fail
;
35848 swig_obj
[0] = args
;
35849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35850 if (!SWIG_IsOK(res1
)) {
35851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35853 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35856 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
35857 wxPyEndAllowThreads(__tstate
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35860 resultobj
= SWIG_From_int(static_cast< int >(result
));
35867 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35868 PyObject
*resultobj
= 0;
35869 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35873 PyObject
*swig_obj
[1] ;
35875 if (!args
) SWIG_fail
;
35876 swig_obj
[0] = args
;
35877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35878 if (!SWIG_IsOK(res1
)) {
35879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35881 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35884 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
35885 wxPyEndAllowThreads(__tstate
);
35886 if (PyErr_Occurred()) SWIG_fail
;
35889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35897 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35898 PyObject
*resultobj
= 0;
35899 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35900 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35906 PyObject
* obj0
= 0 ;
35907 PyObject
* obj1
= 0 ;
35908 char * kwnames
[] = {
35909 (char *) "self",(char *) "other", NULL
35912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35914 if (!SWIG_IsOK(res1
)) {
35915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35917 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35919 if (!SWIG_IsOK(res2
)) {
35920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35922 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35925 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
35926 wxPyEndAllowThreads(__tstate
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35938 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35939 PyObject
*resultobj
= 0;
35940 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35941 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35947 PyObject
* obj0
= 0 ;
35948 PyObject
* obj1
= 0 ;
35949 char * kwnames
[] = {
35950 (char *) "self",(char *) "other", NULL
35953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35955 if (!SWIG_IsOK(res1
)) {
35956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35958 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35960 if (!SWIG_IsOK(res2
)) {
35961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35963 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35966 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
35967 wxPyEndAllowThreads(__tstate
);
35968 if (PyErr_Occurred()) SWIG_fail
;
35971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35979 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35980 PyObject
*resultobj
= 0;
35981 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35987 PyObject
*swig_obj
[2] ;
35989 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
35990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35991 if (!SWIG_IsOK(res1
)) {
35992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35994 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35995 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35996 if (!SWIG_IsOK(ecode2
)) {
35997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
35999 arg2
= static_cast< int >(val2
);
36000 if (arg1
) (arg1
)->w
= arg2
;
36002 resultobj
= SWIG_Py_Void();
36009 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36010 PyObject
*resultobj
= 0;
36011 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36015 PyObject
*swig_obj
[1] ;
36017 if (!args
) SWIG_fail
;
36018 swig_obj
[0] = args
;
36019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36020 if (!SWIG_IsOK(res1
)) {
36021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36023 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36024 result
= (int) ((arg1
)->w
);
36025 resultobj
= SWIG_From_int(static_cast< int >(result
));
36032 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36033 PyObject
*resultobj
= 0;
36034 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36040 PyObject
*swig_obj
[2] ;
36042 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36044 if (!SWIG_IsOK(res1
)) {
36045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36047 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36048 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36049 if (!SWIG_IsOK(ecode2
)) {
36050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36052 arg2
= static_cast< int >(val2
);
36053 if (arg1
) (arg1
)->h
= arg2
;
36055 resultobj
= SWIG_Py_Void();
36062 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36063 PyObject
*resultobj
= 0;
36064 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36068 PyObject
*swig_obj
[1] ;
36070 if (!args
) SWIG_fail
;
36071 swig_obj
[0] = args
;
36072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36073 if (!SWIG_IsOK(res1
)) {
36074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36076 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36077 result
= (int) ((arg1
)->h
);
36078 resultobj
= SWIG_From_int(static_cast< int >(result
));
36085 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36086 PyObject
*resultobj
= 0;
36087 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36093 PyObject
*swig_obj
[2] ;
36095 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36097 if (!SWIG_IsOK(res1
)) {
36098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36100 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36101 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36102 if (!SWIG_IsOK(ecode2
)) {
36103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36105 arg2
= static_cast< int >(val2
);
36106 if (arg1
) (arg1
)->bpp
= arg2
;
36108 resultobj
= SWIG_Py_Void();
36115 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36116 PyObject
*resultobj
= 0;
36117 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36121 PyObject
*swig_obj
[1] ;
36123 if (!args
) SWIG_fail
;
36124 swig_obj
[0] = args
;
36125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36126 if (!SWIG_IsOK(res1
)) {
36127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36129 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36130 result
= (int) ((arg1
)->bpp
);
36131 resultobj
= SWIG_From_int(static_cast< int >(result
));
36138 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36139 PyObject
*resultobj
= 0;
36140 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36146 PyObject
*swig_obj
[2] ;
36148 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36150 if (!SWIG_IsOK(res1
)) {
36151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36153 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36154 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36155 if (!SWIG_IsOK(ecode2
)) {
36156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36158 arg2
= static_cast< int >(val2
);
36159 if (arg1
) (arg1
)->refresh
= arg2
;
36161 resultobj
= SWIG_Py_Void();
36168 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36169 PyObject
*resultobj
= 0;
36170 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36174 PyObject
*swig_obj
[1] ;
36176 if (!args
) SWIG_fail
;
36177 swig_obj
[0] = args
;
36178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36179 if (!SWIG_IsOK(res1
)) {
36180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36182 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36183 result
= (int) ((arg1
)->refresh
);
36184 resultobj
= SWIG_From_int(static_cast< int >(result
));
36191 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36194 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36195 return SWIG_Py_Void();
36198 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36199 return SWIG_Python_InitShadowInstance(args
);
36202 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36203 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36208 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36209 PyObject
*pyobj
= 0;
36211 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36216 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36217 PyObject
*resultobj
= 0;
36218 size_t arg1
= (size_t) 0 ;
36219 wxDisplay
*result
= 0 ;
36222 PyObject
* obj0
= 0 ;
36223 char * kwnames
[] = {
36224 (char *) "index", NULL
36227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36229 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
36230 if (!SWIG_IsOK(ecode1
)) {
36231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
36233 arg1
= static_cast< size_t >(val1
);
36236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36237 result
= (wxDisplay
*)new wxDisplay(arg1
);
36238 wxPyEndAllowThreads(__tstate
);
36239 if (PyErr_Occurred()) SWIG_fail
;
36241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36248 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36249 PyObject
*resultobj
= 0;
36250 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36253 PyObject
*swig_obj
[1] ;
36255 if (!args
) SWIG_fail
;
36256 swig_obj
[0] = args
;
36257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36258 if (!SWIG_IsOK(res1
)) {
36259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36261 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 wxPyEndAllowThreads(__tstate
);
36267 if (PyErr_Occurred()) SWIG_fail
;
36269 resultobj
= SWIG_Py_Void();
36276 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36277 PyObject
*resultobj
= 0;
36280 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36283 result
= (size_t)wxDisplay::GetCount();
36284 wxPyEndAllowThreads(__tstate
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36287 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
36294 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36295 PyObject
*resultobj
= 0;
36296 wxPoint
*arg1
= 0 ;
36299 PyObject
* obj0
= 0 ;
36300 char * kwnames
[] = {
36301 (char *) "pt", NULL
36304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36307 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36311 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36312 wxPyEndAllowThreads(__tstate
);
36313 if (PyErr_Occurred()) SWIG_fail
;
36315 resultobj
= SWIG_From_int(static_cast< int >(result
));
36322 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36323 PyObject
*resultobj
= 0;
36324 wxWindow
*arg1
= (wxWindow
*) 0 ;
36328 PyObject
* obj0
= 0 ;
36329 char * kwnames
[] = {
36330 (char *) "window", NULL
36333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36335 if (!SWIG_IsOK(res1
)) {
36336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36341 result
= (int)wxDisplay::GetFromWindow(arg1
);
36342 wxPyEndAllowThreads(__tstate
);
36343 if (PyErr_Occurred()) SWIG_fail
;
36345 resultobj
= SWIG_From_int(static_cast< int >(result
));
36352 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36353 PyObject
*resultobj
= 0;
36354 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36358 PyObject
*swig_obj
[1] ;
36360 if (!args
) SWIG_fail
;
36361 swig_obj
[0] = args
;
36362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36363 if (!SWIG_IsOK(res1
)) {
36364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36366 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36369 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36382 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36383 PyObject
*resultobj
= 0;
36384 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36388 PyObject
*swig_obj
[1] ;
36390 if (!args
) SWIG_fail
;
36391 swig_obj
[0] = args
;
36392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36393 if (!SWIG_IsOK(res1
)) {
36394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36396 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36399 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36400 wxPyEndAllowThreads(__tstate
);
36401 if (PyErr_Occurred()) SWIG_fail
;
36403 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36410 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36411 PyObject
*resultobj
= 0;
36412 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36416 PyObject
*swig_obj
[1] ;
36418 if (!args
) SWIG_fail
;
36419 swig_obj
[0] = args
;
36420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36421 if (!SWIG_IsOK(res1
)) {
36422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36424 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36427 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36428 wxPyEndAllowThreads(__tstate
);
36429 if (PyErr_Occurred()) SWIG_fail
;
36431 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36438 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36439 PyObject
*resultobj
= 0;
36440 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36444 PyObject
*swig_obj
[1] ;
36446 if (!args
) SWIG_fail
;
36447 swig_obj
[0] = args
;
36448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36449 if (!SWIG_IsOK(res1
)) {
36450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36452 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36455 result
= ((wxDisplay
const *)arg1
)->GetName();
36456 wxPyEndAllowThreads(__tstate
);
36457 if (PyErr_Occurred()) SWIG_fail
;
36461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36472 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36473 PyObject
*resultobj
= 0;
36474 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36478 PyObject
*swig_obj
[1] ;
36480 if (!args
) SWIG_fail
;
36481 swig_obj
[0] = args
;
36482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36483 if (!SWIG_IsOK(res1
)) {
36484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36486 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36489 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36490 wxPyEndAllowThreads(__tstate
);
36491 if (PyErr_Occurred()) SWIG_fail
;
36494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36502 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36503 PyObject
*resultobj
= 0;
36504 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36505 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36506 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36507 PyObject
*result
= 0 ;
36512 PyObject
* obj0
= 0 ;
36513 PyObject
* obj1
= 0 ;
36514 char * kwnames
[] = {
36515 (char *) "self",(char *) "mode", NULL
36518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36520 if (!SWIG_IsOK(res1
)) {
36521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36523 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36526 if (!SWIG_IsOK(res2
)) {
36527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36532 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36536 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36537 wxPyEndAllowThreads(__tstate
);
36538 if (PyErr_Occurred()) SWIG_fail
;
36540 resultobj
= result
;
36547 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36548 PyObject
*resultobj
= 0;
36549 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36550 wxVideoMode result
;
36553 PyObject
*swig_obj
[1] ;
36555 if (!args
) SWIG_fail
;
36556 swig_obj
[0] = args
;
36557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36558 if (!SWIG_IsOK(res1
)) {
36559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36561 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36564 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36565 wxPyEndAllowThreads(__tstate
);
36566 if (PyErr_Occurred()) SWIG_fail
;
36568 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36575 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36576 PyObject
*resultobj
= 0;
36577 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36578 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36579 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36585 PyObject
* obj0
= 0 ;
36586 PyObject
* obj1
= 0 ;
36587 char * kwnames
[] = {
36588 (char *) "self",(char *) "mode", NULL
36591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36593 if (!SWIG_IsOK(res1
)) {
36594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36596 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36599 if (!SWIG_IsOK(res2
)) {
36600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36605 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36609 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36610 wxPyEndAllowThreads(__tstate
);
36611 if (PyErr_Occurred()) SWIG_fail
;
36614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36622 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36623 PyObject
*resultobj
= 0;
36624 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36627 PyObject
*swig_obj
[1] ;
36629 if (!args
) SWIG_fail
;
36630 swig_obj
[0] = args
;
36631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36632 if (!SWIG_IsOK(res1
)) {
36633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36635 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36638 wxDisplay_ResetMode(arg1
);
36639 wxPyEndAllowThreads(__tstate
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36642 resultobj
= SWIG_Py_Void();
36649 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36652 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36653 return SWIG_Py_Void();
36656 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36657 return SWIG_Python_InitShadowInstance(args
);
36660 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36661 PyObject
*resultobj
= 0;
36662 wxStandardPaths
*result
= 0 ;
36664 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36667 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36668 wxPyEndAllowThreads(__tstate
);
36669 if (PyErr_Occurred()) SWIG_fail
;
36671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36678 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36679 PyObject
*resultobj
= 0;
36680 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36684 PyObject
*swig_obj
[1] ;
36686 if (!args
) SWIG_fail
;
36687 swig_obj
[0] = args
;
36688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36689 if (!SWIG_IsOK(res1
)) {
36690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36692 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36695 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36696 wxPyEndAllowThreads(__tstate
);
36697 if (PyErr_Occurred()) SWIG_fail
;
36701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36712 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36713 PyObject
*resultobj
= 0;
36714 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36718 PyObject
*swig_obj
[1] ;
36720 if (!args
) SWIG_fail
;
36721 swig_obj
[0] = args
;
36722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36723 if (!SWIG_IsOK(res1
)) {
36724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36726 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36729 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36730 wxPyEndAllowThreads(__tstate
);
36731 if (PyErr_Occurred()) SWIG_fail
;
36735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36746 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36747 PyObject
*resultobj
= 0;
36748 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36752 PyObject
*swig_obj
[1] ;
36754 if (!args
) SWIG_fail
;
36755 swig_obj
[0] = args
;
36756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36757 if (!SWIG_IsOK(res1
)) {
36758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36760 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36763 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
36764 wxPyEndAllowThreads(__tstate
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36780 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36781 PyObject
*resultobj
= 0;
36782 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36786 PyObject
*swig_obj
[1] ;
36788 if (!args
) SWIG_fail
;
36789 swig_obj
[0] = args
;
36790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36791 if (!SWIG_IsOK(res1
)) {
36792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36794 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36797 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
36798 wxPyEndAllowThreads(__tstate
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36814 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36815 PyObject
*resultobj
= 0;
36816 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36820 PyObject
*swig_obj
[1] ;
36822 if (!args
) SWIG_fail
;
36823 swig_obj
[0] = args
;
36824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36825 if (!SWIG_IsOK(res1
)) {
36826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36828 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36831 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
36832 wxPyEndAllowThreads(__tstate
);
36833 if (PyErr_Occurred()) SWIG_fail
;
36837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36848 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36849 PyObject
*resultobj
= 0;
36850 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36854 PyObject
*swig_obj
[1] ;
36856 if (!args
) SWIG_fail
;
36857 swig_obj
[0] = args
;
36858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36859 if (!SWIG_IsOK(res1
)) {
36860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36862 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36865 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
36866 wxPyEndAllowThreads(__tstate
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36882 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36883 PyObject
*resultobj
= 0;
36884 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36888 PyObject
*swig_obj
[1] ;
36890 if (!args
) SWIG_fail
;
36891 swig_obj
[0] = args
;
36892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36893 if (!SWIG_IsOK(res1
)) {
36894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36896 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36899 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
36900 wxPyEndAllowThreads(__tstate
);
36901 if (PyErr_Occurred()) SWIG_fail
;
36905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36916 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36917 PyObject
*resultobj
= 0;
36918 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36922 PyObject
*swig_obj
[1] ;
36924 if (!args
) SWIG_fail
;
36925 swig_obj
[0] = args
;
36926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36927 if (!SWIG_IsOK(res1
)) {
36928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36930 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36933 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
36934 wxPyEndAllowThreads(__tstate
);
36935 if (PyErr_Occurred()) SWIG_fail
;
36939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36950 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36951 PyObject
*resultobj
= 0;
36952 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36953 wxString
*arg2
= 0 ;
36954 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
36958 bool temp2
= false ;
36961 PyObject
* obj0
= 0 ;
36962 PyObject
* obj1
= 0 ;
36963 PyObject
* obj2
= 0 ;
36964 char * kwnames
[] = {
36965 (char *) "self",(char *) "lang",(char *) "category", NULL
36968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36970 if (!SWIG_IsOK(res1
)) {
36971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36973 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36975 arg2
= wxString_in_helper(obj1
);
36976 if (arg2
== NULL
) SWIG_fail
;
36980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36981 if (!SWIG_IsOK(ecode3
)) {
36982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
36984 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
36987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36988 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
36989 wxPyEndAllowThreads(__tstate
);
36990 if (PyErr_Occurred()) SWIG_fail
;
36994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37013 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37014 PyObject
*resultobj
= 0;
37015 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37019 PyObject
*swig_obj
[1] ;
37021 if (!args
) SWIG_fail
;
37022 swig_obj
[0] = args
;
37023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37024 if (!SWIG_IsOK(res1
)) {
37025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37027 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37030 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37031 wxPyEndAllowThreads(__tstate
);
37032 if (PyErr_Occurred()) SWIG_fail
;
37036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37047 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37048 PyObject
*resultobj
= 0;
37049 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37050 wxString
*arg2
= 0 ;
37053 bool temp2
= false ;
37054 PyObject
* obj0
= 0 ;
37055 PyObject
* obj1
= 0 ;
37056 char * kwnames
[] = {
37057 (char *) "self",(char *) "prefix", NULL
37060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37062 if (!SWIG_IsOK(res1
)) {
37063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37065 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37067 arg2
= wxString_in_helper(obj1
);
37068 if (arg2
== NULL
) SWIG_fail
;
37072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37073 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
37074 wxPyEndAllowThreads(__tstate
);
37075 if (PyErr_Occurred()) SWIG_fail
;
37077 resultobj
= SWIG_Py_Void();
37092 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37093 PyObject
*resultobj
= 0;
37094 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37098 PyObject
*swig_obj
[1] ;
37100 if (!args
) SWIG_fail
;
37101 swig_obj
[0] = args
;
37102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37103 if (!SWIG_IsOK(res1
)) {
37104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37106 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37109 result
= wxStandardPaths_GetInstallPrefix(arg1
);
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37126 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37129 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37130 return SWIG_Py_Void();
37133 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37134 PyObject
*resultobj
= 0;
37136 wxPowerEvent
*result
= 0 ;
37139 PyObject
* obj0
= 0 ;
37140 char * kwnames
[] = {
37141 (char *) "evtType", NULL
37144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37146 if (!SWIG_IsOK(ecode1
)) {
37147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37149 arg1
= static_cast< wxEventType
>(val1
);
37151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37152 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37153 wxPyEndAllowThreads(__tstate
);
37154 if (PyErr_Occurred()) SWIG_fail
;
37156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37163 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37164 PyObject
*resultobj
= 0;
37165 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37168 PyObject
*swig_obj
[1] ;
37170 if (!args
) SWIG_fail
;
37171 swig_obj
[0] = args
;
37172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37173 if (!SWIG_IsOK(res1
)) {
37174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37176 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 wxPyEndAllowThreads(__tstate
);
37181 if (PyErr_Occurred()) SWIG_fail
;
37183 resultobj
= SWIG_Py_Void();
37190 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37191 PyObject
*resultobj
= 0;
37192 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37196 PyObject
*swig_obj
[1] ;
37198 if (!args
) SWIG_fail
;
37199 swig_obj
[0] = args
;
37200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37201 if (!SWIG_IsOK(res1
)) {
37202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37204 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37207 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37208 wxPyEndAllowThreads(__tstate
);
37209 if (PyErr_Occurred()) SWIG_fail
;
37212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37220 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37223 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37224 return SWIG_Py_Void();
37227 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37228 return SWIG_Python_InitShadowInstance(args
);
37231 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37232 PyObject
*resultobj
= 0;
37233 wxPowerType result
;
37235 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37238 result
= (wxPowerType
)wxGetPowerType();
37239 wxPyEndAllowThreads(__tstate
);
37240 if (PyErr_Occurred()) SWIG_fail
;
37242 resultobj
= SWIG_From_int(static_cast< int >(result
));
37249 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37250 PyObject
*resultobj
= 0;
37251 wxBatteryState result
;
37253 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 result
= (wxBatteryState
)wxGetBatteryState();
37257 wxPyEndAllowThreads(__tstate
);
37258 if (PyErr_Occurred()) SWIG_fail
;
37260 resultobj
= SWIG_From_int(static_cast< int >(result
));
37267 static PyMethodDef SwigMethods
[] = {
37268 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37269 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37270 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37271 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37272 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
37273 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37274 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
37275 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
37276 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37277 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37278 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37279 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37280 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37281 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37282 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
37283 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
37284 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
37285 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37286 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
37287 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37288 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37289 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37290 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
37291 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
37292 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37293 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
37294 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
37295 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37296 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
37297 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
37298 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
37299 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
37300 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
37301 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
37302 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37303 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37304 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37305 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37306 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37307 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37308 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
37309 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
37310 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
37311 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
37312 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
37313 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
37314 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37315 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
37316 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
37317 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37318 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37319 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37320 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37321 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37322 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37323 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37324 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37325 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37326 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37327 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
37328 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
37329 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
37330 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
37331 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
37332 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
37333 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
37334 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
37335 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
37336 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37337 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
37338 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37339 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
37340 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
37341 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
37342 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37343 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37344 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37345 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37346 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37347 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
37348 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
37349 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
37350 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
37351 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
37352 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
37353 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
37354 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
37355 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
37356 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
37357 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
37358 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
37359 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37360 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37361 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37362 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37363 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37364 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37365 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37366 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37367 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37368 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
37369 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
37370 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
37371 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
37372 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
37373 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
37374 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
37375 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
37376 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
37377 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
37378 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
37379 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37380 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
37381 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37382 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
37383 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
37384 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37385 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37386 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
37387 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
37388 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37389 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
37390 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
37391 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
37392 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
37393 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
37394 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
37395 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
37396 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
37397 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
37398 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37399 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37400 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37401 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37402 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37403 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
37404 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
37405 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37406 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
37407 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
37408 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37409 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
37410 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
37411 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
37412 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37413 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
37414 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
37415 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
37416 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37417 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
37418 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
37419 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
37420 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
37421 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37422 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
37423 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
37424 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
37425 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
37426 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
37427 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37428 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
37429 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37430 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37431 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
37432 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37433 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37434 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37435 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37436 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
37437 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37438 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37439 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
37440 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
37441 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
37442 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37443 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
37444 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
37445 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37446 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
37447 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
37448 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
37449 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
37450 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37451 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37452 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
37453 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
37454 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
37455 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
37456 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
37457 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
37458 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
37459 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
37460 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
37461 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
37462 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
37463 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
37464 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
37465 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
37466 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
37467 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37468 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37469 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37470 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37471 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37472 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37473 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
37474 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
37475 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
37476 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37477 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
37478 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
37479 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
37480 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37481 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
37482 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37483 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37484 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
37485 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
37486 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37487 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37488 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37489 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
37490 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37491 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37492 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
37493 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37494 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
37495 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
37496 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
37497 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
37498 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
37499 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
37500 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
37501 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
37502 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37503 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
37504 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
37505 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
37506 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
37507 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
37508 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37509 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
37510 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
37511 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
37512 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
37513 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
37514 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37515 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37516 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
37517 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
37518 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
37519 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37520 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
37521 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
37522 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37523 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37524 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37525 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37526 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
37527 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37528 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37529 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37530 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
37531 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
37532 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37533 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
37534 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
37535 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37536 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
37537 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
37538 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
37539 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
37540 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
37541 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
37542 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
37543 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
37544 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
37545 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37546 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
37547 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
37548 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
37549 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
37550 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
37551 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37552 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37553 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
37554 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
37555 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
37556 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37557 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
37558 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
37559 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37560 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37561 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37562 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
37563 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
37564 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
37565 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
37566 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
37567 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
37568 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
37569 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
37570 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
37571 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37572 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37573 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37574 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37575 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37576 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37577 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37578 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37579 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37580 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37581 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37582 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37583 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
37584 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37585 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
37586 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
37587 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
37588 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
37589 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
37590 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37591 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
37592 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
37593 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37594 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37595 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37596 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37597 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37598 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37599 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
37600 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
37601 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
37602 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
37603 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
37604 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
37605 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
37606 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
37607 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
37608 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
37609 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
37610 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
37611 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37612 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
37613 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
37614 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
37615 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
37616 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
37617 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
37618 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
37619 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
37620 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37621 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37622 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37623 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
37624 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
37625 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
37626 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
37627 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
37628 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
37629 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
37630 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
37631 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
37632 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
37633 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37634 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
37635 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
37636 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
37637 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
37638 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
37639 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
37640 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
37641 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
37642 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
37643 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
37644 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
37645 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
37646 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
37647 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
37648 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
37649 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
37650 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
37651 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
37652 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
37653 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
37654 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
37655 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
37656 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
37657 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
37658 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
37659 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
37660 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
37661 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
37662 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
37663 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
37664 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37665 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
37666 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
37667 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
37668 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37669 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
37670 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
37671 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
37672 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
37673 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
37674 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37675 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37676 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37677 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37678 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37679 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
37680 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
37681 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
37682 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37683 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37684 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37685 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
37686 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
37687 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37688 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37689 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
37690 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37691 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37692 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
37693 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37694 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37695 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
37696 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
37697 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
37698 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37699 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37700 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
37701 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
37702 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37703 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37704 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
37705 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
37706 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
37707 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
37708 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
37709 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
37710 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
37711 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
37712 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
37713 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
37714 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
37715 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37716 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
37717 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
37718 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
37719 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
37720 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
37721 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
37722 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
37723 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37724 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37725 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37726 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37727 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37728 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
37729 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37730 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
37731 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
37732 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37733 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
37734 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37735 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
37736 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37737 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37738 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37739 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37740 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
37741 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37742 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37743 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37744 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
37745 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
37746 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
37747 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
37748 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
37749 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37750 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37751 { (char *)"ArtProvider_InsertProvider", (PyCFunction
) _wrap_ArtProvider_InsertProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37752 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
37753 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37754 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37755 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37756 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37757 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
37758 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
37759 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
37760 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
37761 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37762 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37763 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
37764 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37765 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37766 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
37767 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
37768 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37769 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
37770 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37771 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37772 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37773 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37774 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37775 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37776 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37777 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37778 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37779 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37780 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37781 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37782 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37783 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37784 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37785 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37786 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37787 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37788 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37789 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37790 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
37791 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37792 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
37793 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37794 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
37795 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37796 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
37797 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
37798 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37799 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37800 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37801 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
37802 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
37803 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37804 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
37805 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
37806 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
37807 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37808 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
37809 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
37810 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
37811 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37812 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
37813 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
37814 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
37815 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
37816 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37817 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37818 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
37819 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37820 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37821 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37822 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37823 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37824 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37825 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37826 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37827 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37828 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37829 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
37830 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37831 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37832 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37833 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
37834 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
37835 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
37836 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
37837 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37838 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37839 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37840 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37841 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37842 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
37843 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
37844 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37845 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37846 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37847 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37848 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
37849 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37850 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37851 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37852 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37853 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37854 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37855 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37856 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37857 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37858 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37859 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37860 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37861 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37862 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37863 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37864 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37865 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37866 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37867 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37868 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37869 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37870 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37871 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37872 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
37873 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
37874 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
37875 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
37876 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
37877 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37878 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37879 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37880 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37881 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37882 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37883 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37884 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37885 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37886 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37887 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37888 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
37889 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
37890 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37891 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37892 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37893 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37894 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37895 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37896 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37897 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37898 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37899 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37900 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37901 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37902 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37903 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37904 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37905 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37906 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37907 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37908 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37909 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37910 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37911 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37912 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37913 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37914 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37915 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
37916 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
37917 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
37918 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
37919 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37920 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37921 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37922 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37923 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37924 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37925 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37926 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37927 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37928 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37929 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37930 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37931 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
37932 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
37933 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
37934 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
37935 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
37936 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
37937 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37938 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
37939 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37940 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
37941 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37942 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
37943 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37944 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
37945 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37946 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
37947 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37948 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
37949 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37950 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
37951 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37952 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37953 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37954 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
37955 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
37956 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37957 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37958 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37959 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
37960 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37961 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37962 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37963 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37964 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37965 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37966 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37967 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37968 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37969 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37970 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
37971 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
37972 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
37973 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37974 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37975 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37976 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
37977 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
37978 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
37979 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
37980 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
37981 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
37982 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37983 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
37984 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
37985 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37986 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
37987 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37988 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
37989 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37990 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
37991 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37992 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
37993 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37994 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
37995 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37996 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37997 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37998 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37999 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
38000 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
38001 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
38002 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
38003 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
38004 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38005 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38006 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
38007 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38008 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38009 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38010 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
38011 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38012 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38013 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38014 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38015 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38016 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38017 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38018 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
38019 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
38020 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
38021 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
38022 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
38023 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
38024 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38025 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38026 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
38027 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
38028 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
38029 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38030 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
38031 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
38032 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38033 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
38034 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
38035 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
38036 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38037 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38038 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38039 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38040 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38041 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38042 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38043 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
38044 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38045 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
38046 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38047 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
38048 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
38049 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38050 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
38051 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
38052 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38053 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38054 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
38055 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
38056 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
38057 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38058 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
38059 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
38060 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
38061 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38062 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
38063 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
38064 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38065 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
38066 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
38067 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38068 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38069 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
38070 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
38071 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38072 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
38073 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38074 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
38075 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
38076 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38077 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38078 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
38079 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
38080 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
38081 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
38082 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38083 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
38084 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
38085 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
38086 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38087 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
38088 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
38089 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
38090 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
38091 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38092 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
38093 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38094 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
38095 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
38096 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
38097 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38098 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
38099 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
38100 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
38101 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38102 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38103 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38104 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
38105 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38106 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
38107 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38108 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38109 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38110 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
38111 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
38112 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38113 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38114 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
38115 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
38116 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38117 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38118 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38119 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
38120 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38121 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
38122 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38123 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
38124 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
38125 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
38126 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
38127 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38128 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38129 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38130 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38131 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
38132 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38133 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38134 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
38135 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
38136 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
38137 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38138 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38139 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38140 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38141 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
38142 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38143 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38144 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
38145 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
38146 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
38147 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
38148 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
38149 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
38150 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
38151 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38152 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38153 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38154 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38155 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
38156 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
38157 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38158 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
38159 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
38160 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
38161 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38162 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
38163 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
38164 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
38165 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
38166 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38167 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
38168 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38169 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
38170 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
38171 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
38172 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
38173 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38174 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38175 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
38176 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
38177 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
38178 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
38179 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
38180 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
38181 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
38182 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
38183 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
38184 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
38185 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38186 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
38187 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
38188 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38189 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38190 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
38191 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
38192 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
38193 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
38194 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
38195 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38196 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
38197 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38198 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
38199 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
38200 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
38201 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
38202 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
38203 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
38204 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
38205 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
38206 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
38207 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
38208 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
38209 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
38210 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38211 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
38212 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38213 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
38214 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
38215 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38216 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
38217 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
38218 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
38219 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
38220 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
38221 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
38222 { NULL
, NULL
, 0, NULL
}
38226 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
38228 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
38229 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38231 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
38232 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
38234 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
38235 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
38237 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
38238 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
38240 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
38241 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
38243 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
38244 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
38246 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
38247 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
38249 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
38250 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
38252 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
38253 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
38255 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
38256 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
38258 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
38259 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38261 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
38262 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38264 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
38265 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
38267 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
38268 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
38270 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
38271 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
38273 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
38274 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38276 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
38277 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38279 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
38280 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
38282 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
38283 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
38285 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
38286 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
38288 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
38289 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
38291 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
38292 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
38294 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
38295 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
38297 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
38298 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
38300 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
38301 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
38303 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
38304 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38306 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
38307 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38309 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
38310 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38312 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
38313 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38315 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
38316 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38318 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
38319 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38321 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
38322 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
38324 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
38325 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
38327 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
38328 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38330 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
38331 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
38333 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
38334 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
38336 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
38337 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
38339 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
38340 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38342 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
38343 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38345 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
38346 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38348 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
38349 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
38351 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
38352 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
38354 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
38355 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
38357 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
38358 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
38360 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
38361 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38363 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
38364 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38366 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
38367 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
38369 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
38370 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38372 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
38373 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
38375 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
38376 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38378 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
38379 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38381 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
38382 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38384 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
38385 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38387 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
38388 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38390 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
38391 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38393 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
38394 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
38396 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
38397 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38399 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
38400 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38402 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38403 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38405 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38406 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38408 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38409 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38411 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38412 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38414 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38415 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38417 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
38418 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38420 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38421 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38423 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
38424 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
38426 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
38427 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
38429 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
38430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38432 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
38433 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
38435 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
38436 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
38438 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
38439 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
38441 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
38442 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
38444 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
38445 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
38447 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
38448 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
38450 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
38451 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
38453 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
38454 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
38456 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
38457 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
38459 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
38460 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
38462 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
38463 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
38465 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
38466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
38468 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
38469 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
38471 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
38472 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
38474 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
38475 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
38477 static void *_p_wxSizerTo_p_wxObject(void *x
) {
38478 return (void *)((wxObject
*) ((wxSizer
*) x
));
38480 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
38481 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
38483 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
38484 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
38486 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
38487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38489 static void *_p_wxEventTo_p_wxObject(void *x
) {
38490 return (void *)((wxObject
*) ((wxEvent
*) x
));
38492 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
38493 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
38495 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
38496 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
38498 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
38499 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
38501 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
38502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38504 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
38505 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
38507 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
38508 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
38510 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
38511 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38513 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
38514 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38516 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
38517 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38519 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
38520 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38522 static void *_p_wxControlTo_p_wxObject(void *x
) {
38523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
38525 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
38526 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
38528 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
38529 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
38531 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
38532 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
38534 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
38535 return (void *)((wxObject
*) ((wxFSFile
*) x
));
38537 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
38538 return (void *)((wxObject
*) ((wxClipboard
*) x
));
38540 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
38541 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
38543 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
38544 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
38546 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
38547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38549 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
38550 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
38552 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
38553 return (void *)((wxObject
*) ((wxToolTip
*) x
));
38555 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
38556 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
38558 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
38559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
38561 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
38562 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
38564 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
38565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38567 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
38568 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38570 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
38571 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
38573 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
38574 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
38576 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
38577 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
38579 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
38580 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
38582 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
38583 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
38585 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
38586 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
38588 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
38589 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
38591 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
38592 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
38594 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
38595 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
38597 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
38598 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
38600 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
38601 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
38603 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
38604 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
38606 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
38607 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
38609 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
38610 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
38612 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
38613 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
38615 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
38616 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
38618 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
38619 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
38621 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
38622 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
38624 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
38625 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
38627 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
38628 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38630 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
38631 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
38633 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
38634 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
38636 static void *_p_wxImageTo_p_wxObject(void *x
) {
38637 return (void *)((wxObject
*) ((wxImage
*) x
));
38639 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
38640 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
38642 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
38643 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
38645 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
38646 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
38648 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
38649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38651 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
38652 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38654 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
38655 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
38657 static void *_p_wxWindowTo_p_wxObject(void *x
) {
38658 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
38660 static void *_p_wxMenuTo_p_wxObject(void *x
) {
38661 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
38663 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
38664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
38666 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
38667 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
38669 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
38670 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
38672 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
38673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38675 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
38676 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
38678 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
38679 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
38681 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
38682 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
38684 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
38685 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
38687 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
38688 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
38690 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
38691 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
38693 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
38694 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38696 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
38697 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
38699 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
38700 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
38702 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
38703 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
38705 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
38706 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38708 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
38709 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
38711 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
38712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38714 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
38715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
38717 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
38718 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
38720 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
38721 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
38723 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
38724 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
38726 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
38727 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
38729 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
38730 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
38732 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
38733 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
38735 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
38736 return (void *)((wxLog
*) ((wxLogChain
*) x
));
38738 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
38739 return (void *)((wxLog
*) ((wxLogGui
*) x
));
38741 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
38742 return (void *)((wxLog
*) ((wxPyLog
*) x
));
38744 static void *_p_wxControlTo_p_wxWindow(void *x
) {
38745 return (void *)((wxWindow
*) ((wxControl
*) x
));
38747 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
38748 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
38750 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
38751 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
38753 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
38754 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
38756 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
38757 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
38759 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
38760 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};
38761 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
38762 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
38763 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
38764 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
38765 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
38766 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
38767 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
38768 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
38769 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
38770 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
38771 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
38772 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
38773 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
38774 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
38775 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
38776 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
38777 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
38778 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
38779 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
38780 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
38781 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
38782 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
38783 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
38784 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
38785 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
38786 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
38787 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
38788 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
38789 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
38790 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
38791 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
38792 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
38793 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
38794 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
38795 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
38796 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
38797 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
38798 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
38799 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
38800 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
38801 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
38802 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
38803 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
38804 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
38805 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
38806 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
38807 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
38808 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
38809 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
38810 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
38811 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
38812 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
38813 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
38814 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
38815 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
38816 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
38817 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
38818 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
38819 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
38820 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
38821 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
38822 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
38823 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
38824 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
38825 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
38826 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
38827 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
38828 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
38829 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
38830 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
38831 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
38832 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
38833 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
38834 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
38835 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
38836 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
38837 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
38838 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
38839 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
38840 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
38841 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
38842 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
38843 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
38844 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
38845 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
38846 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
38847 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
38848 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
38849 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
38850 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
38851 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
38852 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
38853 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
38854 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
38855 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
38856 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
38857 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
38858 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
38859 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
38860 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
38861 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
38862 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
38863 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
38864 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
38865 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
38866 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
38867 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
38868 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
38869 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
38870 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
38871 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
38872 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
38873 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
38874 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
38875 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
38876 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
38877 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
38878 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
38879 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
38880 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
38881 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
38882 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
38883 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
38884 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
38885 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
38886 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
38887 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
38888 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
38889 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
38890 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
38891 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
38892 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
38893 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
38894 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
38895 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
38896 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
38897 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
38898 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
38899 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
38900 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
38901 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
38902 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
38903 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
38904 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
38905 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
38906 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
38907 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
38908 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
38909 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
38910 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
38911 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
38912 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
38913 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
38914 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
38915 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
38916 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
38917 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
38918 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
38919 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
38920 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
38921 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
38922 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
38923 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
38924 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
38925 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
38926 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
38927 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
38928 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
38929 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
38930 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
38931 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
38933 static swig_type_info
*swig_type_initial
[] = {
38935 &_swigt__p_form_ops_t
,
38937 &_swigt__p_unsigned_char
,
38938 &_swigt__p_unsigned_int
,
38939 &_swigt__p_unsigned_long
,
38941 &_swigt__p_wxANIHandler
,
38942 &_swigt__p_wxAcceleratorTable
,
38943 &_swigt__p_wxActivateEvent
,
38944 &_swigt__p_wxArrayString
,
38945 &_swigt__p_wxBMPHandler
,
38946 &_swigt__p_wxBitmap
,
38947 &_swigt__p_wxBitmapDataObject
,
38948 &_swigt__p_wxBoxSizer
,
38949 &_swigt__p_wxBusyCursor
,
38950 &_swigt__p_wxBusyInfo
,
38951 &_swigt__p_wxCURHandler
,
38952 &_swigt__p_wxCaret
,
38954 &_swigt__p_wxChildFocusEvent
,
38955 &_swigt__p_wxClipboard
,
38956 &_swigt__p_wxClipboardLocker
,
38957 &_swigt__p_wxClipboardTextEvent
,
38958 &_swigt__p_wxCloseEvent
,
38959 &_swigt__p_wxColour
,
38960 &_swigt__p_wxCommandEvent
,
38961 &_swigt__p_wxConfig
,
38962 &_swigt__p_wxConfigBase
,
38963 &_swigt__p_wxConfigPathChanger
,
38964 &_swigt__p_wxContextMenuEvent
,
38965 &_swigt__p_wxControl
,
38966 &_swigt__p_wxControlWithItems
,
38967 &_swigt__p_wxCursor
,
38968 &_swigt__p_wxCustomDataObject
,
38970 &_swigt__p_wxDataFormat
,
38971 &_swigt__p_wxDataObject
,
38972 &_swigt__p_wxDataObjectComposite
,
38973 &_swigt__p_wxDataObjectSimple
,
38974 &_swigt__p_wxDateEvent
,
38975 &_swigt__p_wxDateSpan
,
38976 &_swigt__p_wxDateTime
,
38977 &_swigt__p_wxDateTime__TimeZone
,
38978 &_swigt__p_wxDisplay
,
38979 &_swigt__p_wxDisplayChangedEvent
,
38980 &_swigt__p_wxDropFilesEvent
,
38981 &_swigt__p_wxDuplexMode
,
38982 &_swigt__p_wxEraseEvent
,
38983 &_swigt__p_wxEvent
,
38984 &_swigt__p_wxEvtHandler
,
38985 &_swigt__p_wxFSFile
,
38986 &_swigt__p_wxFileConfig
,
38987 &_swigt__p_wxFileDataObject
,
38988 &_swigt__p_wxFileHistory
,
38989 &_swigt__p_wxFileSystem
,
38990 &_swigt__p_wxFileType
,
38991 &_swigt__p_wxFileTypeInfo
,
38992 &_swigt__p_wxFlexGridSizer
,
38993 &_swigt__p_wxFocusEvent
,
38995 &_swigt__p_wxFrame
,
38996 &_swigt__p_wxGBSizerItem
,
38997 &_swigt__p_wxGIFHandler
,
38998 &_swigt__p_wxGridBagSizer
,
38999 &_swigt__p_wxGridSizer
,
39000 &_swigt__p_wxICOHandler
,
39002 &_swigt__p_wxIconizeEvent
,
39003 &_swigt__p_wxIdleEvent
,
39004 &_swigt__p_wxImage
,
39005 &_swigt__p_wxImageHandler
,
39006 &_swigt__p_wxIndividualLayoutConstraint
,
39007 &_swigt__p_wxInitDialogEvent
,
39008 &_swigt__p_wxJPEGHandler
,
39009 &_swigt__p_wxJoystick
,
39010 &_swigt__p_wxJoystickEvent
,
39011 &_swigt__p_wxKeyEvent
,
39012 &_swigt__p_wxKillError
,
39013 &_swigt__p_wxLayoutConstraints
,
39015 &_swigt__p_wxLogBuffer
,
39016 &_swigt__p_wxLogChain
,
39017 &_swigt__p_wxLogGui
,
39018 &_swigt__p_wxLogNull
,
39019 &_swigt__p_wxLogStderr
,
39020 &_swigt__p_wxLogTextCtrl
,
39021 &_swigt__p_wxLogWindow
,
39022 &_swigt__p_wxMaximizeEvent
,
39024 &_swigt__p_wxMenuBar
,
39025 &_swigt__p_wxMenuEvent
,
39026 &_swigt__p_wxMenuItem
,
39027 &_swigt__p_wxMetafile
,
39028 &_swigt__p_wxMetafileDataObject
,
39029 &_swigt__p_wxMimeTypesManager
,
39030 &_swigt__p_wxMouseCaptureChangedEvent
,
39031 &_swigt__p_wxMouseCaptureLostEvent
,
39032 &_swigt__p_wxMouseEvent
,
39033 &_swigt__p_wxMouseState
,
39034 &_swigt__p_wxMoveEvent
,
39035 &_swigt__p_wxMutexGuiLocker
,
39036 &_swigt__p_wxNavigationKeyEvent
,
39037 &_swigt__p_wxNcPaintEvent
,
39038 &_swigt__p_wxNotifyEvent
,
39039 &_swigt__p_wxObject
,
39040 &_swigt__p_wxOutputStream
,
39041 &_swigt__p_wxPCXHandler
,
39042 &_swigt__p_wxPNGHandler
,
39043 &_swigt__p_wxPNMHandler
,
39044 &_swigt__p_wxPaintEvent
,
39045 &_swigt__p_wxPaletteChangedEvent
,
39046 &_swigt__p_wxPaperSize
,
39047 &_swigt__p_wxPlatformInfo
,
39048 &_swigt__p_wxPoint
,
39049 &_swigt__p_wxPowerEvent
,
39050 &_swigt__p_wxProcessEvent
,
39051 &_swigt__p_wxPyApp
,
39052 &_swigt__p_wxPyArtProvider
,
39053 &_swigt__p_wxPyBitmapDataObject
,
39054 &_swigt__p_wxPyCommandEvent
,
39055 &_swigt__p_wxPyDataObjectSimple
,
39056 &_swigt__p_wxPyDropSource
,
39057 &_swigt__p_wxPyDropTarget
,
39058 &_swigt__p_wxPyEvent
,
39059 &_swigt__p_wxPyFileDropTarget
,
39060 &_swigt__p_wxPyImageHandler
,
39061 &_swigt__p_wxPyLog
,
39062 &_swigt__p_wxPyProcess
,
39063 &_swigt__p_wxPySizer
,
39064 &_swigt__p_wxPyTextDataObject
,
39065 &_swigt__p_wxPyTextDropTarget
,
39066 &_swigt__p_wxPyTimer
,
39067 &_swigt__p_wxPyTipProvider
,
39068 &_swigt__p_wxPyValidator
,
39069 &_swigt__p_wxQueryNewPaletteEvent
,
39071 &_swigt__p_wxScrollEvent
,
39072 &_swigt__p_wxScrollWinEvent
,
39073 &_swigt__p_wxSetCursorEvent
,
39074 &_swigt__p_wxShowEvent
,
39075 &_swigt__p_wxSingleInstanceChecker
,
39077 &_swigt__p_wxSizeEvent
,
39078 &_swigt__p_wxSizer
,
39079 &_swigt__p_wxSizerItem
,
39080 &_swigt__p_wxSound
,
39081 &_swigt__p_wxStandardPaths
,
39082 &_swigt__p_wxStaticBoxSizer
,
39083 &_swigt__p_wxStdDialogButtonSizer
,
39084 &_swigt__p_wxStopWatch
,
39085 &_swigt__p_wxString
,
39086 &_swigt__p_wxSysColourChangedEvent
,
39087 &_swigt__p_wxSystemOptions
,
39088 &_swigt__p_wxSystemSettings
,
39089 &_swigt__p_wxTIFFHandler
,
39090 &_swigt__p_wxTextCtrl
,
39091 &_swigt__p_wxTextDataObject
,
39092 &_swigt__p_wxTimeSpan
,
39093 &_swigt__p_wxTimer
,
39094 &_swigt__p_wxTimerEvent
,
39095 &_swigt__p_wxTimerRunner
,
39096 &_swigt__p_wxTipProvider
,
39097 &_swigt__p_wxToolTip
,
39098 &_swigt__p_wxURLDataObject
,
39099 &_swigt__p_wxUpdateUIEvent
,
39100 &_swigt__p_wxValidator
,
39101 &_swigt__p_wxVideoMode
,
39102 &_swigt__p_wxWindow
,
39103 &_swigt__p_wxWindowCreateEvent
,
39104 &_swigt__p_wxWindowDestroyEvent
,
39105 &_swigt__p_wxWindowDisabler
,
39106 &_swigt__p_wxXPMHandler
,
39109 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39110 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39111 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39112 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39113 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39114 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39115 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39116 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
39117 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39118 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}};
39119 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
39120 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
39121 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
39122 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39123 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
39124 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
39125 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39126 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
39127 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}};
39128 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
39129 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39130 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39131 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
39132 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
39133 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}};
39134 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
39135 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}};
39136 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
39137 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
39138 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
39139 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
39140 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39141 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39142 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39143 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39144 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39145 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39146 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39147 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39148 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39149 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39150 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39151 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39152 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39153 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39154 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39155 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39156 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39157 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39158 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39159 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39160 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39161 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39162 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39163 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39164 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39165 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39166 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39167 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39168 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39169 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39170 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39171 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39172 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39173 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39174 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39175 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39176 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39177 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39178 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39179 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}};
39180 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39181 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39182 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39183 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39184 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39185 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39186 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}};
39187 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
39188 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39189 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
39190 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
39191 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
39192 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39193 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
39194 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39195 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
39196 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
39197 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
39198 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}};
39199 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
39200 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
39201 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
39202 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
39203 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
39204 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39205 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
39206 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39207 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
39208 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39209 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
39210 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
39211 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
39212 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39213 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39214 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39215 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39216 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39217 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39218 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39219 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39220 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39221 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39222 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39223 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39224 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39225 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39226 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39227 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39228 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39229 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39230 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39231 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39232 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39233 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39234 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39235 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39236 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39237 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39238 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39239 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39240 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39241 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39242 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}};
39243 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
39244 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39245 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
39246 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39247 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39248 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
39249 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
39250 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39251 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
39252 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
39253 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}};
39254 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39255 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
39256 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
39257 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39258 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39259 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
39260 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
39261 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39262 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
39263 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
39264 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
39265 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
39266 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
39267 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
39268 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
39269 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
39270 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39271 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}};
39272 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
39273 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
39274 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39275 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
39276 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}};
39277 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
39278 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39279 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
39280 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}};
39281 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
39283 static swig_cast_info
*swig_cast_initial
[] = {
39285 _swigc__p_form_ops_t
,
39287 _swigc__p_unsigned_char
,
39288 _swigc__p_unsigned_int
,
39289 _swigc__p_unsigned_long
,
39291 _swigc__p_wxANIHandler
,
39292 _swigc__p_wxAcceleratorTable
,
39293 _swigc__p_wxActivateEvent
,
39294 _swigc__p_wxArrayString
,
39295 _swigc__p_wxBMPHandler
,
39296 _swigc__p_wxBitmap
,
39297 _swigc__p_wxBitmapDataObject
,
39298 _swigc__p_wxBoxSizer
,
39299 _swigc__p_wxBusyCursor
,
39300 _swigc__p_wxBusyInfo
,
39301 _swigc__p_wxCURHandler
,
39304 _swigc__p_wxChildFocusEvent
,
39305 _swigc__p_wxClipboard
,
39306 _swigc__p_wxClipboardLocker
,
39307 _swigc__p_wxClipboardTextEvent
,
39308 _swigc__p_wxCloseEvent
,
39309 _swigc__p_wxColour
,
39310 _swigc__p_wxCommandEvent
,
39311 _swigc__p_wxConfig
,
39312 _swigc__p_wxConfigBase
,
39313 _swigc__p_wxConfigPathChanger
,
39314 _swigc__p_wxContextMenuEvent
,
39315 _swigc__p_wxControl
,
39316 _swigc__p_wxControlWithItems
,
39317 _swigc__p_wxCursor
,
39318 _swigc__p_wxCustomDataObject
,
39320 _swigc__p_wxDataFormat
,
39321 _swigc__p_wxDataObject
,
39322 _swigc__p_wxDataObjectComposite
,
39323 _swigc__p_wxDataObjectSimple
,
39324 _swigc__p_wxDateEvent
,
39325 _swigc__p_wxDateSpan
,
39326 _swigc__p_wxDateTime
,
39327 _swigc__p_wxDateTime__TimeZone
,
39328 _swigc__p_wxDisplay
,
39329 _swigc__p_wxDisplayChangedEvent
,
39330 _swigc__p_wxDropFilesEvent
,
39331 _swigc__p_wxDuplexMode
,
39332 _swigc__p_wxEraseEvent
,
39334 _swigc__p_wxEvtHandler
,
39335 _swigc__p_wxFSFile
,
39336 _swigc__p_wxFileConfig
,
39337 _swigc__p_wxFileDataObject
,
39338 _swigc__p_wxFileHistory
,
39339 _swigc__p_wxFileSystem
,
39340 _swigc__p_wxFileType
,
39341 _swigc__p_wxFileTypeInfo
,
39342 _swigc__p_wxFlexGridSizer
,
39343 _swigc__p_wxFocusEvent
,
39346 _swigc__p_wxGBSizerItem
,
39347 _swigc__p_wxGIFHandler
,
39348 _swigc__p_wxGridBagSizer
,
39349 _swigc__p_wxGridSizer
,
39350 _swigc__p_wxICOHandler
,
39352 _swigc__p_wxIconizeEvent
,
39353 _swigc__p_wxIdleEvent
,
39355 _swigc__p_wxImageHandler
,
39356 _swigc__p_wxIndividualLayoutConstraint
,
39357 _swigc__p_wxInitDialogEvent
,
39358 _swigc__p_wxJPEGHandler
,
39359 _swigc__p_wxJoystick
,
39360 _swigc__p_wxJoystickEvent
,
39361 _swigc__p_wxKeyEvent
,
39362 _swigc__p_wxKillError
,
39363 _swigc__p_wxLayoutConstraints
,
39365 _swigc__p_wxLogBuffer
,
39366 _swigc__p_wxLogChain
,
39367 _swigc__p_wxLogGui
,
39368 _swigc__p_wxLogNull
,
39369 _swigc__p_wxLogStderr
,
39370 _swigc__p_wxLogTextCtrl
,
39371 _swigc__p_wxLogWindow
,
39372 _swigc__p_wxMaximizeEvent
,
39374 _swigc__p_wxMenuBar
,
39375 _swigc__p_wxMenuEvent
,
39376 _swigc__p_wxMenuItem
,
39377 _swigc__p_wxMetafile
,
39378 _swigc__p_wxMetafileDataObject
,
39379 _swigc__p_wxMimeTypesManager
,
39380 _swigc__p_wxMouseCaptureChangedEvent
,
39381 _swigc__p_wxMouseCaptureLostEvent
,
39382 _swigc__p_wxMouseEvent
,
39383 _swigc__p_wxMouseState
,
39384 _swigc__p_wxMoveEvent
,
39385 _swigc__p_wxMutexGuiLocker
,
39386 _swigc__p_wxNavigationKeyEvent
,
39387 _swigc__p_wxNcPaintEvent
,
39388 _swigc__p_wxNotifyEvent
,
39389 _swigc__p_wxObject
,
39390 _swigc__p_wxOutputStream
,
39391 _swigc__p_wxPCXHandler
,
39392 _swigc__p_wxPNGHandler
,
39393 _swigc__p_wxPNMHandler
,
39394 _swigc__p_wxPaintEvent
,
39395 _swigc__p_wxPaletteChangedEvent
,
39396 _swigc__p_wxPaperSize
,
39397 _swigc__p_wxPlatformInfo
,
39399 _swigc__p_wxPowerEvent
,
39400 _swigc__p_wxProcessEvent
,
39402 _swigc__p_wxPyArtProvider
,
39403 _swigc__p_wxPyBitmapDataObject
,
39404 _swigc__p_wxPyCommandEvent
,
39405 _swigc__p_wxPyDataObjectSimple
,
39406 _swigc__p_wxPyDropSource
,
39407 _swigc__p_wxPyDropTarget
,
39408 _swigc__p_wxPyEvent
,
39409 _swigc__p_wxPyFileDropTarget
,
39410 _swigc__p_wxPyImageHandler
,
39412 _swigc__p_wxPyProcess
,
39413 _swigc__p_wxPySizer
,
39414 _swigc__p_wxPyTextDataObject
,
39415 _swigc__p_wxPyTextDropTarget
,
39416 _swigc__p_wxPyTimer
,
39417 _swigc__p_wxPyTipProvider
,
39418 _swigc__p_wxPyValidator
,
39419 _swigc__p_wxQueryNewPaletteEvent
,
39421 _swigc__p_wxScrollEvent
,
39422 _swigc__p_wxScrollWinEvent
,
39423 _swigc__p_wxSetCursorEvent
,
39424 _swigc__p_wxShowEvent
,
39425 _swigc__p_wxSingleInstanceChecker
,
39427 _swigc__p_wxSizeEvent
,
39429 _swigc__p_wxSizerItem
,
39431 _swigc__p_wxStandardPaths
,
39432 _swigc__p_wxStaticBoxSizer
,
39433 _swigc__p_wxStdDialogButtonSizer
,
39434 _swigc__p_wxStopWatch
,
39435 _swigc__p_wxString
,
39436 _swigc__p_wxSysColourChangedEvent
,
39437 _swigc__p_wxSystemOptions
,
39438 _swigc__p_wxSystemSettings
,
39439 _swigc__p_wxTIFFHandler
,
39440 _swigc__p_wxTextCtrl
,
39441 _swigc__p_wxTextDataObject
,
39442 _swigc__p_wxTimeSpan
,
39444 _swigc__p_wxTimerEvent
,
39445 _swigc__p_wxTimerRunner
,
39446 _swigc__p_wxTipProvider
,
39447 _swigc__p_wxToolTip
,
39448 _swigc__p_wxURLDataObject
,
39449 _swigc__p_wxUpdateUIEvent
,
39450 _swigc__p_wxValidator
,
39451 _swigc__p_wxVideoMode
,
39452 _swigc__p_wxWindow
,
39453 _swigc__p_wxWindowCreateEvent
,
39454 _swigc__p_wxWindowDestroyEvent
,
39455 _swigc__p_wxWindowDisabler
,
39456 _swigc__p_wxXPMHandler
,
39460 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39462 static swig_const_info swig_const_table
[] = {
39463 {0, 0, 0, 0.0, 0, 0}};
39468 /* -----------------------------------------------------------------------------
39469 * Type initialization:
39470 * This problem is tough by the requirement that no dynamic
39471 * memory is used. Also, since swig_type_info structures store pointers to
39472 * swig_cast_info structures and swig_cast_info structures store pointers back
39473 * to swig_type_info structures, we need some lookup code at initialization.
39474 * The idea is that swig generates all the structures that are needed.
39475 * The runtime then collects these partially filled structures.
39476 * The SWIG_InitializeModule function takes these initial arrays out of
39477 * swig_module, and does all the lookup, filling in the swig_module.types
39478 * array with the correct data and linking the correct swig_cast_info
39479 * structures together.
39481 * The generated swig_type_info structures are assigned staticly to an initial
39482 * array. We just loop though that array, and handle each type individually.
39483 * First we lookup if this type has been already loaded, and if so, use the
39484 * loaded structure instead of the generated one. Then we have to fill in the
39485 * cast linked list. The cast data is initially stored in something like a
39486 * two-dimensional array. Each row corresponds to a type (there are the same
39487 * number of rows as there are in the swig_type_initial array). Each entry in
39488 * a column is one of the swig_cast_info structures for that type.
39489 * The cast_initial array is actually an array of arrays, because each row has
39490 * a variable number of columns. So to actually build the cast linked list,
39491 * we find the array of casts associated with the type, and loop through it
39492 * adding the casts to the list. The one last trick we need to do is making
39493 * sure the type pointer in the swig_cast_info struct is correct.
39495 * First off, we lookup the cast->type name to see if it is already loaded.
39496 * There are three cases to handle:
39497 * 1) If the cast->type has already been loaded AND the type we are adding
39498 * casting info to has not been loaded (it is in this module), THEN we
39499 * replace the cast->type pointer with the type pointer that has already
39501 * 2) If BOTH types (the one we are adding casting info to, and the
39502 * cast->type) are loaded, THEN the cast info has already been loaded by
39503 * the previous module so we just ignore it.
39504 * 3) Finally, if cast->type has not already been loaded, then we add that
39505 * swig_cast_info to the linked list (because the cast->type) pointer will
39507 * ----------------------------------------------------------------------------- */
39517 #define SWIGRUNTIME_DEBUG
39521 SWIG_InitializeModule(void *clientdata
) {
39523 swig_module_info
*module_head
;
39524 static int init_run
= 0;
39526 clientdata
= clientdata
;
39528 if (init_run
) return;
39531 /* Initialize the swig_module */
39532 swig_module
.type_initial
= swig_type_initial
;
39533 swig_module
.cast_initial
= swig_cast_initial
;
39535 /* Try and load any already created modules */
39536 module_head
= SWIG_GetModule(clientdata
);
39538 swig_module
.next
= module_head
->next
;
39539 module_head
->next
= &swig_module
;
39541 /* This is the first module loaded */
39542 swig_module
.next
= &swig_module
;
39543 SWIG_SetModule(clientdata
, &swig_module
);
39546 /* Now work on filling in swig_module.types */
39547 #ifdef SWIGRUNTIME_DEBUG
39548 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
39550 for (i
= 0; i
< swig_module
.size
; ++i
) {
39551 swig_type_info
*type
= 0;
39552 swig_type_info
*ret
;
39553 swig_cast_info
*cast
;
39555 #ifdef SWIGRUNTIME_DEBUG
39556 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39559 /* if there is another module already loaded */
39560 if (swig_module
.next
!= &swig_module
) {
39561 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
39564 /* Overwrite clientdata field */
39565 #ifdef SWIGRUNTIME_DEBUG
39566 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
39568 if (swig_module
.type_initial
[i
]->clientdata
) {
39569 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
39570 #ifdef SWIGRUNTIME_DEBUG
39571 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
39575 type
= swig_module
.type_initial
[i
];
39578 /* Insert casting types */
39579 cast
= swig_module
.cast_initial
[i
];
39580 while (cast
->type
) {
39581 /* Don't need to add information already in the list */
39583 #ifdef SWIGRUNTIME_DEBUG
39584 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
39586 if (swig_module
.next
!= &swig_module
) {
39587 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
39588 #ifdef SWIGRUNTIME_DEBUG
39589 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
39593 if (type
== swig_module
.type_initial
[i
]) {
39594 #ifdef SWIGRUNTIME_DEBUG
39595 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
39600 /* Check for casting already in the list */
39601 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
39602 #ifdef SWIGRUNTIME_DEBUG
39603 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39605 if (!ocast
) ret
= 0;
39610 #ifdef SWIGRUNTIME_DEBUG
39611 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39614 type
->cast
->prev
= cast
;
39615 cast
->next
= type
->cast
;
39621 /* Set entry in modules->types array equal to the type */
39622 swig_module
.types
[i
] = type
;
39624 swig_module
.types
[i
] = 0;
39626 #ifdef SWIGRUNTIME_DEBUG
39627 printf("**** SWIG_InitializeModule: Cast List ******\n");
39628 for (i
= 0; i
< swig_module
.size
; ++i
) {
39630 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39631 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39632 while (cast
->type
) {
39633 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39637 printf("---- Total casts: %d\n",j
);
39639 printf("**** SWIG_InitializeModule: Cast List ******\n");
39643 /* This function will propagate the clientdata field of type to
39644 * any new swig_type_info structures that have been added into the list
39645 * of equivalent types. It is like calling
39646 * SWIG_TypeClientData(type, clientdata) a second time.
39649 SWIG_PropagateClientData(void) {
39651 swig_cast_info
*equiv
;
39652 static int init_run
= 0;
39654 if (init_run
) return;
39657 for (i
= 0; i
< swig_module
.size
; i
++) {
39658 if (swig_module
.types
[i
]->clientdata
) {
39659 equiv
= swig_module
.types
[i
]->cast
;
39661 if (!equiv
->converter
) {
39662 if (equiv
->type
&& !equiv
->type
->clientdata
)
39663 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
39665 equiv
= equiv
->next
;
39685 /* Python-specific SWIG API */
39686 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39687 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39688 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39690 /* -----------------------------------------------------------------------------
39691 * global variable support code.
39692 * ----------------------------------------------------------------------------- */
39694 typedef struct swig_globalvar
{
39695 char *name
; /* Name of global variable */
39696 PyObject
*(*get_attr
)(void); /* Return the current value */
39697 int (*set_attr
)(PyObject
*); /* Set the value */
39698 struct swig_globalvar
*next
;
39701 typedef struct swig_varlinkobject
{
39703 swig_globalvar
*vars
;
39704 } swig_varlinkobject
;
39706 SWIGINTERN PyObject
*
39707 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
39708 return PyString_FromString("<Swig global variables>");
39711 SWIGINTERN PyObject
*
39712 swig_varlink_str(swig_varlinkobject
*v
) {
39713 PyObject
*str
= PyString_FromString("(");
39714 swig_globalvar
*var
;
39715 for (var
= v
->vars
; var
; var
=var
->next
) {
39716 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
39717 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
39719 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
39724 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
39725 PyObject
*str
= swig_varlink_str(v
);
39726 fprintf(fp
,"Swig global variables ");
39727 fprintf(fp
,"%s\n", PyString_AsString(str
));
39733 swig_varlink_dealloc(swig_varlinkobject
*v
) {
39734 swig_globalvar
*var
= v
->vars
;
39736 swig_globalvar
*n
= var
->next
;
39743 SWIGINTERN PyObject
*
39744 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39745 PyObject
*res
= NULL
;
39746 swig_globalvar
*var
= v
->vars
;
39748 if (strcmp(var
->name
,n
) == 0) {
39749 res
= (*var
->get_attr
)();
39754 if (res
== NULL
&& !PyErr_Occurred()) {
39755 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39761 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39763 swig_globalvar
*var
= v
->vars
;
39765 if (strcmp(var
->name
,n
) == 0) {
39766 res
= (*var
->set_attr
)(p
);
39771 if (res
== 1 && !PyErr_Occurred()) {
39772 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39777 SWIGINTERN PyTypeObject
*
39778 swig_varlink_type(void) {
39779 static char varlink__doc__
[] = "Swig var link object";
39780 static PyTypeObject varlink_type
;
39781 static int type_init
= 0;
39783 const PyTypeObject tmp
39785 PyObject_HEAD_INIT(NULL
)
39786 0, /* Number of items in variable part (ob_size) */
39787 (char *)"swigvarlink", /* Type name (tp_name) */
39788 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39789 0, /* Itemsize (tp_itemsize) */
39790 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
39791 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39792 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39793 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39794 0, /* tp_compare */
39795 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39796 0, /* tp_as_number */
39797 0, /* tp_as_sequence */
39798 0, /* tp_as_mapping */
39801 (reprfunc
)swig_varlink_str
, /* tp_str */
39802 0, /* tp_getattro */
39803 0, /* tp_setattro */
39804 0, /* tp_as_buffer */
39806 varlink__doc__
, /* tp_doc */
39807 0, /* tp_traverse */
39809 0, /* tp_richcompare */
39810 0, /* tp_weaklistoffset */
39811 #if PY_VERSION_HEX >= 0x02020000
39812 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39814 #if PY_VERSION_HEX >= 0x02030000
39817 #ifdef COUNT_ALLOCS
39818 0,0,0,0 /* tp_alloc -> tp_next */
39821 varlink_type
= tmp
;
39822 varlink_type
.ob_type
= &PyType_Type
;
39825 return &varlink_type
;
39828 /* Create a variable linking object for use later */
39829 SWIGINTERN PyObject
*
39830 SWIG_Python_newvarlink(void) {
39831 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39835 return ((PyObject
*) result
);
39839 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39840 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39841 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39843 size_t size
= strlen(name
)+1;
39844 gv
->name
= (char *)malloc(size
);
39846 strncpy(gv
->name
,name
,size
);
39847 gv
->get_attr
= get_attr
;
39848 gv
->set_attr
= set_attr
;
39849 gv
->next
= v
->vars
;
39855 SWIGINTERN PyObject
*
39857 static PyObject
*_SWIG_globals
= 0;
39858 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
39859 return _SWIG_globals
;
39862 /* -----------------------------------------------------------------------------
39863 * constants/methods manipulation
39864 * ----------------------------------------------------------------------------- */
39866 /* Install Constants */
39868 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39871 for (i
= 0; constants
[i
].type
; ++i
) {
39872 switch(constants
[i
].type
) {
39873 case SWIG_PY_POINTER
:
39874 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39876 case SWIG_PY_BINARY
:
39877 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39884 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
39890 /* -----------------------------------------------------------------------------*/
39891 /* Fix SwigMethods to carry the callback ptrs when needed */
39892 /* -----------------------------------------------------------------------------*/
39895 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39896 swig_const_info
*const_table
,
39897 swig_type_info
**types
,
39898 swig_type_info
**types_initial
) {
39900 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39901 const char *c
= methods
[i
].ml_doc
;
39902 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39904 swig_const_info
*ci
= 0;
39905 const char *name
= c
+ 10;
39906 for (j
= 0; const_table
[j
].type
; ++j
) {
39907 if (strncmp(const_table
[j
].name
, name
,
39908 strlen(const_table
[j
].name
)) == 0) {
39909 ci
= &(const_table
[j
]);
39914 size_t shift
= (ci
->ptype
) - types
;
39915 swig_type_info
*ty
= types_initial
[shift
];
39916 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39917 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39918 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39921 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39923 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39925 strncpy(buff
, "swig_ptr: ", 10);
39927 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
39928 methods
[i
].ml_doc
= ndoc
;
39940 /* -----------------------------------------------------------------------------*
39941 * Partial Init method
39942 * -----------------------------------------------------------------------------*/
39947 SWIGEXPORT
void SWIG_init(void) {
39950 /* Fix SwigMethods to carry the callback ptrs when needed */
39951 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
39953 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
39954 d
= PyModule_GetDict(m
);
39956 SWIG_InitializeModule(0);
39957 SWIG_InstallConstants(d
,swig_const_table
);
39960 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
39961 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
39962 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
39963 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
39964 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
39965 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
39966 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
39967 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
39968 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
39969 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
39970 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
39971 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
39972 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
39973 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
39974 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
39975 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
39976 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
39977 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
39978 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
39979 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
39980 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
39981 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
39982 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
39983 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
39984 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
39985 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
39986 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
39987 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
39988 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
39989 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
39990 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
39991 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
39992 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
39993 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
39994 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
39995 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
39996 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
39997 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
39998 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
39999 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
40000 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
40001 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
40002 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
40003 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
40004 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
40005 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
40006 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
40007 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
40008 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
40009 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
40010 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
40011 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
40012 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
40013 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
40014 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
40015 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
40016 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
40017 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
40018 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
40019 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
40020 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
40021 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
40022 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
40023 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
40024 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
40025 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
40026 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
40027 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
40028 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
40029 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
40030 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
40031 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
40032 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
40033 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
40034 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
40035 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
40036 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
40037 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
40038 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
40039 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
40040 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
40041 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
40042 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
40043 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
40044 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
40045 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
40046 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
40047 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
40048 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
40049 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
40050 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
40051 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
40052 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
40053 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
40054 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
40055 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
40056 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
40057 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
40058 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
40059 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
40060 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
40061 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
40062 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
40063 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
40064 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
40065 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
40066 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
40067 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
40068 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
40069 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
40070 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
40071 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
40072 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
40073 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
40074 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
40075 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
40076 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
40077 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
40078 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
40079 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
40080 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
40081 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
40082 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
40083 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
40084 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
40085 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
40086 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
40087 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
40088 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
40089 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
40090 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
40091 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
40092 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
40093 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
40094 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
40095 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
40096 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
40097 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
40098 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
40099 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
40100 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
40101 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
40102 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
40103 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
40105 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
40107 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
40108 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
40109 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
40110 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
40111 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
40112 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
40113 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
40114 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
40115 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
40116 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
40117 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
40118 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
40119 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
40120 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
40121 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
40122 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
40123 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
40124 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
40125 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
40126 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
40127 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
40128 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
40129 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
40130 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
40131 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
40132 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
40133 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
40134 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
40135 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
40136 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
40137 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
40138 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
40139 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
40140 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
40141 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
40142 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
40143 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
40144 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
40145 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
40146 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
40147 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
40148 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
40149 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
40150 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
40151 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
40152 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
40153 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
40154 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
40155 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
40156 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
40157 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
40158 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
40159 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
40161 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
40163 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
40164 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
40165 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
40166 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
40167 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
40168 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
40169 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
40170 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
40171 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
40172 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
40173 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
40174 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
40175 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
40176 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
40177 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
40178 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
40179 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
40180 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
40181 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
40182 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
40183 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
40184 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
40185 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
40186 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
40187 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
40188 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
40189 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
40190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
40191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
40192 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
40193 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
40194 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
40195 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
40196 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
40197 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
40198 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
40199 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
40200 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
40201 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
40202 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
40203 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
40204 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
40205 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
40206 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
40207 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
40208 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
40209 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
40210 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
40211 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
40212 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
40213 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
40214 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
40215 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
40216 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
40217 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
40218 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
40219 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
40220 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
40221 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
40222 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
40223 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
40224 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
40225 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
40226 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
40227 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
40228 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
40229 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
40230 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
40231 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
40232 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
40233 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
40234 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
40235 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
40236 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
40237 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
40238 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
40240 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
40242 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
40243 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
40244 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
40245 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
40246 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
40247 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
40248 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
40249 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
40250 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
40251 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
40252 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
40253 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
40254 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
40255 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
40256 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
40257 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
40258 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
40259 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
40260 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
40261 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
40262 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
40263 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
40264 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
40265 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
40266 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
40267 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
40268 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
40269 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
40270 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
40271 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
40272 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
40273 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
40274 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
40275 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
40276 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
40277 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
40278 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
40279 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
40280 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
40281 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
40282 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
40283 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
40284 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
40285 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
40286 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
40287 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
40288 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
40289 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
40290 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
40291 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
40292 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
40293 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
40294 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
40295 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
40296 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
40297 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
40298 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
40299 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
40300 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
40301 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
40302 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
40303 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
40304 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
40305 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
40306 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
40307 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
40308 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
40309 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
40310 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
40311 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
40312 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
40313 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
40314 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
40315 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
40316 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
40317 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
40318 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
40319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
40320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
40321 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
40322 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
40323 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
40324 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
40325 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
40326 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
40327 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
40328 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
40329 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
40330 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
40331 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
40332 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
40333 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
40334 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
40335 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
40336 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
40337 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
40338 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
40339 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
40340 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
40341 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
40342 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
40343 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
40344 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
40345 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
40346 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
40347 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
40348 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
40349 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
40350 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
40351 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
40352 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
40353 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
40354 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
40355 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
40356 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
40357 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
40358 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
40359 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
40360 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
40361 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
40362 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
40363 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
40364 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
40365 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
40366 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
40367 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
40368 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
40369 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
40370 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
40371 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
40372 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
40373 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
40374 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
40375 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
40376 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
40377 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
40378 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
40379 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
40380 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
40381 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
40382 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
40383 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
40384 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
40385 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
40386 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
40387 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
40388 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
40389 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
40390 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
40391 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
40392 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
40393 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
40394 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
40395 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
40396 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
40397 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
40398 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
40399 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
40400 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
40401 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
40402 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
40403 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
40404 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
40405 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
40406 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
40407 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
40408 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
40409 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
40410 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
40411 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
40412 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
40413 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
40414 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
40415 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
40416 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
40417 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
40418 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
40419 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
40420 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
40421 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
40422 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
40423 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
40424 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
40425 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
40426 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
40427 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
40428 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
40429 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
40430 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
40431 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
40432 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
40433 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
40434 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
40435 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
40436 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
40437 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
40438 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
40439 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
40440 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
40441 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
40443 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
40444 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
40445 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
40446 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
40448 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
40449 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
40450 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
40451 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
40452 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
40453 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
40454 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
40455 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
40456 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
40457 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
40458 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
40459 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
40460 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
40461 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
40462 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
40463 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));