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();
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_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20322 PyObject
*resultobj
= 0;
20325 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 result
= (bool)wxPyArtProvider::PopProvider();
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20341 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
= 0;
20343 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20347 PyObject
* obj0
= 0 ;
20348 char * kwnames
[] = {
20349 (char *) "provider", NULL
20352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
20353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20354 if (!SWIG_IsOK(res1
)) {
20355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20357 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20373 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
= 0;
20375 wxString
*arg1
= 0 ;
20376 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20377 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20378 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20379 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20381 bool temp1
= false ;
20382 bool temp2
= false ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 PyObject
* obj2
= 0 ;
20387 char * kwnames
[] = {
20388 (char *) "id",(char *) "client",(char *) "size", NULL
20391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20393 arg1
= wxString_in_helper(obj0
);
20394 if (arg1
== NULL
) SWIG_fail
;
20399 arg2
= wxString_in_helper(obj1
);
20400 if (arg2
== NULL
) SWIG_fail
;
20407 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20411 if (!wxPyCheckForApp()) SWIG_fail
;
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20440 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
= 0;
20442 wxString
*arg1
= 0 ;
20443 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20444 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20445 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20446 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20448 bool temp1
= false ;
20449 bool temp2
= false ;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20453 PyObject
* obj2
= 0 ;
20454 char * kwnames
[] = {
20455 (char *) "id",(char *) "client",(char *) "size", NULL
20458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20460 arg1
= wxString_in_helper(obj0
);
20461 if (arg1
== NULL
) SWIG_fail
;
20466 arg2
= wxString_in_helper(obj1
);
20467 if (arg2
== NULL
) SWIG_fail
;
20474 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20478 if (!wxPyCheckForApp()) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20507 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
= 0;
20509 wxString
*arg1
= 0 ;
20510 bool arg2
= (bool) false ;
20512 bool temp1
= false ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 char * kwnames
[] = {
20518 (char *) "client",(char *) "platform_dependent", NULL
20521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20523 arg1
= wxString_in_helper(obj0
);
20524 if (arg1
== NULL
) SWIG_fail
;
20528 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20529 if (!SWIG_IsOK(ecode2
)) {
20530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20532 arg2
= static_cast< bool >(val2
);
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20555 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20556 PyObject
*resultobj
= 0;
20557 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20560 PyObject
*swig_obj
[1] ;
20562 if (!args
) SWIG_fail
;
20563 swig_obj
[0] = args
;
20564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20565 if (!SWIG_IsOK(res1
)) {
20566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20568 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 wxPyArtProvider_Destroy(arg1
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_Py_Void();
20582 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20585 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20586 return SWIG_Py_Void();
20589 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20590 return SWIG_Python_InitShadowInstance(args
);
20593 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20594 PyObject
*resultobj
= 0;
20595 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20598 PyObject
*swig_obj
[1] ;
20600 if (!args
) SWIG_fail
;
20601 swig_obj
[0] = args
;
20602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20603 if (!SWIG_IsOK(res1
)) {
20604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20606 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20614 resultobj
= SWIG_Py_Void();
20621 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
= 0;
20623 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20624 wxConfigBase
*result
= 0 ;
20626 PyObject
* obj0
= 0 ;
20627 char * kwnames
[] = {
20628 (char *) "config", NULL
20631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20632 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20633 if (!SWIG_IsOK(res1
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20649 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
= 0;
20651 bool arg1
= (bool) true ;
20652 wxConfigBase
*result
= 0 ;
20655 PyObject
* obj0
= 0 ;
20656 char * kwnames
[] = {
20657 (char *) "createOnDemand", NULL
20660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20662 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20663 if (!SWIG_IsOK(ecode1
)) {
20664 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20666 arg1
= static_cast< bool >(val1
);
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20681 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20682 PyObject
*resultobj
= 0;
20683 wxConfigBase
*result
= 0 ;
20685 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 result
= (wxConfigBase
*)wxConfigBase::Create();
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20699 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20700 PyObject
*resultobj
= 0;
20702 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 wxConfigBase::DontCreateOnDemand();
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= SWIG_Py_Void();
20716 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
= 0;
20718 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20719 wxString
*arg2
= 0 ;
20722 bool temp2
= false ;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20725 char * kwnames
[] = {
20726 (char *) "self",(char *) "path", NULL
20729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20731 if (!SWIG_IsOK(res1
)) {
20732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20734 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20736 arg2
= wxString_in_helper(obj1
);
20737 if (arg2
== NULL
) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 (arg1
)->SetPath((wxString
const &)*arg2
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_Py_Void();
20761 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20762 PyObject
*resultobj
= 0;
20763 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20764 wxString
*result
= 0 ;
20767 PyObject
*swig_obj
[1] ;
20769 if (!args
) SWIG_fail
;
20770 swig_obj
[0] = args
;
20771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20772 if (!SWIG_IsOK(res1
)) {
20773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20775 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
20780 result
= (wxString
*) &_result_ref
;
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20789 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20798 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20799 PyObject
*resultobj
= 0;
20800 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20801 PyObject
*result
= 0 ;
20804 PyObject
*swig_obj
[1] ;
20806 if (!args
) SWIG_fail
;
20807 swig_obj
[0] = args
;
20808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20809 if (!SWIG_IsOK(res1
)) {
20810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20812 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= result
;
20826 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
= 0;
20828 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20830 PyObject
*result
= 0 ;
20835 PyObject
* obj0
= 0 ;
20836 PyObject
* obj1
= 0 ;
20837 char * kwnames
[] = {
20838 (char *) "self",(char *) "index", NULL
20841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20843 if (!SWIG_IsOK(res1
)) {
20844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20846 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20847 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20848 if (!SWIG_IsOK(ecode2
)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
20851 arg2
= static_cast< long >(val2
);
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= result
;
20865 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20866 PyObject
*resultobj
= 0;
20867 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20868 PyObject
*result
= 0 ;
20871 PyObject
*swig_obj
[1] ;
20873 if (!args
) SWIG_fail
;
20874 swig_obj
[0] = args
;
20875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20876 if (!SWIG_IsOK(res1
)) {
20877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20879 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= result
;
20893 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
= 0;
20895 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20897 PyObject
*result
= 0 ;
20902 PyObject
* obj0
= 0 ;
20903 PyObject
* obj1
= 0 ;
20904 char * kwnames
[] = {
20905 (char *) "self",(char *) "index", NULL
20908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20910 if (!SWIG_IsOK(res1
)) {
20911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20913 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20914 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20915 if (!SWIG_IsOK(ecode2
)) {
20916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
20918 arg2
= static_cast< long >(val2
);
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= result
;
20932 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20933 PyObject
*resultobj
= 0;
20934 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20935 bool arg2
= (bool) false ;
20941 PyObject
* obj0
= 0 ;
20942 PyObject
* obj1
= 0 ;
20943 char * kwnames
[] = {
20944 (char *) "self",(char *) "recursive", NULL
20947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20949 if (!SWIG_IsOK(res1
)) {
20950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20952 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20954 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20955 if (!SWIG_IsOK(ecode2
)) {
20956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
20958 arg2
= static_cast< bool >(val2
);
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20973 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
= 0;
20975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20976 bool arg2
= (bool) false ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char * kwnames
[] = {
20985 (char *) "self",(char *) "recursive", NULL
20988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20990 if (!SWIG_IsOK(res1
)) {
20991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20993 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20995 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20996 if (!SWIG_IsOK(ecode2
)) {
20997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
20999 arg2
= static_cast< bool >(val2
);
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21014 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
= 0;
21016 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21017 wxString
*arg2
= 0 ;
21021 bool temp2
= false ;
21022 PyObject
* obj0
= 0 ;
21023 PyObject
* obj1
= 0 ;
21024 char * kwnames
[] = {
21025 (char *) "self",(char *) "name", NULL
21028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21030 if (!SWIG_IsOK(res1
)) {
21031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21033 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21035 arg2
= wxString_in_helper(obj1
);
21036 if (arg2
== NULL
) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21062 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
= 0;
21064 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21065 wxString
*arg2
= 0 ;
21069 bool temp2
= false ;
21070 PyObject
* obj0
= 0 ;
21071 PyObject
* obj1
= 0 ;
21072 char * kwnames
[] = {
21073 (char *) "self",(char *) "name", NULL
21076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21078 if (!SWIG_IsOK(res1
)) {
21079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21081 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21083 arg2
= wxString_in_helper(obj1
);
21084 if (arg2
== NULL
) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21110 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
= 0;
21112 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21113 wxString
*arg2
= 0 ;
21117 bool temp2
= false ;
21118 PyObject
* obj0
= 0 ;
21119 PyObject
* obj1
= 0 ;
21120 char * kwnames
[] = {
21121 (char *) "self",(char *) "name", NULL
21124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21126 if (!SWIG_IsOK(res1
)) {
21127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21129 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21131 arg2
= wxString_in_helper(obj1
);
21132 if (arg2
== NULL
) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21158 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
= 0;
21160 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21161 wxString
*arg2
= 0 ;
21162 wxConfigBase::EntryType result
;
21165 bool temp2
= false ;
21166 PyObject
* obj0
= 0 ;
21167 PyObject
* obj1
= 0 ;
21168 char * kwnames
[] = {
21169 (char *) "self",(char *) "name", NULL
21172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21174 if (!SWIG_IsOK(res1
)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21177 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21179 arg2
= wxString_in_helper(obj1
);
21180 if (arg2
== NULL
) SWIG_fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= SWIG_From_int(static_cast< int >(result
));
21204 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
= 0;
21206 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21207 wxString
*arg2
= 0 ;
21208 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21209 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21213 bool temp2
= false ;
21214 bool temp3
= false ;
21215 PyObject
* obj0
= 0 ;
21216 PyObject
* obj1
= 0 ;
21217 PyObject
* obj2
= 0 ;
21218 char * kwnames
[] = {
21219 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21224 if (!SWIG_IsOK(res1
)) {
21225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21227 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21229 arg2
= wxString_in_helper(obj1
);
21230 if (arg2
== NULL
) SWIG_fail
;
21235 arg3
= wxString_in_helper(obj2
);
21236 if (arg3
== NULL
) SWIG_fail
;
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21275 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
= 0;
21277 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21278 wxString
*arg2
= 0 ;
21279 long arg3
= (long) 0 ;
21283 bool temp2
= false ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 PyObject
* obj2
= 0 ;
21289 char * kwnames
[] = {
21290 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21295 if (!SWIG_IsOK(res1
)) {
21296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21298 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21300 arg2
= wxString_in_helper(obj1
);
21301 if (arg2
== NULL
) SWIG_fail
;
21305 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21306 if (!SWIG_IsOK(ecode3
)) {
21307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21309 arg3
= static_cast< long >(val3
);
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= SWIG_From_long(static_cast< long >(result
));
21332 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
= 0;
21334 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21335 wxString
*arg2
= 0 ;
21336 double arg3
= (double) 0.0 ;
21340 bool temp2
= false ;
21343 PyObject
* obj0
= 0 ;
21344 PyObject
* obj1
= 0 ;
21345 PyObject
* obj2
= 0 ;
21346 char * kwnames
[] = {
21347 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21352 if (!SWIG_IsOK(res1
)) {
21353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21355 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21357 arg2
= wxString_in_helper(obj1
);
21358 if (arg2
== NULL
) SWIG_fail
;
21362 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21363 if (!SWIG_IsOK(ecode3
)) {
21364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21366 arg3
= static_cast< double >(val3
);
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= SWIG_From_double(static_cast< double >(result
));
21389 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
= 0;
21391 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21392 wxString
*arg2
= 0 ;
21393 bool arg3
= (bool) false ;
21397 bool temp2
= false ;
21400 PyObject
* obj0
= 0 ;
21401 PyObject
* obj1
= 0 ;
21402 PyObject
* obj2
= 0 ;
21403 char * kwnames
[] = {
21404 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21409 if (!SWIG_IsOK(res1
)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21412 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21414 arg2
= wxString_in_helper(obj1
);
21415 if (arg2
== NULL
) SWIG_fail
;
21419 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21420 if (!SWIG_IsOK(ecode3
)) {
21421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21423 arg3
= static_cast< bool >(val3
);
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21448 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
= 0;
21450 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21451 wxString
*arg2
= 0 ;
21452 wxString
*arg3
= 0 ;
21456 bool temp2
= false ;
21457 bool temp3
= false ;
21458 PyObject
* obj0
= 0 ;
21459 PyObject
* obj1
= 0 ;
21460 PyObject
* obj2
= 0 ;
21461 char * kwnames
[] = {
21462 (char *) "self",(char *) "key",(char *) "value", NULL
21465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21467 if (!SWIG_IsOK(res1
)) {
21468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21470 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21472 arg2
= wxString_in_helper(obj1
);
21473 if (arg2
== NULL
) SWIG_fail
;
21477 arg3
= wxString_in_helper(obj2
);
21478 if (arg3
== NULL
) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21512 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
= 0;
21514 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21515 wxString
*arg2
= 0 ;
21520 bool temp2
= false ;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 PyObject
* obj2
= 0 ;
21526 char * kwnames
[] = {
21527 (char *) "self",(char *) "key",(char *) "value", NULL
21530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21532 if (!SWIG_IsOK(res1
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21535 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21537 arg2
= wxString_in_helper(obj1
);
21538 if (arg2
== NULL
) SWIG_fail
;
21541 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21542 if (!SWIG_IsOK(ecode3
)) {
21543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21545 arg3
= static_cast< long >(val3
);
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21569 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21570 PyObject
*resultobj
= 0;
21571 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21572 wxString
*arg2
= 0 ;
21577 bool temp2
= false ;
21580 PyObject
* obj0
= 0 ;
21581 PyObject
* obj1
= 0 ;
21582 PyObject
* obj2
= 0 ;
21583 char * kwnames
[] = {
21584 (char *) "self",(char *) "key",(char *) "value", NULL
21587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21589 if (!SWIG_IsOK(res1
)) {
21590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21592 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21594 arg2
= wxString_in_helper(obj1
);
21595 if (arg2
== NULL
) SWIG_fail
;
21598 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21599 if (!SWIG_IsOK(ecode3
)) {
21600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21602 arg3
= static_cast< double >(val3
);
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21626 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21627 PyObject
*resultobj
= 0;
21628 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21629 wxString
*arg2
= 0 ;
21634 bool temp2
= false ;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 PyObject
* obj2
= 0 ;
21640 char * kwnames
[] = {
21641 (char *) "self",(char *) "key",(char *) "value", NULL
21644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21646 if (!SWIG_IsOK(res1
)) {
21647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21649 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21651 arg2
= wxString_in_helper(obj1
);
21652 if (arg2
== NULL
) SWIG_fail
;
21655 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21656 if (!SWIG_IsOK(ecode3
)) {
21657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21659 arg3
= static_cast< bool >(val3
);
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21683 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
= 0;
21685 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21686 bool arg2
= (bool) false ;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 char * kwnames
[] = {
21695 (char *) "self",(char *) "currentOnly", NULL
21698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21700 if (!SWIG_IsOK(res1
)) {
21701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21703 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21705 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21706 if (!SWIG_IsOK(ecode2
)) {
21707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21709 arg2
= static_cast< bool >(val2
);
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 result
= (bool)(arg1
)->Flush(arg2
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21726 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
= 0;
21728 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21729 wxString
*arg2
= 0 ;
21730 wxString
*arg3
= 0 ;
21734 bool temp2
= false ;
21735 bool temp3
= false ;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 PyObject
* obj2
= 0 ;
21739 char * kwnames
[] = {
21740 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21745 if (!SWIG_IsOK(res1
)) {
21746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21748 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21750 arg2
= wxString_in_helper(obj1
);
21751 if (arg2
== NULL
) SWIG_fail
;
21755 arg3
= wxString_in_helper(obj2
);
21756 if (arg3
== NULL
) SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21790 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
= 0;
21792 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21793 wxString
*arg2
= 0 ;
21794 wxString
*arg3
= 0 ;
21798 bool temp2
= false ;
21799 bool temp3
= false ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 PyObject
* obj2
= 0 ;
21803 char * kwnames
[] = {
21804 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21809 if (!SWIG_IsOK(res1
)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21812 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21814 arg2
= wxString_in_helper(obj1
);
21815 if (arg2
== NULL
) SWIG_fail
;
21819 arg3
= wxString_in_helper(obj2
);
21820 if (arg3
== NULL
) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21854 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
= 0;
21856 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21857 wxString
*arg2
= 0 ;
21858 bool arg3
= (bool) true ;
21862 bool temp2
= false ;
21865 PyObject
* obj0
= 0 ;
21866 PyObject
* obj1
= 0 ;
21867 PyObject
* obj2
= 0 ;
21868 char * kwnames
[] = {
21869 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
21872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21874 if (!SWIG_IsOK(res1
)) {
21875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21877 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21879 arg2
= wxString_in_helper(obj1
);
21880 if (arg2
== NULL
) SWIG_fail
;
21884 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21885 if (!SWIG_IsOK(ecode3
)) {
21886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
21888 arg3
= static_cast< bool >(val3
);
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21913 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
= 0;
21915 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21916 wxString
*arg2
= 0 ;
21920 bool temp2
= false ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char * kwnames
[] = {
21924 (char *) "self",(char *) "key", NULL
21927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21929 if (!SWIG_IsOK(res1
)) {
21930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21932 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21934 arg2
= wxString_in_helper(obj1
);
21935 if (arg2
== NULL
) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21961 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21962 PyObject
*resultobj
= 0;
21963 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21967 PyObject
*swig_obj
[1] ;
21969 if (!args
) SWIG_fail
;
21970 swig_obj
[0] = args
;
21971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21972 if (!SWIG_IsOK(res1
)) {
21973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21975 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 result
= (bool)(arg1
)->DeleteAll();
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21991 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
= 0;
21993 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21994 bool arg2
= (bool) true ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 char * kwnames
[] = {
22002 (char *) "self",(char *) "doIt", NULL
22005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22010 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22012 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22013 if (!SWIG_IsOK(ecode2
)) {
22014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22016 arg2
= static_cast< bool >(val2
);
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 (arg1
)->SetExpandEnvVars(arg2
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= SWIG_Py_Void();
22031 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22032 PyObject
*resultobj
= 0;
22033 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22037 PyObject
*swig_obj
[1] ;
22039 if (!args
) SWIG_fail
;
22040 swig_obj
[0] = args
;
22041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22042 if (!SWIG_IsOK(res1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22045 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22061 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
= 0;
22063 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22064 bool arg2
= (bool) true ;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 char * kwnames
[] = {
22072 (char *) "self",(char *) "doIt", NULL
22075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22077 if (!SWIG_IsOK(res1
)) {
22078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22080 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22082 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22083 if (!SWIG_IsOK(ecode2
)) {
22084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22086 arg2
= static_cast< bool >(val2
);
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 (arg1
)->SetRecordDefaults(arg2
);
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 resultobj
= SWIG_Py_Void();
22101 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22102 PyObject
*resultobj
= 0;
22103 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22107 PyObject
*swig_obj
[1] ;
22109 if (!args
) SWIG_fail
;
22110 swig_obj
[0] = args
;
22111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22112 if (!SWIG_IsOK(res1
)) {
22113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22115 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22131 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
= 0;
22133 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22134 wxString
*arg2
= 0 ;
22138 bool temp2
= false ;
22139 PyObject
* obj0
= 0 ;
22140 PyObject
* obj1
= 0 ;
22141 char * kwnames
[] = {
22142 (char *) "self",(char *) "str", NULL
22145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22147 if (!SWIG_IsOK(res1
)) {
22148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22150 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22152 arg2
= wxString_in_helper(obj1
);
22153 if (arg2
== NULL
) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22183 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22184 PyObject
*resultobj
= 0;
22185 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22189 PyObject
*swig_obj
[1] ;
22191 if (!args
) SWIG_fail
;
22192 swig_obj
[0] = args
;
22193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22197 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22217 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22218 PyObject
*resultobj
= 0;
22219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22223 PyObject
*swig_obj
[1] ;
22225 if (!args
) SWIG_fail
;
22226 swig_obj
[0] = args
;
22227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22228 if (!SWIG_IsOK(res1
)) {
22229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22231 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22251 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
= 0;
22253 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22254 wxString
*arg2
= 0 ;
22257 bool temp2
= false ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 char * kwnames
[] = {
22261 (char *) "self",(char *) "appName", NULL
22264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22266 if (!SWIG_IsOK(res1
)) {
22267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22269 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22271 arg2
= wxString_in_helper(obj1
);
22272 if (arg2
== NULL
) SWIG_fail
;
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 (arg1
)->SetAppName((wxString
const &)*arg2
);
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_Py_Void();
22296 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
= 0;
22298 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22299 wxString
*arg2
= 0 ;
22302 bool temp2
= false ;
22303 PyObject
* obj0
= 0 ;
22304 PyObject
* obj1
= 0 ;
22305 char * kwnames
[] = {
22306 (char *) "self",(char *) "vendorName", NULL
22309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22311 if (!SWIG_IsOK(res1
)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22314 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22316 arg2
= wxString_in_helper(obj1
);
22317 if (arg2
== NULL
) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SWIG_Py_Void();
22341 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
= 0;
22343 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22349 PyObject
* obj0
= 0 ;
22350 PyObject
* obj1
= 0 ;
22351 char * kwnames
[] = {
22352 (char *) "self",(char *) "style", NULL
22355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22357 if (!SWIG_IsOK(res1
)) {
22358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22360 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22361 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22362 if (!SWIG_IsOK(ecode2
)) {
22363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22365 arg2
= static_cast< long >(val2
);
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 (arg1
)->SetStyle(arg2
);
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= SWIG_Py_Void();
22379 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22380 PyObject
*resultobj
= 0;
22381 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22385 PyObject
*swig_obj
[1] ;
22387 if (!args
) SWIG_fail
;
22388 swig_obj
[0] = args
;
22389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22390 if (!SWIG_IsOK(res1
)) {
22391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22393 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_From_long(static_cast< long >(result
));
22407 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22410 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22411 return SWIG_Py_Void();
22414 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22415 PyObject
*resultobj
= 0;
22416 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22417 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22418 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22419 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22420 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22421 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22422 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22423 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22424 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22425 wxConfig
*result
= 0 ;
22426 bool temp1
= false ;
22427 bool temp2
= false ;
22428 bool temp3
= false ;
22429 bool temp4
= false ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 PyObject
* obj2
= 0 ;
22435 PyObject
* obj3
= 0 ;
22436 PyObject
* obj4
= 0 ;
22437 char * kwnames
[] = {
22438 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22444 arg1
= wxString_in_helper(obj0
);
22445 if (arg1
== NULL
) SWIG_fail
;
22451 arg2
= wxString_in_helper(obj1
);
22452 if (arg2
== NULL
) SWIG_fail
;
22458 arg3
= wxString_in_helper(obj2
);
22459 if (arg3
== NULL
) SWIG_fail
;
22465 arg4
= wxString_in_helper(obj3
);
22466 if (arg4
== NULL
) SWIG_fail
;
22471 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22472 if (!SWIG_IsOK(ecode5
)) {
22473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22475 arg5
= static_cast< long >(val5
);
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22522 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22523 PyObject
*resultobj
= 0;
22524 wxConfig
*arg1
= (wxConfig
*) 0 ;
22527 PyObject
*swig_obj
[1] ;
22529 if (!args
) SWIG_fail
;
22530 swig_obj
[0] = args
;
22531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22532 if (!SWIG_IsOK(res1
)) {
22533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22535 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_Py_Void();
22550 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22553 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22554 return SWIG_Py_Void();
22557 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22558 return SWIG_Python_InitShadowInstance(args
);
22561 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
= 0;
22563 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22564 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22565 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22566 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22567 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22568 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22569 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22570 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22571 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22572 wxFileConfig
*result
= 0 ;
22573 bool temp1
= false ;
22574 bool temp2
= false ;
22575 bool temp3
= false ;
22576 bool temp4
= false ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 PyObject
* obj2
= 0 ;
22582 PyObject
* obj3
= 0 ;
22583 PyObject
* obj4
= 0 ;
22584 char * kwnames
[] = {
22585 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22591 arg1
= wxString_in_helper(obj0
);
22592 if (arg1
== NULL
) SWIG_fail
;
22598 arg2
= wxString_in_helper(obj1
);
22599 if (arg2
== NULL
) SWIG_fail
;
22605 arg3
= wxString_in_helper(obj2
);
22606 if (arg3
== NULL
) SWIG_fail
;
22612 arg4
= wxString_in_helper(obj3
);
22613 if (arg4
== NULL
) SWIG_fail
;
22618 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22619 if (!SWIG_IsOK(ecode5
)) {
22620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22622 arg5
= static_cast< long >(val5
);
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22669 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22670 PyObject
*resultobj
= 0;
22671 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22674 PyObject
*swig_obj
[1] ;
22676 if (!args
) SWIG_fail
;
22677 swig_obj
[0] = args
;
22678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22679 if (!SWIG_IsOK(res1
)) {
22680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22682 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= SWIG_Py_Void();
22697 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22700 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22701 return SWIG_Py_Void();
22704 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22705 return SWIG_Python_InitShadowInstance(args
);
22708 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
= 0;
22710 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22711 wxString
*arg2
= 0 ;
22712 wxConfigPathChanger
*result
= 0 ;
22715 bool temp2
= false ;
22716 PyObject
* obj0
= 0 ;
22717 PyObject
* obj1
= 0 ;
22718 char * kwnames
[] = {
22719 (char *) "config",(char *) "entry", NULL
22722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22724 if (!SWIG_IsOK(res1
)) {
22725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22727 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22729 arg2
= wxString_in_helper(obj1
);
22730 if (arg2
== NULL
) SWIG_fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
22754 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22755 PyObject
*resultobj
= 0;
22756 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22759 PyObject
*swig_obj
[1] ;
22761 if (!args
) SWIG_fail
;
22762 swig_obj
[0] = args
;
22763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
22764 if (!SWIG_IsOK(res1
)) {
22765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
22767 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_Py_Void();
22782 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22783 PyObject
*resultobj
= 0;
22784 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22785 wxString
*result
= 0 ;
22788 PyObject
*swig_obj
[1] ;
22790 if (!args
) SWIG_fail
;
22791 swig_obj
[0] = args
;
22792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
22793 if (!SWIG_IsOK(res1
)) {
22794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
22796 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
22801 result
= (wxString
*) &_result_ref
;
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22810 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22819 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22822 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
22823 return SWIG_Py_Void();
22826 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22827 return SWIG_Python_InitShadowInstance(args
);
22830 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
= 0;
22832 wxString
*arg1
= 0 ;
22834 bool temp1
= false ;
22835 PyObject
* obj0
= 0 ;
22836 char * kwnames
[] = {
22837 (char *) "sz", NULL
22840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
22842 arg1
= wxString_in_helper(obj0
);
22843 if (arg1
== NULL
) SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 result
= wxExpandEnvVars((wxString
const &)*arg1
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22873 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
22874 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
22879 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
22880 PyObject
*pyobj
= 0;
22884 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22886 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22893 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
22894 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
22899 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
22900 PyObject
*pyobj
= 0;
22904 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22906 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22913 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22914 PyObject
*resultobj
= 0;
22915 wxDateTime::Country arg1
;
22918 PyObject
* obj0
= 0 ;
22919 char * kwnames
[] = {
22920 (char *) "country", NULL
22923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
22924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22925 if (!SWIG_IsOK(ecode1
)) {
22926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22928 arg1
= static_cast< wxDateTime::Country
>(val1
);
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 wxDateTime::SetCountry(arg1
);
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 resultobj
= SWIG_Py_Void();
22942 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22943 PyObject
*resultobj
= 0;
22944 wxDateTime::Country result
;
22946 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_From_int(static_cast< int >(result
));
22960 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
= 0;
22962 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22966 PyObject
* obj0
= 0 ;
22967 char * kwnames
[] = {
22968 (char *) "country", NULL
22971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
22973 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22974 if (!SWIG_IsOK(ecode1
)) {
22975 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22977 arg1
= static_cast< wxDateTime::Country
>(val1
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22994 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
= 0;
22996 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23000 PyObject
* obj0
= 0 ;
23001 char * kwnames
[] = {
23002 (char *) "cal", NULL
23005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23008 if (!SWIG_IsOK(ecode1
)) {
23009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23011 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 resultobj
= SWIG_From_int(static_cast< int >(result
));
23026 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23027 PyObject
*resultobj
= 0;
23032 PyObject
* obj0
= 0 ;
23033 char * kwnames
[] = {
23034 (char *) "year", NULL
23037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23039 if (!SWIG_IsOK(ecode1
)) {
23040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23042 arg1
= static_cast< int >(val1
);
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_From_int(static_cast< int >(result
));
23056 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
= 0;
23058 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23059 wxDateTime::Month result
;
23062 PyObject
* obj0
= 0 ;
23063 char * kwnames
[] = {
23064 (char *) "cal", NULL
23067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23070 if (!SWIG_IsOK(ecode1
)) {
23071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23073 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= SWIG_From_int(static_cast< int >(result
));
23088 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
= 0;
23090 int arg1
= (int) wxDateTime::Inv_Year
;
23091 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 char * kwnames
[] = {
23100 (char *) "year",(char *) "cal", NULL
23103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23105 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23106 if (!SWIG_IsOK(ecode1
)) {
23107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23109 arg1
= static_cast< int >(val1
);
23112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23113 if (!SWIG_IsOK(ecode2
)) {
23114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23116 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23133 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
= 0;
23135 int arg1
= (int) wxDateTime::Inv_Year
;
23139 PyObject
* obj0
= 0 ;
23140 char * kwnames
[] = {
23141 (char *) "year", NULL
23144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23146 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23147 if (!SWIG_IsOK(ecode1
)) {
23148 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23150 arg1
= static_cast< int >(val1
);
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (int)wxDateTime::GetCentury(arg1
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_From_int(static_cast< int >(result
));
23165 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
= 0;
23168 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 char * kwnames
[] = {
23177 (char *) "year",(char *) "cal", NULL
23180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23181 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23182 if (!SWIG_IsOK(ecode1
)) {
23183 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23185 arg1
= static_cast< int >(val1
);
23187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23188 if (!SWIG_IsOK(ecode2
)) {
23189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23191 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= SWIG_From_int(static_cast< int >(result
));
23206 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
= 0;
23208 wxDateTime::Month arg1
;
23209 int arg2
= (int) wxDateTime::Inv_Year
;
23210 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 PyObject
* obj2
= 0 ;
23221 char * kwnames
[] = {
23222 (char *) "month",(char *) "year",(char *) "cal", NULL
23225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23227 if (!SWIG_IsOK(ecode1
)) {
23228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23230 arg1
= static_cast< wxDateTime::Month
>(val1
);
23232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23233 if (!SWIG_IsOK(ecode2
)) {
23234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23236 arg2
= static_cast< int >(val2
);
23239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23240 if (!SWIG_IsOK(ecode3
)) {
23241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23243 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_From_int(static_cast< int >(result
));
23258 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
= 0;
23260 wxDateTime::Month arg1
;
23261 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23267 PyObject
* obj0
= 0 ;
23268 PyObject
* obj1
= 0 ;
23269 char * kwnames
[] = {
23270 (char *) "month",(char *) "flags", NULL
23273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23275 if (!SWIG_IsOK(ecode1
)) {
23276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23278 arg1
= static_cast< wxDateTime::Month
>(val1
);
23280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23281 if (!SWIG_IsOK(ecode2
)) {
23282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23284 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23305 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
= 0;
23307 wxDateTime::WeekDay arg1
;
23308 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 char * kwnames
[] = {
23317 (char *) "weekday",(char *) "flags", NULL
23320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23321 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23322 if (!SWIG_IsOK(ecode1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23325 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23328 if (!SWIG_IsOK(ecode2
)) {
23329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23331 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23352 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23353 PyObject
*resultobj
= 0;
23354 PyObject
*result
= 0 ;
23356 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 resultobj
= result
;
23370 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
= 0;
23372 int arg1
= (int) wxDateTime::Inv_Year
;
23373 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 char * kwnames
[] = {
23382 (char *) "year",(char *) "country", NULL
23385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23387 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23388 if (!SWIG_IsOK(ecode1
)) {
23389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23391 arg1
= static_cast< int >(val1
);
23394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23395 if (!SWIG_IsOK(ecode2
)) {
23396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23398 arg2
= static_cast< wxDateTime::Country
>(val2
);
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23415 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
= 0;
23417 int arg1
= (int) wxDateTime::Inv_Year
;
23418 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 char * kwnames
[] = {
23427 (char *) "year",(char *) "country", NULL
23430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23433 if (!SWIG_IsOK(ecode1
)) {
23434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23436 arg1
= static_cast< int >(val1
);
23439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23440 if (!SWIG_IsOK(ecode2
)) {
23441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23443 arg2
= static_cast< wxDateTime::Country
>(val2
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23458 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= 0;
23460 int arg1
= (int) wxDateTime::Inv_Year
;
23461 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj1
= 0 ;
23469 char * kwnames
[] = {
23470 (char *) "year",(char *) "country", NULL
23473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23475 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23476 if (!SWIG_IsOK(ecode1
)) {
23477 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23479 arg1
= static_cast< int >(val1
);
23482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23483 if (!SWIG_IsOK(ecode2
)) {
23484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23486 arg2
= static_cast< wxDateTime::Country
>(val2
);
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23501 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23502 PyObject
*resultobj
= 0;
23505 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 result
= wxDateTime::Now();
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23519 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23520 PyObject
*resultobj
= 0;
23523 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 result
= wxDateTime::UNow();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23537 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23538 PyObject
*resultobj
= 0;
23541 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 result
= wxDateTime::Today();
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23555 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23556 PyObject
*resultobj
= 0;
23557 wxDateTime
*result
= 0 ;
23559 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (wxDateTime
*)new wxDateTime();
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23573 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
= 0;
23576 wxDateTime
*result
= 0 ;
23577 unsigned int val1
;
23579 PyObject
* obj0
= 0 ;
23580 char * kwnames
[] = {
23581 (char *) "timet", NULL
23584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23585 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23586 if (!SWIG_IsOK(ecode1
)) {
23587 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23589 arg1
= static_cast< time_t >(val1
);
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 result
= (wxDateTime
*)new wxDateTime(arg1
);
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23603 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
= 0;
23606 wxDateTime
*result
= 0 ;
23609 PyObject
* obj0
= 0 ;
23610 char * kwnames
[] = {
23611 (char *) "jdn", NULL
23614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23615 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23616 if (!SWIG_IsOK(ecode1
)) {
23617 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23619 arg1
= static_cast< double >(val1
);
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (wxDateTime
*)new wxDateTime(arg1
);
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23633 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
= 0;
23636 int arg2
= (int) 0 ;
23637 int arg3
= (int) 0 ;
23638 int arg4
= (int) 0 ;
23639 wxDateTime
*result
= 0 ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 PyObject
* obj2
= 0 ;
23651 PyObject
* obj3
= 0 ;
23652 char * kwnames
[] = {
23653 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23657 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23658 if (!SWIG_IsOK(ecode1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23661 arg1
= static_cast< int >(val1
);
23663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23664 if (!SWIG_IsOK(ecode2
)) {
23665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23667 arg2
= static_cast< int >(val2
);
23670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23671 if (!SWIG_IsOK(ecode3
)) {
23672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23674 arg3
= static_cast< int >(val3
);
23677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23678 if (!SWIG_IsOK(ecode4
)) {
23679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23681 arg4
= static_cast< int >(val4
);
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23686 wxPyEndAllowThreads(__tstate
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23696 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23697 PyObject
*resultobj
= 0;
23699 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23700 int arg3
= (int) wxDateTime::Inv_Year
;
23701 int arg4
= (int) 0 ;
23702 int arg5
= (int) 0 ;
23703 int arg6
= (int) 0 ;
23704 int arg7
= (int) 0 ;
23705 wxDateTime
*result
= 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 PyObject
* obj2
= 0 ;
23723 PyObject
* obj3
= 0 ;
23724 PyObject
* obj4
= 0 ;
23725 PyObject
* obj5
= 0 ;
23726 PyObject
* obj6
= 0 ;
23727 char * kwnames
[] = {
23728 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23732 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23733 if (!SWIG_IsOK(ecode1
)) {
23734 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
23736 arg1
= static_cast< int >(val1
);
23738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23739 if (!SWIG_IsOK(ecode2
)) {
23740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23742 arg2
= static_cast< wxDateTime::Month
>(val2
);
23745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23746 if (!SWIG_IsOK(ecode3
)) {
23747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
23749 arg3
= static_cast< int >(val3
);
23752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23753 if (!SWIG_IsOK(ecode4
)) {
23754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
23756 arg4
= static_cast< int >(val4
);
23759 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23760 if (!SWIG_IsOK(ecode5
)) {
23761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
23763 arg5
= static_cast< int >(val5
);
23766 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23767 if (!SWIG_IsOK(ecode6
)) {
23768 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
23770 arg6
= static_cast< int >(val6
);
23773 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23774 if (!SWIG_IsOK(ecode7
)) {
23775 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
23777 arg7
= static_cast< int >(val7
);
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23792 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
= 0;
23794 wxDateTime
*arg1
= 0 ;
23795 wxDateTime
*result
= 0 ;
23798 PyObject
* obj0
= 0 ;
23799 char * kwnames
[] = {
23800 (char *) "date", NULL
23803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
23804 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
23805 if (!SWIG_IsOK(res1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23811 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23825 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23826 PyObject
*resultobj
= 0;
23827 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23830 PyObject
*swig_obj
[1] ;
23832 if (!args
) SWIG_fail
;
23833 swig_obj
[0] = args
;
23834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
23835 if (!SWIG_IsOK(res1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23838 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= SWIG_Py_Void();
23853 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23854 PyObject
*resultobj
= 0;
23855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23856 wxDateTime
*result
= 0 ;
23859 PyObject
*swig_obj
[1] ;
23861 if (!args
) SWIG_fail
;
23862 swig_obj
[0] = args
;
23863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23864 if (!SWIG_IsOK(res1
)) {
23865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
23867 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
23872 result
= (wxDateTime
*) &_result_ref
;
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23884 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
= 0;
23886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23888 wxDateTime
*result
= 0 ;
23891 unsigned int val2
;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 char * kwnames
[] = {
23896 (char *) "self",(char *) "timet", NULL
23899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23901 if (!SWIG_IsOK(res1
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
23904 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23905 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
23906 if (!SWIG_IsOK(ecode2
)) {
23907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
23909 arg2
= static_cast< time_t >(val2
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23914 result
= (wxDateTime
*) &_result_ref
;
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23926 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
= 0;
23928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23930 wxDateTime
*result
= 0 ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 char * kwnames
[] = {
23938 (char *) "self",(char *) "jdn", NULL
23941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23943 if (!SWIG_IsOK(res1
)) {
23944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
23946 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23947 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23948 if (!SWIG_IsOK(ecode2
)) {
23949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
23951 arg2
= static_cast< double >(val2
);
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23956 result
= (wxDateTime
*) &_result_ref
;
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23968 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
= 0;
23970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23972 int arg3
= (int) 0 ;
23973 int arg4
= (int) 0 ;
23974 int arg5
= (int) 0 ;
23975 wxDateTime
*result
= 0 ;
23986 PyObject
* obj0
= 0 ;
23987 PyObject
* obj1
= 0 ;
23988 PyObject
* obj2
= 0 ;
23989 PyObject
* obj3
= 0 ;
23990 PyObject
* obj4
= 0 ;
23991 char * kwnames
[] = {
23992 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24000 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24002 if (!SWIG_IsOK(ecode2
)) {
24003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24005 arg2
= static_cast< int >(val2
);
24007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24008 if (!SWIG_IsOK(ecode3
)) {
24009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24011 arg3
= static_cast< int >(val3
);
24014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24015 if (!SWIG_IsOK(ecode4
)) {
24016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24018 arg4
= static_cast< int >(val4
);
24021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24022 if (!SWIG_IsOK(ecode5
)) {
24023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24025 arg5
= static_cast< int >(val5
);
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24031 result
= (wxDateTime
*) &_result_ref
;
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24043 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
= 0;
24045 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24047 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24048 int arg4
= (int) wxDateTime::Inv_Year
;
24049 int arg5
= (int) 0 ;
24050 int arg6
= (int) 0 ;
24051 int arg7
= (int) 0 ;
24052 int arg8
= (int) 0 ;
24053 wxDateTime
*result
= 0 ;
24070 PyObject
* obj0
= 0 ;
24071 PyObject
* obj1
= 0 ;
24072 PyObject
* obj2
= 0 ;
24073 PyObject
* obj3
= 0 ;
24074 PyObject
* obj4
= 0 ;
24075 PyObject
* obj5
= 0 ;
24076 PyObject
* obj6
= 0 ;
24077 PyObject
* obj7
= 0 ;
24078 char * kwnames
[] = {
24079 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24084 if (!SWIG_IsOK(res1
)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24087 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24089 if (!SWIG_IsOK(ecode2
)) {
24090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24092 arg2
= static_cast< int >(val2
);
24094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24095 if (!SWIG_IsOK(ecode3
)) {
24096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24098 arg3
= static_cast< wxDateTime::Month
>(val3
);
24101 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24102 if (!SWIG_IsOK(ecode4
)) {
24103 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24105 arg4
= static_cast< int >(val4
);
24108 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24109 if (!SWIG_IsOK(ecode5
)) {
24110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24112 arg5
= static_cast< int >(val5
);
24115 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24116 if (!SWIG_IsOK(ecode6
)) {
24117 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24119 arg6
= static_cast< int >(val6
);
24122 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24123 if (!SWIG_IsOK(ecode7
)) {
24124 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24126 arg7
= static_cast< int >(val7
);
24129 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24130 if (!SWIG_IsOK(ecode8
)) {
24131 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24133 arg8
= static_cast< int >(val8
);
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24139 result
= (wxDateTime
*) &_result_ref
;
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24151 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24152 PyObject
*resultobj
= 0;
24153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24154 wxDateTime
*result
= 0 ;
24157 PyObject
*swig_obj
[1] ;
24159 if (!args
) SWIG_fail
;
24160 swig_obj
[0] = args
;
24161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24162 if (!SWIG_IsOK(res1
)) {
24163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24165 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24170 result
= (wxDateTime
*) &_result_ref
;
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24182 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
= 0;
24184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24186 wxDateTime
*result
= 0 ;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 char * kwnames
[] = {
24194 (char *) "self",(char *) "year", NULL
24197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24199 if (!SWIG_IsOK(res1
)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24202 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24204 if (!SWIG_IsOK(ecode2
)) {
24205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24207 arg2
= static_cast< int >(val2
);
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24212 result
= (wxDateTime
*) &_result_ref
;
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24224 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
= 0;
24226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24227 wxDateTime::Month arg2
;
24228 wxDateTime
*result
= 0 ;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 char * kwnames
[] = {
24236 (char *) "self",(char *) "month", NULL
24239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24241 if (!SWIG_IsOK(res1
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24244 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24246 if (!SWIG_IsOK(ecode2
)) {
24247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24249 arg2
= static_cast< wxDateTime::Month
>(val2
);
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24254 result
= (wxDateTime
*) &_result_ref
;
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24266 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
= 0;
24268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24270 wxDateTime
*result
= 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 char * kwnames
[] = {
24278 (char *) "self",(char *) "day", NULL
24281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24283 if (!SWIG_IsOK(res1
)) {
24284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24286 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24288 if (!SWIG_IsOK(ecode2
)) {
24289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24291 arg2
= static_cast< int >(val2
);
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24296 result
= (wxDateTime
*) &_result_ref
;
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24308 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
= 0;
24310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24312 wxDateTime
*result
= 0 ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char * kwnames
[] = {
24320 (char *) "self",(char *) "hour", NULL
24323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24325 if (!SWIG_IsOK(res1
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24328 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24330 if (!SWIG_IsOK(ecode2
)) {
24331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24333 arg2
= static_cast< int >(val2
);
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24338 result
= (wxDateTime
*) &_result_ref
;
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24350 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
= 0;
24352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24354 wxDateTime
*result
= 0 ;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char * kwnames
[] = {
24362 (char *) "self",(char *) "minute", NULL
24365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24367 if (!SWIG_IsOK(res1
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24370 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24372 if (!SWIG_IsOK(ecode2
)) {
24373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24375 arg2
= static_cast< int >(val2
);
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24380 result
= (wxDateTime
*) &_result_ref
;
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24392 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
= 0;
24394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24396 wxDateTime
*result
= 0 ;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char * kwnames
[] = {
24404 (char *) "self",(char *) "second", NULL
24407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24409 if (!SWIG_IsOK(res1
)) {
24410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24412 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24414 if (!SWIG_IsOK(ecode2
)) {
24415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24417 arg2
= static_cast< int >(val2
);
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24422 result
= (wxDateTime
*) &_result_ref
;
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24434 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
= 0;
24436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24438 wxDateTime
*result
= 0 ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char * kwnames
[] = {
24446 (char *) "self",(char *) "millisecond", NULL
24449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24454 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24456 if (!SWIG_IsOK(ecode2
)) {
24457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24459 arg2
= static_cast< int >(val2
);
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24464 result
= (wxDateTime
*) &_result_ref
;
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24476 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
= 0;
24478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24479 wxDateTime::WeekDay arg2
;
24480 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24481 wxDateTime
*result
= 0 ;
24488 PyObject
* obj0
= 0 ;
24489 PyObject
* obj1
= 0 ;
24490 PyObject
* obj2
= 0 ;
24491 char * kwnames
[] = {
24492 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24497 if (!SWIG_IsOK(res1
)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24500 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24502 if (!SWIG_IsOK(ecode2
)) {
24503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24505 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24508 if (!SWIG_IsOK(ecode3
)) {
24509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24511 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24517 result
= (wxDateTime
*) &_result_ref
;
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24529 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
= 0;
24531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24532 wxDateTime::WeekDay arg2
;
24533 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24541 PyObject
* obj0
= 0 ;
24542 PyObject
* obj1
= 0 ;
24543 PyObject
* obj2
= 0 ;
24544 char * kwnames
[] = {
24545 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24550 if (!SWIG_IsOK(res1
)) {
24551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24553 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24555 if (!SWIG_IsOK(ecode2
)) {
24556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24558 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24561 if (!SWIG_IsOK(ecode3
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24564 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24579 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
= 0;
24581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24582 wxDateTime::WeekDay arg2
;
24583 wxDateTime
*result
= 0 ;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 char * kwnames
[] = {
24591 (char *) "self",(char *) "weekday", NULL
24594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24596 if (!SWIG_IsOK(res1
)) {
24597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24599 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24601 if (!SWIG_IsOK(ecode2
)) {
24602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24604 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24609 result
= (wxDateTime
*) &_result_ref
;
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24621 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
= 0;
24623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24624 wxDateTime::WeekDay arg2
;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 char * kwnames
[] = {
24633 (char *) "self",(char *) "weekday", NULL
24636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24638 if (!SWIG_IsOK(res1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24641 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24643 if (!SWIG_IsOK(ecode2
)) {
24644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24646 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 result
= (arg1
)->GetNextWeekDay(arg2
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24660 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
= 0;
24662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24663 wxDateTime::WeekDay arg2
;
24664 wxDateTime
*result
= 0 ;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 char * kwnames
[] = {
24672 (char *) "self",(char *) "weekday", NULL
24675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24680 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24682 if (!SWIG_IsOK(ecode2
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24685 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24690 result
= (wxDateTime
*) &_result_ref
;
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24702 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
= 0;
24704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24705 wxDateTime::WeekDay arg2
;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char * kwnames
[] = {
24714 (char *) "self",(char *) "weekday", NULL
24717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24719 if (!SWIG_IsOK(res1
)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24722 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24724 if (!SWIG_IsOK(ecode2
)) {
24725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24727 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 result
= (arg1
)->GetPrevWeekDay(arg2
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24741 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
= 0;
24743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24744 wxDateTime::WeekDay arg2
;
24745 int arg3
= (int) 1 ;
24746 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24747 int arg5
= (int) wxDateTime::Inv_Year
;
24759 PyObject
* obj0
= 0 ;
24760 PyObject
* obj1
= 0 ;
24761 PyObject
* obj2
= 0 ;
24762 PyObject
* obj3
= 0 ;
24763 PyObject
* obj4
= 0 ;
24764 char * kwnames
[] = {
24765 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
24768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24773 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24775 if (!SWIG_IsOK(ecode2
)) {
24776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24778 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24781 if (!SWIG_IsOK(ecode3
)) {
24782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
24784 arg3
= static_cast< int >(val3
);
24787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24788 if (!SWIG_IsOK(ecode4
)) {
24789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
24791 arg4
= static_cast< wxDateTime::Month
>(val4
);
24794 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24795 if (!SWIG_IsOK(ecode5
)) {
24796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
24798 arg5
= static_cast< int >(val5
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24815 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
= 0;
24817 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24818 wxDateTime::WeekDay arg2
;
24819 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24820 int arg4
= (int) wxDateTime::Inv_Year
;
24830 PyObject
* obj0
= 0 ;
24831 PyObject
* obj1
= 0 ;
24832 PyObject
* obj2
= 0 ;
24833 PyObject
* obj3
= 0 ;
24834 char * kwnames
[] = {
24835 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24840 if (!SWIG_IsOK(res1
)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24843 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24845 if (!SWIG_IsOK(ecode2
)) {
24846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24848 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24851 if (!SWIG_IsOK(ecode3
)) {
24852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24854 arg3
= static_cast< wxDateTime::Month
>(val3
);
24857 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24858 if (!SWIG_IsOK(ecode4
)) {
24859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24861 arg4
= static_cast< int >(val4
);
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24878 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
= 0;
24880 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24881 wxDateTime::WeekDay arg2
;
24882 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24883 int arg4
= (int) wxDateTime::Inv_Year
;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 PyObject
* obj2
= 0 ;
24896 PyObject
* obj3
= 0 ;
24897 char * kwnames
[] = {
24898 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24903 if (!SWIG_IsOK(res1
)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24906 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24908 if (!SWIG_IsOK(ecode2
)) {
24909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24911 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24914 if (!SWIG_IsOK(ecode3
)) {
24915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24917 arg3
= static_cast< wxDateTime::Month
>(val3
);
24920 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24921 if (!SWIG_IsOK(ecode4
)) {
24922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24924 arg4
= static_cast< int >(val4
);
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24932 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24939 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
= 0;
24941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24943 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24944 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24954 PyObject
* obj0
= 0 ;
24955 PyObject
* obj1
= 0 ;
24956 PyObject
* obj2
= 0 ;
24957 PyObject
* obj3
= 0 ;
24958 char * kwnames
[] = {
24959 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24964 if (!SWIG_IsOK(res1
)) {
24965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24967 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24969 if (!SWIG_IsOK(ecode2
)) {
24970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
24972 arg2
= static_cast< int >(val2
);
24974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24975 if (!SWIG_IsOK(ecode3
)) {
24976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24978 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24981 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24982 if (!SWIG_IsOK(ecode4
)) {
24983 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24985 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25002 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
= 0;
25004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25006 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25007 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 PyObject
* obj2
= 0 ;
25020 PyObject
* obj3
= 0 ;
25021 char * kwnames
[] = {
25022 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25027 if (!SWIG_IsOK(res1
)) {
25028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25030 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25032 if (!SWIG_IsOK(ecode2
)) {
25033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25035 arg2
= static_cast< int >(val2
);
25037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25038 if (!SWIG_IsOK(ecode3
)) {
25039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25041 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25045 if (!SWIG_IsOK(ecode4
)) {
25046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25048 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25063 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
= 0;
25067 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25075 PyObject
* obj0
= 0 ;
25076 PyObject
* obj1
= 0 ;
25077 PyObject
* obj2
= 0 ;
25078 char * kwnames
[] = {
25079 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25083 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25084 if (!SWIG_IsOK(ecode1
)) {
25085 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25087 arg1
= static_cast< int >(val1
);
25088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25089 if (!SWIG_IsOK(ecode2
)) {
25090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25092 arg2
= static_cast< int >(val2
);
25094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25095 if (!SWIG_IsOK(ecode3
)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25098 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25113 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
= 0;
25115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25116 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25117 int arg3
= (int) wxDateTime::Inv_Year
;
25118 wxDateTime
*result
= 0 ;
25125 PyObject
* obj0
= 0 ;
25126 PyObject
* obj1
= 0 ;
25127 PyObject
* obj2
= 0 ;
25128 char * kwnames
[] = {
25129 (char *) "self",(char *) "month",(char *) "year", NULL
25132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25134 if (!SWIG_IsOK(res1
)) {
25135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25137 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25140 if (!SWIG_IsOK(ecode2
)) {
25141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25143 arg2
= static_cast< wxDateTime::Month
>(val2
);
25146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25147 if (!SWIG_IsOK(ecode3
)) {
25148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25150 arg3
= static_cast< int >(val3
);
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25156 result
= (wxDateTime
*) &_result_ref
;
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25168 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
= 0;
25170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25171 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25172 int arg3
= (int) wxDateTime::Inv_Year
;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 PyObject
* obj2
= 0 ;
25183 char * kwnames
[] = {
25184 (char *) "self",(char *) "month",(char *) "year", NULL
25187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25189 if (!SWIG_IsOK(res1
)) {
25190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25192 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25195 if (!SWIG_IsOK(ecode2
)) {
25196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25198 arg2
= static_cast< wxDateTime::Month
>(val2
);
25201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25202 if (!SWIG_IsOK(ecode3
)) {
25203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25205 arg3
= static_cast< int >(val3
);
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25220 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
= 0;
25222 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25224 wxDateTime
*result
= 0 ;
25229 PyObject
* obj0
= 0 ;
25230 PyObject
* obj1
= 0 ;
25231 char * kwnames
[] = {
25232 (char *) "self",(char *) "yday", NULL
25235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25237 if (!SWIG_IsOK(res1
)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25240 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25242 if (!SWIG_IsOK(ecode2
)) {
25243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25245 arg2
= static_cast< int >(val2
);
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25250 result
= (wxDateTime
*) &_result_ref
;
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25262 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25263 PyObject
*resultobj
= 0;
25264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25271 PyObject
* obj0
= 0 ;
25272 PyObject
* obj1
= 0 ;
25273 char * kwnames
[] = {
25274 (char *) "self",(char *) "yday", NULL
25277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25279 if (!SWIG_IsOK(res1
)) {
25280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25282 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25284 if (!SWIG_IsOK(ecode2
)) {
25285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25287 arg2
= static_cast< int >(val2
);
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 result
= (arg1
)->GetYearDay(arg2
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25301 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25302 PyObject
*resultobj
= 0;
25303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25307 PyObject
*swig_obj
[1] ;
25309 if (!args
) SWIG_fail
;
25310 swig_obj
[0] = args
;
25311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25312 if (!SWIG_IsOK(res1
)) {
25313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25315 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 result
= (double)(arg1
)->GetJulianDayNumber();
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= SWIG_From_double(static_cast< double >(result
));
25329 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25330 PyObject
*resultobj
= 0;
25331 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25335 PyObject
*swig_obj
[1] ;
25337 if (!args
) SWIG_fail
;
25338 swig_obj
[0] = args
;
25339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25340 if (!SWIG_IsOK(res1
)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25343 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= (double)(arg1
)->GetJDN();
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25350 resultobj
= SWIG_From_double(static_cast< double >(result
));
25357 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25358 PyObject
*resultobj
= 0;
25359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25363 PyObject
*swig_obj
[1] ;
25365 if (!args
) SWIG_fail
;
25366 swig_obj
[0] = args
;
25367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25368 if (!SWIG_IsOK(res1
)) {
25369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25371 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= SWIG_From_double(static_cast< double >(result
));
25385 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25386 PyObject
*resultobj
= 0;
25387 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25391 PyObject
*swig_obj
[1] ;
25393 if (!args
) SWIG_fail
;
25394 swig_obj
[0] = args
;
25395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25396 if (!SWIG_IsOK(res1
)) {
25397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25399 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 result
= (double)(arg1
)->GetMJD();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_From_double(static_cast< double >(result
));
25413 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 PyObject
*resultobj
= 0;
25415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25419 PyObject
*swig_obj
[1] ;
25421 if (!args
) SWIG_fail
;
25422 swig_obj
[0] = args
;
25423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25424 if (!SWIG_IsOK(res1
)) {
25425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25427 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (double)(arg1
)->GetRataDie();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= SWIG_From_double(static_cast< double >(result
));
25441 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
= 0;
25443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25444 wxDateTime::TimeZone
*arg2
= 0 ;
25445 bool arg3
= (bool) false ;
25449 bool temp2
= false ;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 PyObject
* obj2
= 0 ;
25455 char * kwnames
[] = {
25456 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25461 if (!SWIG_IsOK(res1
)) {
25462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25464 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25466 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25470 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25471 if (!SWIG_IsOK(ecode3
)) {
25472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25474 arg3
= static_cast< bool >(val3
);
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25484 if (temp2
) delete arg2
;
25489 if (temp2
) delete arg2
;
25495 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
= 0;
25497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25498 wxDateTime::TimeZone
*arg2
= 0 ;
25499 bool arg3
= (bool) false ;
25500 wxDateTime
*result
= 0 ;
25503 bool temp2
= false ;
25506 PyObject
* obj0
= 0 ;
25507 PyObject
* obj1
= 0 ;
25508 PyObject
* obj2
= 0 ;
25509 char * kwnames
[] = {
25510 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25515 if (!SWIG_IsOK(res1
)) {
25516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25518 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25520 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25524 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25525 if (!SWIG_IsOK(ecode3
)) {
25526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25528 arg3
= static_cast< bool >(val3
);
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25534 result
= (wxDateTime
*) &_result_ref
;
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25541 if (temp2
) delete arg2
;
25546 if (temp2
) delete arg2
;
25552 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
= 0;
25554 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25555 wxDateTime::TimeZone
*arg2
= 0 ;
25556 bool arg3
= (bool) false ;
25560 bool temp2
= false ;
25563 PyObject
* obj0
= 0 ;
25564 PyObject
* obj1
= 0 ;
25565 PyObject
* obj2
= 0 ;
25566 char * kwnames
[] = {
25567 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25572 if (!SWIG_IsOK(res1
)) {
25573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25575 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25577 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25581 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25582 if (!SWIG_IsOK(ecode3
)) {
25583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25585 arg3
= static_cast< bool >(val3
);
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25595 if (temp2
) delete arg2
;
25600 if (temp2
) delete arg2
;
25606 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
= 0;
25608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25609 wxDateTime::TimeZone
*arg2
= 0 ;
25610 bool arg3
= (bool) false ;
25611 wxDateTime
*result
= 0 ;
25614 bool temp2
= false ;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 PyObject
* obj2
= 0 ;
25620 char * kwnames
[] = {
25621 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25626 if (!SWIG_IsOK(res1
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25629 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25631 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25635 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25636 if (!SWIG_IsOK(ecode3
)) {
25637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25639 arg3
= static_cast< bool >(val3
);
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25645 result
= (wxDateTime
*) &_result_ref
;
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25652 if (temp2
) delete arg2
;
25657 if (temp2
) delete arg2
;
25663 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
= 0;
25665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25666 bool arg2
= (bool) false ;
25672 PyObject
* obj0
= 0 ;
25673 PyObject
* obj1
= 0 ;
25674 char * kwnames
[] = {
25675 (char *) "self",(char *) "noDST", NULL
25678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25680 if (!SWIG_IsOK(res1
)) {
25681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25683 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25685 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25686 if (!SWIG_IsOK(ecode2
)) {
25687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25689 arg2
= static_cast< bool >(val2
);
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25704 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
= 0;
25706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25707 bool arg2
= (bool) false ;
25708 wxDateTime
*result
= 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char * kwnames
[] = {
25716 (char *) "self",(char *) "noDST", NULL
25719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25721 if (!SWIG_IsOK(res1
)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25724 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25726 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25727 if (!SWIG_IsOK(ecode2
)) {
25728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25730 arg2
= static_cast< bool >(val2
);
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25736 result
= (wxDateTime
*) &_result_ref
;
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25748 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25749 PyObject
*resultobj
= 0;
25750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25751 bool arg2
= (bool) false ;
25757 PyObject
* obj0
= 0 ;
25758 PyObject
* obj1
= 0 ;
25759 char * kwnames
[] = {
25760 (char *) "self",(char *) "noDST", NULL
25763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25765 if (!SWIG_IsOK(res1
)) {
25766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25768 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25770 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25771 if (!SWIG_IsOK(ecode2
)) {
25772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
25774 arg2
= static_cast< bool >(val2
);
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25789 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
= 0;
25791 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25792 bool arg2
= (bool) false ;
25793 wxDateTime
*result
= 0 ;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 char * kwnames
[] = {
25801 (char *) "self",(char *) "noDST", NULL
25804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
25809 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25811 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25812 if (!SWIG_IsOK(ecode2
)) {
25813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
25815 arg2
= static_cast< bool >(val2
);
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
25821 result
= (wxDateTime
*) &_result_ref
;
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25833 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
= 0;
25835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25836 bool arg2
= (bool) false ;
25842 PyObject
* obj0
= 0 ;
25843 PyObject
* obj1
= 0 ;
25844 char * kwnames
[] = {
25845 (char *) "self",(char *) "noDST", NULL
25848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25850 if (!SWIG_IsOK(res1
)) {
25851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25853 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25855 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25856 if (!SWIG_IsOK(ecode2
)) {
25857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
25859 arg2
= static_cast< bool >(val2
);
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25874 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25875 PyObject
*resultobj
= 0;
25876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25877 bool arg2
= (bool) false ;
25878 wxDateTime
*result
= 0 ;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 char * kwnames
[] = {
25886 (char *) "self",(char *) "noDST", NULL
25889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25891 if (!SWIG_IsOK(res1
)) {
25892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25894 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25896 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25897 if (!SWIG_IsOK(ecode2
)) {
25898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
25900 arg2
= static_cast< bool >(val2
);
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
25906 result
= (wxDateTime
*) &_result_ref
;
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25918 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
= 0;
25920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25921 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 char * kwnames
[] = {
25930 (char *) "self",(char *) "country", NULL
25933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25935 if (!SWIG_IsOK(res1
)) {
25936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
25938 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25941 if (!SWIG_IsOK(ecode2
)) {
25942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25944 arg2
= static_cast< wxDateTime::Country
>(val2
);
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= (int)(arg1
)->IsDST(arg2
);
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= SWIG_From_int(static_cast< int >(result
));
25959 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25960 PyObject
*resultobj
= 0;
25961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25965 PyObject
*swig_obj
[1] ;
25967 if (!args
) SWIG_fail
;
25968 swig_obj
[0] = args
;
25969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25970 if (!SWIG_IsOK(res1
)) {
25971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25973 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25989 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25990 PyObject
*resultobj
= 0;
25991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25995 PyObject
*swig_obj
[1] ;
25997 if (!args
) SWIG_fail
;
25998 swig_obj
[0] = args
;
25999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26000 if (!SWIG_IsOK(res1
)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26003 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26017 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26018 PyObject
*resultobj
= 0;
26019 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26020 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26021 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26025 bool temp2
= false ;
26026 PyObject
* obj0
= 0 ;
26027 PyObject
* obj1
= 0 ;
26028 char * kwnames
[] = {
26029 (char *) "self",(char *) "tz", NULL
26032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26034 if (!SWIG_IsOK(res1
)) {
26035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26037 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26040 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= SWIG_From_int(static_cast< int >(result
));
26052 if (temp2
) delete arg2
;
26057 if (temp2
) delete arg2
;
26063 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
= 0;
26065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26066 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26067 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26068 wxDateTime::Month result
;
26071 bool temp2
= false ;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 char * kwnames
[] = {
26075 (char *) "self",(char *) "tz", NULL
26078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26080 if (!SWIG_IsOK(res1
)) {
26081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26083 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26086 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= SWIG_From_int(static_cast< int >(result
));
26098 if (temp2
) delete arg2
;
26103 if (temp2
) delete arg2
;
26109 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
= 0;
26111 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26112 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26113 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26117 bool temp2
= false ;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 char * kwnames
[] = {
26121 (char *) "self",(char *) "tz", NULL
26124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26126 if (!SWIG_IsOK(res1
)) {
26127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26129 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26132 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 resultobj
= SWIG_From_int(static_cast< int >(result
));
26144 if (temp2
) delete arg2
;
26149 if (temp2
) delete arg2
;
26155 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26156 PyObject
*resultobj
= 0;
26157 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26158 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26159 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26160 wxDateTime::WeekDay result
;
26163 bool temp2
= false ;
26164 PyObject
* obj0
= 0 ;
26165 PyObject
* obj1
= 0 ;
26166 char * kwnames
[] = {
26167 (char *) "self",(char *) "tz", NULL
26170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26172 if (!SWIG_IsOK(res1
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26175 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26178 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= SWIG_From_int(static_cast< int >(result
));
26190 if (temp2
) delete arg2
;
26195 if (temp2
) delete arg2
;
26201 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
= 0;
26203 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26204 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26205 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26209 bool temp2
= false ;
26210 PyObject
* obj0
= 0 ;
26211 PyObject
* obj1
= 0 ;
26212 char * kwnames
[] = {
26213 (char *) "self",(char *) "tz", NULL
26216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26218 if (!SWIG_IsOK(res1
)) {
26219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26221 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26224 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= SWIG_From_int(static_cast< int >(result
));
26236 if (temp2
) delete arg2
;
26241 if (temp2
) delete arg2
;
26247 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26248 PyObject
*resultobj
= 0;
26249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26250 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26251 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26255 bool temp2
= false ;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 char * kwnames
[] = {
26259 (char *) "self",(char *) "tz", NULL
26262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26264 if (!SWIG_IsOK(res1
)) {
26265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26267 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26270 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= SWIG_From_int(static_cast< int >(result
));
26282 if (temp2
) delete arg2
;
26287 if (temp2
) delete arg2
;
26293 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26294 PyObject
*resultobj
= 0;
26295 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26296 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26297 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26301 bool temp2
= false ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 char * kwnames
[] = {
26305 (char *) "self",(char *) "tz", NULL
26308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26310 if (!SWIG_IsOK(res1
)) {
26311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26313 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26316 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= SWIG_From_int(static_cast< int >(result
));
26328 if (temp2
) delete arg2
;
26333 if (temp2
) delete arg2
;
26339 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
= 0;
26341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26342 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26343 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26347 bool temp2
= false ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 char * kwnames
[] = {
26351 (char *) "self",(char *) "tz", NULL
26354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26356 if (!SWIG_IsOK(res1
)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26359 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26362 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= SWIG_From_int(static_cast< int >(result
));
26374 if (temp2
) delete arg2
;
26379 if (temp2
) delete arg2
;
26385 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
= 0;
26387 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26388 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26389 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26393 bool temp2
= false ;
26394 PyObject
* obj0
= 0 ;
26395 PyObject
* obj1
= 0 ;
26396 char * kwnames
[] = {
26397 (char *) "self",(char *) "tz", NULL
26400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26402 if (!SWIG_IsOK(res1
)) {
26403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26405 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26408 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= SWIG_From_int(static_cast< int >(result
));
26420 if (temp2
) delete arg2
;
26425 if (temp2
) delete arg2
;
26431 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
= 0;
26433 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26434 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26435 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26436 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26442 bool temp3
= false ;
26443 PyObject
* obj0
= 0 ;
26444 PyObject
* obj1
= 0 ;
26445 PyObject
* obj2
= 0 ;
26446 char * kwnames
[] = {
26447 (char *) "self",(char *) "flags",(char *) "tz", NULL
26450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26452 if (!SWIG_IsOK(res1
)) {
26453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26455 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26458 if (!SWIG_IsOK(ecode2
)) {
26459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26461 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26465 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 resultobj
= SWIG_From_int(static_cast< int >(result
));
26477 if (temp3
) delete arg3
;
26482 if (temp3
) delete arg3
;
26488 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26489 PyObject
*resultobj
= 0;
26490 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26491 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26492 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26493 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26499 bool temp3
= false ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 PyObject
* obj2
= 0 ;
26503 char * kwnames
[] = {
26504 (char *) "self",(char *) "flags",(char *) "tz", NULL
26507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26509 if (!SWIG_IsOK(res1
)) {
26510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26512 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26515 if (!SWIG_IsOK(ecode2
)) {
26516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26518 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26522 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 resultobj
= SWIG_From_int(static_cast< int >(result
));
26534 if (temp3
) delete arg3
;
26539 if (temp3
) delete arg3
;
26545 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
= 0;
26547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26548 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26554 PyObject
* obj0
= 0 ;
26555 PyObject
* obj1
= 0 ;
26556 char * kwnames
[] = {
26557 (char *) "self",(char *) "country", NULL
26560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26562 if (!SWIG_IsOK(res1
)) {
26563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26565 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26568 if (!SWIG_IsOK(ecode2
)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26571 arg2
= static_cast< wxDateTime::Country
>(val2
);
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26588 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
= 0;
26590 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26591 wxDateTime
*arg2
= 0 ;
26597 PyObject
* obj0
= 0 ;
26598 PyObject
* obj1
= 0 ;
26599 char * kwnames
[] = {
26600 (char *) "self",(char *) "datetime", NULL
26603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26605 if (!SWIG_IsOK(res1
)) {
26606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26608 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26610 if (!SWIG_IsOK(res2
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26616 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26632 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
= 0;
26634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26635 wxDateTime
*arg2
= 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 char * kwnames
[] = {
26644 (char *) "self",(char *) "datetime", NULL
26647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26652 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26654 if (!SWIG_IsOK(res2
)) {
26655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26660 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26676 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26677 PyObject
*resultobj
= 0;
26678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26679 wxDateTime
*arg2
= 0 ;
26685 PyObject
* obj0
= 0 ;
26686 PyObject
* obj1
= 0 ;
26687 char * kwnames
[] = {
26688 (char *) "self",(char *) "datetime", NULL
26691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26693 if (!SWIG_IsOK(res1
)) {
26694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26696 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26698 if (!SWIG_IsOK(res2
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26704 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26720 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
= 0;
26722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26723 wxDateTime
*arg2
= 0 ;
26724 wxDateTime
*arg3
= 0 ;
26732 PyObject
* obj0
= 0 ;
26733 PyObject
* obj1
= 0 ;
26734 PyObject
* obj2
= 0 ;
26735 char * kwnames
[] = {
26736 (char *) "self",(char *) "t1",(char *) "t2", NULL
26739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26741 if (!SWIG_IsOK(res1
)) {
26742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26744 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26746 if (!SWIG_IsOK(res2
)) {
26747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26752 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26753 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26754 if (!SWIG_IsOK(res3
)) {
26755 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26760 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26776 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26777 PyObject
*resultobj
= 0;
26778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26779 wxDateTime
*arg2
= 0 ;
26780 wxDateTime
*arg3
= 0 ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 PyObject
* obj2
= 0 ;
26791 char * kwnames
[] = {
26792 (char *) "self",(char *) "t1",(char *) "t2", NULL
26795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26797 if (!SWIG_IsOK(res1
)) {
26798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26800 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26802 if (!SWIG_IsOK(res2
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26808 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26809 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26810 if (!SWIG_IsOK(res3
)) {
26811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26816 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26832 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
= 0;
26834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26835 wxDateTime
*arg2
= 0 ;
26841 PyObject
* obj0
= 0 ;
26842 PyObject
* obj1
= 0 ;
26843 char * kwnames
[] = {
26844 (char *) "self",(char *) "dt", NULL
26847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26849 if (!SWIG_IsOK(res1
)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26852 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26854 if (!SWIG_IsOK(res2
)) {
26855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26860 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26876 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
= 0;
26878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26879 wxDateTime
*arg2
= 0 ;
26885 PyObject
* obj0
= 0 ;
26886 PyObject
* obj1
= 0 ;
26887 char * kwnames
[] = {
26888 (char *) "self",(char *) "dt", NULL
26891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26893 if (!SWIG_IsOK(res1
)) {
26894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26896 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26898 if (!SWIG_IsOK(res2
)) {
26899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26904 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26920 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
= 0;
26922 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26923 wxDateTime
*arg2
= 0 ;
26924 wxTimeSpan
*arg3
= 0 ;
26932 PyObject
* obj0
= 0 ;
26933 PyObject
* obj1
= 0 ;
26934 PyObject
* obj2
= 0 ;
26935 char * kwnames
[] = {
26936 (char *) "self",(char *) "dt",(char *) "ts", NULL
26939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26941 if (!SWIG_IsOK(res1
)) {
26942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26944 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26946 if (!SWIG_IsOK(res2
)) {
26947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26952 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26953 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26954 if (!SWIG_IsOK(res3
)) {
26955 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26960 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26976 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= 0;
26978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26979 wxTimeSpan
*arg2
= 0 ;
26980 wxDateTime
*result
= 0 ;
26985 PyObject
* obj0
= 0 ;
26986 PyObject
* obj1
= 0 ;
26987 char * kwnames
[] = {
26988 (char *) "self",(char *) "diff", NULL
26991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26996 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26998 if (!SWIG_IsOK(res2
)) {
26999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27004 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27009 result
= (wxDateTime
*) &_result_ref
;
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27021 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
= 0;
27023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27024 wxDateSpan
*arg2
= 0 ;
27025 wxDateTime
*result
= 0 ;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 char * kwnames
[] = {
27033 (char *) "self",(char *) "diff", NULL
27036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27038 if (!SWIG_IsOK(res1
)) {
27039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27041 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27043 if (!SWIG_IsOK(res2
)) {
27044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27049 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27054 result
= (wxDateTime
*) &_result_ref
;
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27066 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
= 0;
27068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27069 wxTimeSpan
*arg2
= 0 ;
27070 wxDateTime
*result
= 0 ;
27075 PyObject
* obj0
= 0 ;
27076 PyObject
* obj1
= 0 ;
27077 char * kwnames
[] = {
27078 (char *) "self",(char *) "diff", NULL
27081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27083 if (!SWIG_IsOK(res1
)) {
27084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27086 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27088 if (!SWIG_IsOK(res2
)) {
27089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27094 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27099 result
= (wxDateTime
*) &_result_ref
;
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27111 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
= 0;
27113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27114 wxDateSpan
*arg2
= 0 ;
27115 wxDateTime
*result
= 0 ;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 char * kwnames
[] = {
27123 (char *) "self",(char *) "diff", NULL
27126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27128 if (!SWIG_IsOK(res1
)) {
27129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27131 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27132 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27133 if (!SWIG_IsOK(res2
)) {
27134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27139 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27144 result
= (wxDateTime
*) &_result_ref
;
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27156 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27157 PyObject
*resultobj
= 0;
27158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27159 wxDateTime
*arg2
= 0 ;
27165 PyObject
* obj0
= 0 ;
27166 PyObject
* obj1
= 0 ;
27167 char * kwnames
[] = {
27168 (char *) "self",(char *) "dt", NULL
27171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27173 if (!SWIG_IsOK(res1
)) {
27174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27176 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27178 if (!SWIG_IsOK(res2
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27184 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27198 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27199 PyObject
*resultobj
= 0;
27200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27201 wxTimeSpan
*arg2
= 0 ;
27202 wxDateTime
*result
= 0 ;
27208 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27213 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27214 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27215 if (!SWIG_IsOK(res2
)) {
27216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27221 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27226 result
= (wxDateTime
*) &_result_ref
;
27228 wxPyEndAllowThreads(__tstate
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27238 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27239 PyObject
*resultobj
= 0;
27240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27241 wxDateSpan
*arg2
= 0 ;
27242 wxDateTime
*result
= 0 ;
27248 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27250 if (!SWIG_IsOK(res1
)) {
27251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27253 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27254 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27255 if (!SWIG_IsOK(res2
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27261 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27266 result
= (wxDateTime
*) &_result_ref
;
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27278 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27282 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27287 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27288 _v
= SWIG_CheckState(res
);
27290 if (!_v
) goto check_1
;
27291 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27296 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27300 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27305 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27306 PyObject
*resultobj
= 0;
27307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27308 wxTimeSpan
*arg2
= 0 ;
27309 wxDateTime
*result
= 0 ;
27315 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27317 if (!SWIG_IsOK(res1
)) {
27318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27320 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27321 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27322 if (!SWIG_IsOK(res2
)) {
27323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27328 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27333 result
= (wxDateTime
*) &_result_ref
;
27335 wxPyEndAllowThreads(__tstate
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27345 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27346 PyObject
*resultobj
= 0;
27347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27348 wxDateSpan
*arg2
= 0 ;
27349 wxDateTime
*result
= 0 ;
27355 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27357 if (!SWIG_IsOK(res1
)) {
27358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27360 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27361 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27362 if (!SWIG_IsOK(res2
)) {
27363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27368 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27373 result
= (wxDateTime
*) &_result_ref
;
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27385 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27389 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27394 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27395 _v
= SWIG_CheckState(res
);
27397 if (!_v
) goto check_1
;
27398 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27403 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27407 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27412 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27413 PyObject
*resultobj
= 0;
27414 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27415 wxTimeSpan
*arg2
= 0 ;
27422 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27424 if (!SWIG_IsOK(res1
)) {
27425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27427 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27428 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27429 if (!SWIG_IsOK(res2
)) {
27430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27435 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27449 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27450 PyObject
*resultobj
= 0;
27451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27452 wxDateSpan
*arg2
= 0 ;
27459 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27461 if (!SWIG_IsOK(res1
)) {
27462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27464 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27465 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27466 if (!SWIG_IsOK(res2
)) {
27467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27472 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27479 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27486 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27490 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27495 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27496 _v
= SWIG_CheckState(res
);
27498 if (!_v
) goto check_1
;
27499 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27504 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27508 Py_INCREF(Py_NotImplemented
);
27509 return Py_NotImplemented
;
27513 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27514 PyObject
*resultobj
= 0;
27515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27516 wxDateTime
*arg2
= 0 ;
27523 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27525 if (!SWIG_IsOK(res1
)) {
27526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27528 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27529 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27530 if (!SWIG_IsOK(res2
)) {
27531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27536 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27550 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27551 PyObject
*resultobj
= 0;
27552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27553 wxTimeSpan
*arg2
= 0 ;
27560 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27562 if (!SWIG_IsOK(res1
)) {
27563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27565 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27566 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27567 if (!SWIG_IsOK(res2
)) {
27568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27573 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27576 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27577 wxPyEndAllowThreads(__tstate
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27587 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27588 PyObject
*resultobj
= 0;
27589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27590 wxDateSpan
*arg2
= 0 ;
27597 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27599 if (!SWIG_IsOK(res1
)) {
27600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27602 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27603 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27604 if (!SWIG_IsOK(res2
)) {
27605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27610 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27613 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27624 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27628 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27633 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27634 _v
= SWIG_CheckState(res
);
27636 if (!_v
) goto check_1
;
27637 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27644 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27645 _v
= SWIG_CheckState(res
);
27647 if (!_v
) goto check_2
;
27648 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27653 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27657 Py_INCREF(Py_NotImplemented
);
27658 return Py_NotImplemented
;
27662 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
= 0;
27664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27665 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27671 PyObject
* obj0
= 0 ;
27672 PyObject
* obj1
= 0 ;
27673 char * kwnames
[] = {
27674 (char *) "self",(char *) "other", NULL
27677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27679 if (!SWIG_IsOK(res1
)) {
27680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27682 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27684 if (!SWIG_IsOK(res2
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27687 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27703 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
= 0;
27705 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27706 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 char * kwnames
[] = {
27715 (char *) "self",(char *) "other", NULL
27718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27720 if (!SWIG_IsOK(res1
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27723 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27725 if (!SWIG_IsOK(res2
)) {
27726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27728 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27744 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
= 0;
27746 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27747 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27753 PyObject
* obj0
= 0 ;
27754 PyObject
* obj1
= 0 ;
27755 char * kwnames
[] = {
27756 (char *) "self",(char *) "other", NULL
27759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27761 if (!SWIG_IsOK(res1
)) {
27762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27764 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27766 if (!SWIG_IsOK(res2
)) {
27767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27769 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27785 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27786 PyObject
*resultobj
= 0;
27787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27788 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27794 PyObject
* obj0
= 0 ;
27795 PyObject
* obj1
= 0 ;
27796 char * kwnames
[] = {
27797 (char *) "self",(char *) "other", NULL
27800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27802 if (!SWIG_IsOK(res1
)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27805 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27807 if (!SWIG_IsOK(res2
)) {
27808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27810 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27826 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
= 0;
27828 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27829 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27835 PyObject
* obj0
= 0 ;
27836 PyObject
* obj1
= 0 ;
27837 char * kwnames
[] = {
27838 (char *) "self",(char *) "other", NULL
27841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27843 if (!SWIG_IsOK(res1
)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27846 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27848 if (!SWIG_IsOK(res2
)) {
27849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27851 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
27855 wxPyEndAllowThreads(__tstate
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27867 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
= 0;
27869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27870 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 char * kwnames
[] = {
27879 (char *) "self",(char *) "other", NULL
27882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27884 if (!SWIG_IsOK(res1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27887 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27889 if (!SWIG_IsOK(res2
)) {
27890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27892 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27908 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
= 0;
27910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27911 wxString
*arg2
= 0 ;
27915 bool temp2
= false ;
27916 PyObject
* obj0
= 0 ;
27917 PyObject
* obj1
= 0 ;
27918 char * kwnames
[] = {
27919 (char *) "self",(char *) "date", NULL
27922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27924 if (!SWIG_IsOK(res1
)) {
27925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
27927 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27929 arg2
= wxString_in_helper(obj1
);
27930 if (arg2
== NULL
) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
27936 wxPyEndAllowThreads(__tstate
);
27937 if (PyErr_Occurred()) SWIG_fail
;
27939 resultobj
= SWIG_From_int(static_cast< int >(result
));
27954 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27955 PyObject
*resultobj
= 0;
27956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27957 wxString
*arg2
= 0 ;
27958 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
27959 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27960 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
27961 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
27965 bool temp2
= false ;
27966 bool temp3
= false ;
27969 PyObject
* obj0
= 0 ;
27970 PyObject
* obj1
= 0 ;
27971 PyObject
* obj2
= 0 ;
27972 PyObject
* obj3
= 0 ;
27973 char * kwnames
[] = {
27974 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
27977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
27982 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27984 arg2
= wxString_in_helper(obj1
);
27985 if (arg2
== NULL
) SWIG_fail
;
27990 arg3
= wxString_in_helper(obj2
);
27991 if (arg3
== NULL
) SWIG_fail
;
27996 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27997 if (!SWIG_IsOK(res4
)) {
27998 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28003 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= SWIG_From_int(static_cast< int >(result
));
28034 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
= 0;
28036 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28037 wxString
*arg2
= 0 ;
28041 bool temp2
= false ;
28042 PyObject
* obj0
= 0 ;
28043 PyObject
* obj1
= 0 ;
28044 char * kwnames
[] = {
28045 (char *) "self",(char *) "datetime", NULL
28048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28050 if (!SWIG_IsOK(res1
)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28053 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28055 arg2
= wxString_in_helper(obj1
);
28056 if (arg2
== NULL
) SWIG_fail
;
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 resultobj
= SWIG_From_int(static_cast< int >(result
));
28080 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28081 PyObject
*resultobj
= 0;
28082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28083 wxString
*arg2
= 0 ;
28087 bool temp2
= false ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 char * kwnames
[] = {
28091 (char *) "self",(char *) "date", NULL
28094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28096 if (!SWIG_IsOK(res1
)) {
28097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28099 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28101 arg2
= wxString_in_helper(obj1
);
28102 if (arg2
== NULL
) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28107 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= SWIG_From_int(static_cast< int >(result
));
28126 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28127 PyObject
*resultobj
= 0;
28128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28129 wxString
*arg2
= 0 ;
28133 bool temp2
= false ;
28134 PyObject
* obj0
= 0 ;
28135 PyObject
* obj1
= 0 ;
28136 char * kwnames
[] = {
28137 (char *) "self",(char *) "time", NULL
28140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28142 if (!SWIG_IsOK(res1
)) {
28143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28145 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28147 arg2
= wxString_in_helper(obj1
);
28148 if (arg2
== NULL
) SWIG_fail
;
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= SWIG_From_int(static_cast< int >(result
));
28172 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
= 0;
28174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28175 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28176 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28177 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28178 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28182 bool temp2
= false ;
28183 bool temp3
= false ;
28184 PyObject
* obj0
= 0 ;
28185 PyObject
* obj1
= 0 ;
28186 PyObject
* obj2
= 0 ;
28187 char * kwnames
[] = {
28188 (char *) "self",(char *) "format",(char *) "tz", NULL
28191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28193 if (!SWIG_IsOK(res1
)) {
28194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28196 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28199 arg2
= wxString_in_helper(obj1
);
28200 if (arg2
== NULL
) SWIG_fail
;
28206 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28228 if (temp3
) delete arg3
;
28237 if (temp3
) delete arg3
;
28243 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28244 PyObject
*resultobj
= 0;
28245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28249 PyObject
*swig_obj
[1] ;
28251 if (!args
) SWIG_fail
;
28252 swig_obj
[0] = args
;
28253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28254 if (!SWIG_IsOK(res1
)) {
28255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28257 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28277 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28278 PyObject
*resultobj
= 0;
28279 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28283 PyObject
*swig_obj
[1] ;
28285 if (!args
) SWIG_fail
;
28286 swig_obj
[0] = args
;
28287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28288 if (!SWIG_IsOK(res1
)) {
28289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28291 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28311 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28312 PyObject
*resultobj
= 0;
28313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28317 PyObject
*swig_obj
[1] ;
28319 if (!args
) SWIG_fail
;
28320 swig_obj
[0] = args
;
28321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28322 if (!SWIG_IsOK(res1
)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28325 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28329 wxPyEndAllowThreads(__tstate
);
28330 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28345 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28346 PyObject
*resultobj
= 0;
28347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28351 PyObject
*swig_obj
[1] ;
28353 if (!args
) SWIG_fail
;
28354 swig_obj
[0] = args
;
28355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28356 if (!SWIG_IsOK(res1
)) {
28357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28359 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28379 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28382 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28383 return SWIG_Py_Void();
28386 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28387 return SWIG_Python_InitShadowInstance(args
);
28390 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
= 0;
28396 PyObject
* obj0
= 0 ;
28397 char * kwnames
[] = {
28398 (char *) "ms", NULL
28401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28402 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28403 if (!SWIG_IsOK(ecode1
)) {
28404 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28406 arg1
= static_cast< long >(val1
);
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 result
= wxTimeSpan::Milliseconds(arg1
);
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28413 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28420 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28421 PyObject
*resultobj
= 0;
28424 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 result
= wxTimeSpan::Millisecond();
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28438 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
= 0;
28444 PyObject
* obj0
= 0 ;
28445 char * kwnames
[] = {
28446 (char *) "sec", NULL
28449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28450 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28451 if (!SWIG_IsOK(ecode1
)) {
28452 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28454 arg1
= static_cast< long >(val1
);
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 result
= wxTimeSpan::Seconds(arg1
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28468 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28469 PyObject
*resultobj
= 0;
28472 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 result
= wxTimeSpan::Second();
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28486 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
= 0;
28492 PyObject
* obj0
= 0 ;
28493 char * kwnames
[] = {
28494 (char *) "min", NULL
28497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28498 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28499 if (!SWIG_IsOK(ecode1
)) {
28500 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28502 arg1
= static_cast< long >(val1
);
28504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28505 result
= wxTimeSpan::Minutes(arg1
);
28506 wxPyEndAllowThreads(__tstate
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28509 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28516 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28517 PyObject
*resultobj
= 0;
28520 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 result
= wxTimeSpan::Minute();
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28534 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28535 PyObject
*resultobj
= 0;
28540 PyObject
* obj0
= 0 ;
28541 char * kwnames
[] = {
28542 (char *) "hours", NULL
28545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28546 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28547 if (!SWIG_IsOK(ecode1
)) {
28548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28550 arg1
= static_cast< long >(val1
);
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= wxTimeSpan::Hours(arg1
);
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28564 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28565 PyObject
*resultobj
= 0;
28568 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 result
= wxTimeSpan::Hour();
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28582 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
= 0;
28588 PyObject
* obj0
= 0 ;
28589 char * kwnames
[] = {
28590 (char *) "days", NULL
28593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28594 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28595 if (!SWIG_IsOK(ecode1
)) {
28596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28598 arg1
= static_cast< long >(val1
);
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= wxTimeSpan::Days(arg1
);
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28605 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28612 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28613 PyObject
*resultobj
= 0;
28616 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28619 result
= wxTimeSpan::Day();
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28630 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
= 0;
28636 PyObject
* obj0
= 0 ;
28637 char * kwnames
[] = {
28638 (char *) "days", NULL
28641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28642 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28643 if (!SWIG_IsOK(ecode1
)) {
28644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28646 arg1
= static_cast< long >(val1
);
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 result
= wxTimeSpan::Weeks(arg1
);
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28660 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28661 PyObject
*resultobj
= 0;
28664 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 result
= wxTimeSpan::Week();
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28671 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28678 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
= 0;
28680 long arg1
= (long) 0 ;
28681 long arg2
= (long) 0 ;
28682 long arg3
= (long) 0 ;
28683 long arg4
= (long) 0 ;
28684 wxTimeSpan
*result
= 0 ;
28693 PyObject
* obj0
= 0 ;
28694 PyObject
* obj1
= 0 ;
28695 PyObject
* obj2
= 0 ;
28696 PyObject
* obj3
= 0 ;
28697 char * kwnames
[] = {
28698 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28703 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28704 if (!SWIG_IsOK(ecode1
)) {
28705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28707 arg1
= static_cast< long >(val1
);
28710 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28711 if (!SWIG_IsOK(ecode2
)) {
28712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28714 arg2
= static_cast< long >(val2
);
28717 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28718 if (!SWIG_IsOK(ecode3
)) {
28719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28721 arg3
= static_cast< long >(val3
);
28724 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28725 if (!SWIG_IsOK(ecode4
)) {
28726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28728 arg4
= static_cast< long >(val4
);
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28733 wxPyEndAllowThreads(__tstate
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
28743 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28744 PyObject
*resultobj
= 0;
28745 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28748 PyObject
*swig_obj
[1] ;
28750 if (!args
) SWIG_fail
;
28751 swig_obj
[0] = args
;
28752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28753 if (!SWIG_IsOK(res1
)) {
28754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28756 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 resultobj
= SWIG_Py_Void();
28771 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28772 PyObject
*resultobj
= 0;
28773 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28774 wxTimeSpan
*arg2
= 0 ;
28775 wxTimeSpan
*result
= 0 ;
28780 PyObject
* obj0
= 0 ;
28781 PyObject
* obj1
= 0 ;
28782 char * kwnames
[] = {
28783 (char *) "self",(char *) "diff", NULL
28786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28788 if (!SWIG_IsOK(res1
)) {
28789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28791 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28793 if (!SWIG_IsOK(res2
)) {
28794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28799 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
28804 result
= (wxTimeSpan
*) &_result_ref
;
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28816 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
= 0;
28818 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28819 wxTimeSpan
*arg2
= 0 ;
28820 wxTimeSpan
*result
= 0 ;
28825 PyObject
* obj0
= 0 ;
28826 PyObject
* obj1
= 0 ;
28827 char * kwnames
[] = {
28828 (char *) "self",(char *) "diff", NULL
28831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28833 if (!SWIG_IsOK(res1
)) {
28834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28836 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28838 if (!SWIG_IsOK(res2
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28844 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
28849 result
= (wxTimeSpan
*) &_result_ref
;
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28861 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
= 0;
28863 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28865 wxTimeSpan
*result
= 0 ;
28870 PyObject
* obj0
= 0 ;
28871 PyObject
* obj1
= 0 ;
28872 char * kwnames
[] = {
28873 (char *) "self",(char *) "n", NULL
28876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28878 if (!SWIG_IsOK(res1
)) {
28879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28881 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28883 if (!SWIG_IsOK(ecode2
)) {
28884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
28886 arg2
= static_cast< int >(val2
);
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
28891 result
= (wxTimeSpan
*) &_result_ref
;
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28903 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28904 PyObject
*resultobj
= 0;
28905 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28906 wxTimeSpan
*result
= 0 ;
28909 PyObject
*swig_obj
[1] ;
28911 if (!args
) SWIG_fail
;
28912 swig_obj
[0] = args
;
28913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28914 if (!SWIG_IsOK(res1
)) {
28915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28917 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
28922 result
= (wxTimeSpan
*) &_result_ref
;
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28934 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28935 PyObject
*resultobj
= 0;
28936 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28940 PyObject
*swig_obj
[1] ;
28942 if (!args
) SWIG_fail
;
28943 swig_obj
[0] = args
;
28944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28945 if (!SWIG_IsOK(res1
)) {
28946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28948 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 result
= ((wxTimeSpan
const *)arg1
)->Abs();
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28962 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
= 0;
28964 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28965 wxTimeSpan
*arg2
= 0 ;
28966 wxTimeSpan
*result
= 0 ;
28971 PyObject
* obj0
= 0 ;
28972 PyObject
* obj1
= 0 ;
28973 char * kwnames
[] = {
28974 (char *) "self",(char *) "diff", NULL
28977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28979 if (!SWIG_IsOK(res1
)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28982 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28984 if (!SWIG_IsOK(res2
)) {
28985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28990 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
28995 result
= (wxTimeSpan
*) &_result_ref
;
28997 wxPyEndAllowThreads(__tstate
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29007 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
= 0;
29009 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29010 wxTimeSpan
*arg2
= 0 ;
29011 wxTimeSpan
*result
= 0 ;
29016 PyObject
* obj0
= 0 ;
29017 PyObject
* obj1
= 0 ;
29018 char * kwnames
[] = {
29019 (char *) "self",(char *) "diff", NULL
29022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29027 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29029 if (!SWIG_IsOK(res2
)) {
29030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29035 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29040 result
= (wxTimeSpan
*) &_result_ref
;
29042 wxPyEndAllowThreads(__tstate
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29052 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
= 0;
29054 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29056 wxTimeSpan
*result
= 0 ;
29061 PyObject
* obj0
= 0 ;
29062 PyObject
* obj1
= 0 ;
29063 char * kwnames
[] = {
29064 (char *) "self",(char *) "n", NULL
29067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29069 if (!SWIG_IsOK(res1
)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29072 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29074 if (!SWIG_IsOK(ecode2
)) {
29075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29077 arg2
= static_cast< int >(val2
);
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29082 result
= (wxTimeSpan
*) &_result_ref
;
29084 wxPyEndAllowThreads(__tstate
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29094 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29095 PyObject
*resultobj
= 0;
29096 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29097 wxTimeSpan
*result
= 0 ;
29100 PyObject
*swig_obj
[1] ;
29102 if (!args
) SWIG_fail
;
29103 swig_obj
[0] = args
;
29104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29105 if (!SWIG_IsOK(res1
)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29108 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29113 result
= (wxTimeSpan
*) &_result_ref
;
29115 wxPyEndAllowThreads(__tstate
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29125 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
= 0;
29127 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29128 wxTimeSpan
*arg2
= 0 ;
29134 PyObject
* obj0
= 0 ;
29135 PyObject
* obj1
= 0 ;
29136 char * kwnames
[] = {
29137 (char *) "self",(char *) "other", NULL
29140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29142 if (!SWIG_IsOK(res1
)) {
29143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29145 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29147 if (!SWIG_IsOK(res2
)) {
29148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29153 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29156 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29157 wxPyEndAllowThreads(__tstate
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29167 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29168 PyObject
*resultobj
= 0;
29169 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29170 wxTimeSpan
*arg2
= 0 ;
29176 PyObject
* obj0
= 0 ;
29177 PyObject
* obj1
= 0 ;
29178 char * kwnames
[] = {
29179 (char *) "self",(char *) "other", NULL
29182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29184 if (!SWIG_IsOK(res1
)) {
29185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29187 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29189 if (!SWIG_IsOK(res2
)) {
29190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29195 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29198 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29209 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
= 0;
29211 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29218 PyObject
* obj0
= 0 ;
29219 PyObject
* obj1
= 0 ;
29220 char * kwnames
[] = {
29221 (char *) "self",(char *) "n", NULL
29224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29226 if (!SWIG_IsOK(res1
)) {
29227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29229 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29231 if (!SWIG_IsOK(ecode2
)) {
29232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29234 arg2
= static_cast< int >(val2
);
29236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29237 result
= wxTimeSpan___mul__(arg1
,arg2
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29248 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
= 0;
29250 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29257 PyObject
* obj0
= 0 ;
29258 PyObject
* obj1
= 0 ;
29259 char * kwnames
[] = {
29260 (char *) "self",(char *) "n", NULL
29263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29265 if (!SWIG_IsOK(res1
)) {
29266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29268 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29270 if (!SWIG_IsOK(ecode2
)) {
29271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29273 arg2
= static_cast< int >(val2
);
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29280 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29287 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29288 PyObject
*resultobj
= 0;
29289 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29290 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29296 PyObject
* obj0
= 0 ;
29297 PyObject
* obj1
= 0 ;
29298 char * kwnames
[] = {
29299 (char *) "self",(char *) "other", NULL
29302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29304 if (!SWIG_IsOK(res1
)) {
29305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29307 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29309 if (!SWIG_IsOK(res2
)) {
29310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29312 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29315 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29328 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
= 0;
29330 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29331 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29337 PyObject
* obj0
= 0 ;
29338 PyObject
* obj1
= 0 ;
29339 char * kwnames
[] = {
29340 (char *) "self",(char *) "other", NULL
29343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29345 if (!SWIG_IsOK(res1
)) {
29346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29348 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29350 if (!SWIG_IsOK(res2
)) {
29351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29353 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29369 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
= 0;
29371 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29372 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 char * kwnames
[] = {
29381 (char *) "self",(char *) "other", NULL
29384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29386 if (!SWIG_IsOK(res1
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29389 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29391 if (!SWIG_IsOK(res2
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29394 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29410 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
= 0;
29412 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29413 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29419 PyObject
* obj0
= 0 ;
29420 PyObject
* obj1
= 0 ;
29421 char * kwnames
[] = {
29422 (char *) "self",(char *) "other", NULL
29425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29427 if (!SWIG_IsOK(res1
)) {
29428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29430 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29431 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29432 if (!SWIG_IsOK(res2
)) {
29433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29435 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29438 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29451 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
= 0;
29453 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29454 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 char * kwnames
[] = {
29463 (char *) "self",(char *) "other", NULL
29466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29468 if (!SWIG_IsOK(res1
)) {
29469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29471 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29473 if (!SWIG_IsOK(res2
)) {
29474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29476 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29492 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
= 0;
29494 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29495 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29501 PyObject
* obj0
= 0 ;
29502 PyObject
* obj1
= 0 ;
29503 char * kwnames
[] = {
29504 (char *) "self",(char *) "other", NULL
29507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29509 if (!SWIG_IsOK(res1
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29512 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29514 if (!SWIG_IsOK(res2
)) {
29515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29517 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29533 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29534 PyObject
*resultobj
= 0;
29535 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29539 PyObject
*swig_obj
[1] ;
29541 if (!args
) SWIG_fail
;
29542 swig_obj
[0] = args
;
29543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29544 if (!SWIG_IsOK(res1
)) {
29545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29547 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29563 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29564 PyObject
*resultobj
= 0;
29565 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29569 PyObject
*swig_obj
[1] ;
29571 if (!args
) SWIG_fail
;
29572 swig_obj
[0] = args
;
29573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29574 if (!SWIG_IsOK(res1
)) {
29575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29577 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29580 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29581 wxPyEndAllowThreads(__tstate
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29593 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29594 PyObject
*resultobj
= 0;
29595 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29599 PyObject
*swig_obj
[1] ;
29601 if (!args
) SWIG_fail
;
29602 swig_obj
[0] = args
;
29603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29604 if (!SWIG_IsOK(res1
)) {
29605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29607 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29623 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
= 0;
29625 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29626 wxTimeSpan
*arg2
= 0 ;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 char * kwnames
[] = {
29635 (char *) "self",(char *) "ts", NULL
29638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29643 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29645 if (!SWIG_IsOK(res2
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29651 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29667 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
= 0;
29669 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29670 wxTimeSpan
*arg2
= 0 ;
29676 PyObject
* obj0
= 0 ;
29677 PyObject
* obj1
= 0 ;
29678 char * kwnames
[] = {
29679 (char *) "self",(char *) "ts", NULL
29682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29684 if (!SWIG_IsOK(res1
)) {
29685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29687 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29689 if (!SWIG_IsOK(res2
)) {
29690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29695 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29698 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29699 wxPyEndAllowThreads(__tstate
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29711 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
= 0;
29713 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29714 wxTimeSpan
*arg2
= 0 ;
29720 PyObject
* obj0
= 0 ;
29721 PyObject
* obj1
= 0 ;
29722 char * kwnames
[] = {
29723 (char *) "self",(char *) "t", NULL
29726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29728 if (!SWIG_IsOK(res1
)) {
29729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29731 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29733 if (!SWIG_IsOK(res2
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29739 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29755 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29756 PyObject
*resultobj
= 0;
29757 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29761 PyObject
*swig_obj
[1] ;
29763 if (!args
) SWIG_fail
;
29764 swig_obj
[0] = args
;
29765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29766 if (!SWIG_IsOK(res1
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29769 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 resultobj
= SWIG_From_int(static_cast< int >(result
));
29783 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29784 PyObject
*resultobj
= 0;
29785 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29789 PyObject
*swig_obj
[1] ;
29791 if (!args
) SWIG_fail
;
29792 swig_obj
[0] = args
;
29793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29794 if (!SWIG_IsOK(res1
)) {
29795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29797 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29800 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29804 resultobj
= SWIG_From_int(static_cast< int >(result
));
29811 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29812 PyObject
*resultobj
= 0;
29813 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29817 PyObject
*swig_obj
[1] ;
29819 if (!args
) SWIG_fail
;
29820 swig_obj
[0] = args
;
29821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29822 if (!SWIG_IsOK(res1
)) {
29823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29825 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= SWIG_From_int(static_cast< int >(result
));
29839 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29840 PyObject
*resultobj
= 0;
29841 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29845 PyObject
*swig_obj
[1] ;
29847 if (!args
) SWIG_fail
;
29848 swig_obj
[0] = args
;
29849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29850 if (!SWIG_IsOK(res1
)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29853 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 resultobj
= SWIG_From_int(static_cast< int >(result
));
29867 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29868 PyObject
*resultobj
= 0;
29869 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29873 PyObject
*swig_obj
[1] ;
29875 if (!args
) SWIG_fail
;
29876 swig_obj
[0] = args
;
29877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29878 if (!SWIG_IsOK(res1
)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29881 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29889 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29890 hi
= PyLong_FromLong( (&result
)->GetHi() );
29891 lo
= PyLong_FromLong( (&result
)->GetLo() );
29892 shifter
= PyLong_FromLong(32);
29893 shifted
= PyNumber_Lshift(hi
, shifter
);
29894 resultobj
= PyNumber_Or(shifted
, lo
);
29897 Py_DECREF(shifter
);
29898 Py_DECREF(shifted
);
29906 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29907 PyObject
*resultobj
= 0;
29908 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29912 PyObject
*swig_obj
[1] ;
29914 if (!args
) SWIG_fail
;
29915 swig_obj
[0] = args
;
29916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29917 if (!SWIG_IsOK(res1
)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29920 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29928 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29929 hi
= PyLong_FromLong( (&result
)->GetHi() );
29930 lo
= PyLong_FromLong( (&result
)->GetLo() );
29931 shifter
= PyLong_FromLong(32);
29932 shifted
= PyNumber_Lshift(hi
, shifter
);
29933 resultobj
= PyNumber_Or(shifted
, lo
);
29936 Py_DECREF(shifter
);
29937 Py_DECREF(shifted
);
29945 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29946 PyObject
*resultobj
= 0;
29947 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29948 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
29949 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
29953 bool temp2
= false ;
29954 PyObject
* obj0
= 0 ;
29955 PyObject
* obj1
= 0 ;
29956 char * kwnames
[] = {
29957 (char *) "self",(char *) "format", NULL
29960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29962 if (!SWIG_IsOK(res1
)) {
29963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29965 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29968 arg2
= wxString_in_helper(obj1
);
29969 if (arg2
== NULL
) SWIG_fail
;
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29975 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
29976 wxPyEndAllowThreads(__tstate
);
29977 if (PyErr_Occurred()) SWIG_fail
;
29981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30000 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30003 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30004 return SWIG_Py_Void();
30007 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30008 return SWIG_Python_InitShadowInstance(args
);
30011 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
= 0;
30013 int arg1
= (int) 0 ;
30014 int arg2
= (int) 0 ;
30015 int arg3
= (int) 0 ;
30016 int arg4
= (int) 0 ;
30017 wxDateSpan
*result
= 0 ;
30026 PyObject
* obj0
= 0 ;
30027 PyObject
* obj1
= 0 ;
30028 PyObject
* obj2
= 0 ;
30029 PyObject
* obj3
= 0 ;
30030 char * kwnames
[] = {
30031 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30036 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30037 if (!SWIG_IsOK(ecode1
)) {
30038 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30040 arg1
= static_cast< int >(val1
);
30043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30044 if (!SWIG_IsOK(ecode2
)) {
30045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30047 arg2
= static_cast< int >(val2
);
30050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30051 if (!SWIG_IsOK(ecode3
)) {
30052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30054 arg3
= static_cast< int >(val3
);
30057 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30058 if (!SWIG_IsOK(ecode4
)) {
30059 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30061 arg4
= static_cast< int >(val4
);
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30076 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30077 PyObject
*resultobj
= 0;
30078 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30081 PyObject
*swig_obj
[1] ;
30083 if (!args
) SWIG_fail
;
30084 swig_obj
[0] = args
;
30085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30086 if (!SWIG_IsOK(res1
)) {
30087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30089 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30097 resultobj
= SWIG_Py_Void();
30104 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30105 PyObject
*resultobj
= 0;
30110 PyObject
* obj0
= 0 ;
30111 char * kwnames
[] = {
30112 (char *) "days", NULL
30115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30116 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30117 if (!SWIG_IsOK(ecode1
)) {
30118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30120 arg1
= static_cast< int >(val1
);
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 result
= wxDateSpan::Days(arg1
);
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30134 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30135 PyObject
*resultobj
= 0;
30138 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30141 result
= wxDateSpan::Day();
30142 wxPyEndAllowThreads(__tstate
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30145 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30152 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30153 PyObject
*resultobj
= 0;
30158 PyObject
* obj0
= 0 ;
30159 char * kwnames
[] = {
30160 (char *) "weeks", NULL
30163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30165 if (!SWIG_IsOK(ecode1
)) {
30166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30168 arg1
= static_cast< int >(val1
);
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 result
= wxDateSpan::Weeks(arg1
);
30172 wxPyEndAllowThreads(__tstate
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30175 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30182 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30183 PyObject
*resultobj
= 0;
30186 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 result
= wxDateSpan::Week();
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30193 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30200 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
= 0;
30206 PyObject
* obj0
= 0 ;
30207 char * kwnames
[] = {
30208 (char *) "mon", NULL
30211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30212 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30213 if (!SWIG_IsOK(ecode1
)) {
30214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30216 arg1
= static_cast< int >(val1
);
30218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 result
= wxDateSpan::Months(arg1
);
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30230 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30231 PyObject
*resultobj
= 0;
30234 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= wxDateSpan::Month();
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30248 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
= 0;
30254 PyObject
* obj0
= 0 ;
30255 char * kwnames
[] = {
30256 (char *) "years", NULL
30259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30261 if (!SWIG_IsOK(ecode1
)) {
30262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30264 arg1
= static_cast< int >(val1
);
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 result
= wxDateSpan::Years(arg1
);
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30278 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30279 PyObject
*resultobj
= 0;
30282 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 result
= wxDateSpan::Year();
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30289 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30296 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30297 PyObject
*resultobj
= 0;
30298 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30300 wxDateSpan
*result
= 0 ;
30305 PyObject
* obj0
= 0 ;
30306 PyObject
* obj1
= 0 ;
30307 char * kwnames
[] = {
30308 (char *) "self",(char *) "n", NULL
30311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30313 if (!SWIG_IsOK(res1
)) {
30314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30316 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30318 if (!SWIG_IsOK(ecode2
)) {
30319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30321 arg2
= static_cast< int >(val2
);
30323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30326 result
= (wxDateSpan
*) &_result_ref
;
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30338 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
= 0;
30340 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30342 wxDateSpan
*result
= 0 ;
30347 PyObject
* obj0
= 0 ;
30348 PyObject
* obj1
= 0 ;
30349 char * kwnames
[] = {
30350 (char *) "self",(char *) "n", NULL
30353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30355 if (!SWIG_IsOK(res1
)) {
30356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30358 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30360 if (!SWIG_IsOK(ecode2
)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30363 arg2
= static_cast< int >(val2
);
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30367 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30368 result
= (wxDateSpan
*) &_result_ref
;
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30380 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30381 PyObject
*resultobj
= 0;
30382 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30384 wxDateSpan
*result
= 0 ;
30389 PyObject
* obj0
= 0 ;
30390 PyObject
* obj1
= 0 ;
30391 char * kwnames
[] = {
30392 (char *) "self",(char *) "n", NULL
30395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30397 if (!SWIG_IsOK(res1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30400 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30402 if (!SWIG_IsOK(ecode2
)) {
30403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30405 arg2
= static_cast< int >(val2
);
30407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30410 result
= (wxDateSpan
*) &_result_ref
;
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30422 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
= 0;
30424 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30426 wxDateSpan
*result
= 0 ;
30431 PyObject
* obj0
= 0 ;
30432 PyObject
* obj1
= 0 ;
30433 char * kwnames
[] = {
30434 (char *) "self",(char *) "n", NULL
30437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30439 if (!SWIG_IsOK(res1
)) {
30440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30442 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30444 if (!SWIG_IsOK(ecode2
)) {
30445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30447 arg2
= static_cast< int >(val2
);
30449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30452 result
= (wxDateSpan
*) &_result_ref
;
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30464 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30465 PyObject
*resultobj
= 0;
30466 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30470 PyObject
*swig_obj
[1] ;
30472 if (!args
) SWIG_fail
;
30473 swig_obj
[0] = args
;
30474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30475 if (!SWIG_IsOK(res1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30478 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30482 wxPyEndAllowThreads(__tstate
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30485 resultobj
= SWIG_From_int(static_cast< int >(result
));
30492 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30493 PyObject
*resultobj
= 0;
30494 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30498 PyObject
*swig_obj
[1] ;
30500 if (!args
) SWIG_fail
;
30501 swig_obj
[0] = args
;
30502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30503 if (!SWIG_IsOK(res1
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30506 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 resultobj
= SWIG_From_int(static_cast< int >(result
));
30520 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30521 PyObject
*resultobj
= 0;
30522 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30526 PyObject
*swig_obj
[1] ;
30528 if (!args
) SWIG_fail
;
30529 swig_obj
[0] = args
;
30530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30531 if (!SWIG_IsOK(res1
)) {
30532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30534 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30537 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= SWIG_From_int(static_cast< int >(result
));
30548 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30549 PyObject
*resultobj
= 0;
30550 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30554 PyObject
*swig_obj
[1] ;
30556 if (!args
) SWIG_fail
;
30557 swig_obj
[0] = args
;
30558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30559 if (!SWIG_IsOK(res1
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30562 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30565 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 resultobj
= SWIG_From_int(static_cast< int >(result
));
30576 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30577 PyObject
*resultobj
= 0;
30578 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30582 PyObject
*swig_obj
[1] ;
30584 if (!args
) SWIG_fail
;
30585 swig_obj
[0] = args
;
30586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30587 if (!SWIG_IsOK(res1
)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30590 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30594 wxPyEndAllowThreads(__tstate
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30597 resultobj
= SWIG_From_int(static_cast< int >(result
));
30604 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
= 0;
30606 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30607 wxDateSpan
*arg2
= 0 ;
30608 wxDateSpan
*result
= 0 ;
30613 PyObject
* obj0
= 0 ;
30614 PyObject
* obj1
= 0 ;
30615 char * kwnames
[] = {
30616 (char *) "self",(char *) "other", NULL
30619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30621 if (!SWIG_IsOK(res1
)) {
30622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30624 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30626 if (!SWIG_IsOK(res2
)) {
30627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30632 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30636 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30637 result
= (wxDateSpan
*) &_result_ref
;
30639 wxPyEndAllowThreads(__tstate
);
30640 if (PyErr_Occurred()) SWIG_fail
;
30642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30649 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
= 0;
30651 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30652 wxDateSpan
*arg2
= 0 ;
30653 wxDateSpan
*result
= 0 ;
30658 PyObject
* obj0
= 0 ;
30659 PyObject
* obj1
= 0 ;
30660 char * kwnames
[] = {
30661 (char *) "self",(char *) "other", NULL
30664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30666 if (!SWIG_IsOK(res1
)) {
30667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30669 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30671 if (!SWIG_IsOK(res2
)) {
30672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30677 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30682 result
= (wxDateSpan
*) &_result_ref
;
30684 wxPyEndAllowThreads(__tstate
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30694 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30695 PyObject
*resultobj
= 0;
30696 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30697 wxDateSpan
*result
= 0 ;
30700 PyObject
*swig_obj
[1] ;
30702 if (!args
) SWIG_fail
;
30703 swig_obj
[0] = args
;
30704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30705 if (!SWIG_IsOK(res1
)) {
30706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30708 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30712 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30713 result
= (wxDateSpan
*) &_result_ref
;
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30725 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
= 0;
30727 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30729 wxDateSpan
*result
= 0 ;
30734 PyObject
* obj0
= 0 ;
30735 PyObject
* obj1
= 0 ;
30736 char * kwnames
[] = {
30737 (char *) "self",(char *) "factor", NULL
30740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30742 if (!SWIG_IsOK(res1
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30745 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30747 if (!SWIG_IsOK(ecode2
)) {
30748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
30750 arg2
= static_cast< int >(val2
);
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30754 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
30755 result
= (wxDateSpan
*) &_result_ref
;
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30767 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
= 0;
30769 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30770 wxDateSpan
*arg2
= 0 ;
30771 wxDateSpan
*result
= 0 ;
30776 PyObject
* obj0
= 0 ;
30777 PyObject
* obj1
= 0 ;
30778 char * kwnames
[] = {
30779 (char *) "self",(char *) "other", NULL
30782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30784 if (!SWIG_IsOK(res1
)) {
30785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30787 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30789 if (!SWIG_IsOK(res2
)) {
30790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30795 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
30800 result
= (wxDateSpan
*) &_result_ref
;
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30812 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30813 PyObject
*resultobj
= 0;
30814 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30815 wxDateSpan
*arg2
= 0 ;
30816 wxDateSpan
*result
= 0 ;
30821 PyObject
* obj0
= 0 ;
30822 PyObject
* obj1
= 0 ;
30823 char * kwnames
[] = {
30824 (char *) "self",(char *) "other", NULL
30827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30829 if (!SWIG_IsOK(res1
)) {
30830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30832 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30834 if (!SWIG_IsOK(res2
)) {
30835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30840 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30844 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
30845 result
= (wxDateSpan
*) &_result_ref
;
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30857 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30858 PyObject
*resultobj
= 0;
30859 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30860 wxDateSpan
*result
= 0 ;
30863 PyObject
*swig_obj
[1] ;
30865 if (!args
) SWIG_fail
;
30866 swig_obj
[0] = args
;
30867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30868 if (!SWIG_IsOK(res1
)) {
30869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30871 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 wxDateSpan
&_result_ref
= (arg1
)->operator -();
30876 result
= (wxDateSpan
*) &_result_ref
;
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30888 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
= 0;
30890 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30892 wxDateSpan
*result
= 0 ;
30897 PyObject
* obj0
= 0 ;
30898 PyObject
* obj1
= 0 ;
30899 char * kwnames
[] = {
30900 (char *) "self",(char *) "factor", NULL
30903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30905 if (!SWIG_IsOK(res1
)) {
30906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30908 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30910 if (!SWIG_IsOK(ecode2
)) {
30911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
30913 arg2
= static_cast< int >(val2
);
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
30918 result
= (wxDateSpan
*) &_result_ref
;
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30930 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
= 0;
30932 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30933 wxDateSpan
*arg2
= 0 ;
30939 PyObject
* obj0
= 0 ;
30940 PyObject
* obj1
= 0 ;
30941 char * kwnames
[] = {
30942 (char *) "self",(char *) "other", NULL
30945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30947 if (!SWIG_IsOK(res1
)) {
30948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30950 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30952 if (!SWIG_IsOK(res2
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30958 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
30962 wxPyEndAllowThreads(__tstate
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30965 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30972 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30973 PyObject
*resultobj
= 0;
30974 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30975 wxDateSpan
*arg2
= 0 ;
30981 PyObject
* obj0
= 0 ;
30982 PyObject
* obj1
= 0 ;
30983 char * kwnames
[] = {
30984 (char *) "self",(char *) "other", NULL
30987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30989 if (!SWIG_IsOK(res1
)) {
30990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30992 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30994 if (!SWIG_IsOK(res2
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31000 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31014 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
= 0;
31016 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31023 PyObject
* obj0
= 0 ;
31024 PyObject
* obj1
= 0 ;
31025 char * kwnames
[] = {
31026 (char *) "self",(char *) "n", NULL
31029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31031 if (!SWIG_IsOK(res1
)) {
31032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31034 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31036 if (!SWIG_IsOK(ecode2
)) {
31037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31039 arg2
= static_cast< int >(val2
);
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= wxDateSpan___mul__(arg1
,arg2
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31053 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
= 0;
31055 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31062 PyObject
* obj0
= 0 ;
31063 PyObject
* obj1
= 0 ;
31064 char * kwnames
[] = {
31065 (char *) "self",(char *) "n", NULL
31068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31070 if (!SWIG_IsOK(res1
)) {
31071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31073 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31075 if (!SWIG_IsOK(ecode2
)) {
31076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31078 arg2
= static_cast< int >(val2
);
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31081 result
= wxDateSpan___rmul__(arg1
,arg2
);
31082 wxPyEndAllowThreads(__tstate
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31085 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31092 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31093 PyObject
*resultobj
= 0;
31094 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31095 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31101 PyObject
* obj0
= 0 ;
31102 PyObject
* obj1
= 0 ;
31103 char * kwnames
[] = {
31104 (char *) "self",(char *) "other", NULL
31107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31109 if (!SWIG_IsOK(res1
)) {
31110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31112 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31113 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31114 if (!SWIG_IsOK(res2
)) {
31115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31117 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31120 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31121 wxPyEndAllowThreads(__tstate
);
31122 if (PyErr_Occurred()) SWIG_fail
;
31125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31133 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31134 PyObject
*resultobj
= 0;
31135 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31136 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31142 PyObject
* obj0
= 0 ;
31143 PyObject
* obj1
= 0 ;
31144 char * kwnames
[] = {
31145 (char *) "self",(char *) "other", NULL
31148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31150 if (!SWIG_IsOK(res1
)) {
31151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31153 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31155 if (!SWIG_IsOK(res2
)) {
31156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31158 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31162 wxPyEndAllowThreads(__tstate
);
31163 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31174 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31177 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31178 return SWIG_Py_Void();
31181 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31182 return SWIG_Python_InitShadowInstance(args
);
31185 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31186 PyObject
*resultobj
= 0;
31189 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31192 result
= (long)wxGetLocalTime();
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31196 resultobj
= SWIG_From_long(static_cast< long >(result
));
31203 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31204 PyObject
*resultobj
= 0;
31207 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31210 result
= (long)wxGetUTCTime();
31211 wxPyEndAllowThreads(__tstate
);
31212 if (PyErr_Occurred()) SWIG_fail
;
31214 resultobj
= SWIG_From_long(static_cast< long >(result
));
31221 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31222 PyObject
*resultobj
= 0;
31225 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31228 result
= (long)wxGetCurrentTime();
31229 wxPyEndAllowThreads(__tstate
);
31230 if (PyErr_Occurred()) SWIG_fail
;
31232 resultobj
= SWIG_From_long(static_cast< long >(result
));
31239 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31240 PyObject
*resultobj
= 0;
31243 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 result
= wxGetLocalTimeMillis();
31247 wxPyEndAllowThreads(__tstate
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31251 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31252 hi
= PyLong_FromLong( (&result
)->GetHi() );
31253 lo
= PyLong_FromLong( (&result
)->GetLo() );
31254 shifter
= PyLong_FromLong(32);
31255 shifted
= PyNumber_Lshift(hi
, shifter
);
31256 resultobj
= PyNumber_Or(shifted
, lo
);
31259 Py_DECREF(shifter
);
31260 Py_DECREF(shifted
);
31268 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31269 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31274 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31275 PyObject
*pyobj
= 0;
31277 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31282 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31283 PyObject
*resultobj
= 0;
31284 wxDataFormatId arg1
;
31285 wxDataFormat
*result
= 0 ;
31288 PyObject
* obj0
= 0 ;
31289 char * kwnames
[] = {
31290 (char *) "type", NULL
31293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31294 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31295 if (!SWIG_IsOK(ecode1
)) {
31296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31298 arg1
= static_cast< wxDataFormatId
>(val1
);
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31312 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
= 0;
31314 wxString
*arg1
= 0 ;
31315 wxDataFormat
*result
= 0 ;
31316 bool temp1
= false ;
31317 PyObject
* obj0
= 0 ;
31318 char * kwnames
[] = {
31319 (char *) "format", NULL
31322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31324 arg1
= wxString_in_helper(obj0
);
31325 if (arg1
== NULL
) SWIG_fail
;
31329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31330 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31331 wxPyEndAllowThreads(__tstate
);
31332 if (PyErr_Occurred()) SWIG_fail
;
31334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31349 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31350 PyObject
*resultobj
= 0;
31351 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31354 PyObject
*swig_obj
[1] ;
31356 if (!args
) SWIG_fail
;
31357 swig_obj
[0] = args
;
31358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31359 if (!SWIG_IsOK(res1
)) {
31360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31362 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= SWIG_Py_Void();
31377 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31378 PyObject
*resultobj
= 0;
31379 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31380 wxDataFormatId arg2
;
31387 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31389 if (!SWIG_IsOK(res1
)) {
31390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31392 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31393 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31394 if (!SWIG_IsOK(ecode2
)) {
31395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31397 arg2
= static_cast< wxDataFormatId
>(val2
);
31399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31400 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31413 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31414 PyObject
*resultobj
= 0;
31415 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31416 wxDataFormatId arg2
;
31423 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31425 if (!SWIG_IsOK(res1
)) {
31426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31428 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31429 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31430 if (!SWIG_IsOK(ecode2
)) {
31431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31433 arg2
= static_cast< wxDataFormatId
>(val2
);
31435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31436 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31437 wxPyEndAllowThreads(__tstate
);
31438 if (PyErr_Occurred()) SWIG_fail
;
31441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31449 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31450 PyObject
*resultobj
= 0;
31451 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31452 wxDataFormat
*arg2
= 0 ;
31459 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31461 if (!SWIG_IsOK(res1
)) {
31462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31464 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31465 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31466 if (!SWIG_IsOK(res2
)) {
31467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31472 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31476 wxPyEndAllowThreads(__tstate
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31488 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31492 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31497 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31498 _v
= SWIG_CheckState(res
);
31500 if (!_v
) goto check_1
;
31501 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31506 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31510 Py_INCREF(Py_NotImplemented
);
31511 return Py_NotImplemented
;
31515 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31516 PyObject
*resultobj
= 0;
31517 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31518 wxDataFormat
*arg2
= 0 ;
31525 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31527 if (!SWIG_IsOK(res1
)) {
31528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31530 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31531 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31532 if (!SWIG_IsOK(res2
)) {
31533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31538 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31542 wxPyEndAllowThreads(__tstate
);
31543 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31554 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31558 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31563 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31564 _v
= SWIG_CheckState(res
);
31566 if (!_v
) goto check_1
;
31567 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31572 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31576 Py_INCREF(Py_NotImplemented
);
31577 return Py_NotImplemented
;
31581 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31582 PyObject
*resultobj
= 0;
31583 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31584 wxDataFormatId arg2
;
31589 PyObject
* obj0
= 0 ;
31590 PyObject
* obj1
= 0 ;
31591 char * kwnames
[] = {
31592 (char *) "self",(char *) "format", NULL
31595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31597 if (!SWIG_IsOK(res1
)) {
31598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31600 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31602 if (!SWIG_IsOK(ecode2
)) {
31603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31605 arg2
= static_cast< wxDataFormatId
>(val2
);
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 (arg1
)->SetType(arg2
);
31609 wxPyEndAllowThreads(__tstate
);
31610 if (PyErr_Occurred()) SWIG_fail
;
31612 resultobj
= SWIG_Py_Void();
31619 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31620 PyObject
*resultobj
= 0;
31621 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31622 wxDataFormatId result
;
31625 PyObject
*swig_obj
[1] ;
31627 if (!args
) SWIG_fail
;
31628 swig_obj
[0] = args
;
31629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31630 if (!SWIG_IsOK(res1
)) {
31631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31633 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31640 resultobj
= SWIG_From_int(static_cast< int >(result
));
31647 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31648 PyObject
*resultobj
= 0;
31649 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31653 PyObject
*swig_obj
[1] ;
31655 if (!args
) SWIG_fail
;
31656 swig_obj
[0] = args
;
31657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31658 if (!SWIG_IsOK(res1
)) {
31659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31661 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31664 result
= ((wxDataFormat
const *)arg1
)->GetId();
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31681 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31682 PyObject
*resultobj
= 0;
31683 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31684 wxString
*arg2
= 0 ;
31687 bool temp2
= false ;
31688 PyObject
* obj0
= 0 ;
31689 PyObject
* obj1
= 0 ;
31690 char * kwnames
[] = {
31691 (char *) "self",(char *) "format", NULL
31694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31696 if (!SWIG_IsOK(res1
)) {
31697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31699 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31701 arg2
= wxString_in_helper(obj1
);
31702 if (arg2
== NULL
) SWIG_fail
;
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 (arg1
)->SetId((wxString
const &)*arg2
);
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= SWIG_Py_Void();
31726 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31729 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31730 return SWIG_Py_Void();
31733 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31734 return SWIG_Python_InitShadowInstance(args
);
31737 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
31738 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
31743 SWIGINTERN PyObject
*FormatInvalid_get(void) {
31744 PyObject
*pyobj
= 0;
31746 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
31751 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31752 PyObject
*resultobj
= 0;
31753 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31756 PyObject
*swig_obj
[1] ;
31758 if (!args
) SWIG_fail
;
31759 swig_obj
[0] = args
;
31760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
31761 if (!SWIG_IsOK(res1
)) {
31762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
31764 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 wxPyEndAllowThreads(__tstate
);
31770 if (PyErr_Occurred()) SWIG_fail
;
31772 resultobj
= SWIG_Py_Void();
31779 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31780 PyObject
*resultobj
= 0;
31781 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31782 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31783 SwigValueWrapper
<wxDataFormat
> result
;
31788 PyObject
* obj0
= 0 ;
31789 PyObject
* obj1
= 0 ;
31790 char * kwnames
[] = {
31791 (char *) "self",(char *) "dir", NULL
31794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31796 if (!SWIG_IsOK(res1
)) {
31797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31799 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31802 if (!SWIG_IsOK(ecode2
)) {
31803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31805 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31809 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
31810 wxPyEndAllowThreads(__tstate
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31813 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31820 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31821 PyObject
*resultobj
= 0;
31822 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31823 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31829 PyObject
* obj0
= 0 ;
31830 PyObject
* obj1
= 0 ;
31831 char * kwnames
[] = {
31832 (char *) "self",(char *) "dir", NULL
31835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31837 if (!SWIG_IsOK(res1
)) {
31838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31840 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31843 if (!SWIG_IsOK(ecode2
)) {
31844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31846 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31861 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31862 PyObject
*resultobj
= 0;
31863 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31864 wxDataFormat
*arg2
= 0 ;
31865 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
31873 PyObject
* obj0
= 0 ;
31874 PyObject
* obj1
= 0 ;
31875 PyObject
* obj2
= 0 ;
31876 char * kwnames
[] = {
31877 (char *) "self",(char *) "format",(char *) "dir", NULL
31880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31882 if (!SWIG_IsOK(res1
)) {
31883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31885 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31887 if (!SWIG_IsOK(res2
)) {
31888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31893 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31896 if (!SWIG_IsOK(ecode3
)) {
31897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
31899 arg3
= static_cast< wxDataObject::Direction
>(val3
);
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31916 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
= 0;
31918 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31919 wxDataFormat
*arg2
= 0 ;
31925 PyObject
* obj0
= 0 ;
31926 PyObject
* obj1
= 0 ;
31927 char * kwnames
[] = {
31928 (char *) "self",(char *) "format", NULL
31931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31933 if (!SWIG_IsOK(res1
)) {
31934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31936 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31938 if (!SWIG_IsOK(res2
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31944 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31947 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31958 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
= 0;
31960 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31961 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31962 PyObject
*result
= 0 ;
31967 PyObject
* obj0
= 0 ;
31968 PyObject
* obj1
= 0 ;
31969 char * kwnames
[] = {
31970 (char *) "self",(char *) "dir", NULL
31973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31975 if (!SWIG_IsOK(res1
)) {
31976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
31978 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31981 if (!SWIG_IsOK(ecode2
)) {
31982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31984 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31988 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31992 resultobj
= result
;
31999 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32000 PyObject
*resultobj
= 0;
32001 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32002 wxDataFormat
*arg2
= 0 ;
32003 PyObject
*result
= 0 ;
32008 PyObject
* obj0
= 0 ;
32009 PyObject
* obj1
= 0 ;
32010 char * kwnames
[] = {
32011 (char *) "self",(char *) "format", NULL
32014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32016 if (!SWIG_IsOK(res1
)) {
32017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32019 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32021 if (!SWIG_IsOK(res2
)) {
32022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32027 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32034 resultobj
= result
;
32041 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32042 PyObject
*resultobj
= 0;
32043 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32044 wxDataFormat
*arg2
= 0 ;
32045 PyObject
*arg3
= (PyObject
*) 0 ;
32051 PyObject
* obj0
= 0 ;
32052 PyObject
* obj1
= 0 ;
32053 PyObject
* obj2
= 0 ;
32054 char * kwnames
[] = {
32055 (char *) "self",(char *) "format",(char *) "data", NULL
32058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32060 if (!SWIG_IsOK(res1
)) {
32061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32063 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32065 if (!SWIG_IsOK(res2
)) {
32066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32071 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32075 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32076 wxPyEndAllowThreads(__tstate
);
32077 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32088 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32091 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32092 return SWIG_Py_Void();
32095 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32096 PyObject
*resultobj
= 0;
32097 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32098 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32099 wxDataObjectSimple
*result
= 0 ;
32102 PyObject
* obj0
= 0 ;
32103 char * kwnames
[] = {
32104 (char *) "format", NULL
32107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32109 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32110 if (!SWIG_IsOK(res1
)) {
32111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32116 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32120 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32121 wxPyEndAllowThreads(__tstate
);
32122 if (PyErr_Occurred()) SWIG_fail
;
32124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32131 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32132 PyObject
*resultobj
= 0;
32133 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32134 wxDataFormat
*result
= 0 ;
32137 PyObject
*swig_obj
[1] ;
32139 if (!args
) SWIG_fail
;
32140 swig_obj
[0] = args
;
32141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32142 if (!SWIG_IsOK(res1
)) {
32143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32145 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32149 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32150 result
= (wxDataFormat
*) &_result_ref
;
32152 wxPyEndAllowThreads(__tstate
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32162 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32163 PyObject
*resultobj
= 0;
32164 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32165 wxDataFormat
*arg2
= 0 ;
32170 PyObject
* obj0
= 0 ;
32171 PyObject
* obj1
= 0 ;
32172 char * kwnames
[] = {
32173 (char *) "self",(char *) "format", NULL
32176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32178 if (!SWIG_IsOK(res1
)) {
32179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32181 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32183 if (!SWIG_IsOK(res2
)) {
32184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32189 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32192 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32193 wxPyEndAllowThreads(__tstate
);
32194 if (PyErr_Occurred()) SWIG_fail
;
32196 resultobj
= SWIG_Py_Void();
32203 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32204 PyObject
*resultobj
= 0;
32205 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32209 PyObject
*swig_obj
[1] ;
32211 if (!args
) SWIG_fail
;
32212 swig_obj
[0] = args
;
32213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32214 if (!SWIG_IsOK(res1
)) {
32215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32217 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32220 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32221 wxPyEndAllowThreads(__tstate
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32231 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32232 PyObject
*resultobj
= 0;
32233 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32234 PyObject
*result
= 0 ;
32237 PyObject
*swig_obj
[1] ;
32239 if (!args
) SWIG_fail
;
32240 swig_obj
[0] = args
;
32241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32242 if (!SWIG_IsOK(res1
)) {
32243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32245 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32248 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= result
;
32259 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
= 0;
32261 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32262 PyObject
*arg2
= (PyObject
*) 0 ;
32266 PyObject
* obj0
= 0 ;
32267 PyObject
* obj1
= 0 ;
32268 char * kwnames
[] = {
32269 (char *) "self",(char *) "data", NULL
32272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32274 if (!SWIG_IsOK(res1
)) {
32275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32277 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32281 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32282 wxPyEndAllowThreads(__tstate
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32294 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32297 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32298 return SWIG_Py_Void();
32301 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32302 return SWIG_Python_InitShadowInstance(args
);
32305 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32306 PyObject
*resultobj
= 0;
32307 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32308 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32309 wxPyDataObjectSimple
*result
= 0 ;
32312 PyObject
* obj0
= 0 ;
32313 char * kwnames
[] = {
32314 (char *) "format", NULL
32317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32319 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32320 if (!SWIG_IsOK(res1
)) {
32321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32326 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32330 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32341 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
= 0;
32343 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32344 PyObject
*arg2
= (PyObject
*) 0 ;
32345 PyObject
*arg3
= (PyObject
*) 0 ;
32348 PyObject
* obj0
= 0 ;
32349 PyObject
* obj1
= 0 ;
32350 PyObject
* obj2
= 0 ;
32351 char * kwnames
[] = {
32352 (char *) "self",(char *) "self",(char *) "_class", NULL
32355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32357 if (!SWIG_IsOK(res1
)) {
32358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32360 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 resultobj
= SWIG_Py_Void();
32376 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32379 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32380 return SWIG_Py_Void();
32383 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32384 return SWIG_Python_InitShadowInstance(args
);
32387 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32388 PyObject
*resultobj
= 0;
32389 wxDataObjectComposite
*result
= 0 ;
32391 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32394 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32405 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32406 PyObject
*resultobj
= 0;
32407 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32408 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32409 bool arg3
= (bool) false ;
32415 PyObject
* obj0
= 0 ;
32416 PyObject
* obj1
= 0 ;
32417 PyObject
* obj2
= 0 ;
32418 char * kwnames
[] = {
32419 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32424 if (!SWIG_IsOK(res1
)) {
32425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32427 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32428 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32429 if (!SWIG_IsOK(res2
)) {
32430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32433 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32434 if (!SWIG_IsOK(ecode3
)) {
32435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32437 arg3
= static_cast< bool >(val3
);
32440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32441 (arg1
)->Add(arg2
,arg3
);
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32445 resultobj
= SWIG_Py_Void();
32452 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32453 PyObject
*resultobj
= 0;
32454 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32455 SwigValueWrapper
<wxDataFormat
> result
;
32458 PyObject
*swig_obj
[1] ;
32460 if (!args
) SWIG_fail
;
32461 swig_obj
[0] = args
;
32462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32463 if (!SWIG_IsOK(res1
)) {
32464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32466 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32480 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32483 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32484 return SWIG_Py_Void();
32487 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32488 return SWIG_Python_InitShadowInstance(args
);
32491 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32492 PyObject
*resultobj
= 0;
32493 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32494 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32495 wxTextDataObject
*result
= 0 ;
32496 bool temp1
= false ;
32497 PyObject
* obj0
= 0 ;
32498 char * kwnames
[] = {
32499 (char *) "text", NULL
32502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32505 arg1
= wxString_in_helper(obj0
);
32506 if (arg1
== NULL
) SWIG_fail
;
32511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32513 wxPyEndAllowThreads(__tstate
);
32514 if (PyErr_Occurred()) SWIG_fail
;
32516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32531 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32532 PyObject
*resultobj
= 0;
32533 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32537 PyObject
*swig_obj
[1] ;
32539 if (!args
) SWIG_fail
;
32540 swig_obj
[0] = args
;
32541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32542 if (!SWIG_IsOK(res1
)) {
32543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32545 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32548 result
= (size_t)(arg1
)->GetTextLength();
32549 wxPyEndAllowThreads(__tstate
);
32550 if (PyErr_Occurred()) SWIG_fail
;
32552 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32559 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32560 PyObject
*resultobj
= 0;
32561 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32565 PyObject
*swig_obj
[1] ;
32567 if (!args
) SWIG_fail
;
32568 swig_obj
[0] = args
;
32569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32570 if (!SWIG_IsOK(res1
)) {
32571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32573 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 result
= (arg1
)->GetText();
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32593 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32594 PyObject
*resultobj
= 0;
32595 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32596 wxString
*arg2
= 0 ;
32599 bool temp2
= false ;
32600 PyObject
* obj0
= 0 ;
32601 PyObject
* obj1
= 0 ;
32602 char * kwnames
[] = {
32603 (char *) "self",(char *) "text", NULL
32606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32608 if (!SWIG_IsOK(res1
)) {
32609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32611 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32613 arg2
= wxString_in_helper(obj1
);
32614 if (arg2
== NULL
) SWIG_fail
;
32618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32619 (arg1
)->SetText((wxString
const &)*arg2
);
32620 wxPyEndAllowThreads(__tstate
);
32621 if (PyErr_Occurred()) SWIG_fail
;
32623 resultobj
= SWIG_Py_Void();
32638 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32641 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32642 return SWIG_Py_Void();
32645 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32646 return SWIG_Python_InitShadowInstance(args
);
32649 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32650 PyObject
*resultobj
= 0;
32651 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32652 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32653 wxPyTextDataObject
*result
= 0 ;
32654 bool temp1
= false ;
32655 PyObject
* obj0
= 0 ;
32656 char * kwnames
[] = {
32657 (char *) "text", NULL
32660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32663 arg1
= wxString_in_helper(obj0
);
32664 if (arg1
== NULL
) SWIG_fail
;
32669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32670 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32671 wxPyEndAllowThreads(__tstate
);
32672 if (PyErr_Occurred()) SWIG_fail
;
32674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32689 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32690 PyObject
*resultobj
= 0;
32691 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32692 PyObject
*arg2
= (PyObject
*) 0 ;
32693 PyObject
*arg3
= (PyObject
*) 0 ;
32696 PyObject
* obj0
= 0 ;
32697 PyObject
* obj1
= 0 ;
32698 PyObject
* obj2
= 0 ;
32699 char * kwnames
[] = {
32700 (char *) "self",(char *) "self",(char *) "_class", NULL
32703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32705 if (!SWIG_IsOK(res1
)) {
32706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32708 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32714 wxPyEndAllowThreads(__tstate
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32717 resultobj
= SWIG_Py_Void();
32724 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32727 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32728 return SWIG_Py_Void();
32731 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32732 return SWIG_Python_InitShadowInstance(args
);
32735 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32736 PyObject
*resultobj
= 0;
32737 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32738 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32739 wxBitmapDataObject
*result
= 0 ;
32742 PyObject
* obj0
= 0 ;
32743 char * kwnames
[] = {
32744 (char *) "bitmap", NULL
32747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32749 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32750 if (!SWIG_IsOK(res1
)) {
32751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32756 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32760 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
32761 wxPyEndAllowThreads(__tstate
);
32762 if (PyErr_Occurred()) SWIG_fail
;
32764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32771 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32772 PyObject
*resultobj
= 0;
32773 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32777 PyObject
*swig_obj
[1] ;
32779 if (!args
) SWIG_fail
;
32780 swig_obj
[0] = args
;
32781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32782 if (!SWIG_IsOK(res1
)) {
32783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
32785 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32788 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
32789 wxPyEndAllowThreads(__tstate
);
32790 if (PyErr_Occurred()) SWIG_fail
;
32792 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32799 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32800 PyObject
*resultobj
= 0;
32801 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32802 wxBitmap
*arg2
= 0 ;
32807 PyObject
* obj0
= 0 ;
32808 PyObject
* obj1
= 0 ;
32809 char * kwnames
[] = {
32810 (char *) "self",(char *) "bitmap", NULL
32813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32815 if (!SWIG_IsOK(res1
)) {
32816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
32818 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32820 if (!SWIG_IsOK(res2
)) {
32821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32826 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32833 resultobj
= SWIG_Py_Void();
32840 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32843 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
32844 return SWIG_Py_Void();
32847 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32848 return SWIG_Python_InitShadowInstance(args
);
32851 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32852 PyObject
*resultobj
= 0;
32853 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32854 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32855 wxPyBitmapDataObject
*result
= 0 ;
32858 PyObject
* obj0
= 0 ;
32859 char * kwnames
[] = {
32860 (char *) "bitmap", NULL
32863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32865 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32866 if (!SWIG_IsOK(res1
)) {
32867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32876 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
32877 wxPyEndAllowThreads(__tstate
);
32878 if (PyErr_Occurred()) SWIG_fail
;
32880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32887 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32888 PyObject
*resultobj
= 0;
32889 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
32890 PyObject
*arg2
= (PyObject
*) 0 ;
32891 PyObject
*arg3
= (PyObject
*) 0 ;
32894 PyObject
* obj0
= 0 ;
32895 PyObject
* obj1
= 0 ;
32896 PyObject
* obj2
= 0 ;
32897 char * kwnames
[] = {
32898 (char *) "self",(char *) "self",(char *) "_class", NULL
32901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
32903 if (!SWIG_IsOK(res1
)) {
32904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
32906 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
32910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32911 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32912 wxPyEndAllowThreads(__tstate
);
32913 if (PyErr_Occurred()) SWIG_fail
;
32915 resultobj
= SWIG_Py_Void();
32922 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32925 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
32926 return SWIG_Py_Void();
32929 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32930 return SWIG_Python_InitShadowInstance(args
);
32933 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32934 PyObject
*resultobj
= 0;
32935 wxFileDataObject
*result
= 0 ;
32937 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 result
= (wxFileDataObject
*)new wxFileDataObject();
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
32951 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32952 PyObject
*resultobj
= 0;
32953 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32954 wxArrayString
*result
= 0 ;
32957 PyObject
*swig_obj
[1] ;
32959 if (!args
) SWIG_fail
;
32960 swig_obj
[0] = args
;
32961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32962 if (!SWIG_IsOK(res1
)) {
32963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32965 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
32970 result
= (wxArrayString
*) &_result_ref
;
32972 wxPyEndAllowThreads(__tstate
);
32973 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= wxArrayString2PyList_helper(*result
);
32984 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32985 PyObject
*resultobj
= 0;
32986 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32987 wxString
*arg2
= 0 ;
32990 bool temp2
= false ;
32991 PyObject
* obj0
= 0 ;
32992 PyObject
* obj1
= 0 ;
32993 char * kwnames
[] = {
32994 (char *) "self",(char *) "filename", NULL
32997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32999 if (!SWIG_IsOK(res1
)) {
33000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33002 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33004 arg2
= wxString_in_helper(obj1
);
33005 if (arg2
== NULL
) SWIG_fail
;
33009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 (arg1
)->AddFile((wxString
const &)*arg2
);
33011 wxPyEndAllowThreads(__tstate
);
33012 if (PyErr_Occurred()) SWIG_fail
;
33014 resultobj
= SWIG_Py_Void();
33029 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33032 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33033 return SWIG_Py_Void();
33036 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33037 return SWIG_Python_InitShadowInstance(args
);
33040 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33041 PyObject
*resultobj
= 0;
33042 wxDataFormat
*arg1
= 0 ;
33043 wxCustomDataObject
*result
= 0 ;
33047 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33049 if (!SWIG_IsOK(res1
)) {
33050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33055 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33059 wxPyEndAllowThreads(__tstate
);
33060 if (PyErr_Occurred()) SWIG_fail
;
33062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33069 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33070 PyObject
*resultobj
= 0;
33071 wxString
*arg1
= 0 ;
33072 wxCustomDataObject
*result
= 0 ;
33073 bool temp1
= false ;
33075 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33077 arg1
= wxString_in_helper(swig_obj
[0]);
33078 if (arg1
== NULL
) SWIG_fail
;
33082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33083 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33102 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33103 PyObject
*resultobj
= 0;
33104 wxCustomDataObject
*result
= 0 ;
33106 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33109 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33120 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33124 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33127 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33133 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33136 if (!_v
) goto check_2
;
33137 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33142 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33146 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33151 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33152 PyObject
*resultobj
= 0;
33153 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33154 PyObject
*arg2
= (PyObject
*) 0 ;
33158 PyObject
* obj0
= 0 ;
33159 PyObject
* obj1
= 0 ;
33160 char * kwnames
[] = {
33161 (char *) "self",(char *) "data", NULL
33164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33166 if (!SWIG_IsOK(res1
)) {
33167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33169 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33174 wxPyEndAllowThreads(__tstate
);
33175 if (PyErr_Occurred()) SWIG_fail
;
33178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33186 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33187 PyObject
*resultobj
= 0;
33188 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33192 PyObject
*swig_obj
[1] ;
33194 if (!args
) SWIG_fail
;
33195 swig_obj
[0] = args
;
33196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33197 if (!SWIG_IsOK(res1
)) {
33198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33200 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33203 result
= (size_t)(arg1
)->GetSize();
33204 wxPyEndAllowThreads(__tstate
);
33205 if (PyErr_Occurred()) SWIG_fail
;
33207 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33214 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33215 PyObject
*resultobj
= 0;
33216 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33217 PyObject
*result
= 0 ;
33220 PyObject
*swig_obj
[1] ;
33222 if (!args
) SWIG_fail
;
33223 swig_obj
[0] = args
;
33224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33225 if (!SWIG_IsOK(res1
)) {
33226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33228 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33232 wxPyEndAllowThreads(__tstate
);
33233 if (PyErr_Occurred()) SWIG_fail
;
33235 resultobj
= result
;
33242 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33245 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33246 return SWIG_Py_Void();
33249 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33250 return SWIG_Python_InitShadowInstance(args
);
33253 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33254 PyObject
*resultobj
= 0;
33255 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33256 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33257 wxURLDataObject
*result
= 0 ;
33258 bool temp1
= false ;
33259 PyObject
* obj0
= 0 ;
33260 char * kwnames
[] = {
33261 (char *) "url", NULL
33264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33267 arg1
= wxString_in_helper(obj0
);
33268 if (arg1
== NULL
) SWIG_fail
;
33273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33274 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33275 wxPyEndAllowThreads(__tstate
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33293 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33294 PyObject
*resultobj
= 0;
33295 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33299 PyObject
*swig_obj
[1] ;
33301 if (!args
) SWIG_fail
;
33302 swig_obj
[0] = args
;
33303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33304 if (!SWIG_IsOK(res1
)) {
33305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33307 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33310 result
= (arg1
)->GetURL();
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33327 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33328 PyObject
*resultobj
= 0;
33329 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33330 wxString
*arg2
= 0 ;
33333 bool temp2
= false ;
33334 PyObject
* obj0
= 0 ;
33335 PyObject
* obj1
= 0 ;
33336 char * kwnames
[] = {
33337 (char *) "self",(char *) "url", NULL
33340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33342 if (!SWIG_IsOK(res1
)) {
33343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33345 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33347 arg2
= wxString_in_helper(obj1
);
33348 if (arg2
== NULL
) SWIG_fail
;
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 (arg1
)->SetURL((wxString
const &)*arg2
);
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33357 resultobj
= SWIG_Py_Void();
33372 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33375 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33376 return SWIG_Py_Void();
33379 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33380 return SWIG_Python_InitShadowInstance(args
);
33383 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33384 PyObject
*resultobj
= 0;
33385 wxMetafileDataObject
*result
= 0 ;
33387 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33390 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33391 wxPyEndAllowThreads(__tstate
);
33392 if (PyErr_Occurred()) SWIG_fail
;
33394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33401 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33402 PyObject
*resultobj
= 0;
33403 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33404 wxMetafile
*arg2
= 0 ;
33409 PyObject
* obj0
= 0 ;
33410 PyObject
* obj1
= 0 ;
33411 char * kwnames
[] = {
33412 (char *) "self",(char *) "metafile", NULL
33415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33417 if (!SWIG_IsOK(res1
)) {
33418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
33420 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
33422 if (!SWIG_IsOK(res2
)) {
33423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33428 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
33430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33431 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
33432 wxPyEndAllowThreads(__tstate
);
33433 if (PyErr_Occurred()) SWIG_fail
;
33435 resultobj
= SWIG_Py_Void();
33442 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33443 PyObject
*resultobj
= 0;
33444 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33448 PyObject
*swig_obj
[1] ;
33450 if (!args
) SWIG_fail
;
33451 swig_obj
[0] = args
;
33452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33453 if (!SWIG_IsOK(res1
)) {
33454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
33456 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
33460 wxPyEndAllowThreads(__tstate
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33463 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
33470 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33473 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33474 return SWIG_Py_Void();
33477 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33478 return SWIG_Python_InitShadowInstance(args
);
33481 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33482 PyObject
*resultobj
= 0;
33483 wxDragResult arg1
;
33487 PyObject
* obj0
= 0 ;
33488 char * kwnames
[] = {
33489 (char *) "res", NULL
33492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33494 if (!SWIG_IsOK(ecode1
)) {
33495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33497 arg1
= static_cast< wxDragResult
>(val1
);
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33500 result
= (bool)wxIsDragResultOk(arg1
);
33501 wxPyEndAllowThreads(__tstate
);
33502 if (PyErr_Occurred()) SWIG_fail
;
33505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33513 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33514 PyObject
*resultobj
= 0;
33515 wxWindow
*arg1
= (wxWindow
*) 0 ;
33516 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33517 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33518 wxCursor
const &arg3_defvalue
= wxNullCursor
;
33519 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
33520 wxCursor
const &arg4_defvalue
= wxNullCursor
;
33521 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
33522 wxPyDropSource
*result
= 0 ;
33531 PyObject
* obj0
= 0 ;
33532 PyObject
* obj1
= 0 ;
33533 PyObject
* obj2
= 0 ;
33534 PyObject
* obj3
= 0 ;
33535 char * kwnames
[] = {
33536 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33541 if (!SWIG_IsOK(res1
)) {
33542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33544 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
33547 if (!SWIG_IsOK(res2
)) {
33548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33553 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
33556 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33557 if (!SWIG_IsOK(res3
)) {
33558 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33563 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33566 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
33567 if (!SWIG_IsOK(res4
)) {
33568 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33573 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
33576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33577 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
33578 wxPyEndAllowThreads(__tstate
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33588 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33589 PyObject
*resultobj
= 0;
33590 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33591 PyObject
*arg2
= (PyObject
*) 0 ;
33592 PyObject
*arg3
= (PyObject
*) 0 ;
33598 PyObject
* obj0
= 0 ;
33599 PyObject
* obj1
= 0 ;
33600 PyObject
* obj2
= 0 ;
33601 PyObject
* obj3
= 0 ;
33602 char * kwnames
[] = {
33603 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33608 if (!SWIG_IsOK(res1
)) {
33609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33611 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33614 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33615 if (!SWIG_IsOK(ecode4
)) {
33616 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33618 arg4
= static_cast< int >(val4
);
33620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33621 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33622 wxPyEndAllowThreads(__tstate
);
33623 if (PyErr_Occurred()) SWIG_fail
;
33625 resultobj
= SWIG_Py_Void();
33632 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33633 PyObject
*resultobj
= 0;
33634 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33637 PyObject
*swig_obj
[1] ;
33639 if (!args
) SWIG_fail
;
33640 swig_obj
[0] = args
;
33641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33642 if (!SWIG_IsOK(res1
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33645 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33650 wxPyEndAllowThreads(__tstate
);
33651 if (PyErr_Occurred()) SWIG_fail
;
33653 resultobj
= SWIG_Py_Void();
33660 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33661 PyObject
*resultobj
= 0;
33662 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33663 wxDataObject
*arg2
= 0 ;
33668 PyObject
* obj0
= 0 ;
33669 PyObject
* obj1
= 0 ;
33670 char * kwnames
[] = {
33671 (char *) "self",(char *) "data", NULL
33674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33676 if (!SWIG_IsOK(res1
)) {
33677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33679 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33681 if (!SWIG_IsOK(res2
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33687 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33690 (arg1
)->SetData(*arg2
);
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33694 resultobj
= SWIG_Py_Void();
33701 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33702 PyObject
*resultobj
= 0;
33703 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33704 wxDataObject
*result
= 0 ;
33707 PyObject
*swig_obj
[1] ;
33709 if (!args
) SWIG_fail
;
33710 swig_obj
[0] = args
;
33711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33712 if (!SWIG_IsOK(res1
)) {
33713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33715 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33718 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33719 wxPyEndAllowThreads(__tstate
);
33720 if (PyErr_Occurred()) SWIG_fail
;
33722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33729 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33730 PyObject
*resultobj
= 0;
33731 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33732 wxDragResult arg2
;
33733 wxCursor
*arg3
= 0 ;
33740 PyObject
* obj0
= 0 ;
33741 PyObject
* obj1
= 0 ;
33742 PyObject
* obj2
= 0 ;
33743 char * kwnames
[] = {
33744 (char *) "self",(char *) "res",(char *) "cursor", NULL
33747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33749 if (!SWIG_IsOK(res1
)) {
33750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33752 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33754 if (!SWIG_IsOK(ecode2
)) {
33755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33757 arg2
= static_cast< wxDragResult
>(val2
);
33758 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33759 if (!SWIG_IsOK(res3
)) {
33760 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33765 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33768 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
33769 wxPyEndAllowThreads(__tstate
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33772 resultobj
= SWIG_Py_Void();
33779 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33780 PyObject
*resultobj
= 0;
33781 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33782 int arg2
= (int) wxDrag_CopyOnly
;
33783 wxDragResult result
;
33788 PyObject
* obj0
= 0 ;
33789 PyObject
* obj1
= 0 ;
33790 char * kwnames
[] = {
33791 (char *) "self",(char *) "flags", NULL
33794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33796 if (!SWIG_IsOK(res1
)) {
33797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33799 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33802 if (!SWIG_IsOK(ecode2
)) {
33803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
33805 arg2
= static_cast< int >(val2
);
33808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33809 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
33810 wxPyEndAllowThreads(__tstate
);
33811 if (PyErr_Occurred()) SWIG_fail
;
33813 resultobj
= SWIG_From_int(static_cast< int >(result
));
33820 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33821 PyObject
*resultobj
= 0;
33822 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33823 wxDragResult arg2
;
33829 PyObject
* obj0
= 0 ;
33830 PyObject
* obj1
= 0 ;
33831 char * kwnames
[] = {
33832 (char *) "self",(char *) "effect", NULL
33835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33837 if (!SWIG_IsOK(res1
)) {
33838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33840 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33842 if (!SWIG_IsOK(ecode2
)) {
33843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
33845 arg2
= static_cast< wxDragResult
>(val2
);
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 result
= (bool)(arg1
)->GiveFeedback(arg2
);
33849 wxPyEndAllowThreads(__tstate
);
33850 if (PyErr_Occurred()) SWIG_fail
;
33853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33861 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33864 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
33865 return SWIG_Py_Void();
33868 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33869 return SWIG_Python_InitShadowInstance(args
);
33872 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33873 PyObject
*resultobj
= 0;
33874 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
33875 wxPyDropTarget
*result
= 0 ;
33877 PyObject
* obj0
= 0 ;
33878 char * kwnames
[] = {
33879 (char *) "dataObject", NULL
33882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
33884 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33885 if (!SWIG_IsOK(res1
)) {
33886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
33892 wxPyEndAllowThreads(__tstate
);
33893 if (PyErr_Occurred()) SWIG_fail
;
33895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
33902 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33903 PyObject
*resultobj
= 0;
33904 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33905 PyObject
*arg2
= (PyObject
*) 0 ;
33906 PyObject
*arg3
= (PyObject
*) 0 ;
33909 PyObject
* obj0
= 0 ;
33910 PyObject
* obj1
= 0 ;
33911 PyObject
* obj2
= 0 ;
33912 char * kwnames
[] = {
33913 (char *) "self",(char *) "self",(char *) "_class", NULL
33916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33918 if (!SWIG_IsOK(res1
)) {
33919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33921 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33926 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33927 wxPyEndAllowThreads(__tstate
);
33928 if (PyErr_Occurred()) SWIG_fail
;
33930 resultobj
= SWIG_Py_Void();
33937 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33938 PyObject
*resultobj
= 0;
33939 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33942 PyObject
*swig_obj
[1] ;
33944 if (!args
) SWIG_fail
;
33945 swig_obj
[0] = args
;
33946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
33947 if (!SWIG_IsOK(res1
)) {
33948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33950 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33955 wxPyEndAllowThreads(__tstate
);
33956 if (PyErr_Occurred()) SWIG_fail
;
33958 resultobj
= SWIG_Py_Void();
33965 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33966 PyObject
*resultobj
= 0;
33967 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33968 wxDataObject
*result
= 0 ;
33971 PyObject
*swig_obj
[1] ;
33973 if (!args
) SWIG_fail
;
33974 swig_obj
[0] = args
;
33975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33976 if (!SWIG_IsOK(res1
)) {
33977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33979 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33982 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33983 wxPyEndAllowThreads(__tstate
);
33984 if (PyErr_Occurred()) SWIG_fail
;
33986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33993 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33994 PyObject
*resultobj
= 0;
33995 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33996 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34000 PyObject
* obj0
= 0 ;
34001 PyObject
* obj1
= 0 ;
34002 char * kwnames
[] = {
34003 (char *) "self",(char *) "dataObject", NULL
34006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34008 if (!SWIG_IsOK(res1
)) {
34009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34011 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34012 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34013 if (!SWIG_IsOK(res2
)) {
34014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 (arg1
)->SetDataObject(arg2
);
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34022 resultobj
= SWIG_Py_Void();
34029 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34030 PyObject
*resultobj
= 0;
34031 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34034 wxDragResult arg4
;
34035 wxDragResult result
;
34044 PyObject
* obj0
= 0 ;
34045 PyObject
* obj1
= 0 ;
34046 PyObject
* obj2
= 0 ;
34047 PyObject
* obj3
= 0 ;
34048 char * kwnames
[] = {
34049 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34054 if (!SWIG_IsOK(res1
)) {
34055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34057 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34059 if (!SWIG_IsOK(ecode2
)) {
34060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34062 arg2
= static_cast< int >(val2
);
34063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34064 if (!SWIG_IsOK(ecode3
)) {
34065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34067 arg3
= static_cast< int >(val3
);
34068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34069 if (!SWIG_IsOK(ecode4
)) {
34070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34072 arg4
= static_cast< wxDragResult
>(val4
);
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34076 wxPyEndAllowThreads(__tstate
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34079 resultobj
= SWIG_From_int(static_cast< int >(result
));
34086 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34087 PyObject
*resultobj
= 0;
34088 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34091 wxDragResult arg4
;
34092 wxDragResult result
;
34101 PyObject
* obj0
= 0 ;
34102 PyObject
* obj1
= 0 ;
34103 PyObject
* obj2
= 0 ;
34104 PyObject
* obj3
= 0 ;
34105 char * kwnames
[] = {
34106 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34111 if (!SWIG_IsOK(res1
)) {
34112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34114 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34116 if (!SWIG_IsOK(ecode2
)) {
34117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34119 arg2
= static_cast< int >(val2
);
34120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34121 if (!SWIG_IsOK(ecode3
)) {
34122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34124 arg3
= static_cast< int >(val3
);
34125 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34126 if (!SWIG_IsOK(ecode4
)) {
34127 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34129 arg4
= static_cast< wxDragResult
>(val4
);
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34133 wxPyEndAllowThreads(__tstate
);
34134 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= SWIG_From_int(static_cast< int >(result
));
34143 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34144 PyObject
*resultobj
= 0;
34145 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34148 PyObject
*swig_obj
[1] ;
34150 if (!args
) SWIG_fail
;
34151 swig_obj
[0] = args
;
34152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34153 if (!SWIG_IsOK(res1
)) {
34154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34156 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= SWIG_Py_Void();
34170 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34171 PyObject
*resultobj
= 0;
34172 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34182 PyObject
* obj0
= 0 ;
34183 PyObject
* obj1
= 0 ;
34184 PyObject
* obj2
= 0 ;
34185 char * kwnames
[] = {
34186 (char *) "self",(char *) "x",(char *) "y", NULL
34189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34191 if (!SWIG_IsOK(res1
)) {
34192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34194 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34196 if (!SWIG_IsOK(ecode2
)) {
34197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34199 arg2
= static_cast< int >(val2
);
34200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34201 if (!SWIG_IsOK(ecode3
)) {
34202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34204 arg3
= static_cast< int >(val3
);
34206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34207 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34220 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34221 PyObject
*resultobj
= 0;
34222 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34226 PyObject
*swig_obj
[1] ;
34228 if (!args
) SWIG_fail
;
34229 swig_obj
[0] = args
;
34230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34231 if (!SWIG_IsOK(res1
)) {
34232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34234 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34237 result
= (bool)(arg1
)->GetData();
34238 wxPyEndAllowThreads(__tstate
);
34239 if (PyErr_Occurred()) SWIG_fail
;
34242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34250 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34251 PyObject
*resultobj
= 0;
34252 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34253 wxDragResult arg2
;
34258 PyObject
* obj0
= 0 ;
34259 PyObject
* obj1
= 0 ;
34260 char * kwnames
[] = {
34261 (char *) "self",(char *) "action", NULL
34264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34266 if (!SWIG_IsOK(res1
)) {
34267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34269 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34271 if (!SWIG_IsOK(ecode2
)) {
34272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34274 arg2
= static_cast< wxDragResult
>(val2
);
34276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34277 (arg1
)->SetDefaultAction(arg2
);
34278 wxPyEndAllowThreads(__tstate
);
34279 if (PyErr_Occurred()) SWIG_fail
;
34281 resultobj
= SWIG_Py_Void();
34288 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34289 PyObject
*resultobj
= 0;
34290 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34291 wxDragResult result
;
34294 PyObject
*swig_obj
[1] ;
34296 if (!args
) SWIG_fail
;
34297 swig_obj
[0] = args
;
34298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34299 if (!SWIG_IsOK(res1
)) {
34300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34302 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34305 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34306 wxPyEndAllowThreads(__tstate
);
34307 if (PyErr_Occurred()) SWIG_fail
;
34309 resultobj
= SWIG_From_int(static_cast< int >(result
));
34316 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34319 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34320 return SWIG_Py_Void();
34323 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34324 return SWIG_Python_InitShadowInstance(args
);
34327 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34328 PyObject
*resultobj
= 0;
34329 wxPyTextDropTarget
*result
= 0 ;
34331 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34334 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34335 wxPyEndAllowThreads(__tstate
);
34336 if (PyErr_Occurred()) SWIG_fail
;
34338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34345 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34346 PyObject
*resultobj
= 0;
34347 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34348 PyObject
*arg2
= (PyObject
*) 0 ;
34349 PyObject
*arg3
= (PyObject
*) 0 ;
34352 PyObject
* obj0
= 0 ;
34353 PyObject
* obj1
= 0 ;
34354 PyObject
* obj2
= 0 ;
34355 char * kwnames
[] = {
34356 (char *) "self",(char *) "self",(char *) "_class", NULL
34359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34361 if (!SWIG_IsOK(res1
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34364 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34369 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34373 resultobj
= SWIG_Py_Void();
34380 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34381 PyObject
*resultobj
= 0;
34382 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34385 wxString
*arg4
= 0 ;
34393 bool temp4
= false ;
34394 PyObject
* obj0
= 0 ;
34395 PyObject
* obj1
= 0 ;
34396 PyObject
* obj2
= 0 ;
34397 PyObject
* obj3
= 0 ;
34398 char * kwnames
[] = {
34399 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34404 if (!SWIG_IsOK(res1
)) {
34405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34407 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34409 if (!SWIG_IsOK(ecode2
)) {
34410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34412 arg2
= static_cast< int >(val2
);
34413 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34414 if (!SWIG_IsOK(ecode3
)) {
34415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34417 arg3
= static_cast< int >(val3
);
34419 arg4
= wxString_in_helper(obj3
);
34420 if (arg4
== NULL
) SWIG_fail
;
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34446 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34447 PyObject
*resultobj
= 0;
34448 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34451 wxDragResult arg4
;
34452 wxDragResult result
;
34461 PyObject
* obj0
= 0 ;
34462 PyObject
* obj1
= 0 ;
34463 PyObject
* obj2
= 0 ;
34464 PyObject
* obj3
= 0 ;
34465 char * kwnames
[] = {
34466 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34471 if (!SWIG_IsOK(res1
)) {
34472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34474 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34476 if (!SWIG_IsOK(ecode2
)) {
34477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34479 arg2
= static_cast< int >(val2
);
34480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34481 if (!SWIG_IsOK(ecode3
)) {
34482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34484 arg3
= static_cast< int >(val3
);
34485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34486 if (!SWIG_IsOK(ecode4
)) {
34487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34489 arg4
= static_cast< wxDragResult
>(val4
);
34491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34492 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34493 wxPyEndAllowThreads(__tstate
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= SWIG_From_int(static_cast< int >(result
));
34503 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
= 0;
34505 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34508 wxDragResult arg4
;
34509 wxDragResult result
;
34518 PyObject
* obj0
= 0 ;
34519 PyObject
* obj1
= 0 ;
34520 PyObject
* obj2
= 0 ;
34521 PyObject
* obj3
= 0 ;
34522 char * kwnames
[] = {
34523 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34528 if (!SWIG_IsOK(res1
)) {
34529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34531 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34533 if (!SWIG_IsOK(ecode2
)) {
34534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34536 arg2
= static_cast< int >(val2
);
34537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34538 if (!SWIG_IsOK(ecode3
)) {
34539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34541 arg3
= static_cast< int >(val3
);
34542 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34543 if (!SWIG_IsOK(ecode4
)) {
34544 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34546 arg4
= static_cast< wxDragResult
>(val4
);
34548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34549 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 resultobj
= SWIG_From_int(static_cast< int >(result
));
34560 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34561 PyObject
*resultobj
= 0;
34562 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34565 PyObject
*swig_obj
[1] ;
34567 if (!args
) SWIG_fail
;
34568 swig_obj
[0] = args
;
34569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34570 if (!SWIG_IsOK(res1
)) {
34571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34573 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34577 wxPyEndAllowThreads(__tstate
);
34578 if (PyErr_Occurred()) SWIG_fail
;
34580 resultobj
= SWIG_Py_Void();
34587 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34588 PyObject
*resultobj
= 0;
34589 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34599 PyObject
* obj0
= 0 ;
34600 PyObject
* obj1
= 0 ;
34601 PyObject
* obj2
= 0 ;
34602 char * kwnames
[] = {
34603 (char *) "self",(char *) "x",(char *) "y", NULL
34606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34608 if (!SWIG_IsOK(res1
)) {
34609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34611 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34613 if (!SWIG_IsOK(ecode2
)) {
34614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34616 arg2
= static_cast< int >(val2
);
34617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34618 if (!SWIG_IsOK(ecode3
)) {
34619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34621 arg3
= static_cast< int >(val3
);
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34637 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34638 PyObject
*resultobj
= 0;
34639 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34642 wxDragResult arg4
;
34643 wxDragResult result
;
34652 PyObject
* obj0
= 0 ;
34653 PyObject
* obj1
= 0 ;
34654 PyObject
* obj2
= 0 ;
34655 PyObject
* obj3
= 0 ;
34656 char * kwnames
[] = {
34657 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34662 if (!SWIG_IsOK(res1
)) {
34663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34665 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34667 if (!SWIG_IsOK(ecode2
)) {
34668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34670 arg2
= static_cast< int >(val2
);
34671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34672 if (!SWIG_IsOK(ecode3
)) {
34673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34675 arg3
= static_cast< int >(val3
);
34676 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34677 if (!SWIG_IsOK(ecode4
)) {
34678 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34680 arg4
= static_cast< wxDragResult
>(val4
);
34682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34683 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 resultobj
= SWIG_From_int(static_cast< int >(result
));
34694 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34697 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34698 return SWIG_Py_Void();
34701 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34702 return SWIG_Python_InitShadowInstance(args
);
34705 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34706 PyObject
*resultobj
= 0;
34707 wxPyFileDropTarget
*result
= 0 ;
34709 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34712 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34723 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34724 PyObject
*resultobj
= 0;
34725 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34726 PyObject
*arg2
= (PyObject
*) 0 ;
34727 PyObject
*arg3
= (PyObject
*) 0 ;
34730 PyObject
* obj0
= 0 ;
34731 PyObject
* obj1
= 0 ;
34732 PyObject
* obj2
= 0 ;
34733 char * kwnames
[] = {
34734 (char *) "self",(char *) "self",(char *) "_class", NULL
34737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34739 if (!SWIG_IsOK(res1
)) {
34740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34742 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34747 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34751 resultobj
= SWIG_Py_Void();
34758 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
= 0;
34760 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34763 wxArrayString
*arg4
= 0 ;
34771 bool temp4
= false ;
34772 PyObject
* obj0
= 0 ;
34773 PyObject
* obj1
= 0 ;
34774 PyObject
* obj2
= 0 ;
34775 PyObject
* obj3
= 0 ;
34776 char * kwnames
[] = {
34777 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
34780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34782 if (!SWIG_IsOK(res1
)) {
34783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34785 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34787 if (!SWIG_IsOK(ecode2
)) {
34788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
34790 arg2
= static_cast< int >(val2
);
34791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34792 if (!SWIG_IsOK(ecode3
)) {
34793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
34795 arg3
= static_cast< int >(val3
);
34797 if (! PySequence_Check(obj3
)) {
34798 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34801 arg4
= new wxArrayString
;
34803 int i
, len
=PySequence_Length(obj3
);
34804 for (i
=0; i
<len
; i
++) {
34805 PyObject
* item
= PySequence_GetItem(obj3
, i
);
34806 wxString
* s
= wxString_in_helper(item
);
34807 if (PyErr_Occurred()) SWIG_fail
;
34814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34815 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
34816 wxPyEndAllowThreads(__tstate
);
34817 if (PyErr_Occurred()) SWIG_fail
;
34820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34823 if (temp4
) delete arg4
;
34828 if (temp4
) delete arg4
;
34834 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34835 PyObject
*resultobj
= 0;
34836 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34839 wxDragResult arg4
;
34840 wxDragResult result
;
34849 PyObject
* obj0
= 0 ;
34850 PyObject
* obj1
= 0 ;
34851 PyObject
* obj2
= 0 ;
34852 PyObject
* obj3
= 0 ;
34853 char * kwnames
[] = {
34854 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34859 if (!SWIG_IsOK(res1
)) {
34860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34862 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34864 if (!SWIG_IsOK(ecode2
)) {
34865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34867 arg2
= static_cast< int >(val2
);
34868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34869 if (!SWIG_IsOK(ecode3
)) {
34870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34872 arg3
= static_cast< int >(val3
);
34873 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34874 if (!SWIG_IsOK(ecode4
)) {
34875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34877 arg4
= static_cast< wxDragResult
>(val4
);
34879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34880 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34881 wxPyEndAllowThreads(__tstate
);
34882 if (PyErr_Occurred()) SWIG_fail
;
34884 resultobj
= SWIG_From_int(static_cast< int >(result
));
34891 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
= 0;
34893 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34896 wxDragResult arg4
;
34897 wxDragResult result
;
34906 PyObject
* obj0
= 0 ;
34907 PyObject
* obj1
= 0 ;
34908 PyObject
* obj2
= 0 ;
34909 PyObject
* obj3
= 0 ;
34910 char * kwnames
[] = {
34911 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34916 if (!SWIG_IsOK(res1
)) {
34917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34919 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34921 if (!SWIG_IsOK(ecode2
)) {
34922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34924 arg2
= static_cast< int >(val2
);
34925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34926 if (!SWIG_IsOK(ecode3
)) {
34927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34929 arg3
= static_cast< int >(val3
);
34930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34931 if (!SWIG_IsOK(ecode4
)) {
34932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34934 arg4
= static_cast< wxDragResult
>(val4
);
34936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34937 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34938 wxPyEndAllowThreads(__tstate
);
34939 if (PyErr_Occurred()) SWIG_fail
;
34941 resultobj
= SWIG_From_int(static_cast< int >(result
));
34948 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34949 PyObject
*resultobj
= 0;
34950 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34953 PyObject
*swig_obj
[1] ;
34955 if (!args
) SWIG_fail
;
34956 swig_obj
[0] = args
;
34957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34958 if (!SWIG_IsOK(res1
)) {
34959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34961 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= SWIG_Py_Void();
34975 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
= 0;
34977 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34987 PyObject
* obj0
= 0 ;
34988 PyObject
* obj1
= 0 ;
34989 PyObject
* obj2
= 0 ;
34990 char * kwnames
[] = {
34991 (char *) "self",(char *) "x",(char *) "y", NULL
34994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34996 if (!SWIG_IsOK(res1
)) {
34997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34999 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35001 if (!SWIG_IsOK(ecode2
)) {
35002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35004 arg2
= static_cast< int >(val2
);
35005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35006 if (!SWIG_IsOK(ecode3
)) {
35007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35009 arg3
= static_cast< int >(val3
);
35011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35012 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35013 wxPyEndAllowThreads(__tstate
);
35014 if (PyErr_Occurred()) SWIG_fail
;
35017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35025 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35026 PyObject
*resultobj
= 0;
35027 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35030 wxDragResult arg4
;
35031 wxDragResult result
;
35040 PyObject
* obj0
= 0 ;
35041 PyObject
* obj1
= 0 ;
35042 PyObject
* obj2
= 0 ;
35043 PyObject
* obj3
= 0 ;
35044 char * kwnames
[] = {
35045 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35050 if (!SWIG_IsOK(res1
)) {
35051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35053 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35055 if (!SWIG_IsOK(ecode2
)) {
35056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35058 arg2
= static_cast< int >(val2
);
35059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35060 if (!SWIG_IsOK(ecode3
)) {
35061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35063 arg3
= static_cast< int >(val3
);
35064 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35065 if (!SWIG_IsOK(ecode4
)) {
35066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35068 arg4
= static_cast< wxDragResult
>(val4
);
35070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35071 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35072 wxPyEndAllowThreads(__tstate
);
35073 if (PyErr_Occurred()) SWIG_fail
;
35075 resultobj
= SWIG_From_int(static_cast< int >(result
));
35082 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35085 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35086 return SWIG_Py_Void();
35089 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35090 return SWIG_Python_InitShadowInstance(args
);
35093 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35094 PyObject
*resultobj
= 0;
35095 wxClipboard
*result
= 0 ;
35097 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35100 result
= (wxClipboard
*)new wxClipboard();
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35111 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35112 PyObject
*resultobj
= 0;
35113 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35116 PyObject
*swig_obj
[1] ;
35118 if (!args
) SWIG_fail
;
35119 swig_obj
[0] = args
;
35120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35121 if (!SWIG_IsOK(res1
)) {
35122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35124 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35132 resultobj
= SWIG_Py_Void();
35139 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35140 PyObject
*resultobj
= 0;
35141 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35145 PyObject
*swig_obj
[1] ;
35147 if (!args
) SWIG_fail
;
35148 swig_obj
[0] = args
;
35149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35150 if (!SWIG_IsOK(res1
)) {
35151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35153 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35156 result
= (bool)(arg1
)->Open();
35157 wxPyEndAllowThreads(__tstate
);
35158 if (PyErr_Occurred()) SWIG_fail
;
35161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35169 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35170 PyObject
*resultobj
= 0;
35171 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35174 PyObject
*swig_obj
[1] ;
35176 if (!args
) SWIG_fail
;
35177 swig_obj
[0] = args
;
35178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35179 if (!SWIG_IsOK(res1
)) {
35180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35182 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35186 wxPyEndAllowThreads(__tstate
);
35187 if (PyErr_Occurred()) SWIG_fail
;
35189 resultobj
= SWIG_Py_Void();
35196 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35197 PyObject
*resultobj
= 0;
35198 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35202 PyObject
*swig_obj
[1] ;
35204 if (!args
) SWIG_fail
;
35205 swig_obj
[0] = args
;
35206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35207 if (!SWIG_IsOK(res1
)) {
35208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35210 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35214 wxPyEndAllowThreads(__tstate
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35226 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
= 0;
35228 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35229 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35234 PyObject
* obj0
= 0 ;
35235 PyObject
* obj1
= 0 ;
35236 char * kwnames
[] = {
35237 (char *) "self",(char *) "data", NULL
35240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35242 if (!SWIG_IsOK(res1
)) {
35243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35245 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35246 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35247 if (!SWIG_IsOK(res2
)) {
35248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 result
= (bool)(arg1
)->AddData(arg2
);
35253 wxPyEndAllowThreads(__tstate
);
35254 if (PyErr_Occurred()) SWIG_fail
;
35257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35265 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35266 PyObject
*resultobj
= 0;
35267 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35268 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35273 PyObject
* obj0
= 0 ;
35274 PyObject
* obj1
= 0 ;
35275 char * kwnames
[] = {
35276 (char *) "self",(char *) "data", NULL
35279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35281 if (!SWIG_IsOK(res1
)) {
35282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35284 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35285 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35286 if (!SWIG_IsOK(res2
)) {
35287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35291 result
= (bool)(arg1
)->SetData(arg2
);
35292 wxPyEndAllowThreads(__tstate
);
35293 if (PyErr_Occurred()) SWIG_fail
;
35296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35304 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35305 PyObject
*resultobj
= 0;
35306 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35307 wxDataFormat
*arg2
= 0 ;
35313 PyObject
* obj0
= 0 ;
35314 PyObject
* obj1
= 0 ;
35315 char * kwnames
[] = {
35316 (char *) "self",(char *) "format", NULL
35319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35321 if (!SWIG_IsOK(res1
)) {
35322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35324 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35326 if (!SWIG_IsOK(res2
)) {
35327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35332 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35335 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35348 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35349 PyObject
*resultobj
= 0;
35350 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35351 wxDataObject
*arg2
= 0 ;
35357 PyObject
* obj0
= 0 ;
35358 PyObject
* obj1
= 0 ;
35359 char * kwnames
[] = {
35360 (char *) "self",(char *) "data", NULL
35363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35365 if (!SWIG_IsOK(res1
)) {
35366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35368 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35370 if (!SWIG_IsOK(res2
)) {
35371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35376 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35379 result
= (bool)(arg1
)->GetData(*arg2
);
35380 wxPyEndAllowThreads(__tstate
);
35381 if (PyErr_Occurred()) SWIG_fail
;
35384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35392 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35393 PyObject
*resultobj
= 0;
35394 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35397 PyObject
*swig_obj
[1] ;
35399 if (!args
) SWIG_fail
;
35400 swig_obj
[0] = args
;
35401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35402 if (!SWIG_IsOK(res1
)) {
35403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35405 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 wxPyEndAllowThreads(__tstate
);
35410 if (PyErr_Occurred()) SWIG_fail
;
35412 resultobj
= SWIG_Py_Void();
35419 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35420 PyObject
*resultobj
= 0;
35421 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35425 PyObject
*swig_obj
[1] ;
35427 if (!args
) SWIG_fail
;
35428 swig_obj
[0] = args
;
35429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35430 if (!SWIG_IsOK(res1
)) {
35431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35433 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35436 result
= (bool)(arg1
)->Flush();
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35449 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35450 PyObject
*resultobj
= 0;
35451 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35452 bool arg2
= (bool) true ;
35457 PyObject
* obj0
= 0 ;
35458 PyObject
* obj1
= 0 ;
35459 char * kwnames
[] = {
35460 (char *) "self",(char *) "primary", NULL
35463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35465 if (!SWIG_IsOK(res1
)) {
35466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35468 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35470 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35471 if (!SWIG_IsOK(ecode2
)) {
35472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35474 arg2
= static_cast< bool >(val2
);
35477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35478 (arg1
)->UsePrimarySelection(arg2
);
35479 wxPyEndAllowThreads(__tstate
);
35480 if (PyErr_Occurred()) SWIG_fail
;
35482 resultobj
= SWIG_Py_Void();
35489 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35490 PyObject
*resultobj
= 0;
35491 wxClipboard
*result
= 0 ;
35493 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35496 result
= (wxClipboard
*)wxClipboard::Get();
35497 wxPyEndAllowThreads(__tstate
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35507 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35510 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35511 return SWIG_Py_Void();
35514 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35515 return SWIG_Python_InitShadowInstance(args
);
35518 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35519 PyObject
*resultobj
= 0;
35520 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35521 wxClipboardLocker
*result
= 0 ;
35524 PyObject
* obj0
= 0 ;
35525 char * kwnames
[] = {
35526 (char *) "clipboard", NULL
35529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35532 if (!SWIG_IsOK(res1
)) {
35533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35535 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35539 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35540 wxPyEndAllowThreads(__tstate
);
35541 if (PyErr_Occurred()) SWIG_fail
;
35543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35550 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35551 PyObject
*resultobj
= 0;
35552 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35555 PyObject
*swig_obj
[1] ;
35557 if (!args
) SWIG_fail
;
35558 swig_obj
[0] = args
;
35559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35560 if (!SWIG_IsOK(res1
)) {
35561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35563 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35568 wxPyEndAllowThreads(__tstate
);
35569 if (PyErr_Occurred()) SWIG_fail
;
35571 resultobj
= SWIG_Py_Void();
35578 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35579 PyObject
*resultobj
= 0;
35580 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35584 PyObject
*swig_obj
[1] ;
35586 if (!args
) SWIG_fail
;
35587 swig_obj
[0] = args
;
35588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35589 if (!SWIG_IsOK(res1
)) {
35590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35592 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35595 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35596 wxPyEndAllowThreads(__tstate
);
35597 if (PyErr_Occurred()) SWIG_fail
;
35600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35608 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35611 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35612 return SWIG_Py_Void();
35615 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35616 return SWIG_Python_InitShadowInstance(args
);
35619 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35620 PyObject
*resultobj
= 0;
35621 int arg1
= (int) 0 ;
35622 int arg2
= (int) 0 ;
35623 int arg3
= (int) 0 ;
35624 int arg4
= (int) 0 ;
35625 wxVideoMode
*result
= 0 ;
35634 PyObject
* obj0
= 0 ;
35635 PyObject
* obj1
= 0 ;
35636 PyObject
* obj2
= 0 ;
35637 PyObject
* obj3
= 0 ;
35638 char * kwnames
[] = {
35639 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35644 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35645 if (!SWIG_IsOK(ecode1
)) {
35646 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35648 arg1
= static_cast< int >(val1
);
35651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35652 if (!SWIG_IsOK(ecode2
)) {
35653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35655 arg2
= static_cast< int >(val2
);
35658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35659 if (!SWIG_IsOK(ecode3
)) {
35660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35662 arg3
= static_cast< int >(val3
);
35665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35666 if (!SWIG_IsOK(ecode4
)) {
35667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35669 arg4
= static_cast< int >(val4
);
35672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35673 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35674 wxPyEndAllowThreads(__tstate
);
35675 if (PyErr_Occurred()) SWIG_fail
;
35677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35684 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35685 PyObject
*resultobj
= 0;
35686 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35689 PyObject
*swig_obj
[1] ;
35691 if (!args
) SWIG_fail
;
35692 swig_obj
[0] = args
;
35693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35694 if (!SWIG_IsOK(res1
)) {
35695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35697 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35702 wxPyEndAllowThreads(__tstate
);
35703 if (PyErr_Occurred()) SWIG_fail
;
35705 resultobj
= SWIG_Py_Void();
35712 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35713 PyObject
*resultobj
= 0;
35714 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35715 wxVideoMode
*arg2
= 0 ;
35721 PyObject
* obj0
= 0 ;
35722 PyObject
* obj1
= 0 ;
35723 char * kwnames
[] = {
35724 (char *) "self",(char *) "other", NULL
35727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35729 if (!SWIG_IsOK(res1
)) {
35730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35732 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35734 if (!SWIG_IsOK(res2
)) {
35735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35740 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35743 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35744 wxPyEndAllowThreads(__tstate
);
35745 if (PyErr_Occurred()) SWIG_fail
;
35748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35756 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35757 PyObject
*resultobj
= 0;
35758 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35762 PyObject
*swig_obj
[1] ;
35764 if (!args
) SWIG_fail
;
35765 swig_obj
[0] = args
;
35766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35767 if (!SWIG_IsOK(res1
)) {
35768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35770 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35773 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
35774 wxPyEndAllowThreads(__tstate
);
35775 if (PyErr_Occurred()) SWIG_fail
;
35777 resultobj
= SWIG_From_int(static_cast< int >(result
));
35784 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35785 PyObject
*resultobj
= 0;
35786 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35790 PyObject
*swig_obj
[1] ;
35792 if (!args
) SWIG_fail
;
35793 swig_obj
[0] = args
;
35794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35795 if (!SWIG_IsOK(res1
)) {
35796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35798 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35801 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
35802 wxPyEndAllowThreads(__tstate
);
35803 if (PyErr_Occurred()) SWIG_fail
;
35805 resultobj
= SWIG_From_int(static_cast< int >(result
));
35812 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35813 PyObject
*resultobj
= 0;
35814 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35818 PyObject
*swig_obj
[1] ;
35820 if (!args
) SWIG_fail
;
35821 swig_obj
[0] = args
;
35822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35823 if (!SWIG_IsOK(res1
)) {
35824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35826 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35829 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
35830 wxPyEndAllowThreads(__tstate
);
35831 if (PyErr_Occurred()) SWIG_fail
;
35833 resultobj
= SWIG_From_int(static_cast< int >(result
));
35840 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35841 PyObject
*resultobj
= 0;
35842 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35846 PyObject
*swig_obj
[1] ;
35848 if (!args
) SWIG_fail
;
35849 swig_obj
[0] = args
;
35850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35851 if (!SWIG_IsOK(res1
)) {
35852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35854 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35857 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
35858 wxPyEndAllowThreads(__tstate
);
35859 if (PyErr_Occurred()) SWIG_fail
;
35862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35870 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35871 PyObject
*resultobj
= 0;
35872 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35873 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35879 PyObject
* obj0
= 0 ;
35880 PyObject
* obj1
= 0 ;
35881 char * kwnames
[] = {
35882 (char *) "self",(char *) "other", NULL
35885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35887 if (!SWIG_IsOK(res1
)) {
35888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35890 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35892 if (!SWIG_IsOK(res2
)) {
35893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35895 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35898 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
35899 wxPyEndAllowThreads(__tstate
);
35900 if (PyErr_Occurred()) SWIG_fail
;
35903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35911 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35912 PyObject
*resultobj
= 0;
35913 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35914 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35920 PyObject
* obj0
= 0 ;
35921 PyObject
* obj1
= 0 ;
35922 char * kwnames
[] = {
35923 (char *) "self",(char *) "other", NULL
35926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35928 if (!SWIG_IsOK(res1
)) {
35929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35931 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35933 if (!SWIG_IsOK(res2
)) {
35934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35936 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35939 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
35940 wxPyEndAllowThreads(__tstate
);
35941 if (PyErr_Occurred()) SWIG_fail
;
35944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35952 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35953 PyObject
*resultobj
= 0;
35954 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35960 PyObject
*swig_obj
[2] ;
35962 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
35963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35964 if (!SWIG_IsOK(res1
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35967 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35968 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35969 if (!SWIG_IsOK(ecode2
)) {
35970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
35972 arg2
= static_cast< int >(val2
);
35973 if (arg1
) (arg1
)->w
= arg2
;
35975 resultobj
= SWIG_Py_Void();
35982 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35983 PyObject
*resultobj
= 0;
35984 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35988 PyObject
*swig_obj
[1] ;
35990 if (!args
) SWIG_fail
;
35991 swig_obj
[0] = args
;
35992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35993 if (!SWIG_IsOK(res1
)) {
35994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35996 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35997 result
= (int) ((arg1
)->w
);
35998 resultobj
= SWIG_From_int(static_cast< int >(result
));
36005 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36006 PyObject
*resultobj
= 0;
36007 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36013 PyObject
*swig_obj
[2] ;
36015 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36017 if (!SWIG_IsOK(res1
)) {
36018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36020 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36021 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36022 if (!SWIG_IsOK(ecode2
)) {
36023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36025 arg2
= static_cast< int >(val2
);
36026 if (arg1
) (arg1
)->h
= arg2
;
36028 resultobj
= SWIG_Py_Void();
36035 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36036 PyObject
*resultobj
= 0;
36037 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36041 PyObject
*swig_obj
[1] ;
36043 if (!args
) SWIG_fail
;
36044 swig_obj
[0] = args
;
36045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36046 if (!SWIG_IsOK(res1
)) {
36047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36049 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36050 result
= (int) ((arg1
)->h
);
36051 resultobj
= SWIG_From_int(static_cast< int >(result
));
36058 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36059 PyObject
*resultobj
= 0;
36060 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36066 PyObject
*swig_obj
[2] ;
36068 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36070 if (!SWIG_IsOK(res1
)) {
36071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36073 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36074 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36075 if (!SWIG_IsOK(ecode2
)) {
36076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36078 arg2
= static_cast< int >(val2
);
36079 if (arg1
) (arg1
)->bpp
= arg2
;
36081 resultobj
= SWIG_Py_Void();
36088 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36089 PyObject
*resultobj
= 0;
36090 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36094 PyObject
*swig_obj
[1] ;
36096 if (!args
) SWIG_fail
;
36097 swig_obj
[0] = args
;
36098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36099 if (!SWIG_IsOK(res1
)) {
36100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36102 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36103 result
= (int) ((arg1
)->bpp
);
36104 resultobj
= SWIG_From_int(static_cast< int >(result
));
36111 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36112 PyObject
*resultobj
= 0;
36113 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36119 PyObject
*swig_obj
[2] ;
36121 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36123 if (!SWIG_IsOK(res1
)) {
36124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36126 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36127 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36128 if (!SWIG_IsOK(ecode2
)) {
36129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36131 arg2
= static_cast< int >(val2
);
36132 if (arg1
) (arg1
)->refresh
= arg2
;
36134 resultobj
= SWIG_Py_Void();
36141 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36142 PyObject
*resultobj
= 0;
36143 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36147 PyObject
*swig_obj
[1] ;
36149 if (!args
) SWIG_fail
;
36150 swig_obj
[0] = args
;
36151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36152 if (!SWIG_IsOK(res1
)) {
36153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36155 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36156 result
= (int) ((arg1
)->refresh
);
36157 resultobj
= SWIG_From_int(static_cast< int >(result
));
36164 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36167 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36168 return SWIG_Py_Void();
36171 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36172 return SWIG_Python_InitShadowInstance(args
);
36175 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36176 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36181 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36182 PyObject
*pyobj
= 0;
36184 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36189 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36190 PyObject
*resultobj
= 0;
36191 size_t arg1
= (size_t) 0 ;
36192 wxDisplay
*result
= 0 ;
36195 PyObject
* obj0
= 0 ;
36196 char * kwnames
[] = {
36197 (char *) "index", NULL
36200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36202 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
36203 if (!SWIG_IsOK(ecode1
)) {
36204 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
36206 arg1
= static_cast< size_t >(val1
);
36209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36210 result
= (wxDisplay
*)new wxDisplay(arg1
);
36211 wxPyEndAllowThreads(__tstate
);
36212 if (PyErr_Occurred()) SWIG_fail
;
36214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36221 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36222 PyObject
*resultobj
= 0;
36223 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36226 PyObject
*swig_obj
[1] ;
36228 if (!args
) SWIG_fail
;
36229 swig_obj
[0] = args
;
36230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36231 if (!SWIG_IsOK(res1
)) {
36232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36234 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36239 wxPyEndAllowThreads(__tstate
);
36240 if (PyErr_Occurred()) SWIG_fail
;
36242 resultobj
= SWIG_Py_Void();
36249 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36250 PyObject
*resultobj
= 0;
36253 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36256 result
= (size_t)wxDisplay::GetCount();
36257 wxPyEndAllowThreads(__tstate
);
36258 if (PyErr_Occurred()) SWIG_fail
;
36260 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
36267 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36268 PyObject
*resultobj
= 0;
36269 wxPoint
*arg1
= 0 ;
36272 PyObject
* obj0
= 0 ;
36273 char * kwnames
[] = {
36274 (char *) "pt", NULL
36277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36280 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36284 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36285 wxPyEndAllowThreads(__tstate
);
36286 if (PyErr_Occurred()) SWIG_fail
;
36288 resultobj
= SWIG_From_int(static_cast< int >(result
));
36295 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36296 PyObject
*resultobj
= 0;
36297 wxWindow
*arg1
= (wxWindow
*) 0 ;
36301 PyObject
* obj0
= 0 ;
36302 char * kwnames
[] = {
36303 (char *) "window", NULL
36306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36308 if (!SWIG_IsOK(res1
)) {
36309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36311 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36314 result
= (int)wxDisplay::GetFromWindow(arg1
);
36315 wxPyEndAllowThreads(__tstate
);
36316 if (PyErr_Occurred()) SWIG_fail
;
36318 resultobj
= SWIG_From_int(static_cast< int >(result
));
36325 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36326 PyObject
*resultobj
= 0;
36327 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36331 PyObject
*swig_obj
[1] ;
36333 if (!args
) SWIG_fail
;
36334 swig_obj
[0] = args
;
36335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36336 if (!SWIG_IsOK(res1
)) {
36337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36339 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36342 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36343 wxPyEndAllowThreads(__tstate
);
36344 if (PyErr_Occurred()) SWIG_fail
;
36347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36355 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36356 PyObject
*resultobj
= 0;
36357 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36361 PyObject
*swig_obj
[1] ;
36363 if (!args
) SWIG_fail
;
36364 swig_obj
[0] = args
;
36365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36366 if (!SWIG_IsOK(res1
)) {
36367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36369 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36372 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36373 wxPyEndAllowThreads(__tstate
);
36374 if (PyErr_Occurred()) SWIG_fail
;
36376 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36383 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36384 PyObject
*resultobj
= 0;
36385 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36389 PyObject
*swig_obj
[1] ;
36391 if (!args
) SWIG_fail
;
36392 swig_obj
[0] = args
;
36393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36394 if (!SWIG_IsOK(res1
)) {
36395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36397 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36400 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36401 wxPyEndAllowThreads(__tstate
);
36402 if (PyErr_Occurred()) SWIG_fail
;
36404 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36411 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36412 PyObject
*resultobj
= 0;
36413 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36417 PyObject
*swig_obj
[1] ;
36419 if (!args
) SWIG_fail
;
36420 swig_obj
[0] = args
;
36421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36422 if (!SWIG_IsOK(res1
)) {
36423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36425 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36428 result
= ((wxDisplay
const *)arg1
)->GetName();
36429 wxPyEndAllowThreads(__tstate
);
36430 if (PyErr_Occurred()) SWIG_fail
;
36434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36445 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36446 PyObject
*resultobj
= 0;
36447 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36451 PyObject
*swig_obj
[1] ;
36453 if (!args
) SWIG_fail
;
36454 swig_obj
[0] = args
;
36455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36456 if (!SWIG_IsOK(res1
)) {
36457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36459 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36462 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36463 wxPyEndAllowThreads(__tstate
);
36464 if (PyErr_Occurred()) SWIG_fail
;
36467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36475 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36476 PyObject
*resultobj
= 0;
36477 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36478 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36479 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36480 PyObject
*result
= 0 ;
36485 PyObject
* obj0
= 0 ;
36486 PyObject
* obj1
= 0 ;
36487 char * kwnames
[] = {
36488 (char *) "self",(char *) "mode", NULL
36491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36493 if (!SWIG_IsOK(res1
)) {
36494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36496 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36499 if (!SWIG_IsOK(res2
)) {
36500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36505 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 resultobj
= result
;
36520 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36521 PyObject
*resultobj
= 0;
36522 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36523 wxVideoMode result
;
36526 PyObject
*swig_obj
[1] ;
36528 if (!args
) SWIG_fail
;
36529 swig_obj
[0] = args
;
36530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36531 if (!SWIG_IsOK(res1
)) {
36532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36534 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36538 wxPyEndAllowThreads(__tstate
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36541 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36548 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36549 PyObject
*resultobj
= 0;
36550 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36551 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36552 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36558 PyObject
* obj0
= 0 ;
36559 PyObject
* obj1
= 0 ;
36560 char * kwnames
[] = {
36561 (char *) "self",(char *) "mode", NULL
36564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36566 if (!SWIG_IsOK(res1
)) {
36567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36569 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36572 if (!SWIG_IsOK(res2
)) {
36573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36578 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36582 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36583 wxPyEndAllowThreads(__tstate
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36595 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36596 PyObject
*resultobj
= 0;
36597 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36600 PyObject
*swig_obj
[1] ;
36602 if (!args
) SWIG_fail
;
36603 swig_obj
[0] = args
;
36604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36605 if (!SWIG_IsOK(res1
)) {
36606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36608 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36611 wxDisplay_ResetMode(arg1
);
36612 wxPyEndAllowThreads(__tstate
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36615 resultobj
= SWIG_Py_Void();
36622 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36625 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36626 return SWIG_Py_Void();
36629 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36630 return SWIG_Python_InitShadowInstance(args
);
36633 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36634 PyObject
*resultobj
= 0;
36635 wxStandardPaths
*result
= 0 ;
36637 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36640 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36641 wxPyEndAllowThreads(__tstate
);
36642 if (PyErr_Occurred()) SWIG_fail
;
36644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36651 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36652 PyObject
*resultobj
= 0;
36653 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36657 PyObject
*swig_obj
[1] ;
36659 if (!args
) SWIG_fail
;
36660 swig_obj
[0] = args
;
36661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36662 if (!SWIG_IsOK(res1
)) {
36663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36665 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36668 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36669 wxPyEndAllowThreads(__tstate
);
36670 if (PyErr_Occurred()) SWIG_fail
;
36674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36685 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36686 PyObject
*resultobj
= 0;
36687 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36691 PyObject
*swig_obj
[1] ;
36693 if (!args
) SWIG_fail
;
36694 swig_obj
[0] = args
;
36695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36696 if (!SWIG_IsOK(res1
)) {
36697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36699 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36702 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36719 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36720 PyObject
*resultobj
= 0;
36721 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36725 PyObject
*swig_obj
[1] ;
36727 if (!args
) SWIG_fail
;
36728 swig_obj
[0] = args
;
36729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36730 if (!SWIG_IsOK(res1
)) {
36731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36733 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36736 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
36737 wxPyEndAllowThreads(__tstate
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36753 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36754 PyObject
*resultobj
= 0;
36755 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36759 PyObject
*swig_obj
[1] ;
36761 if (!args
) SWIG_fail
;
36762 swig_obj
[0] = args
;
36763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36764 if (!SWIG_IsOK(res1
)) {
36765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36767 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36770 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
36771 wxPyEndAllowThreads(__tstate
);
36772 if (PyErr_Occurred()) SWIG_fail
;
36776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36787 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36788 PyObject
*resultobj
= 0;
36789 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36793 PyObject
*swig_obj
[1] ;
36795 if (!args
) SWIG_fail
;
36796 swig_obj
[0] = args
;
36797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36798 if (!SWIG_IsOK(res1
)) {
36799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36801 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
36805 wxPyEndAllowThreads(__tstate
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36821 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36822 PyObject
*resultobj
= 0;
36823 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36827 PyObject
*swig_obj
[1] ;
36829 if (!args
) SWIG_fail
;
36830 swig_obj
[0] = args
;
36831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36832 if (!SWIG_IsOK(res1
)) {
36833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36835 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36838 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
36839 wxPyEndAllowThreads(__tstate
);
36840 if (PyErr_Occurred()) SWIG_fail
;
36844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36855 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36856 PyObject
*resultobj
= 0;
36857 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36861 PyObject
*swig_obj
[1] ;
36863 if (!args
) SWIG_fail
;
36864 swig_obj
[0] = args
;
36865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36866 if (!SWIG_IsOK(res1
)) {
36867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36869 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36872 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36889 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36890 PyObject
*resultobj
= 0;
36891 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36895 PyObject
*swig_obj
[1] ;
36897 if (!args
) SWIG_fail
;
36898 swig_obj
[0] = args
;
36899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36900 if (!SWIG_IsOK(res1
)) {
36901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36903 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36906 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
36907 wxPyEndAllowThreads(__tstate
);
36908 if (PyErr_Occurred()) SWIG_fail
;
36912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36923 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36924 PyObject
*resultobj
= 0;
36925 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36926 wxString
*arg2
= 0 ;
36927 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
36931 bool temp2
= false ;
36934 PyObject
* obj0
= 0 ;
36935 PyObject
* obj1
= 0 ;
36936 PyObject
* obj2
= 0 ;
36937 char * kwnames
[] = {
36938 (char *) "self",(char *) "lang",(char *) "category", NULL
36941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36943 if (!SWIG_IsOK(res1
)) {
36944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36946 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36948 arg2
= wxString_in_helper(obj1
);
36949 if (arg2
== NULL
) SWIG_fail
;
36953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36954 if (!SWIG_IsOK(ecode3
)) {
36955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
36957 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
36960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36961 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
36962 wxPyEndAllowThreads(__tstate
);
36963 if (PyErr_Occurred()) SWIG_fail
;
36967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36986 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36987 PyObject
*resultobj
= 0;
36988 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36992 PyObject
*swig_obj
[1] ;
36994 if (!args
) SWIG_fail
;
36995 swig_obj
[0] = args
;
36996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36997 if (!SWIG_IsOK(res1
)) {
36998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37000 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37003 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37004 wxPyEndAllowThreads(__tstate
);
37005 if (PyErr_Occurred()) SWIG_fail
;
37009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37020 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37021 PyObject
*resultobj
= 0;
37022 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37023 wxString
*arg2
= 0 ;
37026 bool temp2
= false ;
37027 PyObject
* obj0
= 0 ;
37028 PyObject
* obj1
= 0 ;
37029 char * kwnames
[] = {
37030 (char *) "self",(char *) "prefix", NULL
37033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37035 if (!SWIG_IsOK(res1
)) {
37036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37038 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37040 arg2
= wxString_in_helper(obj1
);
37041 if (arg2
== NULL
) SWIG_fail
;
37045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37046 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
37047 wxPyEndAllowThreads(__tstate
);
37048 if (PyErr_Occurred()) SWIG_fail
;
37050 resultobj
= SWIG_Py_Void();
37065 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37066 PyObject
*resultobj
= 0;
37067 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37071 PyObject
*swig_obj
[1] ;
37073 if (!args
) SWIG_fail
;
37074 swig_obj
[0] = args
;
37075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37076 if (!SWIG_IsOK(res1
)) {
37077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37079 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37082 result
= wxStandardPaths_GetInstallPrefix(arg1
);
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37099 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37102 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37103 return SWIG_Py_Void();
37106 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37107 PyObject
*resultobj
= 0;
37109 wxPowerEvent
*result
= 0 ;
37112 PyObject
* obj0
= 0 ;
37113 char * kwnames
[] = {
37114 (char *) "evtType", NULL
37117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37118 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37119 if (!SWIG_IsOK(ecode1
)) {
37120 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37122 arg1
= static_cast< wxEventType
>(val1
);
37124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37125 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37126 wxPyEndAllowThreads(__tstate
);
37127 if (PyErr_Occurred()) SWIG_fail
;
37129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37136 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37137 PyObject
*resultobj
= 0;
37138 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37141 PyObject
*swig_obj
[1] ;
37143 if (!args
) SWIG_fail
;
37144 swig_obj
[0] = args
;
37145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37146 if (!SWIG_IsOK(res1
)) {
37147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37149 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 wxPyEndAllowThreads(__tstate
);
37154 if (PyErr_Occurred()) SWIG_fail
;
37156 resultobj
= SWIG_Py_Void();
37163 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37164 PyObject
*resultobj
= 0;
37165 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37169 PyObject
*swig_obj
[1] ;
37171 if (!args
) SWIG_fail
;
37172 swig_obj
[0] = args
;
37173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37174 if (!SWIG_IsOK(res1
)) {
37175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37177 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37193 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37196 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37197 return SWIG_Py_Void();
37200 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37201 return SWIG_Python_InitShadowInstance(args
);
37204 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37205 PyObject
*resultobj
= 0;
37206 wxPowerType result
;
37208 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37211 result
= (wxPowerType
)wxGetPowerType();
37212 wxPyEndAllowThreads(__tstate
);
37213 if (PyErr_Occurred()) SWIG_fail
;
37215 resultobj
= SWIG_From_int(static_cast< int >(result
));
37222 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37223 PyObject
*resultobj
= 0;
37224 wxBatteryState result
;
37226 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37229 result
= (wxBatteryState
)wxGetBatteryState();
37230 wxPyEndAllowThreads(__tstate
);
37231 if (PyErr_Occurred()) SWIG_fail
;
37233 resultobj
= SWIG_From_int(static_cast< int >(result
));
37240 static PyMethodDef SwigMethods
[] = {
37241 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37242 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37243 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37244 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37245 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
37246 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37247 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
37248 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
37249 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37250 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37251 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37252 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37253 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37254 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37255 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
37256 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
37257 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
37258 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37259 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
37260 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37261 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37262 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37263 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
37264 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
37265 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37266 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
37267 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
37268 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37269 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
37270 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
37271 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
37272 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
37273 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
37274 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
37275 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37276 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37277 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37278 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37279 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37280 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37281 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
37282 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
37283 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
37284 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
37285 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
37286 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
37287 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37288 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
37289 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
37290 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37291 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37292 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37293 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37294 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37295 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37296 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37297 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37298 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37299 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37300 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
37301 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
37302 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
37303 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
37304 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
37305 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
37306 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
37307 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
37308 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
37309 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37310 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
37311 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37312 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
37313 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
37314 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
37315 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37316 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37317 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37318 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37319 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37320 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
37321 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
37322 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
37323 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
37324 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
37325 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
37326 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
37327 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
37328 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
37329 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
37330 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
37331 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
37332 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37333 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37334 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37335 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37336 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37337 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37338 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37339 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37340 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37341 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
37342 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
37343 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
37344 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
37345 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
37346 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
37347 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
37348 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
37349 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
37350 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
37351 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
37352 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37353 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
37354 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37355 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
37356 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
37357 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37358 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37359 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
37360 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
37361 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37362 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
37363 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
37364 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
37365 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
37366 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
37367 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
37368 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
37369 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
37370 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
37371 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37372 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37373 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37374 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37375 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37376 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
37377 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
37378 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37379 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
37380 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
37381 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37382 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
37383 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
37384 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
37385 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37386 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
37387 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
37388 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
37389 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37390 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
37391 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
37392 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
37393 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
37394 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37395 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
37396 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
37397 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
37398 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
37399 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
37400 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37401 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
37402 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37403 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37404 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
37405 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37406 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37407 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37408 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37409 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
37410 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37411 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37412 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
37413 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
37414 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
37415 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37416 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
37417 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
37418 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37419 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
37420 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
37421 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
37422 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
37423 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37424 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37425 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
37426 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
37427 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
37428 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
37429 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
37430 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
37431 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
37432 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
37433 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
37434 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
37435 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
37436 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
37437 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
37438 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
37439 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
37440 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37441 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37442 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37443 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37444 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37445 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37446 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
37447 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
37448 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
37449 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37450 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
37451 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
37452 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
37453 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37454 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
37455 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37456 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37457 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
37458 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
37459 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37460 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37461 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37462 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
37463 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37464 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37465 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
37466 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37467 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
37468 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
37469 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
37470 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
37471 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
37472 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
37473 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
37474 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
37475 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37476 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
37477 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
37478 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
37479 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
37480 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
37481 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37482 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
37483 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
37484 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
37485 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
37486 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
37487 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37488 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37489 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
37490 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
37491 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
37492 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37493 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
37494 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
37495 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37496 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37497 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37498 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37499 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
37500 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37501 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37502 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37503 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
37504 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
37505 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37506 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
37507 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
37508 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37509 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
37510 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
37511 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
37512 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
37513 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
37514 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
37515 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
37516 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
37517 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
37518 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37519 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
37520 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
37521 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
37522 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
37523 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
37524 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37525 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37526 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
37527 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
37528 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
37529 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37530 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
37531 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
37532 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37533 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37534 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37535 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
37536 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
37537 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
37538 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
37539 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
37540 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
37541 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
37542 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
37543 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
37544 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37545 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37546 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37547 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37548 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37549 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37550 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37551 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37552 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37553 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37554 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37555 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37556 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
37557 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37558 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
37559 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
37560 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
37561 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
37562 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
37563 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37564 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
37565 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
37566 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37567 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37568 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37569 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37570 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37571 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37572 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
37573 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
37574 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
37575 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
37576 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
37577 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
37578 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
37579 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
37580 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
37581 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
37582 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
37583 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
37584 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37585 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
37586 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
37587 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
37588 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
37589 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
37590 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
37591 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
37592 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
37593 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37594 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37595 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37596 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
37597 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
37598 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
37599 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
37600 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
37601 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
37602 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
37603 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
37604 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
37605 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
37606 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37607 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
37608 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
37609 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
37610 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
37611 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
37612 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
37613 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
37614 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
37615 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
37616 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
37617 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
37618 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
37619 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
37620 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
37621 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
37622 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
37623 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
37624 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
37625 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
37626 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
37627 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
37628 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
37629 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
37630 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
37631 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
37632 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
37633 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
37634 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
37635 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
37636 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
37637 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37638 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
37639 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
37640 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
37641 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37642 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
37643 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
37644 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
37645 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
37646 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
37647 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37648 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37649 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37650 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37651 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37652 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
37653 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
37654 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
37655 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37656 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37657 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37658 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
37659 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
37660 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37661 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37662 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
37663 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37664 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37665 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
37666 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37667 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37668 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
37669 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
37670 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
37671 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37672 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37673 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
37674 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
37675 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37676 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37677 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
37678 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
37679 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
37680 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
37681 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
37682 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
37683 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
37684 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
37685 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
37686 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
37687 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
37688 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37689 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
37690 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
37691 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
37692 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
37693 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
37694 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
37695 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
37696 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37697 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37698 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37699 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37700 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37701 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
37702 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37703 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
37704 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
37705 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37706 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
37707 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37708 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
37709 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37710 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37711 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37712 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37713 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
37714 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37715 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37716 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37717 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
37718 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
37719 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
37720 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
37721 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
37722 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37723 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37724 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
37725 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37726 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37727 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37728 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37729 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
37730 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
37731 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
37732 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
37733 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37734 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37735 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
37736 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37737 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37738 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
37739 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
37740 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37741 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
37742 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37743 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37744 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37745 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37746 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37747 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37748 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37749 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37750 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37751 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37752 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37753 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37754 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37755 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37756 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37757 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37758 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37759 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37760 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37761 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37762 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
37763 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37764 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
37765 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37766 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
37767 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37768 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
37769 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
37770 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37771 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37772 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37773 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
37774 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
37775 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37776 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
37777 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
37778 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
37779 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37780 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
37781 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
37782 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
37783 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37784 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
37785 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
37786 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
37787 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
37788 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37789 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37790 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
37791 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37792 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37793 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37794 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37795 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37796 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37797 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37798 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37799 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37800 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37801 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
37802 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37803 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37804 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37805 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
37806 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
37807 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
37808 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
37809 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37810 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37811 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37812 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37813 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37814 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
37815 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
37816 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37817 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37818 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37819 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37820 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
37821 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37822 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37823 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37824 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37825 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37826 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37827 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37828 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37829 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37830 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37831 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37832 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37833 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37834 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37835 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37836 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37837 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37838 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37839 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37840 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37841 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37842 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37843 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37844 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
37845 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
37846 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
37847 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
37848 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
37849 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37850 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37851 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37852 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37853 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37854 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37855 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37856 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37857 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37858 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37859 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37860 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
37861 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
37862 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37863 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37864 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37865 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37866 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37867 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37868 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37869 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37870 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37871 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37872 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37873 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37874 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37875 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37876 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37877 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37878 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37879 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37880 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37881 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37882 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37883 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37884 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37885 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37886 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37887 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
37888 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
37889 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
37890 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
37891 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37892 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37893 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37894 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37895 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37896 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37897 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37898 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37899 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37900 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37901 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37902 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37903 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
37904 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
37905 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
37906 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
37907 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
37908 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
37909 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37910 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
37911 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37912 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
37913 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37914 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
37915 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37916 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
37917 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37918 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
37919 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37920 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
37921 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37922 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
37923 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37924 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37925 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37926 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
37927 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
37928 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37929 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37930 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37931 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
37932 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37933 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37934 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37935 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37936 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37937 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37938 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37939 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37940 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37941 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37942 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
37943 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
37944 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
37945 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37946 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37947 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37948 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
37949 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
37950 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
37951 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
37952 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
37953 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
37954 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37955 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
37956 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
37957 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37958 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
37959 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37960 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
37961 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37962 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
37963 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37964 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
37965 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37966 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
37967 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37968 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37969 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37970 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37971 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
37972 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
37973 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
37974 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
37975 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
37976 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37977 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37978 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
37979 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37980 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37981 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37982 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
37983 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37984 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37985 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37986 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37987 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37988 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37989 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37990 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
37991 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
37992 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
37993 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
37994 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
37995 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
37996 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37997 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37998 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
37999 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
38000 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
38001 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38002 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
38003 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
38004 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38005 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
38006 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
38007 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
38008 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38009 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38010 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38011 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38012 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38013 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38014 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38015 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
38016 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38017 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
38018 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38019 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
38020 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
38021 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38022 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
38023 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
38024 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38025 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38026 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
38027 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
38028 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
38029 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38030 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
38031 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
38032 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
38033 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38034 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
38035 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
38036 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38037 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
38038 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
38039 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38040 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38041 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
38042 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
38043 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38044 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
38045 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38046 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
38047 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
38048 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38049 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38050 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
38051 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
38052 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
38053 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
38054 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38055 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
38056 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
38057 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
38058 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38059 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
38060 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
38061 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
38062 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
38063 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38064 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
38065 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38066 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
38067 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
38068 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
38069 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38070 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
38071 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
38072 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
38073 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38074 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38075 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38076 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
38077 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38078 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
38079 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38080 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38081 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38082 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
38083 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
38084 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38085 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38086 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
38087 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
38088 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38089 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38090 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38091 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
38092 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38093 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
38094 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38095 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
38096 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
38097 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
38098 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
38099 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38100 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38101 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38102 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38103 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
38104 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38105 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38106 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
38107 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
38108 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
38109 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38110 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38111 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38112 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38113 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
38114 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38115 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38116 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
38117 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
38118 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
38119 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
38120 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
38121 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
38122 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
38123 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38124 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38125 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38126 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38127 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
38128 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
38129 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38130 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
38131 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
38132 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
38133 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38134 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
38135 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
38136 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
38137 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
38138 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38139 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
38140 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38141 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
38142 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
38143 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
38144 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
38145 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38146 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38147 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
38148 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
38149 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
38150 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
38151 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
38152 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
38153 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
38154 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
38155 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
38156 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
38157 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38158 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
38159 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
38160 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38161 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38162 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
38163 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
38164 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
38165 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
38166 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
38167 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38168 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
38169 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38170 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
38171 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
38172 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
38173 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
38174 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
38175 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
38176 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
38177 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
38178 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
38179 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
38180 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
38181 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
38182 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38183 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
38184 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38185 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
38186 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
38187 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38188 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
38189 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
38190 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
38191 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
38192 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
38193 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
38194 { NULL
, NULL
, 0, NULL
}
38198 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
38200 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
38201 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38203 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
38204 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
38206 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
38207 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
38209 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
38210 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
38212 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
38213 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
38215 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
38216 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
38218 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
38219 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
38221 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
38222 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
38224 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
38225 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
38227 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
38228 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
38230 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
38231 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38233 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
38234 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38236 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
38237 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
38239 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
38240 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
38242 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
38243 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
38245 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
38246 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38248 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
38249 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38251 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
38252 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
38254 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
38255 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
38257 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
38258 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
38260 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
38261 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
38263 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
38264 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
38266 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
38267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
38269 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
38270 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
38272 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
38273 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
38275 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
38276 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38278 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
38279 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38281 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
38282 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38284 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
38285 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38287 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
38288 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38290 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
38291 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38293 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
38294 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
38296 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
38297 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
38299 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
38300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38302 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
38303 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
38305 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
38306 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
38308 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
38309 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
38311 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
38312 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38314 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
38315 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38317 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
38318 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38320 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
38321 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
38323 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
38324 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
38326 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
38327 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
38329 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
38330 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
38332 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
38333 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38335 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
38336 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38338 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
38339 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
38341 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
38342 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38344 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
38345 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
38347 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
38348 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38350 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
38351 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38353 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
38354 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38356 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
38357 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38359 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
38360 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38362 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
38363 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38365 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
38366 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
38368 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
38369 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38371 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
38372 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38374 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38375 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38377 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38378 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38380 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38381 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38383 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38384 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38386 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38387 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38389 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
38390 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38392 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38393 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38395 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
38396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
38398 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
38399 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
38401 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
38402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38404 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
38405 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
38407 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
38408 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
38410 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
38411 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
38413 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
38414 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
38416 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
38417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
38419 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
38420 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
38422 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
38423 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
38425 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
38426 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
38428 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
38429 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
38431 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
38432 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
38434 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
38435 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
38437 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
38438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
38440 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
38441 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
38443 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
38444 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
38446 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
38447 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
38449 static void *_p_wxSizerTo_p_wxObject(void *x
) {
38450 return (void *)((wxObject
*) ((wxSizer
*) x
));
38452 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
38453 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
38455 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
38456 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
38458 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
38459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38461 static void *_p_wxEventTo_p_wxObject(void *x
) {
38462 return (void *)((wxObject
*) ((wxEvent
*) x
));
38464 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
38465 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
38467 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
38468 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
38470 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
38471 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
38473 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
38474 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38476 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
38477 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
38479 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
38480 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
38482 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
38483 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38485 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
38486 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38488 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
38489 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38491 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
38492 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38494 static void *_p_wxControlTo_p_wxObject(void *x
) {
38495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
38497 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
38498 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
38500 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
38501 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
38503 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
38504 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
38506 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
38507 return (void *)((wxObject
*) ((wxFSFile
*) x
));
38509 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
38510 return (void *)((wxObject
*) ((wxClipboard
*) x
));
38512 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
38513 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
38515 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
38516 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
38518 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
38519 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38521 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
38522 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
38524 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
38525 return (void *)((wxObject
*) ((wxToolTip
*) x
));
38527 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
38528 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
38530 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
38531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
38533 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
38534 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
38536 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
38537 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38539 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
38540 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38542 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
38543 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
38545 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
38546 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
38548 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
38549 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
38551 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
38552 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
38554 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
38555 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
38557 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
38558 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
38560 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
38561 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
38563 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
38564 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
38566 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
38567 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
38569 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
38570 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
38572 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
38573 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
38575 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
38576 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
38578 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
38579 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
38581 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
38582 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
38584 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
38585 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
38587 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
38588 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
38590 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
38591 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
38593 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
38594 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
38596 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
38597 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
38599 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
38600 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38602 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
38603 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
38605 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
38606 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
38608 static void *_p_wxImageTo_p_wxObject(void *x
) {
38609 return (void *)((wxObject
*) ((wxImage
*) x
));
38611 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
38612 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
38614 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
38615 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
38617 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
38618 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
38620 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
38621 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38623 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
38624 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38626 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
38627 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
38629 static void *_p_wxWindowTo_p_wxObject(void *x
) {
38630 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
38632 static void *_p_wxMenuTo_p_wxObject(void *x
) {
38633 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
38635 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
38636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
38638 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
38639 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
38641 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
38642 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
38644 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
38645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38647 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
38648 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
38650 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
38651 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
38653 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
38654 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
38656 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
38657 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
38659 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
38660 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
38662 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
38663 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
38665 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
38666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38668 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
38669 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
38671 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
38672 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
38674 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
38675 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
38677 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
38678 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38680 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
38681 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
38683 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
38684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38686 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
38687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
38689 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
38690 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
38692 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
38693 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
38695 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
38696 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
38698 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
38699 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
38701 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
38702 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
38704 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
38705 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
38707 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
38708 return (void *)((wxLog
*) ((wxLogChain
*) x
));
38710 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
38711 return (void *)((wxLog
*) ((wxLogGui
*) x
));
38713 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
38714 return (void *)((wxLog
*) ((wxPyLog
*) x
));
38716 static void *_p_wxControlTo_p_wxWindow(void *x
) {
38717 return (void *)((wxWindow
*) ((wxControl
*) x
));
38719 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
38720 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
38722 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
38723 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
38725 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
38726 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
38728 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
38729 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
38731 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
38732 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};
38733 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
38734 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
38735 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
38736 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
38737 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
38738 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
38739 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
38740 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
38741 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
38742 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
38743 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
38744 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
38745 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
38746 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
38747 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
38748 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
38749 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
38750 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
38751 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
38752 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
38753 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
38754 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
38755 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
38756 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
38757 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
38758 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
38759 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
38760 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
38761 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
38762 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
38763 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
38764 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
38765 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
38766 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
38767 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
38768 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
38769 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
38770 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
38771 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
38772 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
38773 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
38774 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
38775 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
38776 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
38777 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
38778 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
38779 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
38780 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
38781 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
38782 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
38783 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
38784 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
38785 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
38786 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
38787 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
38788 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
38789 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
38790 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
38791 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
38792 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
38793 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
38794 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
38795 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
38796 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
38797 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
38798 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
38799 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
38800 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
38801 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
38802 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
38803 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
38804 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
38805 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
38806 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
38807 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
38808 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
38809 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
38810 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
38811 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
38812 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
38813 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
38814 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
38815 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
38816 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
38817 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
38818 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
38819 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
38820 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
38821 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
38822 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
38823 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
38824 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
38825 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
38826 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
38827 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
38828 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
38829 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
38830 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
38831 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
38832 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
38833 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
38834 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
38835 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
38836 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
38837 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
38838 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
38839 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
38840 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
38841 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
38842 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
38843 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
38844 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
38845 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
38846 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
38847 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
38848 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
38849 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
38850 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
38851 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
38852 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
38853 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
38854 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
38855 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
38856 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
38857 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
38858 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
38859 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
38860 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
38861 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
38862 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
38863 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
38864 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
38865 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
38866 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
38867 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
38868 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
38869 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
38870 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
38871 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
38872 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
38873 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
38874 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
38875 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
38876 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
38877 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
38878 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
38879 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
38880 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
38881 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
38882 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
38883 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
38884 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
38885 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
38886 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
38887 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
38888 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
38889 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
38890 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
38891 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
38892 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
38893 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
38894 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
38895 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
38896 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
38897 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
38898 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
38899 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
38900 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
38901 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
38902 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
38903 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
38905 static swig_type_info
*swig_type_initial
[] = {
38907 &_swigt__p_form_ops_t
,
38909 &_swigt__p_unsigned_char
,
38910 &_swigt__p_unsigned_int
,
38911 &_swigt__p_unsigned_long
,
38913 &_swigt__p_wxANIHandler
,
38914 &_swigt__p_wxAcceleratorTable
,
38915 &_swigt__p_wxActivateEvent
,
38916 &_swigt__p_wxArrayString
,
38917 &_swigt__p_wxBMPHandler
,
38918 &_swigt__p_wxBitmap
,
38919 &_swigt__p_wxBitmapDataObject
,
38920 &_swigt__p_wxBoxSizer
,
38921 &_swigt__p_wxBusyCursor
,
38922 &_swigt__p_wxBusyInfo
,
38923 &_swigt__p_wxCURHandler
,
38924 &_swigt__p_wxCaret
,
38926 &_swigt__p_wxChildFocusEvent
,
38927 &_swigt__p_wxClipboard
,
38928 &_swigt__p_wxClipboardLocker
,
38929 &_swigt__p_wxClipboardTextEvent
,
38930 &_swigt__p_wxCloseEvent
,
38931 &_swigt__p_wxColour
,
38932 &_swigt__p_wxCommandEvent
,
38933 &_swigt__p_wxConfig
,
38934 &_swigt__p_wxConfigBase
,
38935 &_swigt__p_wxConfigPathChanger
,
38936 &_swigt__p_wxContextMenuEvent
,
38937 &_swigt__p_wxControl
,
38938 &_swigt__p_wxControlWithItems
,
38939 &_swigt__p_wxCursor
,
38940 &_swigt__p_wxCustomDataObject
,
38942 &_swigt__p_wxDataFormat
,
38943 &_swigt__p_wxDataObject
,
38944 &_swigt__p_wxDataObjectComposite
,
38945 &_swigt__p_wxDataObjectSimple
,
38946 &_swigt__p_wxDateEvent
,
38947 &_swigt__p_wxDateSpan
,
38948 &_swigt__p_wxDateTime
,
38949 &_swigt__p_wxDateTime__TimeZone
,
38950 &_swigt__p_wxDisplay
,
38951 &_swigt__p_wxDisplayChangedEvent
,
38952 &_swigt__p_wxDropFilesEvent
,
38953 &_swigt__p_wxDuplexMode
,
38954 &_swigt__p_wxEraseEvent
,
38955 &_swigt__p_wxEvent
,
38956 &_swigt__p_wxEvtHandler
,
38957 &_swigt__p_wxFSFile
,
38958 &_swigt__p_wxFileConfig
,
38959 &_swigt__p_wxFileDataObject
,
38960 &_swigt__p_wxFileHistory
,
38961 &_swigt__p_wxFileSystem
,
38962 &_swigt__p_wxFileType
,
38963 &_swigt__p_wxFileTypeInfo
,
38964 &_swigt__p_wxFlexGridSizer
,
38965 &_swigt__p_wxFocusEvent
,
38967 &_swigt__p_wxFrame
,
38968 &_swigt__p_wxGBSizerItem
,
38969 &_swigt__p_wxGIFHandler
,
38970 &_swigt__p_wxGridBagSizer
,
38971 &_swigt__p_wxGridSizer
,
38972 &_swigt__p_wxICOHandler
,
38974 &_swigt__p_wxIconizeEvent
,
38975 &_swigt__p_wxIdleEvent
,
38976 &_swigt__p_wxImage
,
38977 &_swigt__p_wxImageHandler
,
38978 &_swigt__p_wxIndividualLayoutConstraint
,
38979 &_swigt__p_wxInitDialogEvent
,
38980 &_swigt__p_wxJPEGHandler
,
38981 &_swigt__p_wxJoystick
,
38982 &_swigt__p_wxJoystickEvent
,
38983 &_swigt__p_wxKeyEvent
,
38984 &_swigt__p_wxKillError
,
38985 &_swigt__p_wxLayoutConstraints
,
38987 &_swigt__p_wxLogBuffer
,
38988 &_swigt__p_wxLogChain
,
38989 &_swigt__p_wxLogGui
,
38990 &_swigt__p_wxLogNull
,
38991 &_swigt__p_wxLogStderr
,
38992 &_swigt__p_wxLogTextCtrl
,
38993 &_swigt__p_wxLogWindow
,
38994 &_swigt__p_wxMaximizeEvent
,
38996 &_swigt__p_wxMenuBar
,
38997 &_swigt__p_wxMenuEvent
,
38998 &_swigt__p_wxMenuItem
,
38999 &_swigt__p_wxMetafile
,
39000 &_swigt__p_wxMetafileDataObject
,
39001 &_swigt__p_wxMimeTypesManager
,
39002 &_swigt__p_wxMouseCaptureChangedEvent
,
39003 &_swigt__p_wxMouseCaptureLostEvent
,
39004 &_swigt__p_wxMouseEvent
,
39005 &_swigt__p_wxMouseState
,
39006 &_swigt__p_wxMoveEvent
,
39007 &_swigt__p_wxMutexGuiLocker
,
39008 &_swigt__p_wxNavigationKeyEvent
,
39009 &_swigt__p_wxNcPaintEvent
,
39010 &_swigt__p_wxNotifyEvent
,
39011 &_swigt__p_wxObject
,
39012 &_swigt__p_wxOutputStream
,
39013 &_swigt__p_wxPCXHandler
,
39014 &_swigt__p_wxPNGHandler
,
39015 &_swigt__p_wxPNMHandler
,
39016 &_swigt__p_wxPaintEvent
,
39017 &_swigt__p_wxPaletteChangedEvent
,
39018 &_swigt__p_wxPaperSize
,
39019 &_swigt__p_wxPlatformInfo
,
39020 &_swigt__p_wxPoint
,
39021 &_swigt__p_wxPowerEvent
,
39022 &_swigt__p_wxProcessEvent
,
39023 &_swigt__p_wxPyApp
,
39024 &_swigt__p_wxPyArtProvider
,
39025 &_swigt__p_wxPyBitmapDataObject
,
39026 &_swigt__p_wxPyCommandEvent
,
39027 &_swigt__p_wxPyDataObjectSimple
,
39028 &_swigt__p_wxPyDropSource
,
39029 &_swigt__p_wxPyDropTarget
,
39030 &_swigt__p_wxPyEvent
,
39031 &_swigt__p_wxPyFileDropTarget
,
39032 &_swigt__p_wxPyImageHandler
,
39033 &_swigt__p_wxPyLog
,
39034 &_swigt__p_wxPyProcess
,
39035 &_swigt__p_wxPySizer
,
39036 &_swigt__p_wxPyTextDataObject
,
39037 &_swigt__p_wxPyTextDropTarget
,
39038 &_swigt__p_wxPyTimer
,
39039 &_swigt__p_wxPyTipProvider
,
39040 &_swigt__p_wxPyValidator
,
39041 &_swigt__p_wxQueryNewPaletteEvent
,
39043 &_swigt__p_wxScrollEvent
,
39044 &_swigt__p_wxScrollWinEvent
,
39045 &_swigt__p_wxSetCursorEvent
,
39046 &_swigt__p_wxShowEvent
,
39047 &_swigt__p_wxSingleInstanceChecker
,
39049 &_swigt__p_wxSizeEvent
,
39050 &_swigt__p_wxSizer
,
39051 &_swigt__p_wxSizerItem
,
39052 &_swigt__p_wxSound
,
39053 &_swigt__p_wxStandardPaths
,
39054 &_swigt__p_wxStaticBoxSizer
,
39055 &_swigt__p_wxStdDialogButtonSizer
,
39056 &_swigt__p_wxStopWatch
,
39057 &_swigt__p_wxString
,
39058 &_swigt__p_wxSysColourChangedEvent
,
39059 &_swigt__p_wxSystemOptions
,
39060 &_swigt__p_wxSystemSettings
,
39061 &_swigt__p_wxTIFFHandler
,
39062 &_swigt__p_wxTextCtrl
,
39063 &_swigt__p_wxTextDataObject
,
39064 &_swigt__p_wxTimeSpan
,
39065 &_swigt__p_wxTimer
,
39066 &_swigt__p_wxTimerEvent
,
39067 &_swigt__p_wxTimerRunner
,
39068 &_swigt__p_wxTipProvider
,
39069 &_swigt__p_wxToolTip
,
39070 &_swigt__p_wxURLDataObject
,
39071 &_swigt__p_wxUpdateUIEvent
,
39072 &_swigt__p_wxValidator
,
39073 &_swigt__p_wxVideoMode
,
39074 &_swigt__p_wxWindow
,
39075 &_swigt__p_wxWindowCreateEvent
,
39076 &_swigt__p_wxWindowDestroyEvent
,
39077 &_swigt__p_wxWindowDisabler
,
39078 &_swigt__p_wxXPMHandler
,
39081 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39082 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39083 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39084 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39085 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39086 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39087 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39088 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
39089 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39090 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}};
39091 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
39092 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
39093 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
39094 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39095 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
39096 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
39097 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39098 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
39099 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}};
39100 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
39101 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39102 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39103 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
39104 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
39105 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}};
39106 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
39107 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}};
39108 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
39109 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
39110 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
39111 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
39112 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39113 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39114 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39115 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39116 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39117 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39118 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39119 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39120 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39121 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39122 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39123 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39124 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39125 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39126 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39127 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39128 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39129 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39130 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39131 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39132 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39133 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39134 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39135 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39136 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39137 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39138 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39139 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39140 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39141 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39142 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39143 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39144 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39145 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39146 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39147 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39148 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39149 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39150 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39151 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}};
39152 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39153 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39154 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39155 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39156 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39157 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39158 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}};
39159 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
39160 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39161 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
39162 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
39163 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
39164 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39165 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
39166 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39167 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
39168 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
39169 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
39170 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}};
39171 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
39172 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
39173 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
39174 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
39175 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
39176 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39177 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
39178 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39179 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
39180 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39181 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
39182 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
39183 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
39184 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39185 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39186 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39187 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39188 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39189 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39190 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39191 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39192 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39193 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39194 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39195 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39196 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39197 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39198 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39199 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39200 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39201 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39202 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39203 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39204 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39205 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39206 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39207 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39208 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39209 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39210 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39211 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39212 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39213 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39214 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}};
39215 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
39216 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39217 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
39218 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39219 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39220 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
39221 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
39222 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39223 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
39224 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
39225 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}};
39226 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39227 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
39228 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
39229 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39230 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39231 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
39232 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
39233 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39234 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
39235 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
39236 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
39237 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
39238 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
39239 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
39240 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
39241 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
39242 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39243 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}};
39244 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
39245 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
39246 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39247 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
39248 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}};
39249 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
39250 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39251 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
39252 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}};
39253 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
39255 static swig_cast_info
*swig_cast_initial
[] = {
39257 _swigc__p_form_ops_t
,
39259 _swigc__p_unsigned_char
,
39260 _swigc__p_unsigned_int
,
39261 _swigc__p_unsigned_long
,
39263 _swigc__p_wxANIHandler
,
39264 _swigc__p_wxAcceleratorTable
,
39265 _swigc__p_wxActivateEvent
,
39266 _swigc__p_wxArrayString
,
39267 _swigc__p_wxBMPHandler
,
39268 _swigc__p_wxBitmap
,
39269 _swigc__p_wxBitmapDataObject
,
39270 _swigc__p_wxBoxSizer
,
39271 _swigc__p_wxBusyCursor
,
39272 _swigc__p_wxBusyInfo
,
39273 _swigc__p_wxCURHandler
,
39276 _swigc__p_wxChildFocusEvent
,
39277 _swigc__p_wxClipboard
,
39278 _swigc__p_wxClipboardLocker
,
39279 _swigc__p_wxClipboardTextEvent
,
39280 _swigc__p_wxCloseEvent
,
39281 _swigc__p_wxColour
,
39282 _swigc__p_wxCommandEvent
,
39283 _swigc__p_wxConfig
,
39284 _swigc__p_wxConfigBase
,
39285 _swigc__p_wxConfigPathChanger
,
39286 _swigc__p_wxContextMenuEvent
,
39287 _swigc__p_wxControl
,
39288 _swigc__p_wxControlWithItems
,
39289 _swigc__p_wxCursor
,
39290 _swigc__p_wxCustomDataObject
,
39292 _swigc__p_wxDataFormat
,
39293 _swigc__p_wxDataObject
,
39294 _swigc__p_wxDataObjectComposite
,
39295 _swigc__p_wxDataObjectSimple
,
39296 _swigc__p_wxDateEvent
,
39297 _swigc__p_wxDateSpan
,
39298 _swigc__p_wxDateTime
,
39299 _swigc__p_wxDateTime__TimeZone
,
39300 _swigc__p_wxDisplay
,
39301 _swigc__p_wxDisplayChangedEvent
,
39302 _swigc__p_wxDropFilesEvent
,
39303 _swigc__p_wxDuplexMode
,
39304 _swigc__p_wxEraseEvent
,
39306 _swigc__p_wxEvtHandler
,
39307 _swigc__p_wxFSFile
,
39308 _swigc__p_wxFileConfig
,
39309 _swigc__p_wxFileDataObject
,
39310 _swigc__p_wxFileHistory
,
39311 _swigc__p_wxFileSystem
,
39312 _swigc__p_wxFileType
,
39313 _swigc__p_wxFileTypeInfo
,
39314 _swigc__p_wxFlexGridSizer
,
39315 _swigc__p_wxFocusEvent
,
39318 _swigc__p_wxGBSizerItem
,
39319 _swigc__p_wxGIFHandler
,
39320 _swigc__p_wxGridBagSizer
,
39321 _swigc__p_wxGridSizer
,
39322 _swigc__p_wxICOHandler
,
39324 _swigc__p_wxIconizeEvent
,
39325 _swigc__p_wxIdleEvent
,
39327 _swigc__p_wxImageHandler
,
39328 _swigc__p_wxIndividualLayoutConstraint
,
39329 _swigc__p_wxInitDialogEvent
,
39330 _swigc__p_wxJPEGHandler
,
39331 _swigc__p_wxJoystick
,
39332 _swigc__p_wxJoystickEvent
,
39333 _swigc__p_wxKeyEvent
,
39334 _swigc__p_wxKillError
,
39335 _swigc__p_wxLayoutConstraints
,
39337 _swigc__p_wxLogBuffer
,
39338 _swigc__p_wxLogChain
,
39339 _swigc__p_wxLogGui
,
39340 _swigc__p_wxLogNull
,
39341 _swigc__p_wxLogStderr
,
39342 _swigc__p_wxLogTextCtrl
,
39343 _swigc__p_wxLogWindow
,
39344 _swigc__p_wxMaximizeEvent
,
39346 _swigc__p_wxMenuBar
,
39347 _swigc__p_wxMenuEvent
,
39348 _swigc__p_wxMenuItem
,
39349 _swigc__p_wxMetafile
,
39350 _swigc__p_wxMetafileDataObject
,
39351 _swigc__p_wxMimeTypesManager
,
39352 _swigc__p_wxMouseCaptureChangedEvent
,
39353 _swigc__p_wxMouseCaptureLostEvent
,
39354 _swigc__p_wxMouseEvent
,
39355 _swigc__p_wxMouseState
,
39356 _swigc__p_wxMoveEvent
,
39357 _swigc__p_wxMutexGuiLocker
,
39358 _swigc__p_wxNavigationKeyEvent
,
39359 _swigc__p_wxNcPaintEvent
,
39360 _swigc__p_wxNotifyEvent
,
39361 _swigc__p_wxObject
,
39362 _swigc__p_wxOutputStream
,
39363 _swigc__p_wxPCXHandler
,
39364 _swigc__p_wxPNGHandler
,
39365 _swigc__p_wxPNMHandler
,
39366 _swigc__p_wxPaintEvent
,
39367 _swigc__p_wxPaletteChangedEvent
,
39368 _swigc__p_wxPaperSize
,
39369 _swigc__p_wxPlatformInfo
,
39371 _swigc__p_wxPowerEvent
,
39372 _swigc__p_wxProcessEvent
,
39374 _swigc__p_wxPyArtProvider
,
39375 _swigc__p_wxPyBitmapDataObject
,
39376 _swigc__p_wxPyCommandEvent
,
39377 _swigc__p_wxPyDataObjectSimple
,
39378 _swigc__p_wxPyDropSource
,
39379 _swigc__p_wxPyDropTarget
,
39380 _swigc__p_wxPyEvent
,
39381 _swigc__p_wxPyFileDropTarget
,
39382 _swigc__p_wxPyImageHandler
,
39384 _swigc__p_wxPyProcess
,
39385 _swigc__p_wxPySizer
,
39386 _swigc__p_wxPyTextDataObject
,
39387 _swigc__p_wxPyTextDropTarget
,
39388 _swigc__p_wxPyTimer
,
39389 _swigc__p_wxPyTipProvider
,
39390 _swigc__p_wxPyValidator
,
39391 _swigc__p_wxQueryNewPaletteEvent
,
39393 _swigc__p_wxScrollEvent
,
39394 _swigc__p_wxScrollWinEvent
,
39395 _swigc__p_wxSetCursorEvent
,
39396 _swigc__p_wxShowEvent
,
39397 _swigc__p_wxSingleInstanceChecker
,
39399 _swigc__p_wxSizeEvent
,
39401 _swigc__p_wxSizerItem
,
39403 _swigc__p_wxStandardPaths
,
39404 _swigc__p_wxStaticBoxSizer
,
39405 _swigc__p_wxStdDialogButtonSizer
,
39406 _swigc__p_wxStopWatch
,
39407 _swigc__p_wxString
,
39408 _swigc__p_wxSysColourChangedEvent
,
39409 _swigc__p_wxSystemOptions
,
39410 _swigc__p_wxSystemSettings
,
39411 _swigc__p_wxTIFFHandler
,
39412 _swigc__p_wxTextCtrl
,
39413 _swigc__p_wxTextDataObject
,
39414 _swigc__p_wxTimeSpan
,
39416 _swigc__p_wxTimerEvent
,
39417 _swigc__p_wxTimerRunner
,
39418 _swigc__p_wxTipProvider
,
39419 _swigc__p_wxToolTip
,
39420 _swigc__p_wxURLDataObject
,
39421 _swigc__p_wxUpdateUIEvent
,
39422 _swigc__p_wxValidator
,
39423 _swigc__p_wxVideoMode
,
39424 _swigc__p_wxWindow
,
39425 _swigc__p_wxWindowCreateEvent
,
39426 _swigc__p_wxWindowDestroyEvent
,
39427 _swigc__p_wxWindowDisabler
,
39428 _swigc__p_wxXPMHandler
,
39432 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39434 static swig_const_info swig_const_table
[] = {
39435 {0, 0, 0, 0.0, 0, 0}};
39440 /* -----------------------------------------------------------------------------
39441 * Type initialization:
39442 * This problem is tough by the requirement that no dynamic
39443 * memory is used. Also, since swig_type_info structures store pointers to
39444 * swig_cast_info structures and swig_cast_info structures store pointers back
39445 * to swig_type_info structures, we need some lookup code at initialization.
39446 * The idea is that swig generates all the structures that are needed.
39447 * The runtime then collects these partially filled structures.
39448 * The SWIG_InitializeModule function takes these initial arrays out of
39449 * swig_module, and does all the lookup, filling in the swig_module.types
39450 * array with the correct data and linking the correct swig_cast_info
39451 * structures together.
39453 * The generated swig_type_info structures are assigned staticly to an initial
39454 * array. We just loop though that array, and handle each type individually.
39455 * First we lookup if this type has been already loaded, and if so, use the
39456 * loaded structure instead of the generated one. Then we have to fill in the
39457 * cast linked list. The cast data is initially stored in something like a
39458 * two-dimensional array. Each row corresponds to a type (there are the same
39459 * number of rows as there are in the swig_type_initial array). Each entry in
39460 * a column is one of the swig_cast_info structures for that type.
39461 * The cast_initial array is actually an array of arrays, because each row has
39462 * a variable number of columns. So to actually build the cast linked list,
39463 * we find the array of casts associated with the type, and loop through it
39464 * adding the casts to the list. The one last trick we need to do is making
39465 * sure the type pointer in the swig_cast_info struct is correct.
39467 * First off, we lookup the cast->type name to see if it is already loaded.
39468 * There are three cases to handle:
39469 * 1) If the cast->type has already been loaded AND the type we are adding
39470 * casting info to has not been loaded (it is in this module), THEN we
39471 * replace the cast->type pointer with the type pointer that has already
39473 * 2) If BOTH types (the one we are adding casting info to, and the
39474 * cast->type) are loaded, THEN the cast info has already been loaded by
39475 * the previous module so we just ignore it.
39476 * 3) Finally, if cast->type has not already been loaded, then we add that
39477 * swig_cast_info to the linked list (because the cast->type) pointer will
39479 * ----------------------------------------------------------------------------- */
39489 #define SWIGRUNTIME_DEBUG
39493 SWIG_InitializeModule(void *clientdata
) {
39495 swig_module_info
*module_head
;
39496 static int init_run
= 0;
39498 clientdata
= clientdata
;
39500 if (init_run
) return;
39503 /* Initialize the swig_module */
39504 swig_module
.type_initial
= swig_type_initial
;
39505 swig_module
.cast_initial
= swig_cast_initial
;
39507 /* Try and load any already created modules */
39508 module_head
= SWIG_GetModule(clientdata
);
39510 swig_module
.next
= module_head
->next
;
39511 module_head
->next
= &swig_module
;
39513 /* This is the first module loaded */
39514 swig_module
.next
= &swig_module
;
39515 SWIG_SetModule(clientdata
, &swig_module
);
39518 /* Now work on filling in swig_module.types */
39519 #ifdef SWIGRUNTIME_DEBUG
39520 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
39522 for (i
= 0; i
< swig_module
.size
; ++i
) {
39523 swig_type_info
*type
= 0;
39524 swig_type_info
*ret
;
39525 swig_cast_info
*cast
;
39527 #ifdef SWIGRUNTIME_DEBUG
39528 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39531 /* if there is another module already loaded */
39532 if (swig_module
.next
!= &swig_module
) {
39533 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
39536 /* Overwrite clientdata field */
39537 #ifdef SWIGRUNTIME_DEBUG
39538 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
39540 if (swig_module
.type_initial
[i
]->clientdata
) {
39541 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
39542 #ifdef SWIGRUNTIME_DEBUG
39543 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
39547 type
= swig_module
.type_initial
[i
];
39550 /* Insert casting types */
39551 cast
= swig_module
.cast_initial
[i
];
39552 while (cast
->type
) {
39553 /* Don't need to add information already in the list */
39555 #ifdef SWIGRUNTIME_DEBUG
39556 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
39558 if (swig_module
.next
!= &swig_module
) {
39559 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
39560 #ifdef SWIGRUNTIME_DEBUG
39561 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
39565 if (type
== swig_module
.type_initial
[i
]) {
39566 #ifdef SWIGRUNTIME_DEBUG
39567 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
39572 /* Check for casting already in the list */
39573 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
39574 #ifdef SWIGRUNTIME_DEBUG
39575 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39577 if (!ocast
) ret
= 0;
39582 #ifdef SWIGRUNTIME_DEBUG
39583 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39586 type
->cast
->prev
= cast
;
39587 cast
->next
= type
->cast
;
39593 /* Set entry in modules->types array equal to the type */
39594 swig_module
.types
[i
] = type
;
39596 swig_module
.types
[i
] = 0;
39598 #ifdef SWIGRUNTIME_DEBUG
39599 printf("**** SWIG_InitializeModule: Cast List ******\n");
39600 for (i
= 0; i
< swig_module
.size
; ++i
) {
39602 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39603 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39604 while (cast
->type
) {
39605 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39609 printf("---- Total casts: %d\n",j
);
39611 printf("**** SWIG_InitializeModule: Cast List ******\n");
39615 /* This function will propagate the clientdata field of type to
39616 * any new swig_type_info structures that have been added into the list
39617 * of equivalent types. It is like calling
39618 * SWIG_TypeClientData(type, clientdata) a second time.
39621 SWIG_PropagateClientData(void) {
39623 swig_cast_info
*equiv
;
39624 static int init_run
= 0;
39626 if (init_run
) return;
39629 for (i
= 0; i
< swig_module
.size
; i
++) {
39630 if (swig_module
.types
[i
]->clientdata
) {
39631 equiv
= swig_module
.types
[i
]->cast
;
39633 if (!equiv
->converter
) {
39634 if (equiv
->type
&& !equiv
->type
->clientdata
)
39635 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
39637 equiv
= equiv
->next
;
39657 /* Python-specific SWIG API */
39658 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39659 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39660 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39662 /* -----------------------------------------------------------------------------
39663 * global variable support code.
39664 * ----------------------------------------------------------------------------- */
39666 typedef struct swig_globalvar
{
39667 char *name
; /* Name of global variable */
39668 PyObject
*(*get_attr
)(void); /* Return the current value */
39669 int (*set_attr
)(PyObject
*); /* Set the value */
39670 struct swig_globalvar
*next
;
39673 typedef struct swig_varlinkobject
{
39675 swig_globalvar
*vars
;
39676 } swig_varlinkobject
;
39678 SWIGINTERN PyObject
*
39679 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
39680 return PyString_FromString("<Swig global variables>");
39683 SWIGINTERN PyObject
*
39684 swig_varlink_str(swig_varlinkobject
*v
) {
39685 PyObject
*str
= PyString_FromString("(");
39686 swig_globalvar
*var
;
39687 for (var
= v
->vars
; var
; var
=var
->next
) {
39688 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
39689 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
39691 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
39696 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
39697 PyObject
*str
= swig_varlink_str(v
);
39698 fprintf(fp
,"Swig global variables ");
39699 fprintf(fp
,"%s\n", PyString_AsString(str
));
39705 swig_varlink_dealloc(swig_varlinkobject
*v
) {
39706 swig_globalvar
*var
= v
->vars
;
39708 swig_globalvar
*n
= var
->next
;
39715 SWIGINTERN PyObject
*
39716 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39717 PyObject
*res
= NULL
;
39718 swig_globalvar
*var
= v
->vars
;
39720 if (strcmp(var
->name
,n
) == 0) {
39721 res
= (*var
->get_attr
)();
39726 if (res
== NULL
&& !PyErr_Occurred()) {
39727 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39733 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39735 swig_globalvar
*var
= v
->vars
;
39737 if (strcmp(var
->name
,n
) == 0) {
39738 res
= (*var
->set_attr
)(p
);
39743 if (res
== 1 && !PyErr_Occurred()) {
39744 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39749 SWIGINTERN PyTypeObject
*
39750 swig_varlink_type(void) {
39751 static char varlink__doc__
[] = "Swig var link object";
39752 static PyTypeObject varlink_type
;
39753 static int type_init
= 0;
39755 const PyTypeObject tmp
39757 PyObject_HEAD_INIT(NULL
)
39758 0, /* Number of items in variable part (ob_size) */
39759 (char *)"swigvarlink", /* Type name (tp_name) */
39760 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39761 0, /* Itemsize (tp_itemsize) */
39762 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
39763 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39764 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39765 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39766 0, /* tp_compare */
39767 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39768 0, /* tp_as_number */
39769 0, /* tp_as_sequence */
39770 0, /* tp_as_mapping */
39773 (reprfunc
)swig_varlink_str
, /* tp_str */
39774 0, /* tp_getattro */
39775 0, /* tp_setattro */
39776 0, /* tp_as_buffer */
39778 varlink__doc__
, /* tp_doc */
39779 0, /* tp_traverse */
39781 0, /* tp_richcompare */
39782 0, /* tp_weaklistoffset */
39783 #if PY_VERSION_HEX >= 0x02020000
39784 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39786 #if PY_VERSION_HEX >= 0x02030000
39789 #ifdef COUNT_ALLOCS
39790 0,0,0,0 /* tp_alloc -> tp_next */
39793 varlink_type
= tmp
;
39794 varlink_type
.ob_type
= &PyType_Type
;
39797 return &varlink_type
;
39800 /* Create a variable linking object for use later */
39801 SWIGINTERN PyObject
*
39802 SWIG_Python_newvarlink(void) {
39803 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39807 return ((PyObject
*) result
);
39811 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39812 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39813 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39815 size_t size
= strlen(name
)+1;
39816 gv
->name
= (char *)malloc(size
);
39818 strncpy(gv
->name
,name
,size
);
39819 gv
->get_attr
= get_attr
;
39820 gv
->set_attr
= set_attr
;
39821 gv
->next
= v
->vars
;
39827 SWIGINTERN PyObject
*
39829 static PyObject
*_SWIG_globals
= 0;
39830 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
39831 return _SWIG_globals
;
39834 /* -----------------------------------------------------------------------------
39835 * constants/methods manipulation
39836 * ----------------------------------------------------------------------------- */
39838 /* Install Constants */
39840 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39843 for (i
= 0; constants
[i
].type
; ++i
) {
39844 switch(constants
[i
].type
) {
39845 case SWIG_PY_POINTER
:
39846 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39848 case SWIG_PY_BINARY
:
39849 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39856 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
39862 /* -----------------------------------------------------------------------------*/
39863 /* Fix SwigMethods to carry the callback ptrs when needed */
39864 /* -----------------------------------------------------------------------------*/
39867 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39868 swig_const_info
*const_table
,
39869 swig_type_info
**types
,
39870 swig_type_info
**types_initial
) {
39872 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39873 const char *c
= methods
[i
].ml_doc
;
39874 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39876 swig_const_info
*ci
= 0;
39877 const char *name
= c
+ 10;
39878 for (j
= 0; const_table
[j
].type
; ++j
) {
39879 if (strncmp(const_table
[j
].name
, name
,
39880 strlen(const_table
[j
].name
)) == 0) {
39881 ci
= &(const_table
[j
]);
39886 size_t shift
= (ci
->ptype
) - types
;
39887 swig_type_info
*ty
= types_initial
[shift
];
39888 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39889 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39890 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39893 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39895 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39897 strncpy(buff
, "swig_ptr: ", 10);
39899 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
39900 methods
[i
].ml_doc
= ndoc
;
39912 /* -----------------------------------------------------------------------------*
39913 * Partial Init method
39914 * -----------------------------------------------------------------------------*/
39919 SWIGEXPORT
void SWIG_init(void) {
39922 /* Fix SwigMethods to carry the callback ptrs when needed */
39923 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
39925 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
39926 d
= PyModule_GetDict(m
);
39928 SWIG_InitializeModule(0);
39929 SWIG_InstallConstants(d
,swig_const_table
);
39932 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
39933 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
39934 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
39935 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
39936 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
39937 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
39938 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
39939 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
39940 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
39941 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
39942 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
39943 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
39944 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
39945 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
39946 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
39947 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
39948 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
39949 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
39950 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
39951 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
39952 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
39953 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
39954 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
39955 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
39956 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
39957 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
39958 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
39959 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
39960 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
39961 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
39962 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
39963 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
39964 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
39965 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
39966 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
39967 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
39968 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
39969 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
39970 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
39971 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
39972 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
39973 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
39974 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
39975 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
39976 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
39977 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
39978 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
39979 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
39980 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
39981 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
39982 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
39983 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
39984 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
39985 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
39986 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
39987 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
39988 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
39989 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
39990 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
39991 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
39992 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
39993 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
39994 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
39995 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
39996 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
39997 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
39998 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
39999 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
40000 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
40001 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
40002 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
40003 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
40004 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
40005 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
40006 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
40007 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
40008 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
40009 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
40010 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
40011 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
40012 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
40013 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
40014 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
40015 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
40016 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
40017 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
40018 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
40019 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
40020 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
40021 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
40022 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
40023 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
40024 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
40025 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
40026 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
40027 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
40028 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
40029 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
40030 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
40031 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
40032 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
40033 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
40034 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
40035 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
40036 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
40037 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
40038 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
40039 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
40040 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
40041 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
40042 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
40043 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
40044 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
40045 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
40046 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
40047 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
40048 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
40049 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
40050 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
40051 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
40052 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
40053 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
40054 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
40055 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
40056 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
40057 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
40058 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
40059 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
40060 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
40061 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
40062 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
40063 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
40064 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
40065 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
40066 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
40067 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
40068 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
40069 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
40070 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
40071 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
40072 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
40073 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
40074 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
40075 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
40077 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
40079 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
40080 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
40081 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
40082 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
40083 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
40084 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
40085 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
40086 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
40087 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
40088 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
40089 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
40090 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
40091 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
40092 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
40093 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
40094 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
40095 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
40096 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
40097 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
40098 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
40099 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
40100 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
40101 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
40102 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
40103 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
40104 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
40105 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
40106 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
40107 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
40108 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
40109 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
40110 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
40111 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
40112 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
40113 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
40114 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
40115 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
40116 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
40117 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
40118 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
40119 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
40120 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
40121 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
40122 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
40123 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
40124 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
40125 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
40126 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
40127 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
40128 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
40129 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
40130 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
40131 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
40133 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
40135 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
40136 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
40137 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
40138 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
40139 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
40140 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
40141 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
40142 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
40143 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
40144 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
40145 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
40146 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
40147 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
40148 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
40149 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
40150 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
40151 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
40152 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
40153 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
40154 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
40155 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
40156 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
40157 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
40158 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
40159 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
40160 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
40161 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
40162 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
40163 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
40164 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
40165 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
40166 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
40167 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
40168 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
40169 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
40170 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
40171 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
40172 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
40173 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
40174 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
40175 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
40176 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
40177 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
40178 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
40179 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
40180 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
40181 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
40182 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
40183 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
40184 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
40185 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
40186 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
40187 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
40188 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
40189 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
40190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
40191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
40192 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
40193 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
40194 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
40195 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
40196 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
40197 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
40198 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
40199 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
40200 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
40201 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
40202 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
40203 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
40204 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
40205 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
40206 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
40207 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
40208 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
40209 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
40210 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
40212 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
40214 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
40215 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
40216 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
40217 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
40218 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
40219 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
40220 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
40221 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
40222 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
40223 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
40224 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
40225 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
40226 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
40227 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
40228 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
40229 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
40230 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
40231 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
40232 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
40233 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
40234 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
40235 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
40236 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
40237 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
40238 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
40239 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
40240 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
40241 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
40242 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
40243 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
40244 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
40245 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
40246 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
40247 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
40248 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
40249 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
40250 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
40251 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
40252 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
40253 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
40254 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
40255 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
40256 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
40257 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
40258 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
40259 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
40260 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
40261 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
40262 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
40263 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
40264 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
40265 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
40266 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
40267 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
40268 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
40269 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
40270 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
40271 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
40272 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
40273 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
40274 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
40275 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
40276 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
40277 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
40278 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
40279 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
40280 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
40281 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
40282 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
40283 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
40284 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
40285 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
40286 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
40287 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
40288 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
40289 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
40290 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
40291 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
40292 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
40293 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
40294 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
40295 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
40296 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
40297 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
40298 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
40299 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
40300 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
40301 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
40302 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
40303 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
40304 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
40305 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
40306 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
40307 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
40308 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
40309 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
40310 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
40311 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
40312 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
40313 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
40314 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
40315 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
40316 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
40317 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
40318 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
40319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
40320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
40321 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
40322 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
40323 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
40324 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
40325 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
40326 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
40327 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
40328 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
40329 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
40330 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
40331 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
40332 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
40333 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
40334 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
40335 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
40336 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
40337 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
40338 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
40339 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
40340 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
40341 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
40342 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
40343 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
40344 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
40345 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
40346 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
40347 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
40348 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
40349 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
40350 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
40351 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
40352 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
40353 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
40354 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
40355 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
40356 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
40357 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
40358 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
40359 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
40360 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
40361 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
40362 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
40363 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
40364 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
40365 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
40366 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
40367 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
40368 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
40369 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
40370 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
40371 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
40372 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
40373 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
40374 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
40375 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
40376 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
40377 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
40378 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
40379 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
40380 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
40381 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
40382 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
40383 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
40384 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
40385 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
40386 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
40387 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
40388 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
40389 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
40390 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
40391 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
40392 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
40393 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
40394 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
40395 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
40396 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
40397 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
40398 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
40399 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
40400 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
40401 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
40402 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
40403 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
40404 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
40405 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
40406 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
40407 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
40408 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
40409 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
40410 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
40411 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
40412 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
40413 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
40415 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
40416 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
40417 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
40418 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
40420 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
40421 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
40422 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
40423 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
40424 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
40425 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
40426 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
40427 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
40428 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
40429 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
40430 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
40431 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
40432 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
40433 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
40434 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
40435 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));