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 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4800 char * kwnames
[] = {
4801 (char *) "id",(char *) "flags", NULL
4804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4806 if (!SWIG_IsOK(ecode1
)) {
4807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4809 arg1
= static_cast< int >(val1
);
4811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4812 if (!SWIG_IsOK(ecode2
)) {
4813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4815 arg2
= static_cast< long >(val2
);
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= wxGetStockLabel(arg1
,arg2
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4836 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
= 0;
4839 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4847 char * kwnames
[] = {
4848 (char *) "id",(char *) "client", NULL
4851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4852 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4853 if (!SWIG_IsOK(ecode1
)) {
4854 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4856 arg1
= static_cast< int >(val1
);
4858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4859 if (!SWIG_IsOK(ecode2
)) {
4860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4862 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= wxGetStockHelpString(arg1
,arg2
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4883 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4884 PyObject
*resultobj
= 0;
4886 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4888 if (!wxPyCheckForApp()) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= SWIG_Py_Void();
4901 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4902 PyObject
*resultobj
= 0;
4904 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4906 if (!wxPyCheckForApp()) SWIG_fail
;
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_Py_Void();
4919 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
= 0;
4921 bool arg1
= (bool) true ;
4925 PyObject
* obj0
= 0 ;
4926 char * kwnames
[] = {
4927 (char *) "resetTimer", NULL
4930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4932 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4933 if (!SWIG_IsOK(ecode1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4936 arg1
= static_cast< bool >(val1
);
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (long)wxGetElapsedTime(arg1
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= SWIG_From_long(static_cast< long >(result
));
4951 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4952 PyObject
*resultobj
= 0;
4955 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (bool)wxIsBusy();
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4971 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4972 PyObject
*resultobj
= 0;
4975 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4995 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
= 0;
4997 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4998 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5000 bool temp1
= false ;
5001 PyObject
* obj0
= 0 ;
5002 char * kwnames
[] = {
5003 (char *) "command", NULL
5006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
5009 arg1
= wxString_in_helper(obj0
);
5010 if (arg1
== NULL
) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (bool)wxShell((wxString
const &)*arg1
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5037 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5038 PyObject
*resultobj
= 0;
5040 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= SWIG_Py_Void();
5054 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5055 PyObject
*resultobj
= 0;
5056 int *arg1
= (int *) 0 ;
5057 int *arg2
= (int *) 0 ;
5060 int res1
= SWIG_TMPOBJ
;
5062 int res2
= SWIG_TMPOBJ
;
5066 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (int)wxGetOsVersion(arg1
,arg2
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= SWIG_From_int(static_cast< int >(result
));
5074 if (SWIG_IsTmpObj(res1
)) {
5075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5077 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5080 if (SWIG_IsTmpObj(res2
)) {
5081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5083 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5092 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5093 PyObject
*resultobj
= 0;
5096 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= wxGetOsDescription();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5116 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5117 PyObject
*resultobj
= 0;
5120 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (bool)wxIsPlatformLittleEndian();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5136 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5137 PyObject
*resultobj
= 0;
5140 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 result
= (bool)wxIsPlatform64Bit();
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5156 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5157 PyObject
*resultobj
= 0;
5158 wxMemorySize result
;
5160 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= wxGetFreeMemory();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5171 resultobj
= PyInt_FromLong(result
);
5180 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
= 0;
5182 wxShutdownFlags arg1
;
5186 PyObject
* obj0
= 0 ;
5187 char * kwnames
[] = {
5188 (char *) "wFlags", NULL
5191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5192 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5193 if (!SWIG_IsOK(ecode1
)) {
5194 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5196 arg1
= static_cast< wxShutdownFlags
>(val1
);
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (bool)wxShutdown(arg1
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5213 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
= 0;
5218 PyObject
* obj0
= 0 ;
5219 char * kwnames
[] = {
5220 (char *) "secs", NULL
5223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5224 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5225 if (!SWIG_IsOK(ecode1
)) {
5226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5228 arg1
= static_cast< int >(val1
);
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= SWIG_Py_Void();
5242 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
= 0;
5244 unsigned long arg1
;
5245 unsigned long val1
;
5247 PyObject
* obj0
= 0 ;
5248 char * kwnames
[] = {
5249 (char *) "milliseconds", NULL
5252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5253 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5254 if (!SWIG_IsOK(ecode1
)) {
5255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5257 arg1
= static_cast< unsigned long >(val1
);
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= SWIG_Py_Void();
5271 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
= 0;
5273 unsigned long arg1
;
5274 unsigned long val1
;
5276 PyObject
* obj0
= 0 ;
5277 char * kwnames
[] = {
5278 (char *) "microseconds", NULL
5281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5282 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5283 if (!SWIG_IsOK(ecode1
)) {
5284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5286 arg1
= static_cast< unsigned long >(val1
);
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_Py_Void();
5300 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
= 0;
5305 PyObject
* obj0
= 0 ;
5306 char * kwnames
[] = {
5307 (char *) "enable", NULL
5310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5311 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5312 if (!SWIG_IsOK(ecode1
)) {
5313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5315 arg1
= static_cast< bool >(val1
);
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 wxEnableTopLevelWindows(arg1
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_Py_Void();
5329 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
= 0;
5331 wxString
*arg1
= 0 ;
5333 bool temp1
= false ;
5334 PyObject
* obj0
= 0 ;
5335 char * kwnames
[] = {
5339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5341 arg1
= wxString_in_helper(obj0
);
5342 if (arg1
== NULL
) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5372 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5373 PyObject
*resultobj
= 0;
5376 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= wxGetEmailAddress();
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5396 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5397 PyObject
*resultobj
= 0;
5400 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= wxGetHostName();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5420 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5421 PyObject
*resultobj
= 0;
5424 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= wxGetFullHostName();
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5444 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5445 PyObject
*resultobj
= 0;
5448 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= wxGetUserId();
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5468 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5469 PyObject
*resultobj
= 0;
5472 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= wxGetUserName();
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5492 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5493 PyObject
*resultobj
= 0;
5496 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= wxGetHomeDir();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5516 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
= 0;
5518 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5519 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5521 bool temp1
= false ;
5522 PyObject
* obj0
= 0 ;
5523 char * kwnames
[] = {
5524 (char *) "user", NULL
5527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5530 arg1
= wxString_in_helper(obj0
);
5531 if (arg1
== NULL
) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= wxGetUserHome((wxString
const &)*arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5562 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5563 PyObject
*resultobj
= 0;
5564 unsigned long result
;
5566 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (unsigned long)wxGetProcessId();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5580 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5581 PyObject
*resultobj
= 0;
5583 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= SWIG_Py_Void();
5597 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
= 0;
5599 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5600 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5601 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5602 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5603 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5604 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5605 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5606 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5607 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5608 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5609 int arg6
= (int) 0 ;
5610 wxWindow
*arg7
= (wxWindow
*) NULL
;
5611 int arg8
= (int) -1 ;
5612 int arg9
= (int) -1 ;
5614 bool temp1
= false ;
5615 bool temp2
= false ;
5616 bool temp3
= false ;
5617 bool temp4
= false ;
5618 bool temp5
= false ;
5627 PyObject
* obj0
= 0 ;
5628 PyObject
* obj1
= 0 ;
5629 PyObject
* obj2
= 0 ;
5630 PyObject
* obj3
= 0 ;
5631 PyObject
* obj4
= 0 ;
5632 PyObject
* obj5
= 0 ;
5633 PyObject
* obj6
= 0 ;
5634 PyObject
* obj7
= 0 ;
5635 PyObject
* obj8
= 0 ;
5636 char * kwnames
[] = {
5637 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5643 arg1
= wxString_in_helper(obj0
);
5644 if (arg1
== NULL
) SWIG_fail
;
5650 arg2
= wxString_in_helper(obj1
);
5651 if (arg2
== NULL
) SWIG_fail
;
5657 arg3
= wxString_in_helper(obj2
);
5658 if (arg3
== NULL
) SWIG_fail
;
5664 arg4
= wxString_in_helper(obj3
);
5665 if (arg4
== NULL
) SWIG_fail
;
5671 arg5
= wxString_in_helper(obj4
);
5672 if (arg5
== NULL
) SWIG_fail
;
5677 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5678 if (!SWIG_IsOK(ecode6
)) {
5679 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5681 arg6
= static_cast< int >(val6
);
5684 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5685 if (!SWIG_IsOK(res7
)) {
5686 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5688 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5691 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5692 if (!SWIG_IsOK(ecode8
)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5695 arg8
= static_cast< int >(val8
);
5698 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5699 if (!SWIG_IsOK(ecode9
)) {
5700 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5702 arg9
= static_cast< int >(val9
);
5705 if (!wxPyCheckForApp()) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5764 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
= 0;
5766 wxString
*arg1
= 0 ;
5767 wxString
*arg2
= 0 ;
5768 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5769 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5770 wxWindow
*arg4
= (wxWindow
*) NULL
;
5772 bool temp1
= false ;
5773 bool temp2
= false ;
5774 bool temp3
= false ;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5779 PyObject
* obj2
= 0 ;
5780 PyObject
* obj3
= 0 ;
5781 char * kwnames
[] = {
5782 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5787 arg1
= wxString_in_helper(obj0
);
5788 if (arg1
== NULL
) SWIG_fail
;
5792 arg2
= wxString_in_helper(obj1
);
5793 if (arg2
== NULL
) SWIG_fail
;
5798 arg3
= wxString_in_helper(obj2
);
5799 if (arg3
== NULL
) SWIG_fail
;
5804 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5805 if (!SWIG_IsOK(res4
)) {
5806 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5808 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5811 if (!wxPyCheckForApp()) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5854 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
= 0;
5856 wxString
*arg1
= 0 ;
5857 wxString
*arg2
= 0 ;
5858 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5859 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5860 wxWindow
*arg4
= (wxWindow
*) NULL
;
5862 bool temp1
= false ;
5863 bool temp2
= false ;
5864 bool temp3
= false ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5869 PyObject
* obj2
= 0 ;
5870 PyObject
* obj3
= 0 ;
5871 char * kwnames
[] = {
5872 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5877 arg1
= wxString_in_helper(obj0
);
5878 if (arg1
== NULL
) SWIG_fail
;
5882 arg2
= wxString_in_helper(obj1
);
5883 if (arg2
== NULL
) SWIG_fail
;
5888 arg3
= wxString_in_helper(obj2
);
5889 if (arg3
== NULL
) SWIG_fail
;
5894 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5895 if (!SWIG_IsOK(res4
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5898 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5901 if (!wxPyCheckForApp()) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5944 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
= 0;
5946 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5947 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5948 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5949 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5950 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5953 wxWindow
*arg5
= (wxWindow
*) NULL
;
5955 bool temp1
= false ;
5956 bool temp2
= false ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 PyObject
* obj2
= 0 ;
5965 PyObject
* obj3
= 0 ;
5966 PyObject
* obj4
= 0 ;
5967 char * kwnames
[] = {
5968 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5974 arg1
= wxString_in_helper(obj0
);
5975 if (arg1
== NULL
) SWIG_fail
;
5981 arg2
= wxString_in_helper(obj1
);
5982 if (arg2
== NULL
) SWIG_fail
;
5987 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5988 if (!SWIG_IsOK(ecode3
)) {
5989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5991 arg3
= static_cast< long >(val3
);
5996 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6000 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6001 if (!SWIG_IsOK(res5
)) {
6002 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
6004 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6007 if (!wxPyCheckForApp()) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6042 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
= 0;
6044 wxString
*arg1
= 0 ;
6045 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6046 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6049 wxWindow
*arg4
= (wxWindow
*) NULL
;
6050 int arg5
= (int) -1 ;
6051 int arg6
= (int) -1 ;
6052 bool arg7
= (bool) true ;
6054 bool temp1
= false ;
6055 bool temp2
= false ;
6056 bool temp3
= false ;
6065 PyObject
* obj0
= 0 ;
6066 PyObject
* obj1
= 0 ;
6067 PyObject
* obj2
= 0 ;
6068 PyObject
* obj3
= 0 ;
6069 PyObject
* obj4
= 0 ;
6070 PyObject
* obj5
= 0 ;
6071 PyObject
* obj6
= 0 ;
6072 char * kwnames
[] = {
6073 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6078 arg1
= wxString_in_helper(obj0
);
6079 if (arg1
== NULL
) SWIG_fail
;
6084 arg2
= wxString_in_helper(obj1
);
6085 if (arg2
== NULL
) SWIG_fail
;
6091 arg3
= wxString_in_helper(obj2
);
6092 if (arg3
== NULL
) SWIG_fail
;
6097 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6098 if (!SWIG_IsOK(res4
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6101 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6104 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6105 if (!SWIG_IsOK(ecode5
)) {
6106 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6108 arg5
= static_cast< int >(val5
);
6111 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6112 if (!SWIG_IsOK(ecode6
)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6115 arg6
= static_cast< int >(val6
);
6118 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6119 if (!SWIG_IsOK(ecode7
)) {
6120 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6122 arg7
= static_cast< bool >(val7
);
6125 if (!wxPyCheckForApp()) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6168 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
= 0;
6170 wxString
*arg1
= 0 ;
6171 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6172 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6173 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6174 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6175 wxWindow
*arg4
= (wxWindow
*) NULL
;
6177 bool temp1
= false ;
6178 bool temp2
= false ;
6179 bool temp3
= false ;
6182 PyObject
* obj0
= 0 ;
6183 PyObject
* obj1
= 0 ;
6184 PyObject
* obj2
= 0 ;
6185 PyObject
* obj3
= 0 ;
6186 char * kwnames
[] = {
6187 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6192 arg1
= wxString_in_helper(obj0
);
6193 if (arg1
== NULL
) SWIG_fail
;
6198 arg2
= wxString_in_helper(obj1
);
6199 if (arg2
== NULL
) SWIG_fail
;
6205 arg3
= wxString_in_helper(obj2
);
6206 if (arg3
== NULL
) SWIG_fail
;
6211 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6212 if (!SWIG_IsOK(res4
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6215 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6218 if (!wxPyCheckForApp()) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6261 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6263 wxString
*arg1
= 0 ;
6264 wxString
*arg2
= 0 ;
6266 wxString
*arg4
= (wxString
*) 0 ;
6267 wxWindow
*arg5
= (wxWindow
*) NULL
;
6268 int arg6
= (int) -1 ;
6269 int arg7
= (int) -1 ;
6270 bool arg8
= (bool) true ;
6271 int arg9
= (int) 150 ;
6272 int arg10
= (int) 200 ;
6274 bool temp1
= false ;
6275 bool temp2
= false ;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6290 PyObject
* obj2
= 0 ;
6291 PyObject
* obj3
= 0 ;
6292 PyObject
* obj4
= 0 ;
6293 PyObject
* obj5
= 0 ;
6294 PyObject
* obj6
= 0 ;
6295 PyObject
* obj7
= 0 ;
6296 PyObject
* obj8
= 0 ;
6297 char * kwnames
[] = {
6298 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6303 arg1
= wxString_in_helper(obj0
);
6304 if (arg1
== NULL
) SWIG_fail
;
6308 arg2
= wxString_in_helper(obj1
);
6309 if (arg2
== NULL
) SWIG_fail
;
6313 arg3
= PyList_Size(obj2
);
6314 arg4
= wxString_LIST_helper(obj2
);
6315 if (arg4
== NULL
) SWIG_fail
;
6318 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6319 if (!SWIG_IsOK(res5
)) {
6320 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6322 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6325 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6326 if (!SWIG_IsOK(ecode6
)) {
6327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6329 arg6
= static_cast< int >(val6
);
6332 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6333 if (!SWIG_IsOK(ecode7
)) {
6334 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6336 arg7
= static_cast< int >(val7
);
6339 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6340 if (!SWIG_IsOK(ecode8
)) {
6341 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6343 arg8
= static_cast< bool >(val8
);
6346 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6347 if (!SWIG_IsOK(ecode9
)) {
6348 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6350 arg9
= static_cast< int >(val9
);
6353 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6354 if (!SWIG_IsOK(ecode10
)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6357 arg10
= static_cast< int >(val10
);
6360 if (!wxPyCheckForApp()) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6382 if (arg4
) delete [] arg4
;
6395 if (arg4
) delete [] arg4
;
6401 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
= 0;
6403 wxString
*arg1
= 0 ;
6404 wxString
*arg2
= 0 ;
6406 wxString
*arg4
= (wxString
*) 0 ;
6407 wxWindow
*arg5
= (wxWindow
*) NULL
;
6408 int arg6
= (int) -1 ;
6409 int arg7
= (int) -1 ;
6410 bool arg8
= (bool) true ;
6411 int arg9
= (int) 150 ;
6412 int arg10
= (int) 200 ;
6414 bool temp1
= false ;
6415 bool temp2
= false ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 PyObject
* obj2
= 0 ;
6431 PyObject
* obj3
= 0 ;
6432 PyObject
* obj4
= 0 ;
6433 PyObject
* obj5
= 0 ;
6434 PyObject
* obj6
= 0 ;
6435 PyObject
* obj7
= 0 ;
6436 PyObject
* obj8
= 0 ;
6437 char * kwnames
[] = {
6438 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6443 arg1
= wxString_in_helper(obj0
);
6444 if (arg1
== NULL
) SWIG_fail
;
6448 arg2
= wxString_in_helper(obj1
);
6449 if (arg2
== NULL
) SWIG_fail
;
6453 arg3
= PyList_Size(obj2
);
6454 arg4
= wxString_LIST_helper(obj2
);
6455 if (arg4
== NULL
) SWIG_fail
;
6458 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6459 if (!SWIG_IsOK(res5
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6462 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6465 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6466 if (!SWIG_IsOK(ecode6
)) {
6467 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6469 arg6
= static_cast< int >(val6
);
6472 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6473 if (!SWIG_IsOK(ecode7
)) {
6474 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6476 arg7
= static_cast< int >(val7
);
6479 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6480 if (!SWIG_IsOK(ecode8
)) {
6481 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6483 arg8
= static_cast< bool >(val8
);
6486 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6487 if (!SWIG_IsOK(ecode9
)) {
6488 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6490 arg9
= static_cast< int >(val9
);
6493 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6494 if (!SWIG_IsOK(ecode10
)) {
6495 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6497 arg10
= static_cast< int >(val10
);
6500 if (!wxPyCheckForApp()) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_From_int(static_cast< int >(result
));
6516 if (arg4
) delete [] arg4
;
6529 if (arg4
) delete [] arg4
;
6535 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
= 0;
6537 wxString
*arg1
= 0 ;
6538 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6539 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6540 int arg3
= (int) wxOK
|wxCENTRE
;
6541 wxWindow
*arg4
= (wxWindow
*) NULL
;
6542 int arg5
= (int) -1 ;
6543 int arg6
= (int) -1 ;
6545 bool temp1
= false ;
6546 bool temp2
= false ;
6555 PyObject
* obj0
= 0 ;
6556 PyObject
* obj1
= 0 ;
6557 PyObject
* obj2
= 0 ;
6558 PyObject
* obj3
= 0 ;
6559 PyObject
* obj4
= 0 ;
6560 PyObject
* obj5
= 0 ;
6561 char * kwnames
[] = {
6562 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6567 arg1
= wxString_in_helper(obj0
);
6568 if (arg1
== NULL
) SWIG_fail
;
6573 arg2
= wxString_in_helper(obj1
);
6574 if (arg2
== NULL
) SWIG_fail
;
6579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6580 if (!SWIG_IsOK(ecode3
)) {
6581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6583 arg3
= static_cast< int >(val3
);
6586 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6587 if (!SWIG_IsOK(res4
)) {
6588 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6590 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6593 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6594 if (!SWIG_IsOK(ecode5
)) {
6595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6597 arg5
= static_cast< int >(val5
);
6600 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6601 if (!SWIG_IsOK(ecode6
)) {
6602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6604 arg6
= static_cast< int >(val6
);
6607 if (!wxPyCheckForApp()) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= SWIG_From_int(static_cast< int >(result
));
6636 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
= 0;
6638 wxString
*arg1
= 0 ;
6639 wxString
*arg2
= 0 ;
6640 wxString
*arg3
= 0 ;
6642 long arg5
= (long) 0 ;
6643 long arg6
= (long) 100 ;
6644 wxWindow
*arg7
= (wxWindow
*) NULL
;
6645 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6646 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6648 bool temp1
= false ;
6649 bool temp2
= false ;
6650 bool temp3
= false ;
6660 PyObject
* obj0
= 0 ;
6661 PyObject
* obj1
= 0 ;
6662 PyObject
* obj2
= 0 ;
6663 PyObject
* obj3
= 0 ;
6664 PyObject
* obj4
= 0 ;
6665 PyObject
* obj5
= 0 ;
6666 PyObject
* obj6
= 0 ;
6667 PyObject
* obj7
= 0 ;
6668 char * kwnames
[] = {
6669 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6674 arg1
= wxString_in_helper(obj0
);
6675 if (arg1
== NULL
) SWIG_fail
;
6679 arg2
= wxString_in_helper(obj1
);
6680 if (arg2
== NULL
) SWIG_fail
;
6684 arg3
= wxString_in_helper(obj2
);
6685 if (arg3
== NULL
) SWIG_fail
;
6688 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6689 if (!SWIG_IsOK(ecode4
)) {
6690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6692 arg4
= static_cast< long >(val4
);
6694 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6695 if (!SWIG_IsOK(ecode5
)) {
6696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6698 arg5
= static_cast< long >(val5
);
6701 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6702 if (!SWIG_IsOK(ecode6
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6705 arg6
= static_cast< long >(val6
);
6708 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6709 if (!SWIG_IsOK(res7
)) {
6710 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6712 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6717 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6721 if (!wxPyCheckForApp()) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= SWIG_From_long(static_cast< long >(result
));
6758 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6759 PyObject
*resultobj
= 0;
6762 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6764 if (!wxPyCheckForApp()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 result
= (bool)wxColourDisplay();
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6779 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6780 PyObject
*resultobj
= 0;
6783 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6785 if (!wxPyCheckForApp()) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (int)wxDisplayDepth();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_From_int(static_cast< int >(result
));
6798 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6799 PyObject
*resultobj
= 0;
6802 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6804 if (!wxPyCheckForApp()) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (int)wxGetDisplayDepth();
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_From_int(static_cast< int >(result
));
6817 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6818 PyObject
*resultobj
= 0;
6819 int *arg1
= (int *) 0 ;
6820 int *arg2
= (int *) 0 ;
6822 int res1
= SWIG_TMPOBJ
;
6824 int res2
= SWIG_TMPOBJ
;
6828 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6830 if (!wxPyCheckForApp()) SWIG_fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 wxDisplaySize(arg1
,arg2
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= SWIG_Py_Void();
6837 if (SWIG_IsTmpObj(res1
)) {
6838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6840 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6843 if (SWIG_IsTmpObj(res2
)) {
6844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6846 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6855 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6856 PyObject
*resultobj
= 0;
6859 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6861 if (!wxPyCheckForApp()) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= wxGetDisplaySize();
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6874 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6875 PyObject
*resultobj
= 0;
6876 int *arg1
= (int *) 0 ;
6877 int *arg2
= (int *) 0 ;
6879 int res1
= SWIG_TMPOBJ
;
6881 int res2
= SWIG_TMPOBJ
;
6885 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6887 if (!wxPyCheckForApp()) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 wxDisplaySizeMM(arg1
,arg2
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 resultobj
= SWIG_Py_Void();
6894 if (SWIG_IsTmpObj(res1
)) {
6895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6897 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6900 if (SWIG_IsTmpObj(res2
)) {
6901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6903 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6912 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6913 PyObject
*resultobj
= 0;
6916 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6918 if (!wxPyCheckForApp()) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= wxGetDisplaySizeMM();
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6931 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6932 PyObject
*resultobj
= 0;
6933 int *arg1
= (int *) 0 ;
6934 int *arg2
= (int *) 0 ;
6935 int *arg3
= (int *) 0 ;
6936 int *arg4
= (int *) 0 ;
6938 int res1
= SWIG_TMPOBJ
;
6940 int res2
= SWIG_TMPOBJ
;
6942 int res3
= SWIG_TMPOBJ
;
6944 int res4
= SWIG_TMPOBJ
;
6950 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6952 if (!wxPyCheckForApp()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_Py_Void();
6959 if (SWIG_IsTmpObj(res1
)) {
6960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6962 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6965 if (SWIG_IsTmpObj(res2
)) {
6966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6968 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6971 if (SWIG_IsTmpObj(res3
)) {
6972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6974 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6977 if (SWIG_IsTmpObj(res4
)) {
6978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6980 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6989 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6990 PyObject
*resultobj
= 0;
6993 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6995 if (!wxPyCheckForApp()) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= wxGetClientDisplayRect();
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7008 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
= 0;
7010 wxCursor
*arg1
= 0 ;
7013 PyObject
* obj0
= 0 ;
7014 char * kwnames
[] = {
7015 (char *) "cursor", NULL
7018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
7019 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
7020 if (!SWIG_IsOK(res1
)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7026 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7028 if (!wxPyCheckForApp()) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_Py_Void();
7041 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7042 PyObject
*resultobj
= 0;
7045 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7047 if (!wxPyCheckForApp()) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (void *)wxGetXDisplay();
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7060 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7065 PyObject
* obj0
= 0 ;
7066 char * kwnames
[] = {
7067 (char *) "cursor", NULL
7070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7073 if (!SWIG_IsOK(res1
)) {
7074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7076 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7079 if (!wxPyCheckForApp()) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 wxBeginBusyCursor(arg1
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= SWIG_Py_Void();
7092 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7093 PyObject
*resultobj
= 0;
7096 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7098 if (!wxPyCheckForApp()) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= wxGetMousePosition();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7111 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7112 PyObject
*resultobj
= 0;
7113 wxWindow
*result
= 0 ;
7115 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7117 if (!wxPyCheckForApp()) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (wxWindow
*)FindWindowAtPointer();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= wxPyMake_wxObject(result
, 0);
7132 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7133 PyObject
*resultobj
= 0;
7134 wxWindow
*result
= 0 ;
7136 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7138 if (!wxPyCheckForApp()) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (wxWindow
*)wxGetActiveWindow();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= wxPyMake_wxObject(result
, 0);
7153 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
= 0;
7156 wxWindow
*result
= 0 ;
7158 PyObject
* obj0
= 0 ;
7159 char * kwnames
[] = {
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7166 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7169 if (!wxPyCheckForApp()) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= wxPyMake_wxObject(result
, 0);
7184 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
= 0;
7187 wxWindow
*result
= 0 ;
7189 PyObject
* obj0
= 0 ;
7190 char * kwnames
[] = {
7194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7197 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7200 if (!wxPyCheckForApp()) SWIG_fail
;
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= wxPyMake_wxObject(result
, 0);
7215 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
= 0;
7217 wxWindow
*arg1
= (wxWindow
*) 0 ;
7218 wxWindow
*result
= 0 ;
7221 PyObject
* obj0
= 0 ;
7222 char * kwnames
[] = {
7223 (char *) "win", NULL
7226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7228 if (!SWIG_IsOK(res1
)) {
7229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7231 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7233 if (!wxPyCheckForApp()) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= wxPyMake_wxObject(result
, 0);
7248 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
= 0;
7250 wxString
*arg1
= 0 ;
7252 bool temp1
= false ;
7253 PyObject
* obj0
= 0 ;
7254 char * kwnames
[] = {
7255 (char *) "url", NULL
7258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7260 arg1
= wxString_in_helper(obj0
);
7261 if (arg1
== NULL
) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7287 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
= 0;
7293 PyObject
* obj0
= 0 ;
7294 char * kwnames
[] = {
7295 (char *) "key", NULL
7298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7299 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7300 if (!SWIG_IsOK(ecode1
)) {
7301 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7303 arg1
= static_cast< wxKeyCode
>(val1
);
7305 if (!wxPyCheckForApp()) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (bool)wxGetKeyState(arg1
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7320 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7321 PyObject
*resultobj
= 0;
7322 wxMouseState
*result
= 0 ;
7324 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (wxMouseState
*)new wxMouseState();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7338 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7339 PyObject
*resultobj
= 0;
7340 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7343 PyObject
*swig_obj
[1] ;
7345 if (!args
) SWIG_fail
;
7347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7348 if (!SWIG_IsOK(res1
)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7351 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= SWIG_Py_Void();
7366 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7367 PyObject
*resultobj
= 0;
7368 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7372 PyObject
*swig_obj
[1] ;
7374 if (!args
) SWIG_fail
;
7376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7377 if (!SWIG_IsOK(res1
)) {
7378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7380 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (int)(arg1
)->GetX();
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_From_int(static_cast< int >(result
));
7394 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7395 PyObject
*resultobj
= 0;
7396 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7400 PyObject
*swig_obj
[1] ;
7402 if (!args
) SWIG_fail
;
7404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7405 if (!SWIG_IsOK(res1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7408 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (int)(arg1
)->GetY();
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_From_int(static_cast< int >(result
));
7422 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7423 PyObject
*resultobj
= 0;
7424 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7428 PyObject
*swig_obj
[1] ;
7430 if (!args
) SWIG_fail
;
7432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7433 if (!SWIG_IsOK(res1
)) {
7434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7436 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (bool)(arg1
)->LeftDown();
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7452 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7453 PyObject
*resultobj
= 0;
7454 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7458 PyObject
*swig_obj
[1] ;
7460 if (!args
) SWIG_fail
;
7462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7463 if (!SWIG_IsOK(res1
)) {
7464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7466 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 result
= (bool)(arg1
)->MiddleDown();
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7482 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7483 PyObject
*resultobj
= 0;
7484 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7488 PyObject
*swig_obj
[1] ;
7490 if (!args
) SWIG_fail
;
7492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7493 if (!SWIG_IsOK(res1
)) {
7494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7496 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (bool)(arg1
)->RightDown();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7512 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7513 PyObject
*resultobj
= 0;
7514 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7518 PyObject
*swig_obj
[1] ;
7520 if (!args
) SWIG_fail
;
7522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7523 if (!SWIG_IsOK(res1
)) {
7524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7526 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 result
= (bool)(arg1
)->ControlDown();
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7542 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7543 PyObject
*resultobj
= 0;
7544 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7548 PyObject
*swig_obj
[1] ;
7550 if (!args
) SWIG_fail
;
7552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7553 if (!SWIG_IsOK(res1
)) {
7554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7556 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (bool)(arg1
)->ShiftDown();
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7572 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7573 PyObject
*resultobj
= 0;
7574 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7578 PyObject
*swig_obj
[1] ;
7580 if (!args
) SWIG_fail
;
7582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7583 if (!SWIG_IsOK(res1
)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7586 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (bool)(arg1
)->AltDown();
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7602 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7603 PyObject
*resultobj
= 0;
7604 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7608 PyObject
*swig_obj
[1] ;
7610 if (!args
) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7616 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (bool)(arg1
)->MetaDown();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7632 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7633 PyObject
*resultobj
= 0;
7634 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7638 PyObject
*swig_obj
[1] ;
7640 if (!args
) SWIG_fail
;
7642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7643 if (!SWIG_IsOK(res1
)) {
7644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7646 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (bool)(arg1
)->CmdDown();
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7662 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
= 0;
7664 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7672 char * kwnames
[] = {
7673 (char *) "self",(char *) "x", NULL
7676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7678 if (!SWIG_IsOK(res1
)) {
7679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7681 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7683 if (!SWIG_IsOK(ecode2
)) {
7684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7686 arg2
= static_cast< int >(val2
);
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_Py_Void();
7700 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
= 0;
7702 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 char * kwnames
[] = {
7711 (char *) "self",(char *) "y", NULL
7714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7719 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7721 if (!SWIG_IsOK(ecode2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7724 arg2
= static_cast< int >(val2
);
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_Py_Void();
7738 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
= 0;
7740 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7746 PyObject
* obj0
= 0 ;
7747 PyObject
* obj1
= 0 ;
7748 char * kwnames
[] = {
7749 (char *) "self",(char *) "down", NULL
7752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7754 if (!SWIG_IsOK(res1
)) {
7755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7757 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7758 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7759 if (!SWIG_IsOK(ecode2
)) {
7760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7762 arg2
= static_cast< bool >(val2
);
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 (arg1
)->SetLeftDown(arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_Py_Void();
7776 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
= 0;
7778 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7784 PyObject
* obj0
= 0 ;
7785 PyObject
* obj1
= 0 ;
7786 char * kwnames
[] = {
7787 (char *) "self",(char *) "down", NULL
7790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7792 if (!SWIG_IsOK(res1
)) {
7793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7795 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7796 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7797 if (!SWIG_IsOK(ecode2
)) {
7798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7800 arg2
= static_cast< bool >(val2
);
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->SetMiddleDown(arg2
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_Py_Void();
7814 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= 0;
7816 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7824 char * kwnames
[] = {
7825 (char *) "self",(char *) "down", NULL
7828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7830 if (!SWIG_IsOK(res1
)) {
7831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7833 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7834 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7835 if (!SWIG_IsOK(ecode2
)) {
7836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7838 arg2
= static_cast< bool >(val2
);
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 (arg1
)->SetRightDown(arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_Py_Void();
7852 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
= 0;
7854 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7862 char * kwnames
[] = {
7863 (char *) "self",(char *) "down", NULL
7866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7868 if (!SWIG_IsOK(res1
)) {
7869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7871 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7873 if (!SWIG_IsOK(ecode2
)) {
7874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7876 arg2
= static_cast< bool >(val2
);
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 (arg1
)->SetControlDown(arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= SWIG_Py_Void();
7890 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
= 0;
7892 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7900 char * kwnames
[] = {
7901 (char *) "self",(char *) "down", NULL
7904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7909 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7910 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7911 if (!SWIG_IsOK(ecode2
)) {
7912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7914 arg2
= static_cast< bool >(val2
);
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 (arg1
)->SetShiftDown(arg2
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_Py_Void();
7928 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
= 0;
7930 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7938 char * kwnames
[] = {
7939 (char *) "self",(char *) "down", NULL
7942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7944 if (!SWIG_IsOK(res1
)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7947 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7949 if (!SWIG_IsOK(ecode2
)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7952 arg2
= static_cast< bool >(val2
);
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 (arg1
)->SetAltDown(arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_Py_Void();
7966 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
= 0;
7968 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7976 char * kwnames
[] = {
7977 (char *) "self",(char *) "down", NULL
7980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7982 if (!SWIG_IsOK(res1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7985 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7986 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7987 if (!SWIG_IsOK(ecode2
)) {
7988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7990 arg2
= static_cast< bool >(val2
);
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 (arg1
)->SetMetaDown(arg2
);
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_Py_Void();
8004 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8007 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
8008 return SWIG_Py_Void();
8011 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8012 return SWIG_Python_InitShadowInstance(args
);
8015 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8016 PyObject
*resultobj
= 0;
8017 wxMouseState result
;
8019 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= wxGetMouseState();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8033 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8034 PyObject
*resultobj
= 0;
8036 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8038 if (!wxPyCheckForApp()) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 wxWakeUpMainThread();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_Py_Void();
8051 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8052 PyObject
*resultobj
= 0;
8054 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8056 if (!wxPyCheckForApp()) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= SWIG_Py_Void();
8069 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8070 PyObject
*resultobj
= 0;
8072 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8074 if (!wxPyCheckForApp()) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_Py_Void();
8087 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8088 PyObject
*resultobj
= 0;
8089 wxMutexGuiLocker
*result
= 0 ;
8091 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8093 if (!wxPyCheckForApp()) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8106 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8107 PyObject
*resultobj
= 0;
8108 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8111 PyObject
*swig_obj
[1] ;
8113 if (!args
) SWIG_fail
;
8115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8116 if (!SWIG_IsOK(res1
)) {
8117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8119 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_Py_Void();
8134 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8137 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8138 return SWIG_Py_Void();
8141 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8142 return SWIG_Python_InitShadowInstance(args
);
8145 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8146 PyObject
*resultobj
= 0;
8149 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (bool)wxThread_IsMain();
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8165 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
= 0;
8167 wxString
*arg1
= 0 ;
8168 wxToolTip
*result
= 0 ;
8169 bool temp1
= false ;
8170 PyObject
* obj0
= 0 ;
8171 char * kwnames
[] = {
8172 (char *) "tip", NULL
8175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8177 arg1
= wxString_in_helper(obj0
);
8178 if (arg1
== NULL
) SWIG_fail
;
8182 if (!wxPyCheckForApp()) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8203 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8204 PyObject
*resultobj
= 0;
8205 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8208 PyObject
*swig_obj
[1] ;
8210 if (!args
) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8216 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= SWIG_Py_Void();
8231 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
= 0;
8233 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8234 wxString
*arg2
= 0 ;
8237 bool temp2
= false ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8240 char * kwnames
[] = {
8241 (char *) "self",(char *) "tip", NULL
8244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8246 if (!SWIG_IsOK(res1
)) {
8247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8249 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8251 arg2
= wxString_in_helper(obj1
);
8252 if (arg2
== NULL
) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 (arg1
)->SetTip((wxString
const &)*arg2
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= SWIG_Py_Void();
8276 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8277 PyObject
*resultobj
= 0;
8278 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8282 PyObject
*swig_obj
[1] ;
8284 if (!args
) SWIG_fail
;
8286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8287 if (!SWIG_IsOK(res1
)) {
8288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8290 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= (arg1
)->GetTip();
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8310 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8311 PyObject
*resultobj
= 0;
8312 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8313 wxWindow
*result
= 0 ;
8316 PyObject
*swig_obj
[1] ;
8318 if (!args
) SWIG_fail
;
8320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8321 if (!SWIG_IsOK(res1
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8324 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (wxWindow
*)(arg1
)->GetWindow();
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= wxPyMake_wxObject(result
, 0);
8340 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
= 0;
8345 PyObject
* obj0
= 0 ;
8346 char * kwnames
[] = {
8347 (char *) "flag", NULL
8350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8351 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8352 if (!SWIG_IsOK(ecode1
)) {
8353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8355 arg1
= static_cast< bool >(val1
);
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 wxToolTip::Enable(arg1
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_Py_Void();
8369 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
= 0;
8374 PyObject
* obj0
= 0 ;
8375 char * kwnames
[] = {
8376 (char *) "milliseconds", NULL
8379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8380 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8381 if (!SWIG_IsOK(ecode1
)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8384 arg1
= static_cast< long >(val1
);
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 wxToolTip::SetDelay(arg1
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_Py_Void();
8398 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8401 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8402 return SWIG_Py_Void();
8405 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8406 return SWIG_Python_InitShadowInstance(args
);
8409 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
= 0;
8411 wxWindow
*arg1
= (wxWindow
*) 0 ;
8413 wxCaret
*result
= 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 char * kwnames
[] = {
8420 (char *) "window",(char *) "size", NULL
8423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8425 if (!SWIG_IsOK(res1
)) {
8426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8431 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8434 if (!wxPyCheckForApp()) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8447 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8448 PyObject
*resultobj
= 0;
8449 wxCaret
*arg1
= (wxCaret
*) 0 ;
8452 PyObject
*swig_obj
[1] ;
8454 if (!args
) SWIG_fail
;
8456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8457 if (!SWIG_IsOK(res1
)) {
8458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8460 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 resultobj
= SWIG_Py_Void();
8475 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8476 PyObject
*resultobj
= 0;
8477 wxCaret
*arg1
= (wxCaret
*) 0 ;
8480 PyObject
*swig_obj
[1] ;
8482 if (!args
) SWIG_fail
;
8484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8485 if (!SWIG_IsOK(res1
)) {
8486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8488 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 wxCaret_Destroy(arg1
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_Py_Void();
8502 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 PyObject
*resultobj
= 0;
8504 wxCaret
*arg1
= (wxCaret
*) 0 ;
8508 PyObject
*swig_obj
[1] ;
8510 if (!args
) SWIG_fail
;
8512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8513 if (!SWIG_IsOK(res1
)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8516 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (bool)(arg1
)->IsOk();
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8532 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8533 PyObject
*resultobj
= 0;
8534 wxCaret
*arg1
= (wxCaret
*) 0 ;
8538 PyObject
*swig_obj
[1] ;
8540 if (!args
) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8546 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (bool)(arg1
)->IsVisible();
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8562 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8563 PyObject
*resultobj
= 0;
8564 wxCaret
*arg1
= (wxCaret
*) 0 ;
8568 PyObject
*swig_obj
[1] ;
8570 if (!args
) SWIG_fail
;
8572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8573 if (!SWIG_IsOK(res1
)) {
8574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8576 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (arg1
)->GetPosition();
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8590 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8591 PyObject
*resultobj
= 0;
8592 wxCaret
*arg1
= (wxCaret
*) 0 ;
8593 int *arg2
= (int *) 0 ;
8594 int *arg3
= (int *) 0 ;
8598 int res2
= SWIG_TMPOBJ
;
8600 int res3
= SWIG_TMPOBJ
;
8601 PyObject
*swig_obj
[1] ;
8605 if (!args
) SWIG_fail
;
8607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8608 if (!SWIG_IsOK(res1
)) {
8609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8611 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 (arg1
)->GetPosition(arg2
,arg3
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= SWIG_Py_Void();
8619 if (SWIG_IsTmpObj(res2
)) {
8620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8622 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8625 if (SWIG_IsTmpObj(res3
)) {
8626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8628 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8637 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8638 PyObject
*resultobj
= 0;
8639 wxCaret
*arg1
= (wxCaret
*) 0 ;
8643 PyObject
*swig_obj
[1] ;
8645 if (!args
) SWIG_fail
;
8647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8648 if (!SWIG_IsOK(res1
)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8651 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (arg1
)->GetSize();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8665 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8666 PyObject
*resultobj
= 0;
8667 wxCaret
*arg1
= (wxCaret
*) 0 ;
8668 int *arg2
= (int *) 0 ;
8669 int *arg3
= (int *) 0 ;
8673 int res2
= SWIG_TMPOBJ
;
8675 int res3
= SWIG_TMPOBJ
;
8676 PyObject
*swig_obj
[1] ;
8680 if (!args
) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8686 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 (arg1
)->GetSize(arg2
,arg3
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_Py_Void();
8694 if (SWIG_IsTmpObj(res2
)) {
8695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8697 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8700 if (SWIG_IsTmpObj(res3
)) {
8701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8703 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8712 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8713 PyObject
*resultobj
= 0;
8714 wxCaret
*arg1
= (wxCaret
*) 0 ;
8715 wxWindow
*result
= 0 ;
8718 PyObject
*swig_obj
[1] ;
8720 if (!args
) SWIG_fail
;
8722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8723 if (!SWIG_IsOK(res1
)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8726 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 result
= (wxWindow
*)(arg1
)->GetWindow();
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8734 resultobj
= wxPyMake_wxObject(result
, 0);
8742 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
= 0;
8744 wxCaret
*arg1
= (wxCaret
*) 0 ;
8753 PyObject
* obj0
= 0 ;
8754 PyObject
* obj1
= 0 ;
8755 PyObject
* obj2
= 0 ;
8756 char * kwnames
[] = {
8757 (char *) "self",(char *) "x",(char *) "y", NULL
8760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8762 if (!SWIG_IsOK(res1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8765 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8767 if (!SWIG_IsOK(ecode2
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8770 arg2
= static_cast< int >(val2
);
8771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8772 if (!SWIG_IsOK(ecode3
)) {
8773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8775 arg3
= static_cast< int >(val3
);
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->Move(arg2
,arg3
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= SWIG_Py_Void();
8789 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
= 0;
8791 wxCaret
*arg1
= (wxCaret
*) 0 ;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 char * kwnames
[] = {
8799 (char *) "self",(char *) "pt", NULL
8802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8804 if (!SWIG_IsOK(res1
)) {
8805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8807 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 (arg1
)->Move((wxPoint
const &)*arg2
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_Py_Void();
8825 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
= 0;
8827 wxCaret
*arg1
= (wxCaret
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8838 PyObject
* obj2
= 0 ;
8839 char * kwnames
[] = {
8840 (char *) "self",(char *) "width",(char *) "height", NULL
8843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8845 if (!SWIG_IsOK(res1
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8848 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8850 if (!SWIG_IsOK(ecode2
)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8853 arg2
= static_cast< int >(val2
);
8854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8855 if (!SWIG_IsOK(ecode3
)) {
8856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8858 arg3
= static_cast< int >(val3
);
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 (arg1
)->SetSize(arg2
,arg3
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= SWIG_Py_Void();
8872 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
= 0;
8874 wxCaret
*arg1
= (wxCaret
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 char * kwnames
[] = {
8882 (char *) "self",(char *) "size", NULL
8885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",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_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8890 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8893 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 (arg1
)->SetSize((wxSize
const &)*arg2
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= SWIG_Py_Void();
8908 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
= 0;
8910 wxCaret
*arg1
= (wxCaret
*) 0 ;
8911 int arg2
= (int) true ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8918 char * kwnames
[] = {
8919 (char *) "self",(char *) "show", NULL
8922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8924 if (!SWIG_IsOK(res1
)) {
8925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8927 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8930 if (!SWIG_IsOK(ecode2
)) {
8931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8933 arg2
= static_cast< int >(val2
);
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= SWIG_Py_Void();
8948 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8949 PyObject
*resultobj
= 0;
8950 wxCaret
*arg1
= (wxCaret
*) 0 ;
8953 PyObject
*swig_obj
[1] ;
8955 if (!args
) SWIG_fail
;
8957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8958 if (!SWIG_IsOK(res1
)) {
8959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8961 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= SWIG_Py_Void();
8975 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8976 PyObject
*resultobj
= 0;
8979 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= (int)wxCaret::GetBlinkTime();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_From_int(static_cast< int >(result
));
8993 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
= 0;
8998 PyObject
* obj0
= 0 ;
8999 char * kwnames
[] = {
9000 (char *) "milliseconds", NULL
9003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
9004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9005 if (!SWIG_IsOK(ecode1
)) {
9006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
9008 arg1
= static_cast< int >(val1
);
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 wxCaret::SetBlinkTime(arg1
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_Py_Void();
9022 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9025 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
9026 return SWIG_Py_Void();
9029 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9030 return SWIG_Python_InitShadowInstance(args
);
9033 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
= 0;
9035 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9036 wxBusyCursor
*result
= 0 ;
9039 PyObject
* obj0
= 0 ;
9040 char * kwnames
[] = {
9041 (char *) "cursor", NULL
9044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9047 if (!SWIG_IsOK(res1
)) {
9048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9050 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9053 if (!wxPyCheckForApp()) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9066 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9067 PyObject
*resultobj
= 0;
9068 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9071 PyObject
*swig_obj
[1] ;
9073 if (!args
) SWIG_fail
;
9075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9076 if (!SWIG_IsOK(res1
)) {
9077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9079 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= SWIG_Py_Void();
9094 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9097 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9098 return SWIG_Py_Void();
9101 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9102 return SWIG_Python_InitShadowInstance(args
);
9105 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
= 0;
9107 wxWindow
*arg1
= (wxWindow
*) NULL
;
9108 wxWindowDisabler
*result
= 0 ;
9111 PyObject
* obj0
= 0 ;
9112 char * kwnames
[] = {
9113 (char *) "winToSkip", NULL
9116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9119 if (!SWIG_IsOK(res1
)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9125 if (!wxPyCheckForApp()) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9138 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9139 PyObject
*resultobj
= 0;
9140 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9143 PyObject
*swig_obj
[1] ;
9145 if (!args
) SWIG_fail
;
9147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9148 if (!SWIG_IsOK(res1
)) {
9149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9151 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_Py_Void();
9166 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9169 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9170 return SWIG_Py_Void();
9173 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9174 return SWIG_Python_InitShadowInstance(args
);
9177 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
= 0;
9179 wxString
*arg1
= 0 ;
9180 wxBusyInfo
*result
= 0 ;
9181 bool temp1
= false ;
9182 PyObject
* obj0
= 0 ;
9183 char * kwnames
[] = {
9184 (char *) "message", NULL
9187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9189 arg1
= wxString_in_helper(obj0
);
9190 if (arg1
== NULL
) SWIG_fail
;
9194 if (!wxPyCheckForApp()) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9215 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9216 PyObject
*resultobj
= 0;
9217 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9220 PyObject
*swig_obj
[1] ;
9222 if (!args
) SWIG_fail
;
9224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9225 if (!SWIG_IsOK(res1
)) {
9226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9228 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_Py_Void();
9243 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9246 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9247 return SWIG_Py_Void();
9250 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9251 return SWIG_Python_InitShadowInstance(args
);
9254 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9255 PyObject
*resultobj
= 0;
9256 wxStopWatch
*result
= 0 ;
9258 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (wxStopWatch
*)new wxStopWatch();
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9272 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
= 0;
9274 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9275 long arg2
= (long) 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9282 char * kwnames
[] = {
9283 (char *) "self",(char *) "t0", NULL
9286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9291 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9293 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9294 if (!SWIG_IsOK(ecode2
)) {
9295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9297 arg2
= static_cast< long >(val2
);
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 (arg1
)->Start(arg2
);
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_Py_Void();
9312 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9313 PyObject
*resultobj
= 0;
9314 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9325 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_Py_Void();
9339 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 PyObject
*resultobj
= 0;
9341 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9344 PyObject
*swig_obj
[1] ;
9346 if (!args
) SWIG_fail
;
9348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9349 if (!SWIG_IsOK(res1
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9352 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= SWIG_Py_Void();
9366 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9367 PyObject
*resultobj
= 0;
9368 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9372 PyObject
*swig_obj
[1] ;
9374 if (!args
) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9380 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_From_long(static_cast< long >(result
));
9394 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9397 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9398 return SWIG_Py_Void();
9401 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9402 return SWIG_Python_InitShadowInstance(args
);
9405 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
= 0;
9407 int arg1
= (int) 9 ;
9408 int arg2
= (int) wxID_FILE1
;
9409 wxFileHistory
*result
= 0 ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9416 char * kwnames
[] = {
9417 (char *) "maxFiles",(char *) "idBase", NULL
9420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9423 if (!SWIG_IsOK(ecode1
)) {
9424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9426 arg1
= static_cast< int >(val1
);
9429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9430 if (!SWIG_IsOK(ecode2
)) {
9431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9433 arg2
= static_cast< int >(val2
);
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9448 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9449 PyObject
*resultobj
= 0;
9450 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9453 PyObject
*swig_obj
[1] ;
9455 if (!args
) SWIG_fail
;
9457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9458 if (!SWIG_IsOK(res1
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9461 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= SWIG_Py_Void();
9476 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
= 0;
9478 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9479 wxString
*arg2
= 0 ;
9482 bool temp2
= false ;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9485 char * kwnames
[] = {
9486 (char *) "self",(char *) "file", NULL
9489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9494 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9496 arg2
= wxString_in_helper(obj1
);
9497 if (arg2
== NULL
) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_Py_Void();
9521 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
= 0;
9523 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9529 PyObject
* obj0
= 0 ;
9530 PyObject
* obj1
= 0 ;
9531 char * kwnames
[] = {
9532 (char *) "self",(char *) "i", NULL
9535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9537 if (!SWIG_IsOK(res1
)) {
9538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9540 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9542 if (!SWIG_IsOK(ecode2
)) {
9543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9545 arg2
= static_cast< int >(val2
);
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 (arg1
)->RemoveFileFromHistory(arg2
);
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= SWIG_Py_Void();
9559 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9560 PyObject
*resultobj
= 0;
9561 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9565 PyObject
*swig_obj
[1] ;
9567 if (!args
) SWIG_fail
;
9569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9570 if (!SWIG_IsOK(res1
)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9573 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= SWIG_From_int(static_cast< int >(result
));
9587 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
= 0;
9589 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9590 wxMenu
*arg2
= (wxMenu
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9597 char * kwnames
[] = {
9598 (char *) "self",(char *) "menu", NULL
9601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9603 if (!SWIG_IsOK(res1
)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9606 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9608 if (!SWIG_IsOK(res2
)) {
9609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9611 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->UseMenu(arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_Py_Void();
9625 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
= 0;
9627 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9628 wxMenu
*arg2
= (wxMenu
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 char * kwnames
[] = {
9636 (char *) "self",(char *) "menu", NULL
9639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9641 if (!SWIG_IsOK(res1
)) {
9642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9644 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9646 if (!SWIG_IsOK(res2
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9649 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 (arg1
)->RemoveMenu(arg2
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_Py_Void();
9663 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= 0;
9665 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9666 wxConfigBase
*arg2
= 0 ;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9673 char * kwnames
[] = {
9674 (char *) "self",(char *) "config", NULL
9677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9682 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9684 if (!SWIG_IsOK(res2
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9690 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 (arg1
)->Load(*arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_Py_Void();
9704 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
= 0;
9706 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9707 wxConfigBase
*arg2
= 0 ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 char * kwnames
[] = {
9715 (char *) "self",(char *) "config", NULL
9718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9720 if (!SWIG_IsOK(res1
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9723 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9725 if (!SWIG_IsOK(res2
)) {
9726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9731 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 (arg1
)->Save(*arg2
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_Py_Void();
9745 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9746 PyObject
*resultobj
= 0;
9747 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9750 PyObject
*swig_obj
[1] ;
9752 if (!args
) SWIG_fail
;
9754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9755 if (!SWIG_IsOK(res1
)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9758 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 (arg1
)->AddFilesToMenu();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_Py_Void();
9772 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
= 0;
9774 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9775 wxMenu
*arg2
= (wxMenu
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj1
= 0 ;
9782 char * kwnames
[] = {
9783 (char *) "self",(char *) "menu", NULL
9786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9791 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9793 if (!SWIG_IsOK(res2
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9796 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 (arg1
)->AddFilesToMenu(arg2
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= SWIG_Py_Void();
9810 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= 0;
9812 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9821 char * kwnames
[] = {
9822 (char *) "self",(char *) "i", NULL
9825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9827 if (!SWIG_IsOK(res1
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9830 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9832 if (!SWIG_IsOK(ecode2
)) {
9833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9835 arg2
= static_cast< int >(val2
);
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9855 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9856 PyObject
*resultobj
= 0;
9857 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9861 PyObject
*swig_obj
[1] ;
9863 if (!args
) SWIG_fail
;
9865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9866 if (!SWIG_IsOK(res1
)) {
9867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9869 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= SWIG_From_int(static_cast< int >(result
));
9883 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9886 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9887 return SWIG_Py_Void();
9890 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9891 return SWIG_Python_InitShadowInstance(args
);
9894 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
= 0;
9896 wxString
*arg1
= 0 ;
9897 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9898 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9899 wxSingleInstanceChecker
*result
= 0 ;
9900 bool temp1
= false ;
9901 bool temp2
= false ;
9902 PyObject
* obj0
= 0 ;
9903 PyObject
* obj1
= 0 ;
9904 char * kwnames
[] = {
9905 (char *) "name",(char *) "path", NULL
9908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9910 arg1
= wxString_in_helper(obj0
);
9911 if (arg1
== NULL
) SWIG_fail
;
9916 arg2
= wxString_in_helper(obj1
);
9917 if (arg2
== NULL
) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9950 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9951 PyObject
*resultobj
= 0;
9952 wxSingleInstanceChecker
*result
= 0 ;
9954 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9968 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9969 PyObject
*resultobj
= 0;
9970 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9973 PyObject
*swig_obj
[1] ;
9975 if (!args
) SWIG_fail
;
9977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9978 if (!SWIG_IsOK(res1
)) {
9979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9981 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= SWIG_Py_Void();
9996 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
= 0;
9998 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9999 wxString
*arg2
= 0 ;
10000 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10001 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10005 bool temp2
= false ;
10006 bool temp3
= false ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 PyObject
* obj2
= 0 ;
10010 char * kwnames
[] = {
10011 (char *) "self",(char *) "name",(char *) "path", NULL
10014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10016 if (!SWIG_IsOK(res1
)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10019 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10021 arg2
= wxString_in_helper(obj1
);
10022 if (arg2
== NULL
) SWIG_fail
;
10027 arg3
= wxString_in_helper(obj2
);
10028 if (arg3
== NULL
) SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10063 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10064 PyObject
*resultobj
= 0;
10065 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10069 PyObject
*swig_obj
[1] ;
10071 if (!args
) SWIG_fail
;
10072 swig_obj
[0] = args
;
10073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10074 if (!SWIG_IsOK(res1
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10077 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10093 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10096 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10097 return SWIG_Py_Void();
10100 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10101 return SWIG_Python_InitShadowInstance(args
);
10104 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10105 PyObject
*resultobj
= 0;
10106 wxPlatformInfo
*result
= 0 ;
10108 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10122 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
= 0;
10124 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10125 wxPlatformInfo
*arg2
= 0 ;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 char * kwnames
[] = {
10134 (char *) "self",(char *) "t", NULL
10137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10139 if (!SWIG_IsOK(res1
)) {
10140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10142 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10144 if (!SWIG_IsOK(res2
)) {
10145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10150 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10166 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
= 0;
10168 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10169 wxPlatformInfo
*arg2
= 0 ;
10175 PyObject
* obj0
= 0 ;
10176 PyObject
* obj1
= 0 ;
10177 char * kwnames
[] = {
10178 (char *) "self",(char *) "t", NULL
10181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10183 if (!SWIG_IsOK(res1
)) {
10184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10186 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10188 if (!SWIG_IsOK(res2
)) {
10189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10194 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10210 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10211 PyObject
*resultobj
= 0;
10212 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10216 PyObject
*swig_obj
[1] ;
10218 if (!args
) SWIG_fail
;
10219 swig_obj
[0] = args
;
10220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10221 if (!SWIG_IsOK(res1
)) {
10222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10224 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_From_int(static_cast< int >(result
));
10238 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10239 PyObject
*resultobj
= 0;
10240 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10244 PyObject
*swig_obj
[1] ;
10246 if (!args
) SWIG_fail
;
10247 swig_obj
[0] = args
;
10248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10252 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_From_int(static_cast< int >(result
));
10266 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10267 PyObject
*resultobj
= 0;
10268 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10272 PyObject
*swig_obj
[1] ;
10274 if (!args
) SWIG_fail
;
10275 swig_obj
[0] = args
;
10276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10277 if (!SWIG_IsOK(res1
)) {
10278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10280 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_From_int(static_cast< int >(result
));
10294 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10295 PyObject
*resultobj
= 0;
10296 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10300 PyObject
*swig_obj
[1] ;
10302 if (!args
) SWIG_fail
;
10303 swig_obj
[0] = args
;
10304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10305 if (!SWIG_IsOK(res1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10308 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_From_int(static_cast< int >(result
));
10322 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10323 PyObject
*resultobj
= 0;
10324 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10328 PyObject
*swig_obj
[1] ;
10330 if (!args
) SWIG_fail
;
10331 swig_obj
[0] = args
;
10332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10333 if (!SWIG_IsOK(res1
)) {
10334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10336 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10352 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10353 PyObject
*resultobj
= 0;
10354 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10355 wxOperatingSystemId result
;
10358 PyObject
*swig_obj
[1] ;
10360 if (!args
) SWIG_fail
;
10361 swig_obj
[0] = args
;
10362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10366 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= SWIG_From_int(static_cast< int >(result
));
10380 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10381 PyObject
*resultobj
= 0;
10382 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10386 PyObject
*swig_obj
[1] ;
10388 if (!args
) SWIG_fail
;
10389 swig_obj
[0] = args
;
10390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10391 if (!SWIG_IsOK(res1
)) {
10392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10394 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= SWIG_From_int(static_cast< int >(result
));
10408 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10409 PyObject
*resultobj
= 0;
10410 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10411 wxArchitecture result
;
10414 PyObject
*swig_obj
[1] ;
10416 if (!args
) SWIG_fail
;
10417 swig_obj
[0] = args
;
10418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10419 if (!SWIG_IsOK(res1
)) {
10420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10422 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= SWIG_From_int(static_cast< int >(result
));
10436 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10437 PyObject
*resultobj
= 0;
10438 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10439 wxEndianness result
;
10442 PyObject
*swig_obj
[1] ;
10444 if (!args
) SWIG_fail
;
10445 swig_obj
[0] = args
;
10446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10447 if (!SWIG_IsOK(res1
)) {
10448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10450 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_From_int(static_cast< int >(result
));
10464 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10465 PyObject
*resultobj
= 0;
10466 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10470 PyObject
*swig_obj
[1] ;
10472 if (!args
) SWIG_fail
;
10473 swig_obj
[0] = args
;
10474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10475 if (!SWIG_IsOK(res1
)) {
10476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10478 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10498 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10499 PyObject
*resultobj
= 0;
10500 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10504 PyObject
*swig_obj
[1] ;
10506 if (!args
) SWIG_fail
;
10507 swig_obj
[0] = args
;
10508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10509 if (!SWIG_IsOK(res1
)) {
10510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10512 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10532 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10533 PyObject
*resultobj
= 0;
10534 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10538 PyObject
*swig_obj
[1] ;
10540 if (!args
) SWIG_fail
;
10541 swig_obj
[0] = args
;
10542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10543 if (!SWIG_IsOK(res1
)) {
10544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10546 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10566 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10567 PyObject
*resultobj
= 0;
10568 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10572 PyObject
*swig_obj
[1] ;
10574 if (!args
) SWIG_fail
;
10575 swig_obj
[0] = args
;
10576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10577 if (!SWIG_IsOK(res1
)) {
10578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10580 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10600 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10601 PyObject
*resultobj
= 0;
10602 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10606 PyObject
*swig_obj
[1] ;
10608 if (!args
) SWIG_fail
;
10609 swig_obj
[0] = args
;
10610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10611 if (!SWIG_IsOK(res1
)) {
10612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10614 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10634 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10635 PyObject
*resultobj
= 0;
10636 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10640 PyObject
*swig_obj
[1] ;
10642 if (!args
) SWIG_fail
;
10643 swig_obj
[0] = args
;
10644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10645 if (!SWIG_IsOK(res1
)) {
10646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10648 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10668 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
= 0;
10670 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 PyObject
* obj2
= 0 ;
10682 char * kwnames
[] = {
10683 (char *) "self",(char *) "major",(char *) "minor", NULL
10686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10688 if (!SWIG_IsOK(res1
)) {
10689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10691 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10693 if (!SWIG_IsOK(ecode2
)) {
10694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10696 arg2
= static_cast< int >(val2
);
10697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10698 if (!SWIG_IsOK(ecode3
)) {
10699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10701 arg3
= static_cast< int >(val3
);
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 (arg1
)->SetOSVersion(arg2
,arg3
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_Py_Void();
10715 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
= 0;
10717 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 PyObject
* obj2
= 0 ;
10729 char * kwnames
[] = {
10730 (char *) "self",(char *) "major",(char *) "minor", NULL
10733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10738 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10740 if (!SWIG_IsOK(ecode2
)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10743 arg2
= static_cast< int >(val2
);
10744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10745 if (!SWIG_IsOK(ecode3
)) {
10746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10748 arg3
= static_cast< int >(val3
);
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= SWIG_Py_Void();
10762 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
= 0;
10764 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10765 wxOperatingSystemId arg2
;
10770 PyObject
* obj0
= 0 ;
10771 PyObject
* obj1
= 0 ;
10772 char * kwnames
[] = {
10773 (char *) "self",(char *) "n", NULL
10776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10778 if (!SWIG_IsOK(res1
)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10781 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10783 if (!SWIG_IsOK(ecode2
)) {
10784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10786 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 (arg1
)->SetOperatingSystemId(arg2
);
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= SWIG_Py_Void();
10800 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
= 0;
10802 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 PyObject
* obj1
= 0 ;
10810 char * kwnames
[] = {
10811 (char *) "self",(char *) "n", NULL
10814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10816 if (!SWIG_IsOK(res1
)) {
10817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10819 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10821 if (!SWIG_IsOK(ecode2
)) {
10822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10824 arg2
= static_cast< wxPortId
>(val2
);
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 (arg1
)->SetPortId(arg2
);
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= SWIG_Py_Void();
10838 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
= 0;
10840 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10841 wxArchitecture arg2
;
10846 PyObject
* obj0
= 0 ;
10847 PyObject
* obj1
= 0 ;
10848 char * kwnames
[] = {
10849 (char *) "self",(char *) "n", NULL
10852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10854 if (!SWIG_IsOK(res1
)) {
10855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10857 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10859 if (!SWIG_IsOK(ecode2
)) {
10860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
10862 arg2
= static_cast< wxArchitecture
>(val2
);
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 (arg1
)->SetArchitecture(arg2
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_Py_Void();
10876 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
= 0;
10878 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10879 wxEndianness arg2
;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 char * kwnames
[] = {
10887 (char *) "self",(char *) "n", NULL
10890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10892 if (!SWIG_IsOK(res1
)) {
10893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10895 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10897 if (!SWIG_IsOK(ecode2
)) {
10898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
10900 arg2
= static_cast< wxEndianness
>(val2
);
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 (arg1
)->SetEndianness(arg2
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= SWIG_Py_Void();
10914 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10915 PyObject
*resultobj
= 0;
10916 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10920 PyObject
*swig_obj
[1] ;
10922 if (!args
) SWIG_fail
;
10923 swig_obj
[0] = args
;
10924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10925 if (!SWIG_IsOK(res1
)) {
10926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10928 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10944 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10947 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
10948 return SWIG_Py_Void();
10951 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10952 return SWIG_Python_InitShadowInstance(args
);
10955 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
= 0;
10957 wxWindow
*arg1
= (wxWindow
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 char * kwnames
[] = {
10967 (char *) "window",(char *) "dc", NULL
10970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10972 if (!SWIG_IsOK(res1
)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
10975 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
10977 if (!SWIG_IsOK(res2
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10983 arg2
= reinterpret_cast< wxDC
* >(argp2
);
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10999 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11000 PyObject
*resultobj
= 0;
11001 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11004 PyObject
*swig_obj
[1] ;
11006 if (!args
) SWIG_fail
;
11007 swig_obj
[0] = args
;
11008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11009 if (!SWIG_IsOK(res1
)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11012 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 resultobj
= SWIG_Py_Void();
11027 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11028 PyObject
*resultobj
= 0;
11029 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11033 PyObject
*swig_obj
[1] ;
11035 if (!args
) SWIG_fail
;
11036 swig_obj
[0] = args
;
11037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11038 if (!SWIG_IsOK(res1
)) {
11039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11041 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= (arg1
)->GetTip();
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11061 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11062 PyObject
*resultobj
= 0;
11063 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11067 PyObject
*swig_obj
[1] ;
11069 if (!args
) SWIG_fail
;
11070 swig_obj
[0] = args
;
11071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11072 if (!SWIG_IsOK(res1
)) {
11073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11075 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (size_t)(arg1
)->GetCurrentTip();
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11089 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
= 0;
11091 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11092 wxString
*arg2
= 0 ;
11096 bool temp2
= false ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 char * kwnames
[] = {
11100 (char *) "self",(char *) "tip", NULL
11103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11105 if (!SWIG_IsOK(res1
)) {
11106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11108 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11110 arg2
= wxString_in_helper(obj1
);
11111 if (arg2
== NULL
) SWIG_fail
;
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11141 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11144 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11145 return SWIG_Py_Void();
11148 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
= 0;
11151 wxPyTipProvider
*result
= 0 ;
11154 PyObject
* obj0
= 0 ;
11155 char * kwnames
[] = {
11156 (char *) "currentTip", NULL
11159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11160 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11161 if (!SWIG_IsOK(ecode1
)) {
11162 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11164 arg1
= static_cast< size_t >(val1
);
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11178 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
= 0;
11180 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11181 PyObject
*arg2
= (PyObject
*) 0 ;
11182 PyObject
*arg3
= (PyObject
*) 0 ;
11185 PyObject
* obj0
= 0 ;
11186 PyObject
* obj1
= 0 ;
11187 PyObject
* obj2
= 0 ;
11188 char * kwnames
[] = {
11189 (char *) "self",(char *) "self",(char *) "_class", NULL
11192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11194 if (!SWIG_IsOK(res1
)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11197 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= SWIG_Py_Void();
11213 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11216 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11217 return SWIG_Py_Void();
11220 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11221 return SWIG_Python_InitShadowInstance(args
);
11224 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
= 0;
11226 wxWindow
*arg1
= (wxWindow
*) 0 ;
11227 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11228 bool arg3
= (bool) true ;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 PyObject
* obj2
= 0 ;
11239 char * kwnames
[] = {
11240 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11245 if (!SWIG_IsOK(res1
)) {
11246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11248 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11250 if (!SWIG_IsOK(res2
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11253 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11255 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11256 if (!SWIG_IsOK(ecode3
)) {
11257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11259 arg3
= static_cast< bool >(val3
);
11262 if (!wxPyCheckForApp()) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11277 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
= 0;
11279 wxString
*arg1
= 0 ;
11281 wxTipProvider
*result
= 0 ;
11282 bool temp1
= false ;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 char * kwnames
[] = {
11288 (char *) "filename",(char *) "currentTip", NULL
11291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11293 arg1
= wxString_in_helper(obj0
);
11294 if (arg1
== NULL
) SWIG_fail
;
11297 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11298 if (!SWIG_IsOK(ecode2
)) {
11299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11301 arg2
= static_cast< size_t >(val2
);
11303 if (!wxPyCheckForApp()) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11324 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
= 0;
11326 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11327 int arg2
= (int) wxID_ANY
;
11328 wxPyTimer
*result
= 0 ;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 char * kwnames
[] = {
11336 (char *) "owner",(char *) "id", NULL
11339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11342 if (!SWIG_IsOK(res1
)) {
11343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11345 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11349 if (!SWIG_IsOK(ecode2
)) {
11350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11352 arg2
= static_cast< int >(val2
);
11355 if (!wxPyCheckForApp()) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11368 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11369 PyObject
*resultobj
= 0;
11370 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11373 PyObject
*swig_obj
[1] ;
11375 if (!args
) SWIG_fail
;
11376 swig_obj
[0] = args
;
11377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11378 if (!SWIG_IsOK(res1
)) {
11379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11381 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_Py_Void();
11396 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
= 0;
11398 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11399 PyObject
*arg2
= (PyObject
*) 0 ;
11400 PyObject
*arg3
= (PyObject
*) 0 ;
11401 int arg4
= (int) 1 ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 PyObject
* obj2
= 0 ;
11409 PyObject
* obj3
= 0 ;
11410 char * kwnames
[] = {
11411 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11416 if (!SWIG_IsOK(res1
)) {
11417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11419 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11424 if (!SWIG_IsOK(ecode4
)) {
11425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11427 arg4
= static_cast< int >(val4
);
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= SWIG_Py_Void();
11442 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
= 0;
11444 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11445 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11446 int arg3
= (int) wxID_ANY
;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 PyObject
* obj2
= 0 ;
11456 char * kwnames
[] = {
11457 (char *) "self",(char *) "owner",(char *) "id", NULL
11460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11462 if (!SWIG_IsOK(res1
)) {
11463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11465 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11466 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11467 if (!SWIG_IsOK(res2
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11470 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11473 if (!SWIG_IsOK(ecode3
)) {
11474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11476 arg3
= static_cast< int >(val3
);
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 (arg1
)->SetOwner(arg2
,arg3
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_Py_Void();
11491 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11492 PyObject
*resultobj
= 0;
11493 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11494 wxEvtHandler
*result
= 0 ;
11497 PyObject
*swig_obj
[1] ;
11499 if (!args
) SWIG_fail
;
11500 swig_obj
[0] = args
;
11501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11502 if (!SWIG_IsOK(res1
)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11505 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= wxPyMake_wxObject(result
, 0);
11521 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
= 0;
11523 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11524 int arg2
= (int) -1 ;
11525 bool arg3
= (bool) false ;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 PyObject
* obj2
= 0 ;
11536 char * kwnames
[] = {
11537 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11542 if (!SWIG_IsOK(res1
)) {
11543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11545 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11548 if (!SWIG_IsOK(ecode2
)) {
11549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11551 arg2
= static_cast< int >(val2
);
11554 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11555 if (!SWIG_IsOK(ecode3
)) {
11556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11558 arg3
= static_cast< bool >(val3
);
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11575 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11576 PyObject
*resultobj
= 0;
11577 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11580 PyObject
*swig_obj
[1] ;
11582 if (!args
) SWIG_fail
;
11583 swig_obj
[0] = args
;
11584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11585 if (!SWIG_IsOK(res1
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11588 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= SWIG_Py_Void();
11602 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11603 PyObject
*resultobj
= 0;
11604 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11607 PyObject
*swig_obj
[1] ;
11609 if (!args
) SWIG_fail
;
11610 swig_obj
[0] = args
;
11611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11612 if (!SWIG_IsOK(res1
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11615 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_Py_Void();
11629 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11630 PyObject
*resultobj
= 0;
11631 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11635 PyObject
*swig_obj
[1] ;
11637 if (!args
) SWIG_fail
;
11638 swig_obj
[0] = args
;
11639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11640 if (!SWIG_IsOK(res1
)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11643 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11659 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11660 PyObject
*resultobj
= 0;
11661 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11665 PyObject
*swig_obj
[1] ;
11667 if (!args
) SWIG_fail
;
11668 swig_obj
[0] = args
;
11669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11670 if (!SWIG_IsOK(res1
)) {
11671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11673 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= SWIG_From_int(static_cast< int >(result
));
11687 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11688 PyObject
*resultobj
= 0;
11689 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11693 PyObject
*swig_obj
[1] ;
11695 if (!args
) SWIG_fail
;
11696 swig_obj
[0] = args
;
11697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11701 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= SWIG_From_int(static_cast< int >(result
));
11715 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11716 PyObject
*resultobj
= 0;
11717 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11721 PyObject
*swig_obj
[1] ;
11723 if (!args
) SWIG_fail
;
11724 swig_obj
[0] = args
;
11725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11726 if (!SWIG_IsOK(res1
)) {
11727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11729 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11745 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11748 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11749 return SWIG_Py_Void();
11752 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11753 return SWIG_Python_InitShadowInstance(args
);
11756 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
= 0;
11758 int arg1
= (int) 0 ;
11759 int arg2
= (int) 0 ;
11760 wxTimerEvent
*result
= 0 ;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 char * kwnames
[] = {
11768 (char *) "timerid",(char *) "interval", NULL
11771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11773 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11774 if (!SWIG_IsOK(ecode1
)) {
11775 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11777 arg1
= static_cast< int >(val1
);
11780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11781 if (!SWIG_IsOK(ecode2
)) {
11782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11784 arg2
= static_cast< int >(val2
);
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11799 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11800 PyObject
*resultobj
= 0;
11801 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11805 PyObject
*swig_obj
[1] ;
11807 if (!args
) SWIG_fail
;
11808 swig_obj
[0] = args
;
11809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11810 if (!SWIG_IsOK(res1
)) {
11811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11813 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= SWIG_From_int(static_cast< int >(result
));
11827 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11830 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11831 return SWIG_Py_Void();
11834 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11835 return SWIG_Python_InitShadowInstance(args
);
11838 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11839 PyObject
*resultobj
= 0;
11840 wxTimer
*arg1
= 0 ;
11841 wxTimerRunner
*result
= 0 ;
11845 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11847 if (!SWIG_IsOK(res1
)) {
11848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11853 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11855 if (!wxPyCheckForApp()) SWIG_fail
;
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11868 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11869 PyObject
*resultobj
= 0;
11870 wxTimer
*arg1
= 0 ;
11872 bool arg3
= (bool) false ;
11873 wxTimerRunner
*result
= 0 ;
11881 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
11882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11889 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11890 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
11891 if (!SWIG_IsOK(ecode2
)) {
11892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
11894 arg2
= static_cast< int >(val2
);
11896 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
11897 if (!SWIG_IsOK(ecode3
)) {
11898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
11900 arg3
= static_cast< bool >(val3
);
11903 if (!wxPyCheckForApp()) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11916 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
11920 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
11923 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
11925 if ((argc
>= 2) && (argc
<= 3)) {
11926 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
11930 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
11935 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11936 PyObject
*resultobj
= 0;
11937 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11940 PyObject
*swig_obj
[1] ;
11942 if (!args
) SWIG_fail
;
11943 swig_obj
[0] = args
;
11944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
11945 if (!SWIG_IsOK(res1
)) {
11946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11948 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_Py_Void();
11963 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
= 0;
11965 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11967 bool arg3
= (bool) false ;
11974 PyObject
* obj0
= 0 ;
11975 PyObject
* obj1
= 0 ;
11976 PyObject
* obj2
= 0 ;
11977 char * kwnames
[] = {
11978 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
11981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11986 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11988 if (!SWIG_IsOK(ecode2
)) {
11989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
11991 arg2
= static_cast< int >(val2
);
11993 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11994 if (!SWIG_IsOK(ecode3
)) {
11995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
11997 arg3
= static_cast< bool >(val3
);
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 (arg1
)->Start(arg2
,arg3
);
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 resultobj
= SWIG_Py_Void();
12012 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12015 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12016 return SWIG_Py_Void();
12019 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12020 return SWIG_Python_InitShadowInstance(args
);
12023 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12024 PyObject
*resultobj
= 0;
12025 wxLog
*result
= 0 ;
12027 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (wxLog
*)new wxLog();
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12041 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12042 PyObject
*resultobj
= 0;
12043 wxLog
*arg1
= (wxLog
*) 0 ;
12046 PyObject
*swig_obj
[1] ;
12048 if (!args
) SWIG_fail
;
12049 swig_obj
[0] = args
;
12050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12051 if (!SWIG_IsOK(res1
)) {
12052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12054 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 resultobj
= SWIG_Py_Void();
12069 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12070 PyObject
*resultobj
= 0;
12073 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 result
= (bool)wxLog::IsEnabled();
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12089 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
= 0;
12091 bool arg1
= (bool) true ;
12095 PyObject
* obj0
= 0 ;
12096 char * kwnames
[] = {
12097 (char *) "doIt", NULL
12100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12102 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12103 if (!SWIG_IsOK(ecode1
)) {
12104 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12106 arg1
= static_cast< bool >(val1
);
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (bool)wxLog::EnableLogging(arg1
);
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12123 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
= 0;
12126 wxChar
*arg2
= (wxChar
*) 0 ;
12128 unsigned long val1
;
12132 unsigned int val3
;
12134 PyObject
* obj0
= 0 ;
12135 PyObject
* obj1
= 0 ;
12136 PyObject
* obj2
= 0 ;
12137 char * kwnames
[] = {
12138 (char *) "level",(char *) "szString",(char *) "t", NULL
12141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12142 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12143 if (!SWIG_IsOK(ecode1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12146 arg1
= static_cast< wxLogLevel
>(val1
);
12147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12148 if (!SWIG_IsOK(res2
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12151 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12152 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12153 if (!SWIG_IsOK(ecode3
)) {
12154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12156 arg3
= static_cast< time_t >(val3
);
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= SWIG_Py_Void();
12170 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 PyObject
*resultobj
= 0;
12172 wxLog
*arg1
= (wxLog
*) 0 ;
12175 PyObject
*swig_obj
[1] ;
12177 if (!args
) SWIG_fail
;
12178 swig_obj
[0] = args
;
12179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12183 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= SWIG_Py_Void();
12197 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12198 PyObject
*resultobj
= 0;
12200 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 wxLog::FlushActive();
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= SWIG_Py_Void();
12214 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12215 PyObject
*resultobj
= 0;
12216 wxLog
*result
= 0 ;
12218 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (wxLog
*)wxLog::GetActiveTarget();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12232 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
= 0;
12234 wxLog
*arg1
= (wxLog
*) 0 ;
12235 wxLog
*result
= 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char * kwnames
[] = {
12239 (char *) "pLogger", NULL
12242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12243 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12260 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12261 PyObject
*resultobj
= 0;
12263 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= SWIG_Py_Void();
12277 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12278 PyObject
*resultobj
= 0;
12280 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_Py_Void();
12294 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
= 0;
12296 bool arg1
= (bool) true ;
12299 PyObject
* obj0
= 0 ;
12300 char * kwnames
[] = {
12301 (char *) "bVerbose", NULL
12304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12306 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12307 if (!SWIG_IsOK(ecode1
)) {
12308 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12310 arg1
= static_cast< bool >(val1
);
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 wxLog::SetVerbose(arg1
);
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_Py_Void();
12325 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
= 0;
12328 unsigned long val1
;
12330 PyObject
* obj0
= 0 ;
12331 char * kwnames
[] = {
12332 (char *) "logLevel", NULL
12335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12336 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12337 if (!SWIG_IsOK(ecode1
)) {
12338 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12340 arg1
= static_cast< wxLogLevel
>(val1
);
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 wxLog::SetLogLevel(arg1
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= SWIG_Py_Void();
12354 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12355 PyObject
*resultobj
= 0;
12357 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 wxLog::DontCreateOnDemand();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= SWIG_Py_Void();
12371 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= 0;
12373 bool arg1
= (bool) true ;
12376 PyObject
* obj0
= 0 ;
12377 char * kwnames
[] = {
12378 (char *) "bRepetCounting", NULL
12381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12383 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12384 if (!SWIG_IsOK(ecode1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12387 arg1
= static_cast< bool >(val1
);
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 wxLog::SetRepetitionCounting(arg1
);
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= SWIG_Py_Void();
12402 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12403 PyObject
*resultobj
= 0;
12406 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= (bool)wxLog::GetRepetitionCounting();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12422 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
= 0;
12425 unsigned long val1
;
12427 PyObject
* obj0
= 0 ;
12428 char * kwnames
[] = {
12429 (char *) "ulMask", NULL
12432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12433 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12434 if (!SWIG_IsOK(ecode1
)) {
12435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12437 arg1
= static_cast< wxTraceMask
>(val1
);
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 wxLog::SetTraceMask(arg1
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_Py_Void();
12451 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
= 0;
12453 wxString
*arg1
= 0 ;
12454 bool temp1
= false ;
12455 PyObject
* obj0
= 0 ;
12456 char * kwnames
[] = {
12457 (char *) "str", NULL
12460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12462 arg1
= wxString_in_helper(obj0
);
12463 if (arg1
== NULL
) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 wxLog::AddTraceMask((wxString
const &)*arg1
);
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_Py_Void();
12487 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
= 0;
12489 wxString
*arg1
= 0 ;
12490 bool temp1
= false ;
12491 PyObject
* obj0
= 0 ;
12492 char * kwnames
[] = {
12493 (char *) "str", NULL
12496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12498 arg1
= wxString_in_helper(obj0
);
12499 if (arg1
== NULL
) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= SWIG_Py_Void();
12523 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12524 PyObject
*resultobj
= 0;
12526 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 wxLog::ClearTraceMasks();
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= SWIG_Py_Void();
12540 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12541 PyObject
*resultobj
= 0;
12542 wxArrayString
*result
= 0 ;
12544 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12549 result
= (wxArrayString
*) &_result_ref
;
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12555 resultobj
= wxArrayString2PyList_helper(*result
);
12563 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
= 0;
12565 wxChar
*arg1
= (wxChar
*) 0 ;
12568 PyObject
* obj0
= 0 ;
12569 char * kwnames
[] = {
12570 (char *) "ts", NULL
12573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12575 if (!SWIG_IsOK(res1
)) {
12576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12578 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 wxLog::SetTimestamp((wxChar
const *)arg1
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_Py_Void();
12592 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12593 PyObject
*resultobj
= 0;
12596 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (bool)wxLog::GetVerbose();
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12612 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxTraceMask result
;
12616 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 result
= (wxTraceMask
)wxLog::GetTraceMask();
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12630 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
= 0;
12632 wxChar
*arg1
= (wxChar
*) 0 ;
12636 PyObject
* obj0
= 0 ;
12637 char * kwnames
[] = {
12638 (char *) "mask", NULL
12641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12643 if (!SWIG_IsOK(res1
)) {
12644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12646 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12662 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12663 PyObject
*resultobj
= 0;
12666 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (wxLogLevel
)wxLog::GetLogLevel();
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12680 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12681 PyObject
*resultobj
= 0;
12682 wxChar
*result
= 0 ;
12684 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 result
= (wxChar
*)wxLog::GetTimestamp();
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12698 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12699 PyObject
*resultobj
= 0;
12702 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= wxLog_TimeStamp();
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12722 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12723 PyObject
*resultobj
= 0;
12724 wxLog
*arg1
= (wxLog
*) 0 ;
12727 PyObject
*swig_obj
[1] ;
12729 if (!args
) SWIG_fail
;
12730 swig_obj
[0] = args
;
12731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12732 if (!SWIG_IsOK(res1
)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12735 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 wxLog_Destroy(arg1
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_Py_Void();
12749 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12752 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12753 return SWIG_Py_Void();
12756 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12757 return SWIG_Python_InitShadowInstance(args
);
12760 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12761 PyObject
*resultobj
= 0;
12762 wxLogStderr
*result
= 0 ;
12764 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (wxLogStderr
*)new wxLogStderr();
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12778 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12781 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12782 return SWIG_Py_Void();
12785 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12786 return SWIG_Python_InitShadowInstance(args
);
12789 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= 0;
12791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12792 wxLogTextCtrl
*result
= 0 ;
12795 PyObject
* obj0
= 0 ;
12796 char * kwnames
[] = {
12797 (char *) "pTextCtrl", NULL
12800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12802 if (!SWIG_IsOK(res1
)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12805 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12819 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12822 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12823 return SWIG_Py_Void();
12826 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12827 return SWIG_Python_InitShadowInstance(args
);
12830 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12831 PyObject
*resultobj
= 0;
12832 wxLogGui
*result
= 0 ;
12834 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (wxLogGui
*)new wxLogGui();
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12848 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12851 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12852 return SWIG_Py_Void();
12855 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12856 return SWIG_Python_InitShadowInstance(args
);
12859 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
= 0;
12861 wxFrame
*arg1
= (wxFrame
*) 0 ;
12862 wxString
*arg2
= 0 ;
12863 bool arg3
= (bool) true ;
12864 bool arg4
= (bool) true ;
12865 wxLogWindow
*result
= 0 ;
12868 bool temp2
= false ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 PyObject
* obj2
= 0 ;
12876 PyObject
* obj3
= 0 ;
12877 char * kwnames
[] = {
12878 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
12881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12883 if (!SWIG_IsOK(res1
)) {
12884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
12886 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12888 arg2
= wxString_in_helper(obj1
);
12889 if (arg2
== NULL
) SWIG_fail
;
12893 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12894 if (!SWIG_IsOK(ecode3
)) {
12895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
12897 arg3
= static_cast< bool >(val3
);
12900 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12901 if (!SWIG_IsOK(ecode4
)) {
12902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
12904 arg4
= static_cast< bool >(val4
);
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
12927 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
= 0;
12929 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12930 bool arg2
= (bool) true ;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 char * kwnames
[] = {
12938 (char *) "self",(char *) "bShow", NULL
12941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12943 if (!SWIG_IsOK(res1
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12946 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12949 if (!SWIG_IsOK(ecode2
)) {
12950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
12952 arg2
= static_cast< bool >(val2
);
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 (arg1
)->Show(arg2
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= SWIG_Py_Void();
12967 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 PyObject
*resultobj
= 0;
12969 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12970 wxFrame
*result
= 0 ;
12973 PyObject
*swig_obj
[1] ;
12975 if (!args
) SWIG_fail
;
12976 swig_obj
[0] = args
;
12977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12978 if (!SWIG_IsOK(res1
)) {
12979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12981 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= wxPyMake_wxObject(result
, (bool)0);
12997 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12998 PyObject
*resultobj
= 0;
12999 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13000 wxLog
*result
= 0 ;
13003 PyObject
*swig_obj
[1] ;
13005 if (!args
) SWIG_fail
;
13006 swig_obj
[0] = args
;
13007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13008 if (!SWIG_IsOK(res1
)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13011 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13025 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13026 PyObject
*resultobj
= 0;
13027 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13031 PyObject
*swig_obj
[1] ;
13033 if (!args
) SWIG_fail
;
13034 swig_obj
[0] = args
;
13035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13036 if (!SWIG_IsOK(res1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13039 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
= 0;
13057 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13063 PyObject
* obj0
= 0 ;
13064 PyObject
* obj1
= 0 ;
13065 char * kwnames
[] = {
13066 (char *) "self",(char *) "bDoPass", NULL
13069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13071 if (!SWIG_IsOK(res1
)) {
13072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13074 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13075 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13076 if (!SWIG_IsOK(ecode2
)) {
13077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13079 arg2
= static_cast< bool >(val2
);
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 (arg1
)->PassMessages(arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_Py_Void();
13093 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13096 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13097 return SWIG_Py_Void();
13100 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13101 return SWIG_Python_InitShadowInstance(args
);
13104 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
= 0;
13106 wxLog
*arg1
= (wxLog
*) 0 ;
13107 wxLogChain
*result
= 0 ;
13110 PyObject
* obj0
= 0 ;
13111 char * kwnames
[] = {
13112 (char *) "logger", NULL
13115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13117 if (!SWIG_IsOK(res1
)) {
13118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13120 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (wxLogChain
*)new wxLogChain(arg1
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13134 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
= 0;
13136 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13137 wxLog
*arg2
= (wxLog
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char * kwnames
[] = {
13145 (char *) "self",(char *) "logger", NULL
13148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13150 if (!SWIG_IsOK(res1
)) {
13151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13153 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13155 if (!SWIG_IsOK(res2
)) {
13156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13158 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 (arg1
)->SetLog(arg2
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= SWIG_Py_Void();
13172 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
= 0;
13174 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 char * kwnames
[] = {
13183 (char *) "self",(char *) "bDoPass", NULL
13186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13188 if (!SWIG_IsOK(res1
)) {
13189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13191 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13192 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13193 if (!SWIG_IsOK(ecode2
)) {
13194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13196 arg2
= static_cast< bool >(val2
);
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 (arg1
)->PassMessages(arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_Py_Void();
13210 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13211 PyObject
*resultobj
= 0;
13212 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13216 PyObject
*swig_obj
[1] ;
13218 if (!args
) SWIG_fail
;
13219 swig_obj
[0] = args
;
13220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13221 if (!SWIG_IsOK(res1
)) {
13222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13224 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (bool)(arg1
)->IsPassingMessages();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13240 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13241 PyObject
*resultobj
= 0;
13242 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13243 wxLog
*result
= 0 ;
13246 PyObject
*swig_obj
[1] ;
13248 if (!args
) SWIG_fail
;
13249 swig_obj
[0] = args
;
13250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13254 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (wxLog
*)(arg1
)->GetOldLog();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13268 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13271 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13272 return SWIG_Py_Void();
13275 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13276 return SWIG_Python_InitShadowInstance(args
);
13279 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13280 PyObject
*resultobj
= 0;
13281 wxLogBuffer
*result
= 0 ;
13283 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (wxLogBuffer
*)new wxLogBuffer();
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13297 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13298 PyObject
*resultobj
= 0;
13299 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13300 wxString
*result
= 0 ;
13303 PyObject
*swig_obj
[1] ;
13305 if (!args
) SWIG_fail
;
13306 swig_obj
[0] = args
;
13307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13308 if (!SWIG_IsOK(res1
)) {
13309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13311 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13316 result
= (wxString
*) &_result_ref
;
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13325 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13334 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13337 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13338 return SWIG_Py_Void();
13341 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13342 return SWIG_Python_InitShadowInstance(args
);
13345 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13346 PyObject
*resultobj
= 0;
13347 unsigned long result
;
13349 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (unsigned long)wxSysErrorCode();
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13363 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
= 0;
13365 unsigned long arg1
= (unsigned long) 0 ;
13367 unsigned long val1
;
13369 PyObject
* obj0
= 0 ;
13370 char * kwnames
[] = {
13371 (char *) "nErrCode", NULL
13374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13376 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13377 if (!SWIG_IsOK(ecode1
)) {
13378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13380 arg1
= static_cast< unsigned long >(val1
);
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= wxSysErrorMsg(arg1
);
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13401 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
= 0;
13403 wxString
*arg1
= 0 ;
13404 bool temp1
= false ;
13405 PyObject
* obj0
= 0 ;
13406 char * kwnames
[] = {
13407 (char *) "msg", NULL
13410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13412 arg1
= wxString_in_helper(obj0
);
13413 if (arg1
== NULL
) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 wxPyLogFatalError((wxString
const &)*arg1
);
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= SWIG_Py_Void();
13437 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
= 0;
13439 wxString
*arg1
= 0 ;
13440 bool temp1
= false ;
13441 PyObject
* obj0
= 0 ;
13442 char * kwnames
[] = {
13443 (char *) "msg", NULL
13446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13448 arg1
= wxString_in_helper(obj0
);
13449 if (arg1
== NULL
) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 wxPyLogError((wxString
const &)*arg1
);
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= SWIG_Py_Void();
13473 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
= 0;
13475 wxString
*arg1
= 0 ;
13476 bool temp1
= false ;
13477 PyObject
* obj0
= 0 ;
13478 char * kwnames
[] = {
13479 (char *) "msg", NULL
13482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13484 arg1
= wxString_in_helper(obj0
);
13485 if (arg1
== NULL
) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 wxPyLogWarning((wxString
const &)*arg1
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_Py_Void();
13509 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
= 0;
13511 wxString
*arg1
= 0 ;
13512 bool temp1
= false ;
13513 PyObject
* obj0
= 0 ;
13514 char * kwnames
[] = {
13515 (char *) "msg", NULL
13518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13520 arg1
= wxString_in_helper(obj0
);
13521 if (arg1
== NULL
) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 wxPyLogMessage((wxString
const &)*arg1
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_Py_Void();
13545 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
= 0;
13547 wxString
*arg1
= 0 ;
13548 bool temp1
= false ;
13549 PyObject
* obj0
= 0 ;
13550 char * kwnames
[] = {
13551 (char *) "msg", NULL
13554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13556 arg1
= wxString_in_helper(obj0
);
13557 if (arg1
== NULL
) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 wxPyLogInfo((wxString
const &)*arg1
);
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= SWIG_Py_Void();
13581 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
= 0;
13583 wxString
*arg1
= 0 ;
13584 bool temp1
= false ;
13585 PyObject
* obj0
= 0 ;
13586 char * kwnames
[] = {
13587 (char *) "msg", NULL
13590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13592 arg1
= wxString_in_helper(obj0
);
13593 if (arg1
== NULL
) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 wxPyLogDebug((wxString
const &)*arg1
);
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= SWIG_Py_Void();
13617 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
= 0;
13619 wxString
*arg1
= 0 ;
13620 bool temp1
= false ;
13621 PyObject
* obj0
= 0 ;
13622 char * kwnames
[] = {
13623 (char *) "msg", NULL
13626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13628 arg1
= wxString_in_helper(obj0
);
13629 if (arg1
== NULL
) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 wxPyLogVerbose((wxString
const &)*arg1
);
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_Py_Void();
13653 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
= 0;
13655 wxString
*arg1
= 0 ;
13656 bool temp1
= false ;
13657 PyObject
* obj0
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "msg", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13664 arg1
= wxString_in_helper(obj0
);
13665 if (arg1
== NULL
) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 wxPyLogStatus((wxString
const &)*arg1
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= SWIG_Py_Void();
13689 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
= 0;
13691 wxFrame
*arg1
= (wxFrame
*) 0 ;
13692 wxString
*arg2
= 0 ;
13695 bool temp2
= false ;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 char * kwnames
[] = {
13699 (char *) "pFrame",(char *) "msg", NULL
13702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13704 if (!SWIG_IsOK(res1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13707 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13709 arg2
= wxString_in_helper(obj1
);
13710 if (arg2
== NULL
) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= SWIG_Py_Void();
13734 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
= 0;
13736 wxString
*arg1
= 0 ;
13737 bool temp1
= false ;
13738 PyObject
* obj0
= 0 ;
13739 char * kwnames
[] = {
13740 (char *) "msg", NULL
13743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13745 arg1
= wxString_in_helper(obj0
);
13746 if (arg1
== NULL
) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 wxPyLogSysError((wxString
const &)*arg1
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= SWIG_Py_Void();
13770 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
= 0;
13772 unsigned long arg1
;
13773 wxString
*arg2
= 0 ;
13774 unsigned long val1
;
13776 bool temp2
= false ;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 char * kwnames
[] = {
13780 (char *) "level",(char *) "msg", NULL
13783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13784 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13785 if (!SWIG_IsOK(ecode1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13788 arg1
= static_cast< unsigned long >(val1
);
13790 arg2
= wxString_in_helper(obj1
);
13791 if (arg2
== NULL
) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= SWIG_Py_Void();
13815 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13816 PyObject
*resultobj
= 0;
13817 unsigned long arg1
;
13818 wxString
*arg2
= 0 ;
13819 unsigned long val1
;
13821 bool temp2
= false ;
13823 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13824 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13825 if (!SWIG_IsOK(ecode1
)) {
13826 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13828 arg1
= static_cast< unsigned long >(val1
);
13830 arg2
= wxString_in_helper(swig_obj
[1]);
13831 if (arg2
== NULL
) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= SWIG_Py_Void();
13855 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13856 PyObject
*resultobj
= 0;
13857 wxString
*arg1
= 0 ;
13858 wxString
*arg2
= 0 ;
13859 bool temp1
= false ;
13860 bool temp2
= false ;
13862 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13864 arg1
= wxString_in_helper(swig_obj
[0]);
13865 if (arg1
== NULL
) SWIG_fail
;
13869 arg2
= wxString_in_helper(swig_obj
[1]);
13870 if (arg2
== NULL
) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_Py_Void();
13902 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
13906 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
13912 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
13915 if (!_v
) goto check_1
;
13916 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
13921 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
13925 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
13930 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
= 0;
13932 wxString
*arg1
= 0 ;
13933 wxString
*arg2
= 0 ;
13934 bool temp1
= false ;
13935 bool temp2
= false ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char * kwnames
[] = {
13939 (char *) "title",(char *) "text", NULL
13942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13944 arg1
= wxString_in_helper(obj0
);
13945 if (arg1
== NULL
) SWIG_fail
;
13949 arg2
= wxString_in_helper(obj1
);
13950 if (arg2
== NULL
) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_Py_Void();
13982 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13983 PyObject
*resultobj
= 0;
13984 wxLogNull
*result
= 0 ;
13986 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (wxLogNull
*)new wxLogNull();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14000 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14001 PyObject
*resultobj
= 0;
14002 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14005 PyObject
*swig_obj
[1] ;
14007 if (!args
) SWIG_fail
;
14008 swig_obj
[0] = args
;
14009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14010 if (!SWIG_IsOK(res1
)) {
14011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14013 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_Py_Void();
14028 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14031 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14032 return SWIG_Py_Void();
14035 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14036 return SWIG_Python_InitShadowInstance(args
);
14039 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14040 PyObject
*resultobj
= 0;
14041 wxPyLog
*result
= 0 ;
14043 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (wxPyLog
*)new wxPyLog();
14047 wxPyEndAllowThreads(__tstate
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14057 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
= 0;
14059 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14060 PyObject
*arg2
= (PyObject
*) 0 ;
14061 PyObject
*arg3
= (PyObject
*) 0 ;
14064 PyObject
* obj0
= 0 ;
14065 PyObject
* obj1
= 0 ;
14066 PyObject
* obj2
= 0 ;
14067 char * kwnames
[] = {
14068 (char *) "self",(char *) "self",(char *) "_class", NULL
14071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14073 if (!SWIG_IsOK(res1
)) {
14074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14076 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_Py_Void();
14092 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14095 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14096 return SWIG_Py_Void();
14099 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14100 return SWIG_Python_InitShadowInstance(args
);
14103 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
= 0;
14106 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14107 int arg3
= (int) wxKILL_NOCHILDREN
;
14108 wxKillError result
;
14115 PyObject
* obj0
= 0 ;
14116 PyObject
* obj1
= 0 ;
14117 PyObject
* obj2
= 0 ;
14118 char * kwnames
[] = {
14119 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14123 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14124 if (!SWIG_IsOK(ecode1
)) {
14125 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14127 arg1
= static_cast< int >(val1
);
14129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14130 if (!SWIG_IsOK(ecode2
)) {
14131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14133 arg2
= static_cast< wxSignal
>(val2
);
14136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14137 if (!SWIG_IsOK(ecode3
)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14140 arg3
= static_cast< int >(val3
);
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= SWIG_From_int(static_cast< int >(result
));
14155 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
= 0;
14161 PyObject
* obj0
= 0 ;
14162 char * kwnames
[] = {
14163 (char *) "pid", NULL
14166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14167 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14168 if (!SWIG_IsOK(ecode1
)) {
14169 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14171 arg1
= static_cast< int >(val1
);
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (bool)wxPyProcess::Exists(arg1
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14187 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
= 0;
14189 wxString
*arg1
= 0 ;
14190 int arg2
= (int) wxEXEC_ASYNC
;
14191 wxPyProcess
*result
= 0 ;
14192 bool temp1
= false ;
14195 PyObject
* obj0
= 0 ;
14196 PyObject
* obj1
= 0 ;
14197 char * kwnames
[] = {
14198 (char *) "cmd",(char *) "flags", NULL
14201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14203 arg1
= wxString_in_helper(obj0
);
14204 if (arg1
== NULL
) SWIG_fail
;
14208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14209 if (!SWIG_IsOK(ecode2
)) {
14210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14212 arg2
= static_cast< int >(val2
);
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14235 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
= 0;
14237 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14238 int arg2
= (int) -1 ;
14239 wxPyProcess
*result
= 0 ;
14244 PyObject
* obj0
= 0 ;
14245 PyObject
* obj1
= 0 ;
14246 char * kwnames
[] = {
14247 (char *) "parent",(char *) "id", NULL
14250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14253 if (!SWIG_IsOK(res1
)) {
14254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14256 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14260 if (!SWIG_IsOK(ecode2
)) {
14261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14263 arg2
= static_cast< int >(val2
);
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14278 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
= 0;
14280 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14281 PyObject
*arg2
= (PyObject
*) 0 ;
14282 PyObject
*arg3
= (PyObject
*) 0 ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 PyObject
* obj2
= 0 ;
14288 char * kwnames
[] = {
14289 (char *) "self",(char *) "self",(char *) "_class", NULL
14292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14294 if (!SWIG_IsOK(res1
)) {
14295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14297 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= SWIG_Py_Void();
14313 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
= 0;
14315 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 PyObject
* obj1
= 0 ;
14326 PyObject
* obj2
= 0 ;
14327 char * kwnames
[] = {
14328 (char *) "self",(char *) "pid",(char *) "status", NULL
14331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14333 if (!SWIG_IsOK(res1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14336 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14338 if (!SWIG_IsOK(ecode2
)) {
14339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14341 arg2
= static_cast< int >(val2
);
14342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14343 if (!SWIG_IsOK(ecode3
)) {
14344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14346 arg3
= static_cast< int >(val3
);
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 (arg1
)->OnTerminate(arg2
,arg3
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= SWIG_Py_Void();
14360 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14361 PyObject
*resultobj
= 0;
14362 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14365 PyObject
*swig_obj
[1] ;
14367 if (!args
) SWIG_fail
;
14368 swig_obj
[0] = args
;
14369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14370 if (!SWIG_IsOK(res1
)) {
14371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14373 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 (arg1
)->Redirect();
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= SWIG_Py_Void();
14387 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14388 PyObject
*resultobj
= 0;
14389 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14393 PyObject
*swig_obj
[1] ;
14395 if (!args
) SWIG_fail
;
14396 swig_obj
[0] = args
;
14397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14398 if (!SWIG_IsOK(res1
)) {
14399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14401 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (bool)(arg1
)->IsRedirected();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14417 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14418 PyObject
*resultobj
= 0;
14419 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14422 PyObject
*swig_obj
[1] ;
14424 if (!args
) SWIG_fail
;
14425 swig_obj
[0] = args
;
14426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14427 if (!SWIG_IsOK(res1
)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14430 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_Py_Void();
14444 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14445 PyObject
*resultobj
= 0;
14446 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14447 wxInputStream
*result
= 0 ;
14450 PyObject
*swig_obj
[1] ;
14452 if (!args
) SWIG_fail
;
14453 swig_obj
[0] = args
;
14454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14455 if (!SWIG_IsOK(res1
)) {
14456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14458 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 wxPyInputStream
* _ptr
= NULL
;
14469 _ptr
= new wxPyInputStream(result
);
14471 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14479 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14480 PyObject
*resultobj
= 0;
14481 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14482 wxInputStream
*result
= 0 ;
14485 PyObject
*swig_obj
[1] ;
14487 if (!args
) SWIG_fail
;
14488 swig_obj
[0] = args
;
14489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14490 if (!SWIG_IsOK(res1
)) {
14491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14493 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14501 wxPyInputStream
* _ptr
= NULL
;
14504 _ptr
= new wxPyInputStream(result
);
14506 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14514 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14515 PyObject
*resultobj
= 0;
14516 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14517 wxOutputStream
*result
= 0 ;
14520 PyObject
*swig_obj
[1] ;
14522 if (!args
) SWIG_fail
;
14523 swig_obj
[0] = args
;
14524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14525 if (!SWIG_IsOK(res1
)) {
14526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14528 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14542 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14543 PyObject
*resultobj
= 0;
14544 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14547 PyObject
*swig_obj
[1] ;
14549 if (!args
) SWIG_fail
;
14550 swig_obj
[0] = args
;
14551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14552 if (!SWIG_IsOK(res1
)) {
14553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14555 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 (arg1
)->CloseOutput();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_Py_Void();
14569 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14570 PyObject
*resultobj
= 0;
14571 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14575 PyObject
*swig_obj
[1] ;
14577 if (!args
) SWIG_fail
;
14578 swig_obj
[0] = args
;
14579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14580 if (!SWIG_IsOK(res1
)) {
14581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14583 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14599 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14600 PyObject
*resultobj
= 0;
14601 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14605 PyObject
*swig_obj
[1] ;
14607 if (!args
) SWIG_fail
;
14608 swig_obj
[0] = args
;
14609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14610 if (!SWIG_IsOK(res1
)) {
14611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14613 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14629 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14630 PyObject
*resultobj
= 0;
14631 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14635 PyObject
*swig_obj
[1] ;
14637 if (!args
) SWIG_fail
;
14638 swig_obj
[0] = args
;
14639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14640 if (!SWIG_IsOK(res1
)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14643 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14659 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14662 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14663 return SWIG_Py_Void();
14666 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14667 return SWIG_Python_InitShadowInstance(args
);
14670 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
= 0;
14672 int arg1
= (int) 0 ;
14673 int arg2
= (int) 0 ;
14674 int arg3
= (int) 0 ;
14675 wxProcessEvent
*result
= 0 ;
14682 PyObject
* obj0
= 0 ;
14683 PyObject
* obj1
= 0 ;
14684 PyObject
* obj2
= 0 ;
14685 char * kwnames
[] = {
14686 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14691 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14692 if (!SWIG_IsOK(ecode1
)) {
14693 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14695 arg1
= static_cast< int >(val1
);
14698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14699 if (!SWIG_IsOK(ecode2
)) {
14700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14702 arg2
= static_cast< int >(val2
);
14705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14706 if (!SWIG_IsOK(ecode3
)) {
14707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14709 arg3
= static_cast< int >(val3
);
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14724 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14725 PyObject
*resultobj
= 0;
14726 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14730 PyObject
*swig_obj
[1] ;
14732 if (!args
) SWIG_fail
;
14733 swig_obj
[0] = args
;
14734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14735 if (!SWIG_IsOK(res1
)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14738 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (int)(arg1
)->GetPid();
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_From_int(static_cast< int >(result
));
14752 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14753 PyObject
*resultobj
= 0;
14754 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14758 PyObject
*swig_obj
[1] ;
14760 if (!args
) SWIG_fail
;
14761 swig_obj
[0] = args
;
14762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14763 if (!SWIG_IsOK(res1
)) {
14764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14766 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 result
= (int)(arg1
)->GetExitCode();
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= SWIG_From_int(static_cast< int >(result
));
14780 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14781 PyObject
*resultobj
= 0;
14782 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14788 PyObject
*swig_obj
[2] ;
14790 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14792 if (!SWIG_IsOK(res1
)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14795 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14796 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14797 if (!SWIG_IsOK(ecode2
)) {
14798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14800 arg2
= static_cast< int >(val2
);
14801 if (arg1
) (arg1
)->m_pid
= arg2
;
14803 resultobj
= SWIG_Py_Void();
14810 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14811 PyObject
*resultobj
= 0;
14812 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14816 PyObject
*swig_obj
[1] ;
14818 if (!args
) SWIG_fail
;
14819 swig_obj
[0] = args
;
14820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14821 if (!SWIG_IsOK(res1
)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14824 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14825 result
= (int) ((arg1
)->m_pid
);
14826 resultobj
= SWIG_From_int(static_cast< int >(result
));
14833 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14834 PyObject
*resultobj
= 0;
14835 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14841 PyObject
*swig_obj
[2] ;
14843 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
14844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14845 if (!SWIG_IsOK(res1
)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14848 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14849 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14850 if (!SWIG_IsOK(ecode2
)) {
14851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
14853 arg2
= static_cast< int >(val2
);
14854 if (arg1
) (arg1
)->m_exitcode
= arg2
;
14856 resultobj
= SWIG_Py_Void();
14863 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14864 PyObject
*resultobj
= 0;
14865 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14869 PyObject
*swig_obj
[1] ;
14871 if (!args
) SWIG_fail
;
14872 swig_obj
[0] = args
;
14873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14874 if (!SWIG_IsOK(res1
)) {
14875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14877 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14878 result
= (int) ((arg1
)->m_exitcode
);
14879 resultobj
= SWIG_From_int(static_cast< int >(result
));
14886 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14889 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
14890 return SWIG_Py_Void();
14893 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14894 return SWIG_Python_InitShadowInstance(args
);
14897 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
= 0;
14899 wxString
*arg1
= 0 ;
14900 int arg2
= (int) wxEXEC_ASYNC
;
14901 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
14903 bool temp1
= false ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 char * kwnames
[] = {
14912 (char *) "command",(char *) "flags",(char *) "process", NULL
14915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14917 arg1
= wxString_in_helper(obj0
);
14918 if (arg1
== NULL
) SWIG_fail
;
14922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14923 if (!SWIG_IsOK(ecode2
)) {
14924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
14926 arg2
= static_cast< int >(val2
);
14929 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14930 if (!SWIG_IsOK(res3
)) {
14931 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
14933 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
14936 if (!wxPyCheckForApp()) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_From_long(static_cast< long >(result
));
14957 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
= 0;
14960 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14961 wxKillError
*arg3
= (wxKillError
*) 0 ;
14962 int arg4
= (int) wxKILL_NOCHILDREN
;
14968 wxKillError temp3
;
14971 PyObject
* obj0
= 0 ;
14972 PyObject
* obj1
= 0 ;
14973 PyObject
* obj2
= 0 ;
14974 char * kwnames
[] = {
14975 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14982 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
14983 if (!SWIG_IsOK(ecode1
)) {
14984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
14986 arg1
= static_cast< long >(val1
);
14988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14989 if (!SWIG_IsOK(ecode2
)) {
14990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14992 arg2
= static_cast< wxSignal
>(val2
);
14995 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
14996 if (!SWIG_IsOK(ecode4
)) {
14997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
14999 arg4
= static_cast< int >(val4
);
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_From_int(static_cast< int >(result
));
15010 o
= PyInt_FromLong((long) (*arg3
));
15014 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15023 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
= 0;
15025 int arg1
= (int) wxJOYSTICK1
;
15026 wxJoystick
*result
= 0 ;
15029 PyObject
* obj0
= 0 ;
15030 char * kwnames
[] = {
15031 (char *) "joystick", NULL
15034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15036 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15037 if (!SWIG_IsOK(ecode1
)) {
15038 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15040 arg1
= static_cast< int >(val1
);
15043 if (!wxPyCheckForApp()) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (wxJoystick
*)new wxJoystick(arg1
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15056 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15057 PyObject
*resultobj
= 0;
15058 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15061 PyObject
*swig_obj
[1] ;
15063 if (!args
) SWIG_fail
;
15064 swig_obj
[0] = args
;
15065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15066 if (!SWIG_IsOK(res1
)) {
15067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15069 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= SWIG_Py_Void();
15084 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15085 PyObject
*resultobj
= 0;
15086 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15090 PyObject
*swig_obj
[1] ;
15092 if (!args
) SWIG_fail
;
15093 swig_obj
[0] = args
;
15094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15095 if (!SWIG_IsOK(res1
)) {
15096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15098 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (arg1
)->GetPosition();
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15112 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15113 PyObject
*resultobj
= 0;
15114 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15118 PyObject
*swig_obj
[1] ;
15120 if (!args
) SWIG_fail
;
15121 swig_obj
[0] = args
;
15122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15123 if (!SWIG_IsOK(res1
)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15126 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 result
= (int)(arg1
)->GetZPosition();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_From_int(static_cast< int >(result
));
15140 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15141 PyObject
*resultobj
= 0;
15142 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15146 PyObject
*swig_obj
[1] ;
15148 if (!args
) SWIG_fail
;
15149 swig_obj
[0] = args
;
15150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15151 if (!SWIG_IsOK(res1
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15154 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (int)(arg1
)->GetButtonState();
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= SWIG_From_int(static_cast< int >(result
));
15168 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15169 PyObject
*resultobj
= 0;
15170 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15174 PyObject
*swig_obj
[1] ;
15176 if (!args
) SWIG_fail
;
15177 swig_obj
[0] = args
;
15178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15179 if (!SWIG_IsOK(res1
)) {
15180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15182 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (int)(arg1
)->GetPOVPosition();
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= SWIG_From_int(static_cast< int >(result
));
15196 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15197 PyObject
*resultobj
= 0;
15198 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15202 PyObject
*swig_obj
[1] ;
15204 if (!args
) SWIG_fail
;
15205 swig_obj
[0] = args
;
15206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15207 if (!SWIG_IsOK(res1
)) {
15208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15210 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (int)(arg1
)->GetPOVCTSPosition();
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= SWIG_From_int(static_cast< int >(result
));
15224 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15225 PyObject
*resultobj
= 0;
15226 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15230 PyObject
*swig_obj
[1] ;
15232 if (!args
) SWIG_fail
;
15233 swig_obj
[0] = args
;
15234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15235 if (!SWIG_IsOK(res1
)) {
15236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15238 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (int)(arg1
)->GetRudderPosition();
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= SWIG_From_int(static_cast< int >(result
));
15252 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15253 PyObject
*resultobj
= 0;
15254 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15258 PyObject
*swig_obj
[1] ;
15260 if (!args
) SWIG_fail
;
15261 swig_obj
[0] = args
;
15262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15263 if (!SWIG_IsOK(res1
)) {
15264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15266 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (int)(arg1
)->GetUPosition();
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= SWIG_From_int(static_cast< int >(result
));
15280 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15281 PyObject
*resultobj
= 0;
15282 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15286 PyObject
*swig_obj
[1] ;
15288 if (!args
) SWIG_fail
;
15289 swig_obj
[0] = args
;
15290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15291 if (!SWIG_IsOK(res1
)) {
15292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15294 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 result
= (int)(arg1
)->GetVPosition();
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= SWIG_From_int(static_cast< int >(result
));
15308 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15309 PyObject
*resultobj
= 0;
15310 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15314 PyObject
*swig_obj
[1] ;
15316 if (!args
) SWIG_fail
;
15317 swig_obj
[0] = args
;
15318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15319 if (!SWIG_IsOK(res1
)) {
15320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15322 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (int)(arg1
)->GetMovementThreshold();
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= SWIG_From_int(static_cast< int >(result
));
15336 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
= 0;
15338 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15344 PyObject
* obj0
= 0 ;
15345 PyObject
* obj1
= 0 ;
15346 char * kwnames
[] = {
15347 (char *) "self",(char *) "threshold", NULL
15350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15352 if (!SWIG_IsOK(res1
)) {
15353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15355 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15357 if (!SWIG_IsOK(ecode2
)) {
15358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15360 arg2
= static_cast< int >(val2
);
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 (arg1
)->SetMovementThreshold(arg2
);
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= SWIG_Py_Void();
15374 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15375 PyObject
*resultobj
= 0;
15376 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15380 PyObject
*swig_obj
[1] ;
15382 if (!args
) SWIG_fail
;
15383 swig_obj
[0] = args
;
15384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15388 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 result
= (bool)(arg1
)->IsOk();
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15404 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15405 PyObject
*resultobj
= 0;
15406 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15410 PyObject
*swig_obj
[1] ;
15412 if (!args
) SWIG_fail
;
15413 swig_obj
[0] = args
;
15414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15415 if (!SWIG_IsOK(res1
)) {
15416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15418 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (int)(arg1
)->GetNumberJoysticks();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_From_int(static_cast< int >(result
));
15432 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15433 PyObject
*resultobj
= 0;
15434 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15438 PyObject
*swig_obj
[1] ;
15440 if (!args
) SWIG_fail
;
15441 swig_obj
[0] = args
;
15442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15443 if (!SWIG_IsOK(res1
)) {
15444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15446 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (int)(arg1
)->GetManufacturerId();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_From_int(static_cast< int >(result
));
15460 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15461 PyObject
*resultobj
= 0;
15462 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15466 PyObject
*swig_obj
[1] ;
15468 if (!args
) SWIG_fail
;
15469 swig_obj
[0] = args
;
15470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15474 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (int)(arg1
)->GetProductId();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= SWIG_From_int(static_cast< int >(result
));
15488 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15489 PyObject
*resultobj
= 0;
15490 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15494 PyObject
*swig_obj
[1] ;
15496 if (!args
) SWIG_fail
;
15497 swig_obj
[0] = args
;
15498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15499 if (!SWIG_IsOK(res1
)) {
15500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15502 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 result
= (arg1
)->GetProductName();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15522 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15523 PyObject
*resultobj
= 0;
15524 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15528 PyObject
*swig_obj
[1] ;
15530 if (!args
) SWIG_fail
;
15531 swig_obj
[0] = args
;
15532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15533 if (!SWIG_IsOK(res1
)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15536 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 result
= (int)(arg1
)->GetXMin();
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_From_int(static_cast< int >(result
));
15550 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15551 PyObject
*resultobj
= 0;
15552 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15556 PyObject
*swig_obj
[1] ;
15558 if (!args
) SWIG_fail
;
15559 swig_obj
[0] = args
;
15560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15561 if (!SWIG_IsOK(res1
)) {
15562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15564 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 result
= (int)(arg1
)->GetYMin();
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_From_int(static_cast< int >(result
));
15578 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15579 PyObject
*resultobj
= 0;
15580 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15584 PyObject
*swig_obj
[1] ;
15586 if (!args
) SWIG_fail
;
15587 swig_obj
[0] = args
;
15588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15589 if (!SWIG_IsOK(res1
)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15592 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (int)(arg1
)->GetZMin();
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= SWIG_From_int(static_cast< int >(result
));
15606 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15607 PyObject
*resultobj
= 0;
15608 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15612 PyObject
*swig_obj
[1] ;
15614 if (!args
) SWIG_fail
;
15615 swig_obj
[0] = args
;
15616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15617 if (!SWIG_IsOK(res1
)) {
15618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15620 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (int)(arg1
)->GetXMax();
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= SWIG_From_int(static_cast< int >(result
));
15634 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15635 PyObject
*resultobj
= 0;
15636 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15640 PyObject
*swig_obj
[1] ;
15642 if (!args
) SWIG_fail
;
15643 swig_obj
[0] = args
;
15644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15645 if (!SWIG_IsOK(res1
)) {
15646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15648 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (int)(arg1
)->GetYMax();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_From_int(static_cast< int >(result
));
15662 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15663 PyObject
*resultobj
= 0;
15664 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15668 PyObject
*swig_obj
[1] ;
15670 if (!args
) SWIG_fail
;
15671 swig_obj
[0] = args
;
15672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15673 if (!SWIG_IsOK(res1
)) {
15674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15676 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 result
= (int)(arg1
)->GetZMax();
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= SWIG_From_int(static_cast< int >(result
));
15690 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15691 PyObject
*resultobj
= 0;
15692 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15696 PyObject
*swig_obj
[1] ;
15698 if (!args
) SWIG_fail
;
15699 swig_obj
[0] = args
;
15700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15701 if (!SWIG_IsOK(res1
)) {
15702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15704 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (int)(arg1
)->GetNumberButtons();
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_From_int(static_cast< int >(result
));
15718 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15719 PyObject
*resultobj
= 0;
15720 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15724 PyObject
*swig_obj
[1] ;
15726 if (!args
) SWIG_fail
;
15727 swig_obj
[0] = args
;
15728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15729 if (!SWIG_IsOK(res1
)) {
15730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15732 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (int)(arg1
)->GetNumberAxes();
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_From_int(static_cast< int >(result
));
15746 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15747 PyObject
*resultobj
= 0;
15748 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15752 PyObject
*swig_obj
[1] ;
15754 if (!args
) SWIG_fail
;
15755 swig_obj
[0] = args
;
15756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15757 if (!SWIG_IsOK(res1
)) {
15758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15760 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (int)(arg1
)->GetMaxButtons();
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= SWIG_From_int(static_cast< int >(result
));
15774 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15775 PyObject
*resultobj
= 0;
15776 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15780 PyObject
*swig_obj
[1] ;
15782 if (!args
) SWIG_fail
;
15783 swig_obj
[0] = args
;
15784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15785 if (!SWIG_IsOK(res1
)) {
15786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15788 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (int)(arg1
)->GetMaxAxes();
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= SWIG_From_int(static_cast< int >(result
));
15802 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15803 PyObject
*resultobj
= 0;
15804 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15808 PyObject
*swig_obj
[1] ;
15810 if (!args
) SWIG_fail
;
15811 swig_obj
[0] = args
;
15812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15813 if (!SWIG_IsOK(res1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15816 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (int)(arg1
)->GetPollingMin();
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= SWIG_From_int(static_cast< int >(result
));
15830 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15831 PyObject
*resultobj
= 0;
15832 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15836 PyObject
*swig_obj
[1] ;
15838 if (!args
) SWIG_fail
;
15839 swig_obj
[0] = args
;
15840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15841 if (!SWIG_IsOK(res1
)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15844 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= (int)(arg1
)->GetPollingMax();
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15851 resultobj
= SWIG_From_int(static_cast< int >(result
));
15858 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15859 PyObject
*resultobj
= 0;
15860 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15864 PyObject
*swig_obj
[1] ;
15866 if (!args
) SWIG_fail
;
15867 swig_obj
[0] = args
;
15868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15869 if (!SWIG_IsOK(res1
)) {
15870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15872 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (int)(arg1
)->GetRudderMin();
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= SWIG_From_int(static_cast< int >(result
));
15886 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15887 PyObject
*resultobj
= 0;
15888 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15892 PyObject
*swig_obj
[1] ;
15894 if (!args
) SWIG_fail
;
15895 swig_obj
[0] = args
;
15896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15897 if (!SWIG_IsOK(res1
)) {
15898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15900 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 result
= (int)(arg1
)->GetRudderMax();
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15907 resultobj
= SWIG_From_int(static_cast< int >(result
));
15914 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15915 PyObject
*resultobj
= 0;
15916 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15920 PyObject
*swig_obj
[1] ;
15922 if (!args
) SWIG_fail
;
15923 swig_obj
[0] = args
;
15924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15925 if (!SWIG_IsOK(res1
)) {
15926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15928 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= (int)(arg1
)->GetUMin();
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= SWIG_From_int(static_cast< int >(result
));
15942 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15943 PyObject
*resultobj
= 0;
15944 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15948 PyObject
*swig_obj
[1] ;
15950 if (!args
) SWIG_fail
;
15951 swig_obj
[0] = args
;
15952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15953 if (!SWIG_IsOK(res1
)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15956 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (int)(arg1
)->GetUMax();
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= SWIG_From_int(static_cast< int >(result
));
15970 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15971 PyObject
*resultobj
= 0;
15972 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15976 PyObject
*swig_obj
[1] ;
15978 if (!args
) SWIG_fail
;
15979 swig_obj
[0] = args
;
15980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15981 if (!SWIG_IsOK(res1
)) {
15982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15984 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (int)(arg1
)->GetVMin();
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 resultobj
= SWIG_From_int(static_cast< int >(result
));
15998 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15999 PyObject
*resultobj
= 0;
16000 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16004 PyObject
*swig_obj
[1] ;
16006 if (!args
) SWIG_fail
;
16007 swig_obj
[0] = args
;
16008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16009 if (!SWIG_IsOK(res1
)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16012 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (int)(arg1
)->GetVMax();
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= SWIG_From_int(static_cast< int >(result
));
16026 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16027 PyObject
*resultobj
= 0;
16028 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16032 PyObject
*swig_obj
[1] ;
16034 if (!args
) SWIG_fail
;
16035 swig_obj
[0] = args
;
16036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16037 if (!SWIG_IsOK(res1
)) {
16038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16040 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (bool)(arg1
)->HasRudder();
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16056 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16057 PyObject
*resultobj
= 0;
16058 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16062 PyObject
*swig_obj
[1] ;
16064 if (!args
) SWIG_fail
;
16065 swig_obj
[0] = args
;
16066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16067 if (!SWIG_IsOK(res1
)) {
16068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16070 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (bool)(arg1
)->HasZ();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16086 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16087 PyObject
*resultobj
= 0;
16088 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16092 PyObject
*swig_obj
[1] ;
16094 if (!args
) SWIG_fail
;
16095 swig_obj
[0] = args
;
16096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16097 if (!SWIG_IsOK(res1
)) {
16098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16100 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (bool)(arg1
)->HasU();
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16116 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16117 PyObject
*resultobj
= 0;
16118 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16122 PyObject
*swig_obj
[1] ;
16124 if (!args
) SWIG_fail
;
16125 swig_obj
[0] = args
;
16126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16127 if (!SWIG_IsOK(res1
)) {
16128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16130 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (bool)(arg1
)->HasV();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16146 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16147 PyObject
*resultobj
= 0;
16148 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16152 PyObject
*swig_obj
[1] ;
16154 if (!args
) SWIG_fail
;
16155 swig_obj
[0] = args
;
16156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16157 if (!SWIG_IsOK(res1
)) {
16158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16160 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (bool)(arg1
)->HasPOV();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16176 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16177 PyObject
*resultobj
= 0;
16178 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16182 PyObject
*swig_obj
[1] ;
16184 if (!args
) SWIG_fail
;
16185 swig_obj
[0] = args
;
16186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16187 if (!SWIG_IsOK(res1
)) {
16188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16190 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= (bool)(arg1
)->HasPOV4Dir();
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16206 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16207 PyObject
*resultobj
= 0;
16208 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16212 PyObject
*swig_obj
[1] ;
16214 if (!args
) SWIG_fail
;
16215 swig_obj
[0] = args
;
16216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16217 if (!SWIG_IsOK(res1
)) {
16218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16220 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (bool)(arg1
)->HasPOVCTS();
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16236 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
= 0;
16238 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16239 wxWindow
*arg2
= (wxWindow
*) 0 ;
16240 int arg3
= (int) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 PyObject
* obj2
= 0 ;
16251 char * kwnames
[] = {
16252 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16257 if (!SWIG_IsOK(res1
)) {
16258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16260 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16262 if (!SWIG_IsOK(res2
)) {
16263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16265 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16268 if (!SWIG_IsOK(ecode3
)) {
16269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16271 arg3
= static_cast< int >(val3
);
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16288 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16289 PyObject
*resultobj
= 0;
16290 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16294 PyObject
*swig_obj
[1] ;
16296 if (!args
) SWIG_fail
;
16297 swig_obj
[0] = args
;
16298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16299 if (!SWIG_IsOK(res1
)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16302 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (bool)(arg1
)->ReleaseCapture();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16318 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16321 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16322 return SWIG_Py_Void();
16325 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16326 return SWIG_Python_InitShadowInstance(args
);
16329 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
= 0;
16331 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16332 int arg2
= (int) 0 ;
16333 int arg3
= (int) wxJOYSTICK1
;
16334 int arg4
= (int) 0 ;
16335 wxJoystickEvent
*result
= 0 ;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 PyObject
* obj2
= 0 ;
16347 PyObject
* obj3
= 0 ;
16348 char * kwnames
[] = {
16349 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16354 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16355 if (!SWIG_IsOK(ecode1
)) {
16356 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16358 arg1
= static_cast< wxEventType
>(val1
);
16361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16362 if (!SWIG_IsOK(ecode2
)) {
16363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16365 arg2
= static_cast< int >(val2
);
16368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16369 if (!SWIG_IsOK(ecode3
)) {
16370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16372 arg3
= static_cast< int >(val3
);
16375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16376 if (!SWIG_IsOK(ecode4
)) {
16377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16379 arg4
= static_cast< int >(val4
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16394 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16395 PyObject
*resultobj
= 0;
16396 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16400 PyObject
*swig_obj
[1] ;
16402 if (!args
) SWIG_fail
;
16403 swig_obj
[0] = args
;
16404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16405 if (!SWIG_IsOK(res1
)) {
16406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16408 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16422 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16423 PyObject
*resultobj
= 0;
16424 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16428 PyObject
*swig_obj
[1] ;
16430 if (!args
) SWIG_fail
;
16431 swig_obj
[0] = args
;
16432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16433 if (!SWIG_IsOK(res1
)) {
16434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16436 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= SWIG_From_int(static_cast< int >(result
));
16450 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16451 PyObject
*resultobj
= 0;
16452 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16456 PyObject
*swig_obj
[1] ;
16458 if (!args
) SWIG_fail
;
16459 swig_obj
[0] = args
;
16460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16461 if (!SWIG_IsOK(res1
)) {
16462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16464 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= SWIG_From_int(static_cast< int >(result
));
16478 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16479 PyObject
*resultobj
= 0;
16480 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16484 PyObject
*swig_obj
[1] ;
16486 if (!args
) SWIG_fail
;
16487 swig_obj
[0] = args
;
16488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16492 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= SWIG_From_int(static_cast< int >(result
));
16506 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16507 PyObject
*resultobj
= 0;
16508 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16512 PyObject
*swig_obj
[1] ;
16514 if (!args
) SWIG_fail
;
16515 swig_obj
[0] = args
;
16516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16517 if (!SWIG_IsOK(res1
)) {
16518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16520 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= SWIG_From_int(static_cast< int >(result
));
16534 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
= 0;
16536 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16542 PyObject
* obj0
= 0 ;
16543 PyObject
* obj1
= 0 ;
16544 char * kwnames
[] = {
16545 (char *) "self",(char *) "stick", NULL
16548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16550 if (!SWIG_IsOK(res1
)) {
16551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16553 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16555 if (!SWIG_IsOK(ecode2
)) {
16556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16558 arg2
= static_cast< int >(val2
);
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 (arg1
)->SetJoystick(arg2
);
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= SWIG_Py_Void();
16572 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
= 0;
16574 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 char * kwnames
[] = {
16583 (char *) "self",(char *) "state", NULL
16586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16588 if (!SWIG_IsOK(res1
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16591 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16593 if (!SWIG_IsOK(ecode2
)) {
16594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16596 arg2
= static_cast< int >(val2
);
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->SetButtonState(arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_Py_Void();
16610 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
= 0;
16612 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 char * kwnames
[] = {
16621 (char *) "self",(char *) "change", NULL
16624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",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_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16629 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16631 if (!SWIG_IsOK(ecode2
)) {
16632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16634 arg2
= static_cast< int >(val2
);
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->SetButtonChange(arg2
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_Py_Void();
16648 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
= 0;
16650 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16651 wxPoint
*arg2
= 0 ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 char * kwnames
[] = {
16658 (char *) "self",(char *) "pos", NULL
16661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",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_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16666 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= SWIG_Py_Void();
16684 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
= 0;
16686 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 PyObject
* obj1
= 0 ;
16694 char * kwnames
[] = {
16695 (char *) "self",(char *) "zPos", NULL
16698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16700 if (!SWIG_IsOK(res1
)) {
16701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16703 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16705 if (!SWIG_IsOK(ecode2
)) {
16706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16708 arg2
= static_cast< int >(val2
);
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 (arg1
)->SetZPosition(arg2
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_Py_Void();
16722 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16723 PyObject
*resultobj
= 0;
16724 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16728 PyObject
*swig_obj
[1] ;
16730 if (!args
) SWIG_fail
;
16731 swig_obj
[0] = args
;
16732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16733 if (!SWIG_IsOK(res1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16736 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16752 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16753 PyObject
*resultobj
= 0;
16754 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16758 PyObject
*swig_obj
[1] ;
16760 if (!args
) SWIG_fail
;
16761 swig_obj
[0] = args
;
16762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16763 if (!SWIG_IsOK(res1
)) {
16764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16766 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16782 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16783 PyObject
*resultobj
= 0;
16784 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16788 PyObject
*swig_obj
[1] ;
16790 if (!args
) SWIG_fail
;
16791 swig_obj
[0] = args
;
16792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16793 if (!SWIG_IsOK(res1
)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16796 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16812 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
= 0;
16814 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16815 int arg2
= (int) wxJOY_BUTTON_ANY
;
16821 PyObject
* obj0
= 0 ;
16822 PyObject
* obj1
= 0 ;
16823 char * kwnames
[] = {
16824 (char *) "self",(char *) "but", NULL
16827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16829 if (!SWIG_IsOK(res1
)) {
16830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16832 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16835 if (!SWIG_IsOK(ecode2
)) {
16836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
16838 arg2
= static_cast< int >(val2
);
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16855 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
= 0;
16857 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16858 int arg2
= (int) wxJOY_BUTTON_ANY
;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 char * kwnames
[] = {
16867 (char *) "self",(char *) "but", NULL
16870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16872 if (!SWIG_IsOK(res1
)) {
16873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16875 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16878 if (!SWIG_IsOK(ecode2
)) {
16879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
16881 arg2
= static_cast< int >(val2
);
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16898 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
= 0;
16900 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16901 int arg2
= (int) wxJOY_BUTTON_ANY
;
16907 PyObject
* obj0
= 0 ;
16908 PyObject
* obj1
= 0 ;
16909 char * kwnames
[] = {
16910 (char *) "self",(char *) "but", NULL
16913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16915 if (!SWIG_IsOK(res1
)) {
16916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16918 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16921 if (!SWIG_IsOK(ecode2
)) {
16922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
16924 arg2
= static_cast< int >(val2
);
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16941 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16944 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
16945 return SWIG_Py_Void();
16948 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16949 return SWIG_Python_InitShadowInstance(args
);
16952 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
= 0;
16954 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16955 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16956 wxSound
*result
= 0 ;
16957 bool temp1
= false ;
16958 PyObject
* obj0
= 0 ;
16959 char * kwnames
[] = {
16960 (char *) "fileName", NULL
16963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
16966 arg1
= wxString_in_helper(obj0
);
16967 if (arg1
== NULL
) SWIG_fail
;
16972 if (!wxPyCheckForApp()) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
16993 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
= 0;
16995 PyObject
*arg1
= (PyObject
*) 0 ;
16996 wxSound
*result
= 0 ;
16997 PyObject
* obj0
= 0 ;
16998 char * kwnames
[] = {
16999 (char *) "data", NULL
17002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17005 if (!wxPyCheckForApp()) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= (wxSound
*)new_wxSound(arg1
);
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17018 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17019 PyObject
*resultobj
= 0;
17020 wxSound
*arg1
= (wxSound
*) 0 ;
17023 PyObject
*swig_obj
[1] ;
17025 if (!args
) SWIG_fail
;
17026 swig_obj
[0] = args
;
17027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17028 if (!SWIG_IsOK(res1
)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17031 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= SWIG_Py_Void();
17046 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
= 0;
17048 wxSound
*arg1
= (wxSound
*) 0 ;
17049 wxString
*arg2
= 0 ;
17053 bool temp2
= false ;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 char * kwnames
[] = {
17057 (char *) "self",(char *) "fileName", NULL
17060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17062 if (!SWIG_IsOK(res1
)) {
17063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17065 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17067 arg2
= wxString_in_helper(obj1
);
17068 if (arg2
== NULL
) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17094 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
= 0;
17096 wxSound
*arg1
= (wxSound
*) 0 ;
17097 PyObject
*arg2
= (PyObject
*) 0 ;
17101 PyObject
* obj0
= 0 ;
17102 PyObject
* obj1
= 0 ;
17103 char * kwnames
[] = {
17104 (char *) "self",(char *) "data", NULL
17107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17109 if (!SWIG_IsOK(res1
)) {
17110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17112 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17116 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17129 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17130 PyObject
*resultobj
= 0;
17131 wxSound
*arg1
= (wxSound
*) 0 ;
17135 PyObject
*swig_obj
[1] ;
17137 if (!args
) SWIG_fail
;
17138 swig_obj
[0] = args
;
17139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17140 if (!SWIG_IsOK(res1
)) {
17141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17143 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= (bool)(arg1
)->IsOk();
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17159 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
= 0;
17161 wxSound
*arg1
= (wxSound
*) 0 ;
17162 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17166 unsigned int val2
;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 char * kwnames
[] = {
17171 (char *) "self",(char *) "flags", NULL
17174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17176 if (!SWIG_IsOK(res1
)) {
17177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17179 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17181 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17182 if (!SWIG_IsOK(ecode2
)) {
17183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17185 arg2
= static_cast< unsigned int >(val2
);
17188 if (!wxPyCheckForApp()) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17203 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
= 0;
17205 wxString
*arg1
= 0 ;
17206 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17208 bool temp1
= false ;
17209 unsigned int val2
;
17211 PyObject
* obj0
= 0 ;
17212 PyObject
* obj1
= 0 ;
17213 char * kwnames
[] = {
17214 (char *) "filename",(char *) "flags", NULL
17217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17219 arg1
= wxString_in_helper(obj0
);
17220 if (arg1
== NULL
) SWIG_fail
;
17224 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17225 if (!SWIG_IsOK(ecode2
)) {
17226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17228 arg2
= static_cast< unsigned int >(val2
);
17231 if (!wxPyCheckForApp()) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17254 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17255 PyObject
*resultobj
= 0;
17257 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17259 if (!wxPyCheckForApp()) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= SWIG_Py_Void();
17272 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17275 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17276 return SWIG_Py_Void();
17279 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17280 return SWIG_Python_InitShadowInstance(args
);
17283 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
= 0;
17285 wxString
*arg1
= 0 ;
17286 wxString
*arg2
= 0 ;
17287 wxString
*arg3
= 0 ;
17288 wxString
*arg4
= 0 ;
17289 wxFileTypeInfo
*result
= 0 ;
17290 bool temp1
= false ;
17291 bool temp2
= false ;
17292 bool temp3
= false ;
17293 bool temp4
= false ;
17294 PyObject
* obj0
= 0 ;
17295 PyObject
* obj1
= 0 ;
17296 PyObject
* obj2
= 0 ;
17297 PyObject
* obj3
= 0 ;
17298 char * kwnames
[] = {
17299 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17304 arg1
= wxString_in_helper(obj0
);
17305 if (arg1
== NULL
) SWIG_fail
;
17309 arg2
= wxString_in_helper(obj1
);
17310 if (arg2
== NULL
) SWIG_fail
;
17314 arg3
= wxString_in_helper(obj2
);
17315 if (arg3
== NULL
) SWIG_fail
;
17319 arg4
= wxString_in_helper(obj3
);
17320 if (arg4
== NULL
) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17368 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
= 0;
17370 wxArrayString
*arg1
= 0 ;
17371 wxFileTypeInfo
*result
= 0 ;
17372 bool temp1
= false ;
17373 PyObject
* obj0
= 0 ;
17374 char * kwnames
[] = {
17375 (char *) "sArray", NULL
17378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17380 if (! PySequence_Check(obj0
)) {
17381 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17384 arg1
= new wxArrayString
;
17386 int i
, len
=PySequence_Length(obj0
);
17387 for (i
=0; i
<len
; i
++) {
17388 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17389 wxString
* s
= wxString_in_helper(item
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17404 if (temp1
) delete arg1
;
17409 if (temp1
) delete arg1
;
17415 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17416 PyObject
*resultobj
= 0;
17417 wxFileTypeInfo
*result
= 0 ;
17419 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17433 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17434 PyObject
*resultobj
= 0;
17435 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17439 PyObject
*swig_obj
[1] ;
17441 if (!args
) SWIG_fail
;
17442 swig_obj
[0] = args
;
17443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17444 if (!SWIG_IsOK(res1
)) {
17445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17447 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17463 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
= 0;
17465 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17466 wxString
*arg2
= 0 ;
17467 int arg3
= (int) 0 ;
17470 bool temp2
= false ;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 PyObject
* obj2
= 0 ;
17476 char * kwnames
[] = {
17477 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17482 if (!SWIG_IsOK(res1
)) {
17483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17485 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17487 arg2
= wxString_in_helper(obj1
);
17488 if (arg2
== NULL
) SWIG_fail
;
17492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17493 if (!SWIG_IsOK(ecode3
)) {
17494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17496 arg3
= static_cast< int >(val3
);
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= SWIG_Py_Void();
17519 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
= 0;
17521 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17522 wxString
*arg2
= 0 ;
17525 bool temp2
= false ;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 char * kwnames
[] = {
17529 (char *) "self",(char *) "shortDesc", NULL
17532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17534 if (!SWIG_IsOK(res1
)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17537 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17539 arg2
= wxString_in_helper(obj1
);
17540 if (arg2
== NULL
) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17549 resultobj
= SWIG_Py_Void();
17564 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(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_GetMimeType" "', 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
)->GetMimeType();
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_GetOpenCommand(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_GetOpenCommand" "', 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
)->GetOpenCommand();
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_GetPrintCommand(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_GetPrintCommand" "', 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
)->GetPrintCommand();
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_GetShortDesc(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_GetShortDesc" "', 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
)->GetShortDesc();
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_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17713 PyObject
*resultobj
= 0;
17714 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17715 wxString
*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_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17726 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17731 result
= (wxString
*) &_result_ref
;
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17738 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17740 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17749 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17750 PyObject
*resultobj
= 0;
17751 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17752 wxArrayString
*result
= 0 ;
17755 PyObject
*swig_obj
[1] ;
17757 if (!args
) SWIG_fail
;
17758 swig_obj
[0] = args
;
17759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17760 if (!SWIG_IsOK(res1
)) {
17761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17763 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17768 result
= (wxArrayString
*) &_result_ref
;
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= wxArrayString2PyList_helper(*result
);
17782 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17783 PyObject
*resultobj
= 0;
17784 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17788 PyObject
*swig_obj
[1] ;
17790 if (!args
) SWIG_fail
;
17791 swig_obj
[0] = args
;
17792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17793 if (!SWIG_IsOK(res1
)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17796 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
17810 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17811 PyObject
*resultobj
= 0;
17812 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17813 wxString
*result
= 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_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17824 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
17829 result
= (wxString
*) &_result_ref
;
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17838 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17847 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17848 PyObject
*resultobj
= 0;
17849 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17853 PyObject
*swig_obj
[1] ;
17855 if (!args
) SWIG_fail
;
17856 swig_obj
[0] = args
;
17857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17858 if (!SWIG_IsOK(res1
)) {
17859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17861 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_From_int(static_cast< int >(result
));
17875 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17878 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
17879 return SWIG_Py_Void();
17882 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17883 return SWIG_Python_InitShadowInstance(args
);
17886 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
= 0;
17888 wxFileTypeInfo
*arg1
= 0 ;
17889 wxFileType
*result
= 0 ;
17892 PyObject
* obj0
= 0 ;
17893 char * kwnames
[] = {
17894 (char *) "ftInfo", NULL
17897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
17898 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17899 if (!SWIG_IsOK(res1
)) {
17900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
17903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
17905 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
17919 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17920 PyObject
*resultobj
= 0;
17921 wxFileType
*arg1
= (wxFileType
*) 0 ;
17924 PyObject
*swig_obj
[1] ;
17926 if (!args
) SWIG_fail
;
17927 swig_obj
[0] = args
;
17928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
17929 if (!SWIG_IsOK(res1
)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
17932 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= SWIG_Py_Void();
17947 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17948 PyObject
*resultobj
= 0;
17949 wxFileType
*arg1
= (wxFileType
*) 0 ;
17950 PyObject
*result
= 0 ;
17953 PyObject
*swig_obj
[1] ;
17955 if (!args
) SWIG_fail
;
17956 swig_obj
[0] = args
;
17957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17958 if (!SWIG_IsOK(res1
)) {
17959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
17961 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= result
;
17975 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17976 PyObject
*resultobj
= 0;
17977 wxFileType
*arg1
= (wxFileType
*) 0 ;
17978 PyObject
*result
= 0 ;
17981 PyObject
*swig_obj
[1] ;
17983 if (!args
) SWIG_fail
;
17984 swig_obj
[0] = args
;
17985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17986 if (!SWIG_IsOK(res1
)) {
17987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
17989 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= result
;
18003 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18004 PyObject
*resultobj
= 0;
18005 wxFileType
*arg1
= (wxFileType
*) 0 ;
18006 PyObject
*result
= 0 ;
18009 PyObject
*swig_obj
[1] ;
18011 if (!args
) SWIG_fail
;
18012 swig_obj
[0] = args
;
18013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18017 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= result
;
18031 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18032 PyObject
*resultobj
= 0;
18033 wxFileType
*arg1
= (wxFileType
*) 0 ;
18034 wxIcon
*result
= 0 ;
18037 PyObject
*swig_obj
[1] ;
18039 if (!args
) SWIG_fail
;
18040 swig_obj
[0] = args
;
18041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18042 if (!SWIG_IsOK(res1
)) {
18043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18045 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18059 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18060 PyObject
*resultobj
= 0;
18061 wxFileType
*arg1
= (wxFileType
*) 0 ;
18062 PyObject
*result
= 0 ;
18065 PyObject
*swig_obj
[1] ;
18067 if (!args
) SWIG_fail
;
18068 swig_obj
[0] = args
;
18069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18070 if (!SWIG_IsOK(res1
)) {
18071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18073 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= result
;
18087 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18088 PyObject
*resultobj
= 0;
18089 wxFileType
*arg1
= (wxFileType
*) 0 ;
18090 PyObject
*result
= 0 ;
18093 PyObject
*swig_obj
[1] ;
18095 if (!args
) SWIG_fail
;
18096 swig_obj
[0] = args
;
18097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18098 if (!SWIG_IsOK(res1
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18101 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= result
;
18115 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
= 0;
18117 wxFileType
*arg1
= (wxFileType
*) 0 ;
18118 wxString
*arg2
= 0 ;
18119 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18120 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18121 PyObject
*result
= 0 ;
18124 bool temp2
= false ;
18125 bool temp3
= false ;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 PyObject
* obj2
= 0 ;
18129 char * kwnames
[] = {
18130 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18138 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18140 arg2
= wxString_in_helper(obj1
);
18141 if (arg2
== NULL
) SWIG_fail
;
18146 arg3
= wxString_in_helper(obj2
);
18147 if (arg3
== NULL
) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= result
;
18180 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
= 0;
18182 wxFileType
*arg1
= (wxFileType
*) 0 ;
18183 wxString
*arg2
= 0 ;
18184 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18185 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18186 PyObject
*result
= 0 ;
18189 bool temp2
= false ;
18190 bool temp3
= false ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 PyObject
* obj2
= 0 ;
18194 char * kwnames
[] = {
18195 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18200 if (!SWIG_IsOK(res1
)) {
18201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18203 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18205 arg2
= wxString_in_helper(obj1
);
18206 if (arg2
== NULL
) SWIG_fail
;
18211 arg3
= wxString_in_helper(obj2
);
18212 if (arg3
== NULL
) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= result
;
18245 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
= 0;
18247 wxFileType
*arg1
= (wxFileType
*) 0 ;
18248 wxString
*arg2
= 0 ;
18249 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18250 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18251 PyObject
*result
= 0 ;
18254 bool temp2
= false ;
18255 bool temp3
= false ;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 PyObject
* obj2
= 0 ;
18259 char * kwnames
[] = {
18260 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18265 if (!SWIG_IsOK(res1
)) {
18266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18268 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18270 arg2
= wxString_in_helper(obj1
);
18271 if (arg2
== NULL
) SWIG_fail
;
18276 arg3
= wxString_in_helper(obj2
);
18277 if (arg3
== NULL
) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= result
;
18310 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
= 0;
18312 wxFileType
*arg1
= (wxFileType
*) 0 ;
18313 wxString
*arg2
= 0 ;
18314 wxString
*arg3
= 0 ;
18315 bool arg4
= (bool) true ;
18319 bool temp2
= false ;
18320 bool temp3
= false ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 PyObject
* obj2
= 0 ;
18326 PyObject
* obj3
= 0 ;
18327 char * kwnames
[] = {
18328 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18333 if (!SWIG_IsOK(res1
)) {
18334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18336 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18338 arg2
= wxString_in_helper(obj1
);
18339 if (arg2
== NULL
) SWIG_fail
;
18343 arg3
= wxString_in_helper(obj2
);
18344 if (arg3
== NULL
) SWIG_fail
;
18348 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18349 if (!SWIG_IsOK(ecode4
)) {
18350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18352 arg4
= static_cast< bool >(val4
);
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18385 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
= 0;
18387 wxFileType
*arg1
= (wxFileType
*) 0 ;
18388 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18389 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18390 int arg3
= (int) 0 ;
18394 bool temp2
= false ;
18397 PyObject
* obj0
= 0 ;
18398 PyObject
* obj1
= 0 ;
18399 PyObject
* obj2
= 0 ;
18400 char * kwnames
[] = {
18401 (char *) "self",(char *) "cmd",(char *) "index", NULL
18404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18406 if (!SWIG_IsOK(res1
)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18409 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18412 arg2
= wxString_in_helper(obj1
);
18413 if (arg2
== NULL
) SWIG_fail
;
18418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18419 if (!SWIG_IsOK(ecode3
)) {
18420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18422 arg3
= static_cast< int >(val3
);
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18447 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18448 PyObject
*resultobj
= 0;
18449 wxFileType
*arg1
= (wxFileType
*) 0 ;
18453 PyObject
*swig_obj
[1] ;
18455 if (!args
) SWIG_fail
;
18456 swig_obj
[0] = args
;
18457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18458 if (!SWIG_IsOK(res1
)) {
18459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18461 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (bool)(arg1
)->Unassociate();
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18477 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
= 0;
18479 wxString
*arg1
= 0 ;
18480 wxString
*arg2
= 0 ;
18481 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18482 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18484 bool temp1
= false ;
18485 bool temp2
= false ;
18486 bool temp3
= false ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 PyObject
* obj2
= 0 ;
18490 char * kwnames
[] = {
18491 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18496 arg1
= wxString_in_helper(obj0
);
18497 if (arg1
== NULL
) SWIG_fail
;
18501 arg2
= wxString_in_helper(obj1
);
18502 if (arg2
== NULL
) SWIG_fail
;
18507 arg3
= wxString_in_helper(obj2
);
18508 if (arg3
== NULL
) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18555 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18558 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18559 return SWIG_Py_Void();
18562 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18563 return SWIG_Python_InitShadowInstance(args
);
18566 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18567 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18572 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18573 PyObject
*pyobj
= 0;
18575 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18580 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
= 0;
18582 wxString
*arg1
= 0 ;
18583 wxString
*arg2
= 0 ;
18585 bool temp1
= false ;
18586 bool temp2
= false ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 char * kwnames
[] = {
18590 (char *) "mimeType",(char *) "wildcard", NULL
18593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18595 arg1
= wxString_in_helper(obj0
);
18596 if (arg1
== NULL
) SWIG_fail
;
18600 arg2
= wxString_in_helper(obj1
);
18601 if (arg2
== NULL
) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18635 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18636 PyObject
*resultobj
= 0;
18637 wxMimeTypesManager
*result
= 0 ;
18639 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18653 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
= 0;
18655 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18656 int arg2
= (int) wxMAILCAP_ALL
;
18657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18663 bool temp3
= false ;
18664 PyObject
* obj0
= 0 ;
18665 PyObject
* obj1
= 0 ;
18666 PyObject
* obj2
= 0 ;
18667 char * kwnames
[] = {
18668 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18673 if (!SWIG_IsOK(res1
)) {
18674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18676 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18679 if (!SWIG_IsOK(ecode2
)) {
18680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18682 arg2
= static_cast< int >(val2
);
18686 arg3
= wxString_in_helper(obj2
);
18687 if (arg3
== NULL
) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= SWIG_Py_Void();
18712 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18713 PyObject
*resultobj
= 0;
18714 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18717 PyObject
*swig_obj
[1] ;
18719 if (!args
) SWIG_fail
;
18720 swig_obj
[0] = args
;
18721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18722 if (!SWIG_IsOK(res1
)) {
18723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18725 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 (arg1
)->ClearData();
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 resultobj
= SWIG_Py_Void();
18739 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
= 0;
18741 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18742 wxString
*arg2
= 0 ;
18743 wxFileType
*result
= 0 ;
18746 bool temp2
= false ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 char * kwnames
[] = {
18750 (char *) "self",(char *) "ext", NULL
18753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18755 if (!SWIG_IsOK(res1
)) {
18756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18758 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18760 arg2
= wxString_in_helper(obj1
);
18761 if (arg2
== NULL
) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18785 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
= 0;
18787 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18788 wxString
*arg2
= 0 ;
18789 wxFileType
*result
= 0 ;
18792 bool temp2
= false ;
18793 PyObject
* obj0
= 0 ;
18794 PyObject
* obj1
= 0 ;
18795 char * kwnames
[] = {
18796 (char *) "self",(char *) "mimeType", NULL
18799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18801 if (!SWIG_IsOK(res1
)) {
18802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18804 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18806 arg2
= wxString_in_helper(obj1
);
18807 if (arg2
== NULL
) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18831 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
= 0;
18833 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18834 wxString
*arg2
= 0 ;
18835 bool arg3
= (bool) false ;
18839 bool temp2
= false ;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 PyObject
* obj2
= 0 ;
18845 char * kwnames
[] = {
18846 (char *) "self",(char *) "filename",(char *) "fallback", NULL
18849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18851 if (!SWIG_IsOK(res1
)) {
18852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18854 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18856 arg2
= wxString_in_helper(obj1
);
18857 if (arg2
== NULL
) SWIG_fail
;
18861 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
18862 if (!SWIG_IsOK(ecode3
)) {
18863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
18865 arg3
= static_cast< bool >(val3
);
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18890 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
= 0;
18892 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18893 wxString
*arg2
= 0 ;
18897 bool temp2
= false ;
18898 PyObject
* obj0
= 0 ;
18899 PyObject
* obj1
= 0 ;
18900 char * kwnames
[] = {
18901 (char *) "self",(char *) "filename", NULL
18904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18906 if (!SWIG_IsOK(res1
)) {
18907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18909 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18911 arg2
= wxString_in_helper(obj1
);
18912 if (arg2
== NULL
) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18938 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18939 PyObject
*resultobj
= 0;
18940 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18941 PyObject
*result
= 0 ;
18944 PyObject
*swig_obj
[1] ;
18946 if (!args
) SWIG_fail
;
18947 swig_obj
[0] = args
;
18948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18952 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= result
;
18966 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
= 0;
18968 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18969 wxFileTypeInfo
*arg2
= 0 ;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 char * kwnames
[] = {
18977 (char *) "self",(char *) "ft", NULL
18980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18982 if (!SWIG_IsOK(res1
)) {
18983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18985 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18987 if (!SWIG_IsOK(res2
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18993 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= SWIG_Py_Void();
19007 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
= 0;
19009 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19010 wxFileTypeInfo
*arg2
= 0 ;
19011 wxFileType
*result
= 0 ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 char * kwnames
[] = {
19019 (char *) "self",(char *) "ftInfo", NULL
19022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19024 if (!SWIG_IsOK(res1
)) {
19025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19027 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19029 if (!SWIG_IsOK(res2
)) {
19030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19035 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19049 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
= 0;
19051 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19052 wxFileType
*arg2
= (wxFileType
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char * kwnames
[] = {
19061 (char *) "self",(char *) "ft", NULL
19064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19066 if (!SWIG_IsOK(res1
)) {
19067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19069 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19071 if (!SWIG_IsOK(res2
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19074 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 result
= (bool)(arg1
)->Unassociate(arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19090 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19091 PyObject
*resultobj
= 0;
19092 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19095 PyObject
*swig_obj
[1] ;
19097 if (!args
) SWIG_fail
;
19098 swig_obj
[0] = args
;
19099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19100 if (!SWIG_IsOK(res1
)) {
19101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19103 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 wxPyEndAllowThreads(__tstate
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 resultobj
= SWIG_Py_Void();
19118 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19121 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19122 return SWIG_Py_Void();
19125 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19126 return SWIG_Python_InitShadowInstance(args
);
19129 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19130 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19135 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19136 PyObject
*pyobj
= 0;
19140 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19142 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19149 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19150 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19155 SWIGINTERN PyObject
*ART_MENU_get(void) {
19156 PyObject
*pyobj
= 0;
19160 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19162 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19169 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19170 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19175 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19176 PyObject
*pyobj
= 0;
19180 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19182 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19189 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19190 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19195 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19196 PyObject
*pyobj
= 0;
19200 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19202 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19209 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19210 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19215 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19216 PyObject
*pyobj
= 0;
19220 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19222 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19229 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19230 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19235 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19236 PyObject
*pyobj
= 0;
19240 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19242 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19249 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19250 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19255 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19256 PyObject
*pyobj
= 0;
19260 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19262 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19269 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19270 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19275 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19276 PyObject
*pyobj
= 0;
19280 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19282 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19289 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19290 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19295 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19296 PyObject
*pyobj
= 0;
19300 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19302 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19309 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19310 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19315 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19316 PyObject
*pyobj
= 0;
19320 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19322 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19329 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19330 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19335 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19336 PyObject
*pyobj
= 0;
19340 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19342 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19349 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19350 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19355 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19356 PyObject
*pyobj
= 0;
19360 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19362 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19369 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19370 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19375 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19376 PyObject
*pyobj
= 0;
19380 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19382 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19389 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19390 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19395 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19396 PyObject
*pyobj
= 0;
19400 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19402 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19409 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19410 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19415 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19416 PyObject
*pyobj
= 0;
19420 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19422 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19429 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19430 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19435 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19436 PyObject
*pyobj
= 0;
19440 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19442 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19449 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19450 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19455 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19456 PyObject
*pyobj
= 0;
19460 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19462 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19469 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19470 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19475 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19476 PyObject
*pyobj
= 0;
19480 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19482 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19489 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19490 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19495 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19496 PyObject
*pyobj
= 0;
19500 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19502 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19509 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19510 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19515 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19516 PyObject
*pyobj
= 0;
19520 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19522 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19529 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19530 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19535 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19536 PyObject
*pyobj
= 0;
19540 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19542 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19549 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19550 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19555 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19556 PyObject
*pyobj
= 0;
19560 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19562 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19569 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19570 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19575 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19576 PyObject
*pyobj
= 0;
19580 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19582 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19589 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19590 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19595 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19596 PyObject
*pyobj
= 0;
19600 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19602 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19609 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19610 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19615 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19616 PyObject
*pyobj
= 0;
19620 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19622 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19629 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19630 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19635 SWIGINTERN PyObject
*ART_HELP_get(void) {
19636 PyObject
*pyobj
= 0;
19640 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19642 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19649 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19650 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19655 SWIGINTERN PyObject
*ART_TIP_get(void) {
19656 PyObject
*pyobj
= 0;
19660 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19662 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19669 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19670 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19675 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19676 PyObject
*pyobj
= 0;
19680 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19682 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19689 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19690 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19695 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19696 PyObject
*pyobj
= 0;
19700 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19702 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19709 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19710 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19715 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19716 PyObject
*pyobj
= 0;
19720 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19722 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19729 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19730 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19735 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19736 PyObject
*pyobj
= 0;
19740 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19742 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19749 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19750 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19755 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19756 PyObject
*pyobj
= 0;
19760 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19762 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19769 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19770 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19775 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19776 PyObject
*pyobj
= 0;
19780 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19782 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19789 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19790 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
19795 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
19796 PyObject
*pyobj
= 0;
19800 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19802 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19809 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
19810 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
19815 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
19816 PyObject
*pyobj
= 0;
19820 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19822 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19829 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
19830 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
19835 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
19836 PyObject
*pyobj
= 0;
19840 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
19842 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
19849 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
19850 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
19855 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
19856 PyObject
*pyobj
= 0;
19860 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
19862 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
19869 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
19870 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
19875 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
19876 PyObject
*pyobj
= 0;
19880 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
19882 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
19889 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
19890 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
19895 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
19896 PyObject
*pyobj
= 0;
19900 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
19902 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
19909 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
19910 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
19915 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
19916 PyObject
*pyobj
= 0;
19920 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
19922 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
19929 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
19930 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
19935 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
19936 PyObject
*pyobj
= 0;
19940 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19942 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19949 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
19950 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
19955 SWIGINTERN PyObject
*ART_ERROR_get(void) {
19956 PyObject
*pyobj
= 0;
19960 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19962 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19969 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
19970 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
19975 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
19976 PyObject
*pyobj
= 0;
19980 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19982 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19989 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
19990 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
19995 SWIGINTERN PyObject
*ART_WARNING_get(void) {
19996 PyObject
*pyobj
= 0;
20000 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20002 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20009 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20010 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20015 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20016 PyObject
*pyobj
= 0;
20020 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20022 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20029 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20030 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20035 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20036 PyObject
*pyobj
= 0;
20040 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20042 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20049 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20050 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20055 SWIGINTERN PyObject
*ART_COPY_get(void) {
20056 PyObject
*pyobj
= 0;
20060 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20062 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20069 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20070 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20075 SWIGINTERN PyObject
*ART_CUT_get(void) {
20076 PyObject
*pyobj
= 0;
20080 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20082 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20089 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20090 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20095 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20096 PyObject
*pyobj
= 0;
20100 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20102 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20109 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20110 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20115 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20116 PyObject
*pyobj
= 0;
20120 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20122 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20129 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20130 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20135 SWIGINTERN PyObject
*ART_NEW_get(void) {
20136 PyObject
*pyobj
= 0;
20140 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20142 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20149 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20150 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20155 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20156 PyObject
*pyobj
= 0;
20160 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20162 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20169 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20170 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20175 SWIGINTERN PyObject
*ART_REDO_get(void) {
20176 PyObject
*pyobj
= 0;
20180 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20182 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20189 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20190 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20195 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20196 PyObject
*pyobj
= 0;
20200 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20202 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20209 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20210 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20215 SWIGINTERN PyObject
*ART_FIND_get(void) {
20216 PyObject
*pyobj
= 0;
20220 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20222 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20229 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20230 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20235 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20236 PyObject
*pyobj
= 0;
20240 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20242 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20249 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20250 PyObject
*resultobj
= 0;
20251 wxPyArtProvider
*result
= 0 ;
20253 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20255 if (!wxPyCheckForApp()) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20268 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20269 PyObject
*resultobj
= 0;
20270 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20273 PyObject
*swig_obj
[1] ;
20275 if (!args
) SWIG_fail
;
20276 swig_obj
[0] = args
;
20277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20278 if (!SWIG_IsOK(res1
)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20281 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= SWIG_Py_Void();
20296 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
= 0;
20298 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20299 PyObject
*arg2
= (PyObject
*) 0 ;
20300 PyObject
*arg3
= (PyObject
*) 0 ;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20305 PyObject
* obj2
= 0 ;
20306 char * kwnames
[] = {
20307 (char *) "self",(char *) "self",(char *) "_class", NULL
20310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20312 if (!SWIG_IsOK(res1
)) {
20313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20315 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20320 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 resultobj
= SWIG_Py_Void();
20331 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
= 0;
20333 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20335 PyObject
* obj0
= 0 ;
20336 char * kwnames
[] = {
20337 (char *) "provider", NULL
20340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
20341 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20342 if (!SWIG_IsOK(res1
)) {
20343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 wxPyArtProvider::PushProvider(arg1
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_Py_Void();
20358 SWIGINTERN PyObject
*_wrap_ArtProvider_InsertProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= 0;
20360 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20362 PyObject
* obj0
= 0 ;
20363 char * kwnames
[] = {
20364 (char *) "provider", NULL
20367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_InsertProvider",kwnames
,&obj0
)) SWIG_fail
;
20368 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20369 if (!SWIG_IsOK(res1
)) {
20370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_InsertProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 wxPyArtProvider::InsertProvider(arg1
);
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20378 resultobj
= SWIG_Py_Void();
20385 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20386 PyObject
*resultobj
= 0;
20389 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 result
= (bool)wxPyArtProvider::PopProvider();
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20405 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
= 0;
20407 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20411 PyObject
* obj0
= 0 ;
20412 char * kwnames
[] = {
20413 (char *) "provider", NULL
20416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
20417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20418 if (!SWIG_IsOK(res1
)) {
20419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20421 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20437 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
= 0;
20439 wxString
*arg1
= 0 ;
20440 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20441 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20442 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20443 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20445 bool temp1
= false ;
20446 bool temp2
= false ;
20448 PyObject
* obj0
= 0 ;
20449 PyObject
* obj1
= 0 ;
20450 PyObject
* obj2
= 0 ;
20451 char * kwnames
[] = {
20452 (char *) "id",(char *) "client",(char *) "size", NULL
20455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20457 arg1
= wxString_in_helper(obj0
);
20458 if (arg1
== NULL
) SWIG_fail
;
20463 arg2
= wxString_in_helper(obj1
);
20464 if (arg2
== NULL
) SWIG_fail
;
20471 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20475 if (!wxPyCheckForApp()) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20504 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
= 0;
20506 wxString
*arg1
= 0 ;
20507 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20508 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20509 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20510 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20512 bool temp1
= false ;
20513 bool temp2
= false ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 PyObject
* obj2
= 0 ;
20518 char * kwnames
[] = {
20519 (char *) "id",(char *) "client",(char *) "size", NULL
20522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20524 arg1
= wxString_in_helper(obj0
);
20525 if (arg1
== NULL
) SWIG_fail
;
20530 arg2
= wxString_in_helper(obj1
);
20531 if (arg2
== NULL
) SWIG_fail
;
20538 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20542 if (!wxPyCheckForApp()) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20571 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
= 0;
20573 wxString
*arg1
= 0 ;
20574 bool arg2
= (bool) false ;
20576 bool temp1
= false ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 char * kwnames
[] = {
20582 (char *) "client",(char *) "platform_dependent", NULL
20585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20587 arg1
= wxString_in_helper(obj0
);
20588 if (arg1
== NULL
) SWIG_fail
;
20592 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20593 if (!SWIG_IsOK(ecode2
)) {
20594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20596 arg2
= static_cast< bool >(val2
);
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20619 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20620 PyObject
*resultobj
= 0;
20621 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20624 PyObject
*swig_obj
[1] ;
20626 if (!args
) SWIG_fail
;
20627 swig_obj
[0] = args
;
20628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20629 if (!SWIG_IsOK(res1
)) {
20630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20632 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 wxPyArtProvider_Destroy(arg1
);
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_Py_Void();
20646 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20649 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20650 return SWIG_Py_Void();
20653 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20654 return SWIG_Python_InitShadowInstance(args
);
20657 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20658 PyObject
*resultobj
= 0;
20659 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20662 PyObject
*swig_obj
[1] ;
20664 if (!args
) SWIG_fail
;
20665 swig_obj
[0] = args
;
20666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20667 if (!SWIG_IsOK(res1
)) {
20668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20670 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= SWIG_Py_Void();
20685 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
= 0;
20687 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20688 wxConfigBase
*result
= 0 ;
20690 PyObject
* obj0
= 0 ;
20691 char * kwnames
[] = {
20692 (char *) "config", NULL
20695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20696 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20697 if (!SWIG_IsOK(res1
)) {
20698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20713 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
= 0;
20715 bool arg1
= (bool) true ;
20716 wxConfigBase
*result
= 0 ;
20719 PyObject
* obj0
= 0 ;
20720 char * kwnames
[] = {
20721 (char *) "createOnDemand", NULL
20724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20726 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20727 if (!SWIG_IsOK(ecode1
)) {
20728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20730 arg1
= static_cast< bool >(val1
);
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20745 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20746 PyObject
*resultobj
= 0;
20747 wxConfigBase
*result
= 0 ;
20749 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= (wxConfigBase
*)wxConfigBase::Create();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20763 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20764 PyObject
*resultobj
= 0;
20766 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 wxConfigBase::DontCreateOnDemand();
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_Py_Void();
20780 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
= 0;
20782 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20783 wxString
*arg2
= 0 ;
20786 bool temp2
= false ;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 char * kwnames
[] = {
20790 (char *) "self",(char *) "path", NULL
20793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20795 if (!SWIG_IsOK(res1
)) {
20796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20798 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20800 arg2
= wxString_in_helper(obj1
);
20801 if (arg2
== NULL
) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 (arg1
)->SetPath((wxString
const &)*arg2
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_Py_Void();
20825 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20826 PyObject
*resultobj
= 0;
20827 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20828 wxString
*result
= 0 ;
20831 PyObject
*swig_obj
[1] ;
20833 if (!args
) SWIG_fail
;
20834 swig_obj
[0] = args
;
20835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20836 if (!SWIG_IsOK(res1
)) {
20837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20839 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
20844 result
= (wxString
*) &_result_ref
;
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20851 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20853 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20862 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20863 PyObject
*resultobj
= 0;
20864 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20865 PyObject
*result
= 0 ;
20868 PyObject
*swig_obj
[1] ;
20870 if (!args
) SWIG_fail
;
20871 swig_obj
[0] = args
;
20872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20873 if (!SWIG_IsOK(res1
)) {
20874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20876 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= result
;
20890 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
= 0;
20892 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20894 PyObject
*result
= 0 ;
20899 PyObject
* obj0
= 0 ;
20900 PyObject
* obj1
= 0 ;
20901 char * kwnames
[] = {
20902 (char *) "self",(char *) "index", NULL
20905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20907 if (!SWIG_IsOK(res1
)) {
20908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20910 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20911 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20912 if (!SWIG_IsOK(ecode2
)) {
20913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
20915 arg2
= static_cast< long >(val2
);
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= result
;
20929 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20930 PyObject
*resultobj
= 0;
20931 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20932 PyObject
*result
= 0 ;
20935 PyObject
*swig_obj
[1] ;
20937 if (!args
) SWIG_fail
;
20938 swig_obj
[0] = args
;
20939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20940 if (!SWIG_IsOK(res1
)) {
20941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20943 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= result
;
20957 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
= 0;
20959 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20961 PyObject
*result
= 0 ;
20966 PyObject
* obj0
= 0 ;
20967 PyObject
* obj1
= 0 ;
20968 char * kwnames
[] = {
20969 (char *) "self",(char *) "index", NULL
20972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20974 if (!SWIG_IsOK(res1
)) {
20975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20977 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20979 if (!SWIG_IsOK(ecode2
)) {
20980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
20982 arg2
= static_cast< long >(val2
);
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= result
;
20996 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
= 0;
20998 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20999 bool arg2
= (bool) false ;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 char * kwnames
[] = {
21008 (char *) "self",(char *) "recursive", NULL
21011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21013 if (!SWIG_IsOK(res1
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21016 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21018 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21019 if (!SWIG_IsOK(ecode2
)) {
21020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21022 arg2
= static_cast< bool >(val2
);
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21037 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
= 0;
21039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21040 bool arg2
= (bool) false ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21048 char * kwnames
[] = {
21049 (char *) "self",(char *) "recursive", NULL
21052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21054 if (!SWIG_IsOK(res1
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21057 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21059 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21060 if (!SWIG_IsOK(ecode2
)) {
21061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21063 arg2
= static_cast< bool >(val2
);
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21078 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
= 0;
21080 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21081 wxString
*arg2
= 0 ;
21085 bool temp2
= false ;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 char * kwnames
[] = {
21089 (char *) "self",(char *) "name", NULL
21092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21094 if (!SWIG_IsOK(res1
)) {
21095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21097 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21099 arg2
= wxString_in_helper(obj1
);
21100 if (arg2
== NULL
) SWIG_fail
;
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21126 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
= 0;
21128 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21129 wxString
*arg2
= 0 ;
21133 bool temp2
= false ;
21134 PyObject
* obj0
= 0 ;
21135 PyObject
* obj1
= 0 ;
21136 char * kwnames
[] = {
21137 (char *) "self",(char *) "name", NULL
21140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21142 if (!SWIG_IsOK(res1
)) {
21143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21145 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21147 arg2
= wxString_in_helper(obj1
);
21148 if (arg2
== NULL
) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21174 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
= 0;
21176 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21177 wxString
*arg2
= 0 ;
21181 bool temp2
= false ;
21182 PyObject
* obj0
= 0 ;
21183 PyObject
* obj1
= 0 ;
21184 char * kwnames
[] = {
21185 (char *) "self",(char *) "name", NULL
21188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21190 if (!SWIG_IsOK(res1
)) {
21191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21193 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21195 arg2
= wxString_in_helper(obj1
);
21196 if (arg2
== NULL
) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21222 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
= 0;
21224 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21225 wxString
*arg2
= 0 ;
21226 wxConfigBase::EntryType result
;
21229 bool temp2
= false ;
21230 PyObject
* obj0
= 0 ;
21231 PyObject
* obj1
= 0 ;
21232 char * kwnames
[] = {
21233 (char *) "self",(char *) "name", NULL
21236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21238 if (!SWIG_IsOK(res1
)) {
21239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21241 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21243 arg2
= wxString_in_helper(obj1
);
21244 if (arg2
== NULL
) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= SWIG_From_int(static_cast< int >(result
));
21268 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
= 0;
21270 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21271 wxString
*arg2
= 0 ;
21272 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21273 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21277 bool temp2
= false ;
21278 bool temp3
= false ;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 PyObject
* obj2
= 0 ;
21282 char * kwnames
[] = {
21283 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21288 if (!SWIG_IsOK(res1
)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21291 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21293 arg2
= wxString_in_helper(obj1
);
21294 if (arg2
== NULL
) SWIG_fail
;
21299 arg3
= wxString_in_helper(obj2
);
21300 if (arg3
== NULL
) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21339 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
= 0;
21341 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21342 wxString
*arg2
= 0 ;
21343 long arg3
= (long) 0 ;
21347 bool temp2
= false ;
21350 PyObject
* obj0
= 0 ;
21351 PyObject
* obj1
= 0 ;
21352 PyObject
* obj2
= 0 ;
21353 char * kwnames
[] = {
21354 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21359 if (!SWIG_IsOK(res1
)) {
21360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21362 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21364 arg2
= wxString_in_helper(obj1
);
21365 if (arg2
== NULL
) SWIG_fail
;
21369 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21370 if (!SWIG_IsOK(ecode3
)) {
21371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21373 arg3
= static_cast< long >(val3
);
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= SWIG_From_long(static_cast< long >(result
));
21396 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
= 0;
21398 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21399 wxString
*arg2
= 0 ;
21400 double arg3
= (double) 0.0 ;
21404 bool temp2
= false ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 PyObject
* obj2
= 0 ;
21410 char * kwnames
[] = {
21411 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21416 if (!SWIG_IsOK(res1
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21419 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21421 arg2
= wxString_in_helper(obj1
);
21422 if (arg2
== NULL
) SWIG_fail
;
21426 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21427 if (!SWIG_IsOK(ecode3
)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21430 arg3
= static_cast< double >(val3
);
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= SWIG_From_double(static_cast< double >(result
));
21453 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
= 0;
21455 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21456 wxString
*arg2
= 0 ;
21457 bool arg3
= (bool) false ;
21461 bool temp2
= false ;
21464 PyObject
* obj0
= 0 ;
21465 PyObject
* obj1
= 0 ;
21466 PyObject
* obj2
= 0 ;
21467 char * kwnames
[] = {
21468 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21473 if (!SWIG_IsOK(res1
)) {
21474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21476 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21478 arg2
= wxString_in_helper(obj1
);
21479 if (arg2
== NULL
) SWIG_fail
;
21483 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21484 if (!SWIG_IsOK(ecode3
)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21487 arg3
= static_cast< bool >(val3
);
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21512 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
= 0;
21514 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21515 wxString
*arg2
= 0 ;
21516 wxString
*arg3
= 0 ;
21520 bool temp2
= false ;
21521 bool temp3
= false ;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 PyObject
* obj2
= 0 ;
21525 char * kwnames
[] = {
21526 (char *) "self",(char *) "key",(char *) "value", NULL
21529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21531 if (!SWIG_IsOK(res1
)) {
21532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21534 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21536 arg2
= wxString_in_helper(obj1
);
21537 if (arg2
== NULL
) SWIG_fail
;
21541 arg3
= wxString_in_helper(obj2
);
21542 if (arg3
== NULL
) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21576 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
= 0;
21578 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21579 wxString
*arg2
= 0 ;
21584 bool temp2
= false ;
21587 PyObject
* obj0
= 0 ;
21588 PyObject
* obj1
= 0 ;
21589 PyObject
* obj2
= 0 ;
21590 char * kwnames
[] = {
21591 (char *) "self",(char *) "key",(char *) "value", NULL
21594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21596 if (!SWIG_IsOK(res1
)) {
21597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21599 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21601 arg2
= wxString_in_helper(obj1
);
21602 if (arg2
== NULL
) SWIG_fail
;
21605 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21606 if (!SWIG_IsOK(ecode3
)) {
21607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21609 arg3
= static_cast< long >(val3
);
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21633 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
= 0;
21635 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21636 wxString
*arg2
= 0 ;
21641 bool temp2
= false ;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 PyObject
* obj2
= 0 ;
21647 char * kwnames
[] = {
21648 (char *) "self",(char *) "key",(char *) "value", NULL
21651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21653 if (!SWIG_IsOK(res1
)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21656 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21658 arg2
= wxString_in_helper(obj1
);
21659 if (arg2
== NULL
) SWIG_fail
;
21662 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21663 if (!SWIG_IsOK(ecode3
)) {
21664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21666 arg3
= static_cast< double >(val3
);
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21690 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
= 0;
21692 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21693 wxString
*arg2
= 0 ;
21698 bool temp2
= false ;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 PyObject
* obj2
= 0 ;
21704 char * kwnames
[] = {
21705 (char *) "self",(char *) "key",(char *) "value", NULL
21708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21710 if (!SWIG_IsOK(res1
)) {
21711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21713 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21715 arg2
= wxString_in_helper(obj1
);
21716 if (arg2
== NULL
) SWIG_fail
;
21719 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21720 if (!SWIG_IsOK(ecode3
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21723 arg3
= static_cast< bool >(val3
);
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21747 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
= 0;
21749 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21750 bool arg2
= (bool) false ;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 char * kwnames
[] = {
21759 (char *) "self",(char *) "currentOnly", NULL
21762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21764 if (!SWIG_IsOK(res1
)) {
21765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21767 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21769 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21770 if (!SWIG_IsOK(ecode2
)) {
21771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21773 arg2
= static_cast< bool >(val2
);
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (bool)(arg1
)->Flush(arg2
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21790 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(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_RenameEntry",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_RenameEntry" "', 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
)->RenameEntry((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_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
= 0;
21856 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21857 wxString
*arg2
= 0 ;
21858 wxString
*arg3
= 0 ;
21862 bool temp2
= false ;
21863 bool temp3
= false ;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 PyObject
* obj2
= 0 ;
21867 char * kwnames
[] = {
21868 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21873 if (!SWIG_IsOK(res1
)) {
21874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21876 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21878 arg2
= wxString_in_helper(obj1
);
21879 if (arg2
== NULL
) SWIG_fail
;
21883 arg3
= wxString_in_helper(obj2
);
21884 if (arg3
== NULL
) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21918 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
= 0;
21920 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21921 wxString
*arg2
= 0 ;
21922 bool arg3
= (bool) true ;
21926 bool temp2
= false ;
21929 PyObject
* obj0
= 0 ;
21930 PyObject
* obj1
= 0 ;
21931 PyObject
* obj2
= 0 ;
21932 char * kwnames
[] = {
21933 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
21936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21938 if (!SWIG_IsOK(res1
)) {
21939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21941 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21943 arg2
= wxString_in_helper(obj1
);
21944 if (arg2
== NULL
) SWIG_fail
;
21948 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21949 if (!SWIG_IsOK(ecode3
)) {
21950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
21952 arg3
= static_cast< bool >(val3
);
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21977 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
= 0;
21979 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21980 wxString
*arg2
= 0 ;
21984 bool temp2
= false ;
21985 PyObject
* obj0
= 0 ;
21986 PyObject
* obj1
= 0 ;
21987 char * kwnames
[] = {
21988 (char *) "self",(char *) "key", NULL
21991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21993 if (!SWIG_IsOK(res1
)) {
21994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21996 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21998 arg2
= wxString_in_helper(obj1
);
21999 if (arg2
== NULL
) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22025 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22026 PyObject
*resultobj
= 0;
22027 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22031 PyObject
*swig_obj
[1] ;
22033 if (!args
) SWIG_fail
;
22034 swig_obj
[0] = args
;
22035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22036 if (!SWIG_IsOK(res1
)) {
22037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22039 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 result
= (bool)(arg1
)->DeleteAll();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22055 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
= 0;
22057 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22058 bool arg2
= (bool) true ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 char * kwnames
[] = {
22066 (char *) "self",(char *) "doIt", NULL
22069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22071 if (!SWIG_IsOK(res1
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22074 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22076 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22077 if (!SWIG_IsOK(ecode2
)) {
22078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22080 arg2
= static_cast< bool >(val2
);
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 (arg1
)->SetExpandEnvVars(arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= SWIG_Py_Void();
22095 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22096 PyObject
*resultobj
= 0;
22097 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22101 PyObject
*swig_obj
[1] ;
22103 if (!args
) SWIG_fail
;
22104 swig_obj
[0] = args
;
22105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22106 if (!SWIG_IsOK(res1
)) {
22107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22109 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22125 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
= 0;
22127 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22128 bool arg2
= (bool) true ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char * kwnames
[] = {
22136 (char *) "self",(char *) "doIt", NULL
22139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22141 if (!SWIG_IsOK(res1
)) {
22142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22144 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22146 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22147 if (!SWIG_IsOK(ecode2
)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22150 arg2
= static_cast< bool >(val2
);
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->SetRecordDefaults(arg2
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= SWIG_Py_Void();
22165 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22166 PyObject
*resultobj
= 0;
22167 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22171 PyObject
*swig_obj
[1] ;
22173 if (!args
) SWIG_fail
;
22174 swig_obj
[0] = args
;
22175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22176 if (!SWIG_IsOK(res1
)) {
22177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22179 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22195 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
= 0;
22197 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22198 wxString
*arg2
= 0 ;
22202 bool temp2
= false ;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 char * kwnames
[] = {
22206 (char *) "self",(char *) "str", NULL
22209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22211 if (!SWIG_IsOK(res1
)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22214 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22216 arg2
= wxString_in_helper(obj1
);
22217 if (arg2
== NULL
) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22247 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22248 PyObject
*resultobj
= 0;
22249 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22253 PyObject
*swig_obj
[1] ;
22255 if (!args
) SWIG_fail
;
22256 swig_obj
[0] = args
;
22257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22258 if (!SWIG_IsOK(res1
)) {
22259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22261 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22281 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22282 PyObject
*resultobj
= 0;
22283 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22287 PyObject
*swig_obj
[1] ;
22289 if (!args
) SWIG_fail
;
22290 swig_obj
[0] = args
;
22291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22292 if (!SWIG_IsOK(res1
)) {
22293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22295 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22315 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
= 0;
22317 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22318 wxString
*arg2
= 0 ;
22321 bool temp2
= false ;
22322 PyObject
* obj0
= 0 ;
22323 PyObject
* obj1
= 0 ;
22324 char * kwnames
[] = {
22325 (char *) "self",(char *) "appName", NULL
22328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22333 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22335 arg2
= wxString_in_helper(obj1
);
22336 if (arg2
== NULL
) SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 (arg1
)->SetAppName((wxString
const &)*arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= SWIG_Py_Void();
22360 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
= 0;
22362 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22363 wxString
*arg2
= 0 ;
22366 bool temp2
= false ;
22367 PyObject
* obj0
= 0 ;
22368 PyObject
* obj1
= 0 ;
22369 char * kwnames
[] = {
22370 (char *) "self",(char *) "vendorName", NULL
22373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22375 if (!SWIG_IsOK(res1
)) {
22376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22378 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22380 arg2
= wxString_in_helper(obj1
);
22381 if (arg2
== NULL
) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_Py_Void();
22405 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
= 0;
22407 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22413 PyObject
* obj0
= 0 ;
22414 PyObject
* obj1
= 0 ;
22415 char * kwnames
[] = {
22416 (char *) "self",(char *) "style", NULL
22419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22421 if (!SWIG_IsOK(res1
)) {
22422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22424 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22425 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22426 if (!SWIG_IsOK(ecode2
)) {
22427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22429 arg2
= static_cast< long >(val2
);
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 (arg1
)->SetStyle(arg2
);
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_Py_Void();
22443 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22444 PyObject
*resultobj
= 0;
22445 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22449 PyObject
*swig_obj
[1] ;
22451 if (!args
) SWIG_fail
;
22452 swig_obj
[0] = args
;
22453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22454 if (!SWIG_IsOK(res1
)) {
22455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22457 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22460 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= SWIG_From_long(static_cast< long >(result
));
22471 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22474 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22475 return SWIG_Py_Void();
22478 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
= 0;
22480 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22481 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22482 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22483 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22484 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22485 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22486 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22487 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22488 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22489 wxConfig
*result
= 0 ;
22490 bool temp1
= false ;
22491 bool temp2
= false ;
22492 bool temp3
= false ;
22493 bool temp4
= false ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 PyObject
* obj2
= 0 ;
22499 PyObject
* obj3
= 0 ;
22500 PyObject
* obj4
= 0 ;
22501 char * kwnames
[] = {
22502 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22508 arg1
= wxString_in_helper(obj0
);
22509 if (arg1
== NULL
) SWIG_fail
;
22515 arg2
= wxString_in_helper(obj1
);
22516 if (arg2
== NULL
) SWIG_fail
;
22522 arg3
= wxString_in_helper(obj2
);
22523 if (arg3
== NULL
) SWIG_fail
;
22529 arg4
= wxString_in_helper(obj3
);
22530 if (arg4
== NULL
) SWIG_fail
;
22535 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22536 if (!SWIG_IsOK(ecode5
)) {
22537 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22539 arg5
= static_cast< long >(val5
);
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22586 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22587 PyObject
*resultobj
= 0;
22588 wxConfig
*arg1
= (wxConfig
*) 0 ;
22591 PyObject
*swig_obj
[1] ;
22593 if (!args
) SWIG_fail
;
22594 swig_obj
[0] = args
;
22595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22596 if (!SWIG_IsOK(res1
)) {
22597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22599 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= SWIG_Py_Void();
22614 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22617 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22618 return SWIG_Py_Void();
22621 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22622 return SWIG_Python_InitShadowInstance(args
);
22625 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
= 0;
22627 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22628 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22629 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22630 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22631 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22632 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22633 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22634 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22635 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22636 wxFileConfig
*result
= 0 ;
22637 bool temp1
= false ;
22638 bool temp2
= false ;
22639 bool temp3
= false ;
22640 bool temp4
= false ;
22643 PyObject
* obj0
= 0 ;
22644 PyObject
* obj1
= 0 ;
22645 PyObject
* obj2
= 0 ;
22646 PyObject
* obj3
= 0 ;
22647 PyObject
* obj4
= 0 ;
22648 char * kwnames
[] = {
22649 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22655 arg1
= wxString_in_helper(obj0
);
22656 if (arg1
== NULL
) SWIG_fail
;
22662 arg2
= wxString_in_helper(obj1
);
22663 if (arg2
== NULL
) SWIG_fail
;
22669 arg3
= wxString_in_helper(obj2
);
22670 if (arg3
== NULL
) SWIG_fail
;
22676 arg4
= wxString_in_helper(obj3
);
22677 if (arg4
== NULL
) SWIG_fail
;
22682 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22683 if (!SWIG_IsOK(ecode5
)) {
22684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22686 arg5
= static_cast< long >(val5
);
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22733 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22734 PyObject
*resultobj
= 0;
22735 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22738 PyObject
*swig_obj
[1] ;
22740 if (!args
) SWIG_fail
;
22741 swig_obj
[0] = args
;
22742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22743 if (!SWIG_IsOK(res1
)) {
22744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22746 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 resultobj
= SWIG_Py_Void();
22761 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22764 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22765 return SWIG_Py_Void();
22768 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22769 return SWIG_Python_InitShadowInstance(args
);
22772 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
= 0;
22774 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22775 wxString
*arg2
= 0 ;
22776 wxConfigPathChanger
*result
= 0 ;
22779 bool temp2
= false ;
22780 PyObject
* obj0
= 0 ;
22781 PyObject
* obj1
= 0 ;
22782 char * kwnames
[] = {
22783 (char *) "config",(char *) "entry", NULL
22786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22788 if (!SWIG_IsOK(res1
)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22791 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22793 arg2
= wxString_in_helper(obj1
);
22794 if (arg2
== NULL
) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
22818 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22819 PyObject
*resultobj
= 0;
22820 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22823 PyObject
*swig_obj
[1] ;
22825 if (!args
) SWIG_fail
;
22826 swig_obj
[0] = args
;
22827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
22828 if (!SWIG_IsOK(res1
)) {
22829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
22831 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= SWIG_Py_Void();
22846 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22847 PyObject
*resultobj
= 0;
22848 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22849 wxString
*result
= 0 ;
22852 PyObject
*swig_obj
[1] ;
22854 if (!args
) SWIG_fail
;
22855 swig_obj
[0] = args
;
22856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
22857 if (!SWIG_IsOK(res1
)) {
22858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
22860 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
22865 result
= (wxString
*) &_result_ref
;
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22872 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22874 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22883 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22886 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
22887 return SWIG_Py_Void();
22890 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22891 return SWIG_Python_InitShadowInstance(args
);
22894 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
= 0;
22896 wxString
*arg1
= 0 ;
22898 bool temp1
= false ;
22899 PyObject
* obj0
= 0 ;
22900 char * kwnames
[] = {
22901 (char *) "sz", NULL
22904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
22906 arg1
= wxString_in_helper(obj0
);
22907 if (arg1
== NULL
) SWIG_fail
;
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= wxExpandEnvVars((wxString
const &)*arg1
);
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22937 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
22938 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
22943 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
22944 PyObject
*pyobj
= 0;
22948 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22950 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22957 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
22958 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
22963 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
22964 PyObject
*pyobj
= 0;
22968 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22970 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22977 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
= 0;
22979 wxDateTime::Country arg1
;
22982 PyObject
* obj0
= 0 ;
22983 char * kwnames
[] = {
22984 (char *) "country", NULL
22987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
22988 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22989 if (!SWIG_IsOK(ecode1
)) {
22990 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22992 arg1
= static_cast< wxDateTime::Country
>(val1
);
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 wxDateTime::SetCountry(arg1
);
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= SWIG_Py_Void();
23006 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23007 PyObject
*resultobj
= 0;
23008 wxDateTime::Country result
;
23010 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= SWIG_From_int(static_cast< int >(result
));
23024 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23025 PyObject
*resultobj
= 0;
23026 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23030 PyObject
* obj0
= 0 ;
23031 char * kwnames
[] = {
23032 (char *) "country", NULL
23035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23037 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23038 if (!SWIG_IsOK(ecode1
)) {
23039 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23041 arg1
= static_cast< wxDateTime::Country
>(val1
);
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23058 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
= 0;
23060 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23064 PyObject
* obj0
= 0 ;
23065 char * kwnames
[] = {
23066 (char *) "cal", NULL
23069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23071 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23072 if (!SWIG_IsOK(ecode1
)) {
23073 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23075 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_From_int(static_cast< int >(result
));
23090 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
= 0;
23096 PyObject
* obj0
= 0 ;
23097 char * kwnames
[] = {
23098 (char *) "year", NULL
23101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23102 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23103 if (!SWIG_IsOK(ecode1
)) {
23104 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23106 arg1
= static_cast< int >(val1
);
23108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23109 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= SWIG_From_int(static_cast< int >(result
));
23120 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
= 0;
23122 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23123 wxDateTime::Month result
;
23126 PyObject
* obj0
= 0 ;
23127 char * kwnames
[] = {
23128 (char *) "cal", NULL
23131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23133 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23134 if (!SWIG_IsOK(ecode1
)) {
23135 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23137 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= SWIG_From_int(static_cast< int >(result
));
23152 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
= 0;
23154 int arg1
= (int) wxDateTime::Inv_Year
;
23155 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 char * kwnames
[] = {
23164 (char *) "year",(char *) "cal", NULL
23167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23169 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23170 if (!SWIG_IsOK(ecode1
)) {
23171 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23173 arg1
= static_cast< int >(val1
);
23176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23177 if (!SWIG_IsOK(ecode2
)) {
23178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23180 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23197 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
= 0;
23199 int arg1
= (int) wxDateTime::Inv_Year
;
23203 PyObject
* obj0
= 0 ;
23204 char * kwnames
[] = {
23205 (char *) "year", NULL
23208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23210 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23211 if (!SWIG_IsOK(ecode1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23214 arg1
= static_cast< int >(val1
);
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 result
= (int)wxDateTime::GetCentury(arg1
);
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23222 resultobj
= SWIG_From_int(static_cast< int >(result
));
23229 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
= 0;
23232 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23238 PyObject
* obj0
= 0 ;
23239 PyObject
* obj1
= 0 ;
23240 char * kwnames
[] = {
23241 (char *) "year",(char *) "cal", NULL
23244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23245 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23246 if (!SWIG_IsOK(ecode1
)) {
23247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23249 arg1
= static_cast< int >(val1
);
23251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23252 if (!SWIG_IsOK(ecode2
)) {
23253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23255 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= SWIG_From_int(static_cast< int >(result
));
23270 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
= 0;
23272 wxDateTime::Month arg1
;
23273 int arg2
= (int) wxDateTime::Inv_Year
;
23274 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23282 PyObject
* obj0
= 0 ;
23283 PyObject
* obj1
= 0 ;
23284 PyObject
* obj2
= 0 ;
23285 char * kwnames
[] = {
23286 (char *) "month",(char *) "year",(char *) "cal", NULL
23289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23290 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23291 if (!SWIG_IsOK(ecode1
)) {
23292 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23294 arg1
= static_cast< wxDateTime::Month
>(val1
);
23296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23297 if (!SWIG_IsOK(ecode2
)) {
23298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23300 arg2
= static_cast< int >(val2
);
23303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23304 if (!SWIG_IsOK(ecode3
)) {
23305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23307 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= SWIG_From_int(static_cast< int >(result
));
23322 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
= 0;
23324 wxDateTime::Month arg1
;
23325 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 char * kwnames
[] = {
23334 (char *) "month",(char *) "flags", NULL
23337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23339 if (!SWIG_IsOK(ecode1
)) {
23340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23342 arg1
= static_cast< wxDateTime::Month
>(val1
);
23344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23345 if (!SWIG_IsOK(ecode2
)) {
23346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23348 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23369 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
= 0;
23371 wxDateTime::WeekDay arg1
;
23372 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23378 PyObject
* obj0
= 0 ;
23379 PyObject
* obj1
= 0 ;
23380 char * kwnames
[] = {
23381 (char *) "weekday",(char *) "flags", NULL
23384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23386 if (!SWIG_IsOK(ecode1
)) {
23387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23389 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23392 if (!SWIG_IsOK(ecode2
)) {
23393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23395 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23416 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23417 PyObject
*resultobj
= 0;
23418 PyObject
*result
= 0 ;
23420 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= result
;
23434 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
= 0;
23436 int arg1
= (int) wxDateTime::Inv_Year
;
23437 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23443 PyObject
* obj0
= 0 ;
23444 PyObject
* obj1
= 0 ;
23445 char * kwnames
[] = {
23446 (char *) "year",(char *) "country", NULL
23449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23451 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23452 if (!SWIG_IsOK(ecode1
)) {
23453 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23455 arg1
= static_cast< int >(val1
);
23458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23459 if (!SWIG_IsOK(ecode2
)) {
23460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23462 arg2
= static_cast< wxDateTime::Country
>(val2
);
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23479 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
= 0;
23481 int arg1
= (int) wxDateTime::Inv_Year
;
23482 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23490 char * kwnames
[] = {
23491 (char *) "year",(char *) "country", NULL
23494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23496 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23497 if (!SWIG_IsOK(ecode1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23500 arg1
= static_cast< int >(val1
);
23503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23504 if (!SWIG_IsOK(ecode2
)) {
23505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23507 arg2
= static_cast< wxDateTime::Country
>(val2
);
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23522 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
= 0;
23524 int arg1
= (int) wxDateTime::Inv_Year
;
23525 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23531 PyObject
* obj0
= 0 ;
23532 PyObject
* obj1
= 0 ;
23533 char * kwnames
[] = {
23534 (char *) "year",(char *) "country", NULL
23537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23539 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23540 if (!SWIG_IsOK(ecode1
)) {
23541 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23543 arg1
= static_cast< int >(val1
);
23546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23547 if (!SWIG_IsOK(ecode2
)) {
23548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23550 arg2
= static_cast< wxDateTime::Country
>(val2
);
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23565 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23566 PyObject
*resultobj
= 0;
23569 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= wxDateTime::Now();
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23583 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23584 PyObject
*resultobj
= 0;
23587 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 result
= wxDateTime::UNow();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23601 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23602 PyObject
*resultobj
= 0;
23605 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= wxDateTime::Today();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23619 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23620 PyObject
*resultobj
= 0;
23621 wxDateTime
*result
= 0 ;
23623 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= (wxDateTime
*)new wxDateTime();
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23637 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
= 0;
23640 wxDateTime
*result
= 0 ;
23641 unsigned int val1
;
23643 PyObject
* obj0
= 0 ;
23644 char * kwnames
[] = {
23645 (char *) "timet", NULL
23648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23649 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23650 if (!SWIG_IsOK(ecode1
)) {
23651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23653 arg1
= static_cast< time_t >(val1
);
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= (wxDateTime
*)new wxDateTime(arg1
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23667 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
= 0;
23670 wxDateTime
*result
= 0 ;
23673 PyObject
* obj0
= 0 ;
23674 char * kwnames
[] = {
23675 (char *) "jdn", NULL
23678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23679 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23680 if (!SWIG_IsOK(ecode1
)) {
23681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23683 arg1
= static_cast< double >(val1
);
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= (wxDateTime
*)new wxDateTime(arg1
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23697 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
= 0;
23700 int arg2
= (int) 0 ;
23701 int arg3
= (int) 0 ;
23702 int arg4
= (int) 0 ;
23703 wxDateTime
*result
= 0 ;
23712 PyObject
* obj0
= 0 ;
23713 PyObject
* obj1
= 0 ;
23714 PyObject
* obj2
= 0 ;
23715 PyObject
* obj3
= 0 ;
23716 char * kwnames
[] = {
23717 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23722 if (!SWIG_IsOK(ecode1
)) {
23723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23725 arg1
= static_cast< int >(val1
);
23727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23728 if (!SWIG_IsOK(ecode2
)) {
23729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23731 arg2
= static_cast< int >(val2
);
23734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23735 if (!SWIG_IsOK(ecode3
)) {
23736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23738 arg3
= static_cast< int >(val3
);
23741 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23742 if (!SWIG_IsOK(ecode4
)) {
23743 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23745 arg4
= static_cast< int >(val4
);
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23760 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
= 0;
23763 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23764 int arg3
= (int) wxDateTime::Inv_Year
;
23765 int arg4
= (int) 0 ;
23766 int arg5
= (int) 0 ;
23767 int arg6
= (int) 0 ;
23768 int arg7
= (int) 0 ;
23769 wxDateTime
*result
= 0 ;
23784 PyObject
* obj0
= 0 ;
23785 PyObject
* obj1
= 0 ;
23786 PyObject
* obj2
= 0 ;
23787 PyObject
* obj3
= 0 ;
23788 PyObject
* obj4
= 0 ;
23789 PyObject
* obj5
= 0 ;
23790 PyObject
* obj6
= 0 ;
23791 char * kwnames
[] = {
23792 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23797 if (!SWIG_IsOK(ecode1
)) {
23798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
23800 arg1
= static_cast< int >(val1
);
23802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23803 if (!SWIG_IsOK(ecode2
)) {
23804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23806 arg2
= static_cast< wxDateTime::Month
>(val2
);
23809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23810 if (!SWIG_IsOK(ecode3
)) {
23811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
23813 arg3
= static_cast< int >(val3
);
23816 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23817 if (!SWIG_IsOK(ecode4
)) {
23818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
23820 arg4
= static_cast< int >(val4
);
23823 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23824 if (!SWIG_IsOK(ecode5
)) {
23825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
23827 arg5
= static_cast< int >(val5
);
23830 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23831 if (!SWIG_IsOK(ecode6
)) {
23832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
23834 arg6
= static_cast< int >(val6
);
23837 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23838 if (!SWIG_IsOK(ecode7
)) {
23839 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
23841 arg7
= static_cast< int >(val7
);
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23846 wxPyEndAllowThreads(__tstate
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23856 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
= 0;
23858 wxDateTime
*arg1
= 0 ;
23859 wxDateTime
*result
= 0 ;
23862 PyObject
* obj0
= 0 ;
23863 char * kwnames
[] = {
23864 (char *) "date", NULL
23867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
23868 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
23869 if (!SWIG_IsOK(res1
)) {
23870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23875 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23889 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23890 PyObject
*resultobj
= 0;
23891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23894 PyObject
*swig_obj
[1] ;
23896 if (!args
) SWIG_fail
;
23897 swig_obj
[0] = args
;
23898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23902 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23910 resultobj
= SWIG_Py_Void();
23917 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23918 PyObject
*resultobj
= 0;
23919 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23920 wxDateTime
*result
= 0 ;
23923 PyObject
*swig_obj
[1] ;
23925 if (!args
) SWIG_fail
;
23926 swig_obj
[0] = args
;
23927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23928 if (!SWIG_IsOK(res1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
23931 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
23936 result
= (wxDateTime
*) &_result_ref
;
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23948 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
= 0;
23950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23952 wxDateTime
*result
= 0 ;
23955 unsigned int val2
;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23959 char * kwnames
[] = {
23960 (char *) "self",(char *) "timet", NULL
23963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23965 if (!SWIG_IsOK(res1
)) {
23966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
23968 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23969 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
23970 if (!SWIG_IsOK(ecode2
)) {
23971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
23973 arg2
= static_cast< time_t >(val2
);
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23978 result
= (wxDateTime
*) &_result_ref
;
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23990 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
= 0;
23992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23994 wxDateTime
*result
= 0 ;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 char * kwnames
[] = {
24002 (char *) "self",(char *) "jdn", NULL
24005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24007 if (!SWIG_IsOK(res1
)) {
24008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24010 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24011 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24012 if (!SWIG_IsOK(ecode2
)) {
24013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24015 arg2
= static_cast< double >(val2
);
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24020 result
= (wxDateTime
*) &_result_ref
;
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24032 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
= 0;
24034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24036 int arg3
= (int) 0 ;
24037 int arg4
= (int) 0 ;
24038 int arg5
= (int) 0 ;
24039 wxDateTime
*result
= 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24052 PyObject
* obj2
= 0 ;
24053 PyObject
* obj3
= 0 ;
24054 PyObject
* obj4
= 0 ;
24055 char * kwnames
[] = {
24056 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24061 if (!SWIG_IsOK(res1
)) {
24062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24064 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24066 if (!SWIG_IsOK(ecode2
)) {
24067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24069 arg2
= static_cast< int >(val2
);
24071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24072 if (!SWIG_IsOK(ecode3
)) {
24073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24075 arg3
= static_cast< int >(val3
);
24078 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24079 if (!SWIG_IsOK(ecode4
)) {
24080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24082 arg4
= static_cast< int >(val4
);
24085 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24086 if (!SWIG_IsOK(ecode5
)) {
24087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24089 arg5
= static_cast< int >(val5
);
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24095 result
= (wxDateTime
*) &_result_ref
;
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24107 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
= 0;
24109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24111 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24112 int arg4
= (int) wxDateTime::Inv_Year
;
24113 int arg5
= (int) 0 ;
24114 int arg6
= (int) 0 ;
24115 int arg7
= (int) 0 ;
24116 int arg8
= (int) 0 ;
24117 wxDateTime
*result
= 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 PyObject
* obj2
= 0 ;
24137 PyObject
* obj3
= 0 ;
24138 PyObject
* obj4
= 0 ;
24139 PyObject
* obj5
= 0 ;
24140 PyObject
* obj6
= 0 ;
24141 PyObject
* obj7
= 0 ;
24142 char * kwnames
[] = {
24143 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24148 if (!SWIG_IsOK(res1
)) {
24149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24151 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24153 if (!SWIG_IsOK(ecode2
)) {
24154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24156 arg2
= static_cast< int >(val2
);
24158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24159 if (!SWIG_IsOK(ecode3
)) {
24160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24162 arg3
= static_cast< wxDateTime::Month
>(val3
);
24165 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24166 if (!SWIG_IsOK(ecode4
)) {
24167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24169 arg4
= static_cast< int >(val4
);
24172 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24173 if (!SWIG_IsOK(ecode5
)) {
24174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24176 arg5
= static_cast< int >(val5
);
24179 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24180 if (!SWIG_IsOK(ecode6
)) {
24181 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24183 arg6
= static_cast< int >(val6
);
24186 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24187 if (!SWIG_IsOK(ecode7
)) {
24188 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24190 arg7
= static_cast< int >(val7
);
24193 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24194 if (!SWIG_IsOK(ecode8
)) {
24195 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24197 arg8
= static_cast< int >(val8
);
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24203 result
= (wxDateTime
*) &_result_ref
;
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24215 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24216 PyObject
*resultobj
= 0;
24217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24218 wxDateTime
*result
= 0 ;
24221 PyObject
*swig_obj
[1] ;
24223 if (!args
) SWIG_fail
;
24224 swig_obj
[0] = args
;
24225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24226 if (!SWIG_IsOK(res1
)) {
24227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24229 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24234 result
= (wxDateTime
*) &_result_ref
;
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24246 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
= 0;
24248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24250 wxDateTime
*result
= 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 char * kwnames
[] = {
24258 (char *) "self",(char *) "year", NULL
24261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24263 if (!SWIG_IsOK(res1
)) {
24264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24266 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24268 if (!SWIG_IsOK(ecode2
)) {
24269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24271 arg2
= static_cast< int >(val2
);
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24276 result
= (wxDateTime
*) &_result_ref
;
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24288 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24289 PyObject
*resultobj
= 0;
24290 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24291 wxDateTime::Month arg2
;
24292 wxDateTime
*result
= 0 ;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 char * kwnames
[] = {
24300 (char *) "self",(char *) "month", NULL
24303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24305 if (!SWIG_IsOK(res1
)) {
24306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24308 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24310 if (!SWIG_IsOK(ecode2
)) {
24311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24313 arg2
= static_cast< wxDateTime::Month
>(val2
);
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24318 result
= (wxDateTime
*) &_result_ref
;
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24330 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
= 0;
24332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24334 wxDateTime
*result
= 0 ;
24339 PyObject
* obj0
= 0 ;
24340 PyObject
* obj1
= 0 ;
24341 char * kwnames
[] = {
24342 (char *) "self",(char *) "day", NULL
24345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24347 if (!SWIG_IsOK(res1
)) {
24348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24350 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24352 if (!SWIG_IsOK(ecode2
)) {
24353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24355 arg2
= static_cast< int >(val2
);
24357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24360 result
= (wxDateTime
*) &_result_ref
;
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24372 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
= 0;
24374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24376 wxDateTime
*result
= 0 ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char * kwnames
[] = {
24384 (char *) "self",(char *) "hour", NULL
24387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24389 if (!SWIG_IsOK(res1
)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24392 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24394 if (!SWIG_IsOK(ecode2
)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24397 arg2
= static_cast< int >(val2
);
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24402 result
= (wxDateTime
*) &_result_ref
;
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24414 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
= 0;
24416 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24418 wxDateTime
*result
= 0 ;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj1
= 0 ;
24425 char * kwnames
[] = {
24426 (char *) "self",(char *) "minute", NULL
24429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24431 if (!SWIG_IsOK(res1
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24434 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24436 if (!SWIG_IsOK(ecode2
)) {
24437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24439 arg2
= static_cast< int >(val2
);
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24444 result
= (wxDateTime
*) &_result_ref
;
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24456 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
= 0;
24458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24460 wxDateTime
*result
= 0 ;
24465 PyObject
* obj0
= 0 ;
24466 PyObject
* obj1
= 0 ;
24467 char * kwnames
[] = {
24468 (char *) "self",(char *) "second", NULL
24471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24473 if (!SWIG_IsOK(res1
)) {
24474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24476 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24478 if (!SWIG_IsOK(ecode2
)) {
24479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24481 arg2
= static_cast< int >(val2
);
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24486 result
= (wxDateTime
*) &_result_ref
;
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24498 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
= 0;
24500 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24502 wxDateTime
*result
= 0 ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 char * kwnames
[] = {
24510 (char *) "self",(char *) "millisecond", NULL
24513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24515 if (!SWIG_IsOK(res1
)) {
24516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24518 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24520 if (!SWIG_IsOK(ecode2
)) {
24521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24523 arg2
= static_cast< int >(val2
);
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24528 result
= (wxDateTime
*) &_result_ref
;
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24540 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
= 0;
24542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24543 wxDateTime::WeekDay arg2
;
24544 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24545 wxDateTime
*result
= 0 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 PyObject
* obj2
= 0 ;
24555 char * kwnames
[] = {
24556 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24561 if (!SWIG_IsOK(res1
)) {
24562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24564 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24566 if (!SWIG_IsOK(ecode2
)) {
24567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24569 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24572 if (!SWIG_IsOK(ecode3
)) {
24573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24575 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24581 result
= (wxDateTime
*) &_result_ref
;
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24593 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
= 0;
24595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24596 wxDateTime::WeekDay arg2
;
24597 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24605 PyObject
* obj0
= 0 ;
24606 PyObject
* obj1
= 0 ;
24607 PyObject
* obj2
= 0 ;
24608 char * kwnames
[] = {
24609 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24614 if (!SWIG_IsOK(res1
)) {
24615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24617 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24619 if (!SWIG_IsOK(ecode2
)) {
24620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24622 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24625 if (!SWIG_IsOK(ecode3
)) {
24626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24628 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24643 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
= 0;
24645 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24646 wxDateTime::WeekDay arg2
;
24647 wxDateTime
*result
= 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 char * kwnames
[] = {
24655 (char *) "self",(char *) "weekday", NULL
24658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24660 if (!SWIG_IsOK(res1
)) {
24661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24663 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24665 if (!SWIG_IsOK(ecode2
)) {
24666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24668 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24673 result
= (wxDateTime
*) &_result_ref
;
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24685 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
= 0;
24687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24688 wxDateTime::WeekDay arg2
;
24694 PyObject
* obj0
= 0 ;
24695 PyObject
* obj1
= 0 ;
24696 char * kwnames
[] = {
24697 (char *) "self",(char *) "weekday", NULL
24700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24702 if (!SWIG_IsOK(res1
)) {
24703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24705 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24707 if (!SWIG_IsOK(ecode2
)) {
24708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24710 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 result
= (arg1
)->GetNextWeekDay(arg2
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24724 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
= 0;
24726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24727 wxDateTime::WeekDay arg2
;
24728 wxDateTime
*result
= 0 ;
24733 PyObject
* obj0
= 0 ;
24734 PyObject
* obj1
= 0 ;
24735 char * kwnames
[] = {
24736 (char *) "self",(char *) "weekday", NULL
24739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24741 if (!SWIG_IsOK(res1
)) {
24742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24744 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24746 if (!SWIG_IsOK(ecode2
)) {
24747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24749 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24754 result
= (wxDateTime
*) &_result_ref
;
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24766 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
= 0;
24768 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24769 wxDateTime::WeekDay arg2
;
24775 PyObject
* obj0
= 0 ;
24776 PyObject
* obj1
= 0 ;
24777 char * kwnames
[] = {
24778 (char *) "self",(char *) "weekday", NULL
24781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24783 if (!SWIG_IsOK(res1
)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24786 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24788 if (!SWIG_IsOK(ecode2
)) {
24789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24791 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 result
= (arg1
)->GetPrevWeekDay(arg2
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24805 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
= 0;
24807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24808 wxDateTime::WeekDay arg2
;
24809 int arg3
= (int) 1 ;
24810 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24811 int arg5
= (int) wxDateTime::Inv_Year
;
24823 PyObject
* obj0
= 0 ;
24824 PyObject
* obj1
= 0 ;
24825 PyObject
* obj2
= 0 ;
24826 PyObject
* obj3
= 0 ;
24827 PyObject
* obj4
= 0 ;
24828 char * kwnames
[] = {
24829 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
24832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24834 if (!SWIG_IsOK(res1
)) {
24835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24837 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24839 if (!SWIG_IsOK(ecode2
)) {
24840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24842 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24845 if (!SWIG_IsOK(ecode3
)) {
24846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
24848 arg3
= static_cast< int >(val3
);
24851 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24852 if (!SWIG_IsOK(ecode4
)) {
24853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
24855 arg4
= static_cast< wxDateTime::Month
>(val4
);
24858 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24859 if (!SWIG_IsOK(ecode5
)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
24862 arg5
= static_cast< int >(val5
);
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24879 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
= 0;
24881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24882 wxDateTime::WeekDay arg2
;
24883 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24884 int arg4
= (int) wxDateTime::Inv_Year
;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 PyObject
* obj2
= 0 ;
24897 PyObject
* obj3
= 0 ;
24898 char * kwnames
[] = {
24899 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24904 if (!SWIG_IsOK(res1
)) {
24905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24907 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24909 if (!SWIG_IsOK(ecode2
)) {
24910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24912 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24915 if (!SWIG_IsOK(ecode3
)) {
24916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24918 arg3
= static_cast< wxDateTime::Month
>(val3
);
24921 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24922 if (!SWIG_IsOK(ecode4
)) {
24923 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24925 arg4
= static_cast< int >(val4
);
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24942 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
= 0;
24944 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24945 wxDateTime::WeekDay arg2
;
24946 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24947 int arg4
= (int) wxDateTime::Inv_Year
;
24957 PyObject
* obj0
= 0 ;
24958 PyObject
* obj1
= 0 ;
24959 PyObject
* obj2
= 0 ;
24960 PyObject
* obj3
= 0 ;
24961 char * kwnames
[] = {
24962 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24967 if (!SWIG_IsOK(res1
)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24970 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24972 if (!SWIG_IsOK(ecode2
)) {
24973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24975 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24978 if (!SWIG_IsOK(ecode3
)) {
24979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24981 arg3
= static_cast< wxDateTime::Month
>(val3
);
24984 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24985 if (!SWIG_IsOK(ecode4
)) {
24986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24988 arg4
= static_cast< int >(val4
);
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25003 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
= 0;
25005 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25007 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25008 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25018 PyObject
* obj0
= 0 ;
25019 PyObject
* obj1
= 0 ;
25020 PyObject
* obj2
= 0 ;
25021 PyObject
* obj3
= 0 ;
25022 char * kwnames
[] = {
25023 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25028 if (!SWIG_IsOK(res1
)) {
25029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25031 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25033 if (!SWIG_IsOK(ecode2
)) {
25034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
25036 arg2
= static_cast< int >(val2
);
25038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25039 if (!SWIG_IsOK(ecode3
)) {
25040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25042 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25046 if (!SWIG_IsOK(ecode4
)) {
25047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25049 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25066 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
= 0;
25068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25070 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25071 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 PyObject
* obj2
= 0 ;
25084 PyObject
* obj3
= 0 ;
25085 char * kwnames
[] = {
25086 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25091 if (!SWIG_IsOK(res1
)) {
25092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25094 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25096 if (!SWIG_IsOK(ecode2
)) {
25097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25099 arg2
= static_cast< int >(val2
);
25101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25102 if (!SWIG_IsOK(ecode3
)) {
25103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25105 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25108 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25109 if (!SWIG_IsOK(ecode4
)) {
25110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25112 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25127 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
= 0;
25131 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25139 PyObject
* obj0
= 0 ;
25140 PyObject
* obj1
= 0 ;
25141 PyObject
* obj2
= 0 ;
25142 char * kwnames
[] = {
25143 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25147 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25148 if (!SWIG_IsOK(ecode1
)) {
25149 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25151 arg1
= static_cast< int >(val1
);
25152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25153 if (!SWIG_IsOK(ecode2
)) {
25154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25156 arg2
= static_cast< int >(val2
);
25158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25159 if (!SWIG_IsOK(ecode3
)) {
25160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25162 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25177 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
= 0;
25179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25180 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25181 int arg3
= (int) wxDateTime::Inv_Year
;
25182 wxDateTime
*result
= 0 ;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 PyObject
* obj2
= 0 ;
25192 char * kwnames
[] = {
25193 (char *) "self",(char *) "month",(char *) "year", NULL
25196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25198 if (!SWIG_IsOK(res1
)) {
25199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25201 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25204 if (!SWIG_IsOK(ecode2
)) {
25205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25207 arg2
= static_cast< wxDateTime::Month
>(val2
);
25210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25211 if (!SWIG_IsOK(ecode3
)) {
25212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25214 arg3
= static_cast< int >(val3
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25220 result
= (wxDateTime
*) &_result_ref
;
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25232 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
= 0;
25234 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25235 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25236 int arg3
= (int) wxDateTime::Inv_Year
;
25244 PyObject
* obj0
= 0 ;
25245 PyObject
* obj1
= 0 ;
25246 PyObject
* obj2
= 0 ;
25247 char * kwnames
[] = {
25248 (char *) "self",(char *) "month",(char *) "year", NULL
25251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25253 if (!SWIG_IsOK(res1
)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25256 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25259 if (!SWIG_IsOK(ecode2
)) {
25260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25262 arg2
= static_cast< wxDateTime::Month
>(val2
);
25265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25266 if (!SWIG_IsOK(ecode3
)) {
25267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25269 arg3
= static_cast< int >(val3
);
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25284 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
= 0;
25286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25288 wxDateTime
*result
= 0 ;
25293 PyObject
* obj0
= 0 ;
25294 PyObject
* obj1
= 0 ;
25295 char * kwnames
[] = {
25296 (char *) "self",(char *) "yday", NULL
25299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25301 if (!SWIG_IsOK(res1
)) {
25302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25304 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25306 if (!SWIG_IsOK(ecode2
)) {
25307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25309 arg2
= static_cast< int >(val2
);
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25314 result
= (wxDateTime
*) &_result_ref
;
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25326 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
= 0;
25328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 char * kwnames
[] = {
25338 (char *) "self",(char *) "yday", NULL
25341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25343 if (!SWIG_IsOK(res1
)) {
25344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25346 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25348 if (!SWIG_IsOK(ecode2
)) {
25349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25351 arg2
= static_cast< int >(val2
);
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (arg1
)->GetYearDay(arg2
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25365 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25366 PyObject
*resultobj
= 0;
25367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25371 PyObject
*swig_obj
[1] ;
25373 if (!args
) SWIG_fail
;
25374 swig_obj
[0] = args
;
25375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25376 if (!SWIG_IsOK(res1
)) {
25377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25379 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (double)(arg1
)->GetJulianDayNumber();
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= SWIG_From_double(static_cast< double >(result
));
25393 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25394 PyObject
*resultobj
= 0;
25395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25399 PyObject
*swig_obj
[1] ;
25401 if (!args
) SWIG_fail
;
25402 swig_obj
[0] = args
;
25403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25404 if (!SWIG_IsOK(res1
)) {
25405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25407 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (double)(arg1
)->GetJDN();
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_From_double(static_cast< double >(result
));
25421 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25422 PyObject
*resultobj
= 0;
25423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25427 PyObject
*swig_obj
[1] ;
25429 if (!args
) SWIG_fail
;
25430 swig_obj
[0] = args
;
25431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25432 if (!SWIG_IsOK(res1
)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25435 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_From_double(static_cast< double >(result
));
25449 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25450 PyObject
*resultobj
= 0;
25451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25455 PyObject
*swig_obj
[1] ;
25457 if (!args
) SWIG_fail
;
25458 swig_obj
[0] = args
;
25459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25460 if (!SWIG_IsOK(res1
)) {
25461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25463 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 result
= (double)(arg1
)->GetMJD();
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= SWIG_From_double(static_cast< double >(result
));
25477 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25478 PyObject
*resultobj
= 0;
25479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25483 PyObject
*swig_obj
[1] ;
25485 if (!args
) SWIG_fail
;
25486 swig_obj
[0] = args
;
25487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25488 if (!SWIG_IsOK(res1
)) {
25489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25491 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 result
= (double)(arg1
)->GetRataDie();
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= SWIG_From_double(static_cast< double >(result
));
25505 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
= 0;
25507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25508 wxDateTime::TimeZone
*arg2
= 0 ;
25509 bool arg3
= (bool) false ;
25513 bool temp2
= false ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 PyObject
* obj2
= 0 ;
25519 char * kwnames
[] = {
25520 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25525 if (!SWIG_IsOK(res1
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25528 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25530 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25534 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25535 if (!SWIG_IsOK(ecode3
)) {
25536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25538 arg3
= static_cast< bool >(val3
);
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25548 if (temp2
) delete arg2
;
25553 if (temp2
) delete arg2
;
25559 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
= 0;
25561 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25562 wxDateTime::TimeZone
*arg2
= 0 ;
25563 bool arg3
= (bool) false ;
25564 wxDateTime
*result
= 0 ;
25567 bool temp2
= false ;
25570 PyObject
* obj0
= 0 ;
25571 PyObject
* obj1
= 0 ;
25572 PyObject
* obj2
= 0 ;
25573 char * kwnames
[] = {
25574 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25579 if (!SWIG_IsOK(res1
)) {
25580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25582 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25584 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25588 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25589 if (!SWIG_IsOK(ecode3
)) {
25590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25592 arg3
= static_cast< bool >(val3
);
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25598 result
= (wxDateTime
*) &_result_ref
;
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25605 if (temp2
) delete arg2
;
25610 if (temp2
) delete arg2
;
25616 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
= 0;
25618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25619 wxDateTime::TimeZone
*arg2
= 0 ;
25620 bool arg3
= (bool) false ;
25624 bool temp2
= false ;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 PyObject
* obj2
= 0 ;
25630 char * kwnames
[] = {
25631 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25636 if (!SWIG_IsOK(res1
)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25639 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25641 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25645 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25646 if (!SWIG_IsOK(ecode3
)) {
25647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25649 arg3
= static_cast< bool >(val3
);
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25659 if (temp2
) delete arg2
;
25664 if (temp2
) delete arg2
;
25670 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
= 0;
25672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25673 wxDateTime::TimeZone
*arg2
= 0 ;
25674 bool arg3
= (bool) false ;
25675 wxDateTime
*result
= 0 ;
25678 bool temp2
= false ;
25681 PyObject
* obj0
= 0 ;
25682 PyObject
* obj1
= 0 ;
25683 PyObject
* obj2
= 0 ;
25684 char * kwnames
[] = {
25685 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25690 if (!SWIG_IsOK(res1
)) {
25691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25693 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25695 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25699 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25700 if (!SWIG_IsOK(ecode3
)) {
25701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25703 arg3
= static_cast< bool >(val3
);
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25709 result
= (wxDateTime
*) &_result_ref
;
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25716 if (temp2
) delete arg2
;
25721 if (temp2
) delete arg2
;
25727 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
= 0;
25729 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25730 bool arg2
= (bool) false ;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj1
= 0 ;
25738 char * kwnames
[] = {
25739 (char *) "self",(char *) "noDST", NULL
25742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25747 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25749 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25750 if (!SWIG_IsOK(ecode2
)) {
25751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25753 arg2
= static_cast< bool >(val2
);
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25761 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25768 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
= 0;
25770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25771 bool arg2
= (bool) false ;
25772 wxDateTime
*result
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 char * kwnames
[] = {
25780 (char *) "self",(char *) "noDST", NULL
25783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25785 if (!SWIG_IsOK(res1
)) {
25786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25788 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25790 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25791 if (!SWIG_IsOK(ecode2
)) {
25792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25794 arg2
= static_cast< bool >(val2
);
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25800 result
= (wxDateTime
*) &_result_ref
;
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25812 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
= 0;
25814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25815 bool arg2
= (bool) false ;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 char * kwnames
[] = {
25824 (char *) "self",(char *) "noDST", NULL
25827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25829 if (!SWIG_IsOK(res1
)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25832 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25834 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25835 if (!SWIG_IsOK(ecode2
)) {
25836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
25838 arg2
= static_cast< bool >(val2
);
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25853 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
= 0;
25855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25856 bool arg2
= (bool) false ;
25857 wxDateTime
*result
= 0 ;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 char * kwnames
[] = {
25865 (char *) "self",(char *) "noDST", NULL
25868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25870 if (!SWIG_IsOK(res1
)) {
25871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
25873 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25875 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25876 if (!SWIG_IsOK(ecode2
)) {
25877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
25879 arg2
= static_cast< bool >(val2
);
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
25885 result
= (wxDateTime
*) &_result_ref
;
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25897 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
= 0;
25899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25900 bool arg2
= (bool) false ;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 char * kwnames
[] = {
25909 (char *) "self",(char *) "noDST", NULL
25912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25914 if (!SWIG_IsOK(res1
)) {
25915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25917 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25919 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25920 if (!SWIG_IsOK(ecode2
)) {
25921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
25923 arg2
= static_cast< bool >(val2
);
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25938 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
= 0;
25940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25941 bool arg2
= (bool) false ;
25942 wxDateTime
*result
= 0 ;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 char * kwnames
[] = {
25950 (char *) "self",(char *) "noDST", NULL
25953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25955 if (!SWIG_IsOK(res1
)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25958 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25960 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25961 if (!SWIG_IsOK(ecode2
)) {
25962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
25964 arg2
= static_cast< bool >(val2
);
25967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
25970 result
= (wxDateTime
*) &_result_ref
;
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25982 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
= 0;
25984 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25985 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25991 PyObject
* obj0
= 0 ;
25992 PyObject
* obj1
= 0 ;
25993 char * kwnames
[] = {
25994 (char *) "self",(char *) "country", NULL
25997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25999 if (!SWIG_IsOK(res1
)) {
26000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26002 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26005 if (!SWIG_IsOK(ecode2
)) {
26006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26008 arg2
= static_cast< wxDateTime::Country
>(val2
);
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= (int)(arg1
)->IsDST(arg2
);
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 resultobj
= SWIG_From_int(static_cast< int >(result
));
26023 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26024 PyObject
*resultobj
= 0;
26025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26029 PyObject
*swig_obj
[1] ;
26031 if (!args
) SWIG_fail
;
26032 swig_obj
[0] = args
;
26033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26034 if (!SWIG_IsOK(res1
)) {
26035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26037 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26053 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26054 PyObject
*resultobj
= 0;
26055 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26059 PyObject
*swig_obj
[1] ;
26061 if (!args
) SWIG_fail
;
26062 swig_obj
[0] = args
;
26063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26064 if (!SWIG_IsOK(res1
)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26067 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26081 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
= 0;
26083 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26084 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26085 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26089 bool temp2
= false ;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 char * kwnames
[] = {
26093 (char *) "self",(char *) "tz", NULL
26096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26098 if (!SWIG_IsOK(res1
)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26101 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26104 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26110 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26114 resultobj
= SWIG_From_int(static_cast< int >(result
));
26116 if (temp2
) delete arg2
;
26121 if (temp2
) delete arg2
;
26127 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
= 0;
26129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26130 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26131 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26132 wxDateTime::Month result
;
26135 bool temp2
= false ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 char * kwnames
[] = {
26139 (char *) "self",(char *) "tz", NULL
26142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26144 if (!SWIG_IsOK(res1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26147 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26150 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= SWIG_From_int(static_cast< int >(result
));
26162 if (temp2
) delete arg2
;
26167 if (temp2
) delete arg2
;
26173 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26174 PyObject
*resultobj
= 0;
26175 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26176 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26177 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26181 bool temp2
= false ;
26182 PyObject
* obj0
= 0 ;
26183 PyObject
* obj1
= 0 ;
26184 char * kwnames
[] = {
26185 (char *) "self",(char *) "tz", NULL
26188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26190 if (!SWIG_IsOK(res1
)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26193 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26196 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 resultobj
= SWIG_From_int(static_cast< int >(result
));
26208 if (temp2
) delete arg2
;
26213 if (temp2
) delete arg2
;
26219 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
= 0;
26221 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26222 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26223 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26224 wxDateTime::WeekDay result
;
26227 bool temp2
= false ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char * kwnames
[] = {
26231 (char *) "self",(char *) "tz", NULL
26234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26236 if (!SWIG_IsOK(res1
)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26239 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26242 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= SWIG_From_int(static_cast< int >(result
));
26254 if (temp2
) delete arg2
;
26259 if (temp2
) delete arg2
;
26265 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
= 0;
26267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26268 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26269 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26273 bool temp2
= false ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 char * kwnames
[] = {
26277 (char *) "self",(char *) "tz", NULL
26280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26282 if (!SWIG_IsOK(res1
)) {
26283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26285 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26288 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_From_int(static_cast< int >(result
));
26300 if (temp2
) delete arg2
;
26305 if (temp2
) delete arg2
;
26311 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
= 0;
26313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26314 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26315 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26319 bool temp2
= false ;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 char * kwnames
[] = {
26323 (char *) "self",(char *) "tz", NULL
26326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26328 if (!SWIG_IsOK(res1
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26331 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26334 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= SWIG_From_int(static_cast< int >(result
));
26346 if (temp2
) delete arg2
;
26351 if (temp2
) delete arg2
;
26357 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
= 0;
26359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26360 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26361 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26365 bool temp2
= false ;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj1
= 0 ;
26368 char * kwnames
[] = {
26369 (char *) "self",(char *) "tz", NULL
26372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26374 if (!SWIG_IsOK(res1
)) {
26375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26377 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26380 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 resultobj
= SWIG_From_int(static_cast< int >(result
));
26392 if (temp2
) delete arg2
;
26397 if (temp2
) delete arg2
;
26403 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
= 0;
26405 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26406 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26407 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26411 bool temp2
= false ;
26412 PyObject
* obj0
= 0 ;
26413 PyObject
* obj1
= 0 ;
26414 char * kwnames
[] = {
26415 (char *) "self",(char *) "tz", NULL
26418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26420 if (!SWIG_IsOK(res1
)) {
26421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26423 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26426 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= SWIG_From_int(static_cast< int >(result
));
26438 if (temp2
) delete arg2
;
26443 if (temp2
) delete arg2
;
26449 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
= 0;
26451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26452 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26453 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26457 bool temp2
= false ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char * kwnames
[] = {
26461 (char *) "self",(char *) "tz", NULL
26464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26466 if (!SWIG_IsOK(res1
)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26469 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26472 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 resultobj
= SWIG_From_int(static_cast< int >(result
));
26484 if (temp2
) delete arg2
;
26489 if (temp2
) delete arg2
;
26495 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
= 0;
26497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26498 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26499 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26500 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26506 bool temp3
= false ;
26507 PyObject
* obj0
= 0 ;
26508 PyObject
* obj1
= 0 ;
26509 PyObject
* obj2
= 0 ;
26510 char * kwnames
[] = {
26511 (char *) "self",(char *) "flags",(char *) "tz", NULL
26514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26516 if (!SWIG_IsOK(res1
)) {
26517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26519 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26522 if (!SWIG_IsOK(ecode2
)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26525 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26529 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= SWIG_From_int(static_cast< int >(result
));
26541 if (temp3
) delete arg3
;
26546 if (temp3
) delete arg3
;
26552 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
= 0;
26554 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26555 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26556 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26557 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26563 bool temp3
= false ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 PyObject
* obj2
= 0 ;
26567 char * kwnames
[] = {
26568 (char *) "self",(char *) "flags",(char *) "tz", NULL
26571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26573 if (!SWIG_IsOK(res1
)) {
26574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26576 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26579 if (!SWIG_IsOK(ecode2
)) {
26580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26582 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26586 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= SWIG_From_int(static_cast< int >(result
));
26598 if (temp3
) delete arg3
;
26603 if (temp3
) delete arg3
;
26609 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
= 0;
26611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26612 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26618 PyObject
* obj0
= 0 ;
26619 PyObject
* obj1
= 0 ;
26620 char * kwnames
[] = {
26621 (char *) "self",(char *) "country", NULL
26624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26626 if (!SWIG_IsOK(res1
)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26629 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26632 if (!SWIG_IsOK(ecode2
)) {
26633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26635 arg2
= static_cast< wxDateTime::Country
>(val2
);
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26652 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
= 0;
26654 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26655 wxDateTime
*arg2
= 0 ;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 char * kwnames
[] = {
26664 (char *) "self",(char *) "datetime", NULL
26667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26669 if (!SWIG_IsOK(res1
)) {
26670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26672 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26674 if (!SWIG_IsOK(res2
)) {
26675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26680 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26696 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
= 0;
26698 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26699 wxDateTime
*arg2
= 0 ;
26705 PyObject
* obj0
= 0 ;
26706 PyObject
* obj1
= 0 ;
26707 char * kwnames
[] = {
26708 (char *) "self",(char *) "datetime", NULL
26711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26713 if (!SWIG_IsOK(res1
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26716 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26718 if (!SWIG_IsOK(res2
)) {
26719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26724 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26740 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26741 PyObject
*resultobj
= 0;
26742 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26743 wxDateTime
*arg2
= 0 ;
26749 PyObject
* obj0
= 0 ;
26750 PyObject
* obj1
= 0 ;
26751 char * kwnames
[] = {
26752 (char *) "self",(char *) "datetime", NULL
26755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26757 if (!SWIG_IsOK(res1
)) {
26758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26760 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26762 if (!SWIG_IsOK(res2
)) {
26763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26768 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26784 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
= 0;
26786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26787 wxDateTime
*arg2
= 0 ;
26788 wxDateTime
*arg3
= 0 ;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 PyObject
* obj2
= 0 ;
26799 char * kwnames
[] = {
26800 (char *) "self",(char *) "t1",(char *) "t2", NULL
26803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26805 if (!SWIG_IsOK(res1
)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26808 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26810 if (!SWIG_IsOK(res2
)) {
26811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26816 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26817 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26818 if (!SWIG_IsOK(res3
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26824 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26840 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
= 0;
26842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26843 wxDateTime
*arg2
= 0 ;
26844 wxDateTime
*arg3
= 0 ;
26852 PyObject
* obj0
= 0 ;
26853 PyObject
* obj1
= 0 ;
26854 PyObject
* obj2
= 0 ;
26855 char * kwnames
[] = {
26856 (char *) "self",(char *) "t1",(char *) "t2", NULL
26859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26861 if (!SWIG_IsOK(res1
)) {
26862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26864 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26866 if (!SWIG_IsOK(res2
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26872 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26873 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26874 if (!SWIG_IsOK(res3
)) {
26875 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26880 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26896 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26897 PyObject
*resultobj
= 0;
26898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26899 wxDateTime
*arg2
= 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char * kwnames
[] = {
26908 (char *) "self",(char *) "dt", NULL
26911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26916 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26918 if (!SWIG_IsOK(res2
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26924 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26940 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
= 0;
26942 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26943 wxDateTime
*arg2
= 0 ;
26949 PyObject
* obj0
= 0 ;
26950 PyObject
* obj1
= 0 ;
26951 char * kwnames
[] = {
26952 (char *) "self",(char *) "dt", NULL
26955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26957 if (!SWIG_IsOK(res1
)) {
26958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26960 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26962 if (!SWIG_IsOK(res2
)) {
26963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26968 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26984 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
= 0;
26986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26987 wxDateTime
*arg2
= 0 ;
26988 wxTimeSpan
*arg3
= 0 ;
26996 PyObject
* obj0
= 0 ;
26997 PyObject
* obj1
= 0 ;
26998 PyObject
* obj2
= 0 ;
26999 char * kwnames
[] = {
27000 (char *) "self",(char *) "dt",(char *) "ts", NULL
27003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27005 if (!SWIG_IsOK(res1
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27008 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27010 if (!SWIG_IsOK(res2
)) {
27011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27016 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27017 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27018 if (!SWIG_IsOK(res3
)) {
27019 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27024 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27040 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
= 0;
27042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27043 wxTimeSpan
*arg2
= 0 ;
27044 wxDateTime
*result
= 0 ;
27049 PyObject
* obj0
= 0 ;
27050 PyObject
* obj1
= 0 ;
27051 char * kwnames
[] = {
27052 (char *) "self",(char *) "diff", NULL
27055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27057 if (!SWIG_IsOK(res1
)) {
27058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27060 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27062 if (!SWIG_IsOK(res2
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27068 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27073 result
= (wxDateTime
*) &_result_ref
;
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27085 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
= 0;
27087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27088 wxDateSpan
*arg2
= 0 ;
27089 wxDateTime
*result
= 0 ;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj1
= 0 ;
27096 char * kwnames
[] = {
27097 (char *) "self",(char *) "diff", NULL
27100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27102 if (!SWIG_IsOK(res1
)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27105 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27107 if (!SWIG_IsOK(res2
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27113 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27118 result
= (wxDateTime
*) &_result_ref
;
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27130 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
= 0;
27132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27133 wxTimeSpan
*arg2
= 0 ;
27134 wxDateTime
*result
= 0 ;
27139 PyObject
* obj0
= 0 ;
27140 PyObject
* obj1
= 0 ;
27141 char * kwnames
[] = {
27142 (char *) "self",(char *) "diff", NULL
27145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27147 if (!SWIG_IsOK(res1
)) {
27148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27150 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27152 if (!SWIG_IsOK(res2
)) {
27153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27158 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27163 result
= (wxDateTime
*) &_result_ref
;
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27175 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
= 0;
27177 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27178 wxDateSpan
*arg2
= 0 ;
27179 wxDateTime
*result
= 0 ;
27184 PyObject
* obj0
= 0 ;
27185 PyObject
* obj1
= 0 ;
27186 char * kwnames
[] = {
27187 (char *) "self",(char *) "diff", NULL
27190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27192 if (!SWIG_IsOK(res1
)) {
27193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27195 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27197 if (!SWIG_IsOK(res2
)) {
27198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27203 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27208 result
= (wxDateTime
*) &_result_ref
;
27210 wxPyEndAllowThreads(__tstate
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27220 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27221 PyObject
*resultobj
= 0;
27222 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27223 wxDateTime
*arg2
= 0 ;
27229 PyObject
* obj0
= 0 ;
27230 PyObject
* obj1
= 0 ;
27231 char * kwnames
[] = {
27232 (char *) "self",(char *) "dt", NULL
27235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27237 if (!SWIG_IsOK(res1
)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27240 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27242 if (!SWIG_IsOK(res2
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27248 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27262 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27263 PyObject
*resultobj
= 0;
27264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27265 wxTimeSpan
*arg2
= 0 ;
27266 wxDateTime
*result
= 0 ;
27272 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27274 if (!SWIG_IsOK(res1
)) {
27275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27277 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27278 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27279 if (!SWIG_IsOK(res2
)) {
27280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27285 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27290 result
= (wxDateTime
*) &_result_ref
;
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27302 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27303 PyObject
*resultobj
= 0;
27304 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27305 wxDateSpan
*arg2
= 0 ;
27306 wxDateTime
*result
= 0 ;
27312 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27317 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27318 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27319 if (!SWIG_IsOK(res2
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27325 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27330 result
= (wxDateTime
*) &_result_ref
;
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27342 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27346 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27351 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27352 _v
= SWIG_CheckState(res
);
27354 if (!_v
) goto check_1
;
27355 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27360 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27364 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27369 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27370 PyObject
*resultobj
= 0;
27371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27372 wxTimeSpan
*arg2
= 0 ;
27373 wxDateTime
*result
= 0 ;
27379 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27381 if (!SWIG_IsOK(res1
)) {
27382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27384 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27385 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27386 if (!SWIG_IsOK(res2
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27392 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27397 result
= (wxDateTime
*) &_result_ref
;
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27409 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27410 PyObject
*resultobj
= 0;
27411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27412 wxDateSpan
*arg2
= 0 ;
27413 wxDateTime
*result
= 0 ;
27419 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27421 if (!SWIG_IsOK(res1
)) {
27422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27424 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27425 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27426 if (!SWIG_IsOK(res2
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27432 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27436 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27437 result
= (wxDateTime
*) &_result_ref
;
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27449 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27453 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27458 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27459 _v
= SWIG_CheckState(res
);
27461 if (!_v
) goto check_1
;
27462 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27467 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27471 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27476 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27477 PyObject
*resultobj
= 0;
27478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27479 wxTimeSpan
*arg2
= 0 ;
27486 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27488 if (!SWIG_IsOK(res1
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27491 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27492 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27493 if (!SWIG_IsOK(res2
)) {
27494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27499 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27513 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27514 PyObject
*resultobj
= 0;
27515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27516 wxDateSpan
*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___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27528 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27529 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27530 if (!SWIG_IsOK(res2
)) {
27531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27536 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27550 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27554 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27559 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27560 _v
= SWIG_CheckState(res
);
27562 if (!_v
) goto check_1
;
27563 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27568 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27572 Py_INCREF(Py_NotImplemented
);
27573 return Py_NotImplemented
;
27577 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27578 PyObject
*resultobj
= 0;
27579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27580 wxDateTime
*arg2
= 0 ;
27587 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27592 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27593 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27594 if (!SWIG_IsOK(res2
)) {
27595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27600 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27614 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27615 PyObject
*resultobj
= 0;
27616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27617 wxTimeSpan
*arg2
= 0 ;
27624 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27626 if (!SWIG_IsOK(res1
)) {
27627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27629 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27630 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27631 if (!SWIG_IsOK(res2
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27637 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27651 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27652 PyObject
*resultobj
= 0;
27653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27654 wxDateSpan
*arg2
= 0 ;
27661 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27663 if (!SWIG_IsOK(res1
)) {
27664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27666 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27667 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27668 if (!SWIG_IsOK(res2
)) {
27669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27674 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27677 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27688 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27692 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27697 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27698 _v
= SWIG_CheckState(res
);
27700 if (!_v
) goto check_1
;
27701 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27708 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27709 _v
= SWIG_CheckState(res
);
27711 if (!_v
) goto check_2
;
27712 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27717 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27721 Py_INCREF(Py_NotImplemented
);
27722 return Py_NotImplemented
;
27726 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27727 PyObject
*resultobj
= 0;
27728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27729 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27735 PyObject
* obj0
= 0 ;
27736 PyObject
* obj1
= 0 ;
27737 char * kwnames
[] = {
27738 (char *) "self",(char *) "other", NULL
27741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27743 if (!SWIG_IsOK(res1
)) {
27744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27746 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27748 if (!SWIG_IsOK(res2
)) {
27749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27751 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27755 wxPyEndAllowThreads(__tstate
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27767 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
= 0;
27769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27770 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27776 PyObject
* obj0
= 0 ;
27777 PyObject
* obj1
= 0 ;
27778 char * kwnames
[] = {
27779 (char *) "self",(char *) "other", NULL
27782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27784 if (!SWIG_IsOK(res1
)) {
27785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27787 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27789 if (!SWIG_IsOK(res2
)) {
27790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27792 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27796 wxPyEndAllowThreads(__tstate
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27808 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27809 PyObject
*resultobj
= 0;
27810 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27811 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 PyObject
* obj1
= 0 ;
27819 char * kwnames
[] = {
27820 (char *) "self",(char *) "other", NULL
27823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27825 if (!SWIG_IsOK(res1
)) {
27826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27828 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27830 if (!SWIG_IsOK(res2
)) {
27831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27833 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27836 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27849 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27850 PyObject
*resultobj
= 0;
27851 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27852 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27858 PyObject
* obj0
= 0 ;
27859 PyObject
* obj1
= 0 ;
27860 char * kwnames
[] = {
27861 (char *) "self",(char *) "other", NULL
27864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27866 if (!SWIG_IsOK(res1
)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27869 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27871 if (!SWIG_IsOK(res2
)) {
27872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27874 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27890 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
= 0;
27892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27893 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27899 PyObject
* obj0
= 0 ;
27900 PyObject
* obj1
= 0 ;
27901 char * kwnames
[] = {
27902 (char *) "self",(char *) "other", NULL
27905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27907 if (!SWIG_IsOK(res1
)) {
27908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27910 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27912 if (!SWIG_IsOK(res2
)) {
27913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27915 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
27919 wxPyEndAllowThreads(__tstate
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27931 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
= 0;
27933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27934 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27940 PyObject
* obj0
= 0 ;
27941 PyObject
* obj1
= 0 ;
27942 char * kwnames
[] = {
27943 (char *) "self",(char *) "other", NULL
27946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27948 if (!SWIG_IsOK(res1
)) {
27949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27951 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27952 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27953 if (!SWIG_IsOK(res2
)) {
27954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27956 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
27960 wxPyEndAllowThreads(__tstate
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27972 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27973 PyObject
*resultobj
= 0;
27974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27975 wxString
*arg2
= 0 ;
27979 bool temp2
= false ;
27980 PyObject
* obj0
= 0 ;
27981 PyObject
* obj1
= 0 ;
27982 char * kwnames
[] = {
27983 (char *) "self",(char *) "date", NULL
27986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27988 if (!SWIG_IsOK(res1
)) {
27989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
27991 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27993 arg2
= wxString_in_helper(obj1
);
27994 if (arg2
== NULL
) SWIG_fail
;
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 resultobj
= SWIG_From_int(static_cast< int >(result
));
28018 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
= 0;
28020 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28021 wxString
*arg2
= 0 ;
28022 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28023 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28024 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28025 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28029 bool temp2
= false ;
28030 bool temp3
= false ;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 PyObject
* obj2
= 0 ;
28036 PyObject
* obj3
= 0 ;
28037 char * kwnames
[] = {
28038 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28043 if (!SWIG_IsOK(res1
)) {
28044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28046 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28048 arg2
= wxString_in_helper(obj1
);
28049 if (arg2
== NULL
) SWIG_fail
;
28054 arg3
= wxString_in_helper(obj2
);
28055 if (arg3
== NULL
) SWIG_fail
;
28060 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28061 if (!SWIG_IsOK(res4
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28067 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28072 wxPyEndAllowThreads(__tstate
);
28073 if (PyErr_Occurred()) SWIG_fail
;
28075 resultobj
= SWIG_From_int(static_cast< int >(result
));
28098 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
= 0;
28100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28101 wxString
*arg2
= 0 ;
28105 bool temp2
= false ;
28106 PyObject
* obj0
= 0 ;
28107 PyObject
* obj1
= 0 ;
28108 char * kwnames
[] = {
28109 (char *) "self",(char *) "datetime", NULL
28112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28114 if (!SWIG_IsOK(res1
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28117 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28119 arg2
= wxString_in_helper(obj1
);
28120 if (arg2
== NULL
) SWIG_fail
;
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_From_int(static_cast< int >(result
));
28144 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
= 0;
28146 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28147 wxString
*arg2
= 0 ;
28151 bool temp2
= false ;
28152 PyObject
* obj0
= 0 ;
28153 PyObject
* obj1
= 0 ;
28154 char * kwnames
[] = {
28155 (char *) "self",(char *) "date", NULL
28158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28160 if (!SWIG_IsOK(res1
)) {
28161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28163 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28165 arg2
= wxString_in_helper(obj1
);
28166 if (arg2
== NULL
) SWIG_fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28172 wxPyEndAllowThreads(__tstate
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28175 resultobj
= SWIG_From_int(static_cast< int >(result
));
28190 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
= 0;
28192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28193 wxString
*arg2
= 0 ;
28197 bool temp2
= false ;
28198 PyObject
* obj0
= 0 ;
28199 PyObject
* obj1
= 0 ;
28200 char * kwnames
[] = {
28201 (char *) "self",(char *) "time", NULL
28204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28206 if (!SWIG_IsOK(res1
)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28209 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28211 arg2
= wxString_in_helper(obj1
);
28212 if (arg2
== NULL
) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= SWIG_From_int(static_cast< int >(result
));
28236 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
= 0;
28238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28239 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28240 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28241 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28242 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28246 bool temp2
= false ;
28247 bool temp3
= false ;
28248 PyObject
* obj0
= 0 ;
28249 PyObject
* obj1
= 0 ;
28250 PyObject
* obj2
= 0 ;
28251 char * kwnames
[] = {
28252 (char *) "self",(char *) "format",(char *) "tz", NULL
28255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28257 if (!SWIG_IsOK(res1
)) {
28258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28260 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28263 arg2
= wxString_in_helper(obj1
);
28264 if (arg2
== NULL
) SWIG_fail
;
28270 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28292 if (temp3
) delete arg3
;
28301 if (temp3
) delete arg3
;
28307 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28308 PyObject
*resultobj
= 0;
28309 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28313 PyObject
*swig_obj
[1] ;
28315 if (!args
) SWIG_fail
;
28316 swig_obj
[0] = args
;
28317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28318 if (!SWIG_IsOK(res1
)) {
28319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28321 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28324 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28325 wxPyEndAllowThreads(__tstate
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28341 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28342 PyObject
*resultobj
= 0;
28343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28347 PyObject
*swig_obj
[1] ;
28349 if (!args
) SWIG_fail
;
28350 swig_obj
[0] = args
;
28351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28352 if (!SWIG_IsOK(res1
)) {
28353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28355 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28358 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28359 wxPyEndAllowThreads(__tstate
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28375 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28376 PyObject
*resultobj
= 0;
28377 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28381 PyObject
*swig_obj
[1] ;
28383 if (!args
) SWIG_fail
;
28384 swig_obj
[0] = args
;
28385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28386 if (!SWIG_IsOK(res1
)) {
28387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28389 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28409 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 PyObject
*resultobj
= 0;
28411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28415 PyObject
*swig_obj
[1] ;
28417 if (!args
) SWIG_fail
;
28418 swig_obj
[0] = args
;
28419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28423 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28443 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28446 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28447 return SWIG_Py_Void();
28450 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28451 return SWIG_Python_InitShadowInstance(args
);
28454 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
= 0;
28460 PyObject
* obj0
= 0 ;
28461 char * kwnames
[] = {
28462 (char *) "ms", NULL
28465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28466 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28467 if (!SWIG_IsOK(ecode1
)) {
28468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28470 arg1
= static_cast< long >(val1
);
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 result
= wxTimeSpan::Milliseconds(arg1
);
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28484 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28485 PyObject
*resultobj
= 0;
28488 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28491 result
= wxTimeSpan::Millisecond();
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28502 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
= 0;
28508 PyObject
* obj0
= 0 ;
28509 char * kwnames
[] = {
28510 (char *) "sec", NULL
28513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28514 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28515 if (!SWIG_IsOK(ecode1
)) {
28516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28518 arg1
= static_cast< long >(val1
);
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 result
= wxTimeSpan::Seconds(arg1
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28532 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28533 PyObject
*resultobj
= 0;
28536 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 result
= wxTimeSpan::Second();
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28550 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
= 0;
28556 PyObject
* obj0
= 0 ;
28557 char * kwnames
[] = {
28558 (char *) "min", NULL
28561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28562 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28563 if (!SWIG_IsOK(ecode1
)) {
28564 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28566 arg1
= static_cast< long >(val1
);
28568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28569 result
= wxTimeSpan::Minutes(arg1
);
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28580 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28581 PyObject
*resultobj
= 0;
28584 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 result
= wxTimeSpan::Minute();
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28598 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28599 PyObject
*resultobj
= 0;
28604 PyObject
* obj0
= 0 ;
28605 char * kwnames
[] = {
28606 (char *) "hours", NULL
28609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28610 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28611 if (!SWIG_IsOK(ecode1
)) {
28612 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28614 arg1
= static_cast< long >(val1
);
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= wxTimeSpan::Hours(arg1
);
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28628 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28629 PyObject
*resultobj
= 0;
28632 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28635 result
= wxTimeSpan::Hour();
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28639 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28646 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28647 PyObject
*resultobj
= 0;
28652 PyObject
* obj0
= 0 ;
28653 char * kwnames
[] = {
28654 (char *) "days", NULL
28657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28658 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28659 if (!SWIG_IsOK(ecode1
)) {
28660 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28662 arg1
= static_cast< long >(val1
);
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 result
= wxTimeSpan::Days(arg1
);
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28669 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28676 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28677 PyObject
*resultobj
= 0;
28680 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 result
= wxTimeSpan::Day();
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28694 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28695 PyObject
*resultobj
= 0;
28700 PyObject
* obj0
= 0 ;
28701 char * kwnames
[] = {
28702 (char *) "days", NULL
28705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28706 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28707 if (!SWIG_IsOK(ecode1
)) {
28708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28710 arg1
= static_cast< long >(val1
);
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= wxTimeSpan::Weeks(arg1
);
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28724 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28725 PyObject
*resultobj
= 0;
28728 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= wxTimeSpan::Week();
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28742 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28743 PyObject
*resultobj
= 0;
28744 long arg1
= (long) 0 ;
28745 long arg2
= (long) 0 ;
28746 long arg3
= (long) 0 ;
28747 long arg4
= (long) 0 ;
28748 wxTimeSpan
*result
= 0 ;
28757 PyObject
* obj0
= 0 ;
28758 PyObject
* obj1
= 0 ;
28759 PyObject
* obj2
= 0 ;
28760 PyObject
* obj3
= 0 ;
28761 char * kwnames
[] = {
28762 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28767 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28768 if (!SWIG_IsOK(ecode1
)) {
28769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28771 arg1
= static_cast< long >(val1
);
28774 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28775 if (!SWIG_IsOK(ecode2
)) {
28776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28778 arg2
= static_cast< long >(val2
);
28781 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28782 if (!SWIG_IsOK(ecode3
)) {
28783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28785 arg3
= static_cast< long >(val3
);
28788 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28789 if (!SWIG_IsOK(ecode4
)) {
28790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28792 arg4
= static_cast< long >(val4
);
28795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28796 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
28807 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28808 PyObject
*resultobj
= 0;
28809 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28812 PyObject
*swig_obj
[1] ;
28814 if (!args
) SWIG_fail
;
28815 swig_obj
[0] = args
;
28816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28820 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 wxPyEndAllowThreads(__tstate
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= SWIG_Py_Void();
28835 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
= 0;
28837 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28838 wxTimeSpan
*arg2
= 0 ;
28839 wxTimeSpan
*result
= 0 ;
28844 PyObject
* obj0
= 0 ;
28845 PyObject
* obj1
= 0 ;
28846 char * kwnames
[] = {
28847 (char *) "self",(char *) "diff", NULL
28850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28852 if (!SWIG_IsOK(res1
)) {
28853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28855 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28857 if (!SWIG_IsOK(res2
)) {
28858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28863 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
28868 result
= (wxTimeSpan
*) &_result_ref
;
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28880 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
= 0;
28882 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28883 wxTimeSpan
*arg2
= 0 ;
28884 wxTimeSpan
*result
= 0 ;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 char * kwnames
[] = {
28892 (char *) "self",(char *) "diff", NULL
28895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28897 if (!SWIG_IsOK(res1
)) {
28898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28900 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28901 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28902 if (!SWIG_IsOK(res2
)) {
28903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28908 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
28913 result
= (wxTimeSpan
*) &_result_ref
;
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28925 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
= 0;
28927 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28929 wxTimeSpan
*result
= 0 ;
28934 PyObject
* obj0
= 0 ;
28935 PyObject
* obj1
= 0 ;
28936 char * kwnames
[] = {
28937 (char *) "self",(char *) "n", NULL
28940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28942 if (!SWIG_IsOK(res1
)) {
28943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28945 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28947 if (!SWIG_IsOK(ecode2
)) {
28948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
28950 arg2
= static_cast< int >(val2
);
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
28955 result
= (wxTimeSpan
*) &_result_ref
;
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28967 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28968 PyObject
*resultobj
= 0;
28969 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28970 wxTimeSpan
*result
= 0 ;
28973 PyObject
*swig_obj
[1] ;
28975 if (!args
) SWIG_fail
;
28976 swig_obj
[0] = args
;
28977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28978 if (!SWIG_IsOK(res1
)) {
28979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28981 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
28986 result
= (wxTimeSpan
*) &_result_ref
;
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28998 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28999 PyObject
*resultobj
= 0;
29000 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29004 PyObject
*swig_obj
[1] ;
29006 if (!args
) SWIG_fail
;
29007 swig_obj
[0] = args
;
29008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29009 if (!SWIG_IsOK(res1
)) {
29010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29012 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29019 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29026 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29027 PyObject
*resultobj
= 0;
29028 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29029 wxTimeSpan
*arg2
= 0 ;
29030 wxTimeSpan
*result
= 0 ;
29035 PyObject
* obj0
= 0 ;
29036 PyObject
* obj1
= 0 ;
29037 char * kwnames
[] = {
29038 (char *) "self",(char *) "diff", NULL
29041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29043 if (!SWIG_IsOK(res1
)) {
29044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29046 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29048 if (!SWIG_IsOK(res2
)) {
29049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29054 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29059 result
= (wxTimeSpan
*) &_result_ref
;
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29071 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
= 0;
29073 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29074 wxTimeSpan
*arg2
= 0 ;
29075 wxTimeSpan
*result
= 0 ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 char * kwnames
[] = {
29083 (char *) "self",(char *) "diff", NULL
29086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29088 if (!SWIG_IsOK(res1
)) {
29089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29091 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29093 if (!SWIG_IsOK(res2
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29099 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29104 result
= (wxTimeSpan
*) &_result_ref
;
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29116 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
= 0;
29118 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29120 wxTimeSpan
*result
= 0 ;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 char * kwnames
[] = {
29128 (char *) "self",(char *) "n", NULL
29131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29133 if (!SWIG_IsOK(res1
)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29136 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29138 if (!SWIG_IsOK(ecode2
)) {
29139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29141 arg2
= static_cast< int >(val2
);
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29145 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29146 result
= (wxTimeSpan
*) &_result_ref
;
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29158 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29159 PyObject
*resultobj
= 0;
29160 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29161 wxTimeSpan
*result
= 0 ;
29164 PyObject
*swig_obj
[1] ;
29166 if (!args
) SWIG_fail
;
29167 swig_obj
[0] = args
;
29168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29169 if (!SWIG_IsOK(res1
)) {
29170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29172 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29177 result
= (wxTimeSpan
*) &_result_ref
;
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29189 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29190 PyObject
*resultobj
= 0;
29191 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29192 wxTimeSpan
*arg2
= 0 ;
29198 PyObject
* obj0
= 0 ;
29199 PyObject
* obj1
= 0 ;
29200 char * kwnames
[] = {
29201 (char *) "self",(char *) "other", NULL
29204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29206 if (!SWIG_IsOK(res1
)) {
29207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29209 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29211 if (!SWIG_IsOK(res2
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29217 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29231 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
= 0;
29233 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29234 wxTimeSpan
*arg2
= 0 ;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 char * kwnames
[] = {
29243 (char *) "self",(char *) "other", NULL
29246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29248 if (!SWIG_IsOK(res1
)) {
29249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29251 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29253 if (!SWIG_IsOK(res2
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29259 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29262 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29273 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
= 0;
29275 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29282 PyObject
* obj0
= 0 ;
29283 PyObject
* obj1
= 0 ;
29284 char * kwnames
[] = {
29285 (char *) "self",(char *) "n", NULL
29288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29290 if (!SWIG_IsOK(res1
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29293 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29295 if (!SWIG_IsOK(ecode2
)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29298 arg2
= static_cast< int >(val2
);
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 result
= wxTimeSpan___mul__(arg1
,arg2
);
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29312 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
= 0;
29314 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29321 PyObject
* obj0
= 0 ;
29322 PyObject
* obj1
= 0 ;
29323 char * kwnames
[] = {
29324 (char *) "self",(char *) "n", NULL
29327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29329 if (!SWIG_IsOK(res1
)) {
29330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29332 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29334 if (!SWIG_IsOK(ecode2
)) {
29335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29337 arg2
= static_cast< int >(val2
);
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29351 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= 0;
29353 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29354 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29360 PyObject
* obj0
= 0 ;
29361 PyObject
* obj1
= 0 ;
29362 char * kwnames
[] = {
29363 (char *) "self",(char *) "other", NULL
29366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29368 if (!SWIG_IsOK(res1
)) {
29369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29371 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29373 if (!SWIG_IsOK(res2
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29376 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29392 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29393 PyObject
*resultobj
= 0;
29394 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29395 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29401 PyObject
* obj0
= 0 ;
29402 PyObject
* obj1
= 0 ;
29403 char * kwnames
[] = {
29404 (char *) "self",(char *) "other", NULL
29407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29409 if (!SWIG_IsOK(res1
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29412 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29414 if (!SWIG_IsOK(res2
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29417 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29433 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29434 PyObject
*resultobj
= 0;
29435 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29436 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 char * kwnames
[] = {
29445 (char *) "self",(char *) "other", NULL
29448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29450 if (!SWIG_IsOK(res1
)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29453 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29455 if (!SWIG_IsOK(res2
)) {
29456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29458 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29474 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29475 PyObject
*resultobj
= 0;
29476 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29477 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29483 PyObject
* obj0
= 0 ;
29484 PyObject
* obj1
= 0 ;
29485 char * kwnames
[] = {
29486 (char *) "self",(char *) "other", NULL
29489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29491 if (!SWIG_IsOK(res1
)) {
29492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29494 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29495 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29496 if (!SWIG_IsOK(res2
)) {
29497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29499 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29502 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29515 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29516 PyObject
*resultobj
= 0;
29517 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29518 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29524 PyObject
* obj0
= 0 ;
29525 PyObject
* obj1
= 0 ;
29526 char * kwnames
[] = {
29527 (char *) "self",(char *) "other", NULL
29530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29532 if (!SWIG_IsOK(res1
)) {
29533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29535 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29537 if (!SWIG_IsOK(res2
)) {
29538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29540 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29556 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
= 0;
29558 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29559 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29565 PyObject
* obj0
= 0 ;
29566 PyObject
* obj1
= 0 ;
29567 char * kwnames
[] = {
29568 (char *) "self",(char *) "other", NULL
29571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29573 if (!SWIG_IsOK(res1
)) {
29574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29576 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29578 if (!SWIG_IsOK(res2
)) {
29579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29581 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29585 wxPyEndAllowThreads(__tstate
);
29586 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29597 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29598 PyObject
*resultobj
= 0;
29599 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29603 PyObject
*swig_obj
[1] ;
29605 if (!args
) SWIG_fail
;
29606 swig_obj
[0] = args
;
29607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29608 if (!SWIG_IsOK(res1
)) {
29609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29611 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29615 wxPyEndAllowThreads(__tstate
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29627 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29628 PyObject
*resultobj
= 0;
29629 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29633 PyObject
*swig_obj
[1] ;
29635 if (!args
) SWIG_fail
;
29636 swig_obj
[0] = args
;
29637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29638 if (!SWIG_IsOK(res1
)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29641 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29657 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29658 PyObject
*resultobj
= 0;
29659 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29663 PyObject
*swig_obj
[1] ;
29665 if (!args
) SWIG_fail
;
29666 swig_obj
[0] = args
;
29667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29668 if (!SWIG_IsOK(res1
)) {
29669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29671 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29687 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29688 PyObject
*resultobj
= 0;
29689 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29690 wxTimeSpan
*arg2
= 0 ;
29696 PyObject
* obj0
= 0 ;
29697 PyObject
* obj1
= 0 ;
29698 char * kwnames
[] = {
29699 (char *) "self",(char *) "ts", NULL
29702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29704 if (!SWIG_IsOK(res1
)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29707 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29709 if (!SWIG_IsOK(res2
)) {
29710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29715 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29731 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
= 0;
29733 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29734 wxTimeSpan
*arg2
= 0 ;
29740 PyObject
* obj0
= 0 ;
29741 PyObject
* obj1
= 0 ;
29742 char * kwnames
[] = {
29743 (char *) "self",(char *) "ts", NULL
29746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29748 if (!SWIG_IsOK(res1
)) {
29749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29751 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29753 if (!SWIG_IsOK(res2
)) {
29754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29759 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29775 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29776 PyObject
*resultobj
= 0;
29777 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29778 wxTimeSpan
*arg2
= 0 ;
29784 PyObject
* obj0
= 0 ;
29785 PyObject
* obj1
= 0 ;
29786 char * kwnames
[] = {
29787 (char *) "self",(char *) "t", NULL
29790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29792 if (!SWIG_IsOK(res1
)) {
29793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29795 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29797 if (!SWIG_IsOK(res2
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29803 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29819 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29820 PyObject
*resultobj
= 0;
29821 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29825 PyObject
*swig_obj
[1] ;
29827 if (!args
) SWIG_fail
;
29828 swig_obj
[0] = args
;
29829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29833 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29840 resultobj
= SWIG_From_int(static_cast< int >(result
));
29847 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29848 PyObject
*resultobj
= 0;
29849 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29853 PyObject
*swig_obj
[1] ;
29855 if (!args
) SWIG_fail
;
29856 swig_obj
[0] = args
;
29857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29858 if (!SWIG_IsOK(res1
)) {
29859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29861 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29868 resultobj
= SWIG_From_int(static_cast< int >(result
));
29875 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29876 PyObject
*resultobj
= 0;
29877 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29881 PyObject
*swig_obj
[1] ;
29883 if (!args
) SWIG_fail
;
29884 swig_obj
[0] = args
;
29885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29886 if (!SWIG_IsOK(res1
)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29889 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
29893 wxPyEndAllowThreads(__tstate
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29896 resultobj
= SWIG_From_int(static_cast< int >(result
));
29903 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29904 PyObject
*resultobj
= 0;
29905 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29909 PyObject
*swig_obj
[1] ;
29911 if (!args
) SWIG_fail
;
29912 swig_obj
[0] = args
;
29913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29914 if (!SWIG_IsOK(res1
)) {
29915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29917 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29920 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
29921 wxPyEndAllowThreads(__tstate
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29924 resultobj
= SWIG_From_int(static_cast< int >(result
));
29931 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29932 PyObject
*resultobj
= 0;
29933 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29937 PyObject
*swig_obj
[1] ;
29939 if (!args
) SWIG_fail
;
29940 swig_obj
[0] = args
;
29941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29942 if (!SWIG_IsOK(res1
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29945 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29953 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29954 hi
= PyLong_FromLong( (&result
)->GetHi() );
29955 lo
= PyLong_FromLong( (&result
)->GetLo() );
29956 shifter
= PyLong_FromLong(32);
29957 shifted
= PyNumber_Lshift(hi
, shifter
);
29958 resultobj
= PyNumber_Or(shifted
, lo
);
29961 Py_DECREF(shifter
);
29962 Py_DECREF(shifted
);
29970 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29971 PyObject
*resultobj
= 0;
29972 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29976 PyObject
*swig_obj
[1] ;
29978 if (!args
) SWIG_fail
;
29979 swig_obj
[0] = args
;
29980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29981 if (!SWIG_IsOK(res1
)) {
29982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29984 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29987 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
29988 wxPyEndAllowThreads(__tstate
);
29989 if (PyErr_Occurred()) SWIG_fail
;
29992 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29993 hi
= PyLong_FromLong( (&result
)->GetHi() );
29994 lo
= PyLong_FromLong( (&result
)->GetLo() );
29995 shifter
= PyLong_FromLong(32);
29996 shifted
= PyNumber_Lshift(hi
, shifter
);
29997 resultobj
= PyNumber_Or(shifted
, lo
);
30000 Py_DECREF(shifter
);
30001 Py_DECREF(shifted
);
30009 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30010 PyObject
*resultobj
= 0;
30011 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30012 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30013 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30017 bool temp2
= false ;
30018 PyObject
* obj0
= 0 ;
30019 PyObject
* obj1
= 0 ;
30020 char * kwnames
[] = {
30021 (char *) "self",(char *) "format", NULL
30024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30026 if (!SWIG_IsOK(res1
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30029 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30032 arg2
= wxString_in_helper(obj1
);
30033 if (arg2
== NULL
) SWIG_fail
;
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30064 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30067 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30068 return SWIG_Py_Void();
30071 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30072 return SWIG_Python_InitShadowInstance(args
);
30075 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30076 PyObject
*resultobj
= 0;
30077 int arg1
= (int) 0 ;
30078 int arg2
= (int) 0 ;
30079 int arg3
= (int) 0 ;
30080 int arg4
= (int) 0 ;
30081 wxDateSpan
*result
= 0 ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 PyObject
* obj2
= 0 ;
30093 PyObject
* obj3
= 0 ;
30094 char * kwnames
[] = {
30095 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30101 if (!SWIG_IsOK(ecode1
)) {
30102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30104 arg1
= static_cast< int >(val1
);
30107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30108 if (!SWIG_IsOK(ecode2
)) {
30109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30111 arg2
= static_cast< int >(val2
);
30114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30115 if (!SWIG_IsOK(ecode3
)) {
30116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30118 arg3
= static_cast< int >(val3
);
30121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30122 if (!SWIG_IsOK(ecode4
)) {
30123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30125 arg4
= static_cast< int >(val4
);
30128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30129 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30140 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30141 PyObject
*resultobj
= 0;
30142 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30145 PyObject
*swig_obj
[1] ;
30147 if (!args
) SWIG_fail
;
30148 swig_obj
[0] = args
;
30149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30150 if (!SWIG_IsOK(res1
)) {
30151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30153 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30161 resultobj
= SWIG_Py_Void();
30168 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30169 PyObject
*resultobj
= 0;
30174 PyObject
* obj0
= 0 ;
30175 char * kwnames
[] = {
30176 (char *) "days", NULL
30179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30180 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30181 if (!SWIG_IsOK(ecode1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30184 arg1
= static_cast< int >(val1
);
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 result
= wxDateSpan::Days(arg1
);
30188 wxPyEndAllowThreads(__tstate
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30191 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30198 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30199 PyObject
*resultobj
= 0;
30202 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 result
= wxDateSpan::Day();
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30209 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30216 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30217 PyObject
*resultobj
= 0;
30222 PyObject
* obj0
= 0 ;
30223 char * kwnames
[] = {
30224 (char *) "weeks", NULL
30227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30229 if (!SWIG_IsOK(ecode1
)) {
30230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30232 arg1
= static_cast< int >(val1
);
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 result
= wxDateSpan::Weeks(arg1
);
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30246 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30247 PyObject
*resultobj
= 0;
30250 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30253 result
= wxDateSpan::Week();
30254 wxPyEndAllowThreads(__tstate
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30257 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30264 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30265 PyObject
*resultobj
= 0;
30270 PyObject
* obj0
= 0 ;
30271 char * kwnames
[] = {
30272 (char *) "mon", NULL
30275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30276 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30277 if (!SWIG_IsOK(ecode1
)) {
30278 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30280 arg1
= static_cast< int >(val1
);
30282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30283 result
= wxDateSpan::Months(arg1
);
30284 wxPyEndAllowThreads(__tstate
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30294 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30295 PyObject
*resultobj
= 0;
30298 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 result
= wxDateSpan::Month();
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30312 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
= 0;
30318 PyObject
* obj0
= 0 ;
30319 char * kwnames
[] = {
30320 (char *) "years", NULL
30323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30324 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30325 if (!SWIG_IsOK(ecode1
)) {
30326 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30328 arg1
= static_cast< int >(val1
);
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 result
= wxDateSpan::Years(arg1
);
30332 wxPyEndAllowThreads(__tstate
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30335 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30342 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30343 PyObject
*resultobj
= 0;
30346 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30349 result
= wxDateSpan::Year();
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30353 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30360 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30361 PyObject
*resultobj
= 0;
30362 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30364 wxDateSpan
*result
= 0 ;
30369 PyObject
* obj0
= 0 ;
30370 PyObject
* obj1
= 0 ;
30371 char * kwnames
[] = {
30372 (char *) "self",(char *) "n", NULL
30375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30377 if (!SWIG_IsOK(res1
)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30380 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30382 if (!SWIG_IsOK(ecode2
)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30385 arg2
= static_cast< int >(val2
);
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30390 result
= (wxDateSpan
*) &_result_ref
;
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30402 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
= 0;
30404 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30406 wxDateSpan
*result
= 0 ;
30411 PyObject
* obj0
= 0 ;
30412 PyObject
* obj1
= 0 ;
30413 char * kwnames
[] = {
30414 (char *) "self",(char *) "n", NULL
30417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30419 if (!SWIG_IsOK(res1
)) {
30420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30422 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30424 if (!SWIG_IsOK(ecode2
)) {
30425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30427 arg2
= static_cast< int >(val2
);
30429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30432 result
= (wxDateSpan
*) &_result_ref
;
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30444 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30445 PyObject
*resultobj
= 0;
30446 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30448 wxDateSpan
*result
= 0 ;
30453 PyObject
* obj0
= 0 ;
30454 PyObject
* obj1
= 0 ;
30455 char * kwnames
[] = {
30456 (char *) "self",(char *) "n", NULL
30459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30461 if (!SWIG_IsOK(res1
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30464 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30466 if (!SWIG_IsOK(ecode2
)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30469 arg2
= static_cast< int >(val2
);
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30473 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30474 result
= (wxDateSpan
*) &_result_ref
;
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30486 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
= 0;
30488 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30490 wxDateSpan
*result
= 0 ;
30495 PyObject
* obj0
= 0 ;
30496 PyObject
* obj1
= 0 ;
30497 char * kwnames
[] = {
30498 (char *) "self",(char *) "n", NULL
30501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30503 if (!SWIG_IsOK(res1
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30506 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30508 if (!SWIG_IsOK(ecode2
)) {
30509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30511 arg2
= static_cast< int >(val2
);
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30516 result
= (wxDateSpan
*) &_result_ref
;
30518 wxPyEndAllowThreads(__tstate
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30528 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30529 PyObject
*resultobj
= 0;
30530 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30534 PyObject
*swig_obj
[1] ;
30536 if (!args
) SWIG_fail
;
30537 swig_obj
[0] = args
;
30538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30539 if (!SWIG_IsOK(res1
)) {
30540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30542 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30545 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= SWIG_From_int(static_cast< int >(result
));
30556 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30557 PyObject
*resultobj
= 0;
30558 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30562 PyObject
*swig_obj
[1] ;
30564 if (!args
) SWIG_fail
;
30565 swig_obj
[0] = args
;
30566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30567 if (!SWIG_IsOK(res1
)) {
30568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30570 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30577 resultobj
= SWIG_From_int(static_cast< int >(result
));
30584 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30585 PyObject
*resultobj
= 0;
30586 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30590 PyObject
*swig_obj
[1] ;
30592 if (!args
) SWIG_fail
;
30593 swig_obj
[0] = args
;
30594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30595 if (!SWIG_IsOK(res1
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30598 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30601 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= SWIG_From_int(static_cast< int >(result
));
30612 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30613 PyObject
*resultobj
= 0;
30614 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30618 PyObject
*swig_obj
[1] ;
30620 if (!args
) SWIG_fail
;
30621 swig_obj
[0] = args
;
30622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30623 if (!SWIG_IsOK(res1
)) {
30624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30626 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30630 wxPyEndAllowThreads(__tstate
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30633 resultobj
= SWIG_From_int(static_cast< int >(result
));
30640 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30641 PyObject
*resultobj
= 0;
30642 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30646 PyObject
*swig_obj
[1] ;
30648 if (!args
) SWIG_fail
;
30649 swig_obj
[0] = args
;
30650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30651 if (!SWIG_IsOK(res1
)) {
30652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30654 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= SWIG_From_int(static_cast< int >(result
));
30668 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
= 0;
30670 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30671 wxDateSpan
*arg2
= 0 ;
30672 wxDateSpan
*result
= 0 ;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 char * kwnames
[] = {
30680 (char *) "self",(char *) "other", NULL
30683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30685 if (!SWIG_IsOK(res1
)) {
30686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30688 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30690 if (!SWIG_IsOK(res2
)) {
30691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30696 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30700 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30701 result
= (wxDateSpan
*) &_result_ref
;
30703 wxPyEndAllowThreads(__tstate
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30713 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30714 PyObject
*resultobj
= 0;
30715 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30716 wxDateSpan
*arg2
= 0 ;
30717 wxDateSpan
*result
= 0 ;
30722 PyObject
* obj0
= 0 ;
30723 PyObject
* obj1
= 0 ;
30724 char * kwnames
[] = {
30725 (char *) "self",(char *) "other", NULL
30728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30730 if (!SWIG_IsOK(res1
)) {
30731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30733 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30735 if (!SWIG_IsOK(res2
)) {
30736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30741 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30746 result
= (wxDateSpan
*) &_result_ref
;
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30758 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30759 PyObject
*resultobj
= 0;
30760 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30761 wxDateSpan
*result
= 0 ;
30764 PyObject
*swig_obj
[1] ;
30766 if (!args
) SWIG_fail
;
30767 swig_obj
[0] = args
;
30768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30769 if (!SWIG_IsOK(res1
)) {
30770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30772 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30776 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30777 result
= (wxDateSpan
*) &_result_ref
;
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30789 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
= 0;
30791 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30793 wxDateSpan
*result
= 0 ;
30798 PyObject
* obj0
= 0 ;
30799 PyObject
* obj1
= 0 ;
30800 char * kwnames
[] = {
30801 (char *) "self",(char *) "factor", NULL
30804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30806 if (!SWIG_IsOK(res1
)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30809 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30811 if (!SWIG_IsOK(ecode2
)) {
30812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
30814 arg2
= static_cast< int >(val2
);
30816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
30819 result
= (wxDateSpan
*) &_result_ref
;
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30831 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
= 0;
30833 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30834 wxDateSpan
*arg2
= 0 ;
30835 wxDateSpan
*result
= 0 ;
30840 PyObject
* obj0
= 0 ;
30841 PyObject
* obj1
= 0 ;
30842 char * kwnames
[] = {
30843 (char *) "self",(char *) "other", NULL
30846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30848 if (!SWIG_IsOK(res1
)) {
30849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30851 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30853 if (!SWIG_IsOK(res2
)) {
30854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30859 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
30864 result
= (wxDateSpan
*) &_result_ref
;
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30876 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
= 0;
30878 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30879 wxDateSpan
*arg2
= 0 ;
30880 wxDateSpan
*result
= 0 ;
30885 PyObject
* obj0
= 0 ;
30886 PyObject
* obj1
= 0 ;
30887 char * kwnames
[] = {
30888 (char *) "self",(char *) "other", NULL
30891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30893 if (!SWIG_IsOK(res1
)) {
30894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30896 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30898 if (!SWIG_IsOK(res2
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30904 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30908 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
30909 result
= (wxDateSpan
*) &_result_ref
;
30911 wxPyEndAllowThreads(__tstate
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30921 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30922 PyObject
*resultobj
= 0;
30923 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30924 wxDateSpan
*result
= 0 ;
30927 PyObject
*swig_obj
[1] ;
30929 if (!args
) SWIG_fail
;
30930 swig_obj
[0] = args
;
30931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30932 if (!SWIG_IsOK(res1
)) {
30933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30935 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30939 wxDateSpan
&_result_ref
= (arg1
)->operator -();
30940 result
= (wxDateSpan
*) &_result_ref
;
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30952 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30953 PyObject
*resultobj
= 0;
30954 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30956 wxDateSpan
*result
= 0 ;
30961 PyObject
* obj0
= 0 ;
30962 PyObject
* obj1
= 0 ;
30963 char * kwnames
[] = {
30964 (char *) "self",(char *) "factor", NULL
30967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30969 if (!SWIG_IsOK(res1
)) {
30970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30972 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30974 if (!SWIG_IsOK(ecode2
)) {
30975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
30977 arg2
= static_cast< int >(val2
);
30979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
30982 result
= (wxDateSpan
*) &_result_ref
;
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30994 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30995 PyObject
*resultobj
= 0;
30996 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30997 wxDateSpan
*arg2
= 0 ;
31003 PyObject
* obj0
= 0 ;
31004 PyObject
* obj1
= 0 ;
31005 char * kwnames
[] = {
31006 (char *) "self",(char *) "other", NULL
31009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31011 if (!SWIG_IsOK(res1
)) {
31012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31014 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31016 if (!SWIG_IsOK(res2
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31022 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31025 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31029 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31036 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= 0;
31038 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31039 wxDateSpan
*arg2
= 0 ;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 char * kwnames
[] = {
31048 (char *) "self",(char *) "other", NULL
31051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31053 if (!SWIG_IsOK(res1
)) {
31054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31056 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31057 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31058 if (!SWIG_IsOK(res2
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31064 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31071 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31078 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31079 PyObject
*resultobj
= 0;
31080 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31087 PyObject
* obj0
= 0 ;
31088 PyObject
* obj1
= 0 ;
31089 char * kwnames
[] = {
31090 (char *) "self",(char *) "n", NULL
31093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31095 if (!SWIG_IsOK(res1
)) {
31096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31098 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31100 if (!SWIG_IsOK(ecode2
)) {
31101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31103 arg2
= static_cast< int >(val2
);
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 result
= wxDateSpan___mul__(arg1
,arg2
);
31107 wxPyEndAllowThreads(__tstate
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31110 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31117 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31118 PyObject
*resultobj
= 0;
31119 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31126 PyObject
* obj0
= 0 ;
31127 PyObject
* obj1
= 0 ;
31128 char * kwnames
[] = {
31129 (char *) "self",(char *) "n", NULL
31132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31134 if (!SWIG_IsOK(res1
)) {
31135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31137 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31139 if (!SWIG_IsOK(ecode2
)) {
31140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31142 arg2
= static_cast< int >(val2
);
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31145 result
= wxDateSpan___rmul__(arg1
,arg2
);
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31156 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31157 PyObject
*resultobj
= 0;
31158 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31159 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31165 PyObject
* obj0
= 0 ;
31166 PyObject
* obj1
= 0 ;
31167 char * kwnames
[] = {
31168 (char *) "self",(char *) "other", NULL
31171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31173 if (!SWIG_IsOK(res1
)) {
31174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31176 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31178 if (!SWIG_IsOK(res2
)) {
31179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31181 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31184 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31197 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31198 PyObject
*resultobj
= 0;
31199 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31200 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31206 PyObject
* obj0
= 0 ;
31207 PyObject
* obj1
= 0 ;
31208 char * kwnames
[] = {
31209 (char *) "self",(char *) "other", NULL
31212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31214 if (!SWIG_IsOK(res1
)) {
31215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31217 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31219 if (!SWIG_IsOK(res2
)) {
31220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31222 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31226 wxPyEndAllowThreads(__tstate
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31238 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31241 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31242 return SWIG_Py_Void();
31245 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31246 return SWIG_Python_InitShadowInstance(args
);
31249 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31250 PyObject
*resultobj
= 0;
31253 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 result
= (long)wxGetLocalTime();
31257 wxPyEndAllowThreads(__tstate
);
31258 if (PyErr_Occurred()) SWIG_fail
;
31260 resultobj
= SWIG_From_long(static_cast< long >(result
));
31267 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31268 PyObject
*resultobj
= 0;
31271 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 result
= (long)wxGetUTCTime();
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= SWIG_From_long(static_cast< long >(result
));
31285 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31286 PyObject
*resultobj
= 0;
31289 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31292 result
= (long)wxGetCurrentTime();
31293 wxPyEndAllowThreads(__tstate
);
31294 if (PyErr_Occurred()) SWIG_fail
;
31296 resultobj
= SWIG_From_long(static_cast< long >(result
));
31303 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31304 PyObject
*resultobj
= 0;
31307 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31310 result
= wxGetLocalTimeMillis();
31311 wxPyEndAllowThreads(__tstate
);
31312 if (PyErr_Occurred()) SWIG_fail
;
31315 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31316 hi
= PyLong_FromLong( (&result
)->GetHi() );
31317 lo
= PyLong_FromLong( (&result
)->GetLo() );
31318 shifter
= PyLong_FromLong(32);
31319 shifted
= PyNumber_Lshift(hi
, shifter
);
31320 resultobj
= PyNumber_Or(shifted
, lo
);
31323 Py_DECREF(shifter
);
31324 Py_DECREF(shifted
);
31332 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31333 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31338 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31339 PyObject
*pyobj
= 0;
31341 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31346 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
= 0;
31348 wxDataFormatId arg1
;
31349 wxDataFormat
*result
= 0 ;
31352 PyObject
* obj0
= 0 ;
31353 char * kwnames
[] = {
31354 (char *) "type", NULL
31357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31359 if (!SWIG_IsOK(ecode1
)) {
31360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31362 arg1
= static_cast< wxDataFormatId
>(val1
);
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31376 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31377 PyObject
*resultobj
= 0;
31378 wxString
*arg1
= 0 ;
31379 wxDataFormat
*result
= 0 ;
31380 bool temp1
= false ;
31381 PyObject
* obj0
= 0 ;
31382 char * kwnames
[] = {
31383 (char *) "format", NULL
31386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31388 arg1
= wxString_in_helper(obj0
);
31389 if (arg1
== NULL
) SWIG_fail
;
31393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31394 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31395 wxPyEndAllowThreads(__tstate
);
31396 if (PyErr_Occurred()) SWIG_fail
;
31398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31413 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31414 PyObject
*resultobj
= 0;
31415 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31418 PyObject
*swig_obj
[1] ;
31420 if (!args
) SWIG_fail
;
31421 swig_obj
[0] = args
;
31422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31423 if (!SWIG_IsOK(res1
)) {
31424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31426 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 wxPyEndAllowThreads(__tstate
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31434 resultobj
= SWIG_Py_Void();
31441 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31442 PyObject
*resultobj
= 0;
31443 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31444 wxDataFormatId arg2
;
31451 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31453 if (!SWIG_IsOK(res1
)) {
31454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31456 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31457 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31458 if (!SWIG_IsOK(ecode2
)) {
31459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31461 arg2
= static_cast< wxDataFormatId
>(val2
);
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31477 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31478 PyObject
*resultobj
= 0;
31479 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31480 wxDataFormatId arg2
;
31487 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31489 if (!SWIG_IsOK(res1
)) {
31490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31492 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31493 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31494 if (!SWIG_IsOK(ecode2
)) {
31495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31497 arg2
= static_cast< wxDataFormatId
>(val2
);
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31513 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31514 PyObject
*resultobj
= 0;
31515 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31516 wxDataFormat
*arg2
= 0 ;
31523 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31525 if (!SWIG_IsOK(res1
)) {
31526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31528 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31529 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31530 if (!SWIG_IsOK(res2
)) {
31531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31536 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31540 wxPyEndAllowThreads(__tstate
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31552 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31556 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31561 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31562 _v
= SWIG_CheckState(res
);
31564 if (!_v
) goto check_1
;
31565 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31570 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31574 Py_INCREF(Py_NotImplemented
);
31575 return Py_NotImplemented
;
31579 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31580 PyObject
*resultobj
= 0;
31581 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31582 wxDataFormat
*arg2
= 0 ;
31589 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31591 if (!SWIG_IsOK(res1
)) {
31592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31594 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31595 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31596 if (!SWIG_IsOK(res2
)) {
31597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31602 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31605 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31606 wxPyEndAllowThreads(__tstate
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31618 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31622 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31627 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31628 _v
= SWIG_CheckState(res
);
31630 if (!_v
) goto check_1
;
31631 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31636 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31640 Py_INCREF(Py_NotImplemented
);
31641 return Py_NotImplemented
;
31645 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31646 PyObject
*resultobj
= 0;
31647 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31648 wxDataFormatId arg2
;
31653 PyObject
* obj0
= 0 ;
31654 PyObject
* obj1
= 0 ;
31655 char * kwnames
[] = {
31656 (char *) "self",(char *) "format", NULL
31659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31661 if (!SWIG_IsOK(res1
)) {
31662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31664 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31666 if (!SWIG_IsOK(ecode2
)) {
31667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31669 arg2
= static_cast< wxDataFormatId
>(val2
);
31671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31672 (arg1
)->SetType(arg2
);
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31676 resultobj
= SWIG_Py_Void();
31683 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31684 PyObject
*resultobj
= 0;
31685 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31686 wxDataFormatId result
;
31689 PyObject
*swig_obj
[1] ;
31691 if (!args
) SWIG_fail
;
31692 swig_obj
[0] = args
;
31693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31694 if (!SWIG_IsOK(res1
)) {
31695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31697 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31704 resultobj
= SWIG_From_int(static_cast< int >(result
));
31711 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31712 PyObject
*resultobj
= 0;
31713 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31717 PyObject
*swig_obj
[1] ;
31719 if (!args
) SWIG_fail
;
31720 swig_obj
[0] = args
;
31721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31722 if (!SWIG_IsOK(res1
)) {
31723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31725 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 result
= ((wxDataFormat
const *)arg1
)->GetId();
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31745 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31746 PyObject
*resultobj
= 0;
31747 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31748 wxString
*arg2
= 0 ;
31751 bool temp2
= false ;
31752 PyObject
* obj0
= 0 ;
31753 PyObject
* obj1
= 0 ;
31754 char * kwnames
[] = {
31755 (char *) "self",(char *) "format", NULL
31758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31760 if (!SWIG_IsOK(res1
)) {
31761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31763 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31765 arg2
= wxString_in_helper(obj1
);
31766 if (arg2
== NULL
) SWIG_fail
;
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 (arg1
)->SetId((wxString
const &)*arg2
);
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31775 resultobj
= SWIG_Py_Void();
31790 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31793 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31794 return SWIG_Py_Void();
31797 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31798 return SWIG_Python_InitShadowInstance(args
);
31801 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
31802 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
31807 SWIGINTERN PyObject
*FormatInvalid_get(void) {
31808 PyObject
*pyobj
= 0;
31810 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
31815 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31816 PyObject
*resultobj
= 0;
31817 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31820 PyObject
*swig_obj
[1] ;
31822 if (!args
) SWIG_fail
;
31823 swig_obj
[0] = args
;
31824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
31825 if (!SWIG_IsOK(res1
)) {
31826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
31828 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 wxPyEndAllowThreads(__tstate
);
31834 if (PyErr_Occurred()) SWIG_fail
;
31836 resultobj
= SWIG_Py_Void();
31843 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31844 PyObject
*resultobj
= 0;
31845 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31846 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31847 SwigValueWrapper
<wxDataFormat
> result
;
31852 PyObject
* obj0
= 0 ;
31853 PyObject
* obj1
= 0 ;
31854 char * kwnames
[] = {
31855 (char *) "self",(char *) "dir", NULL
31858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31860 if (!SWIG_IsOK(res1
)) {
31861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31863 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31866 if (!SWIG_IsOK(ecode2
)) {
31867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31869 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31873 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
31874 wxPyEndAllowThreads(__tstate
);
31875 if (PyErr_Occurred()) SWIG_fail
;
31877 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31884 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31885 PyObject
*resultobj
= 0;
31886 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31887 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31893 PyObject
* obj0
= 0 ;
31894 PyObject
* obj1
= 0 ;
31895 char * kwnames
[] = {
31896 (char *) "self",(char *) "dir", NULL
31899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31901 if (!SWIG_IsOK(res1
)) {
31902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31904 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31907 if (!SWIG_IsOK(ecode2
)) {
31908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31910 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31914 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
31915 wxPyEndAllowThreads(__tstate
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31918 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31925 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31926 PyObject
*resultobj
= 0;
31927 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31928 wxDataFormat
*arg2
= 0 ;
31929 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
31937 PyObject
* obj0
= 0 ;
31938 PyObject
* obj1
= 0 ;
31939 PyObject
* obj2
= 0 ;
31940 char * kwnames
[] = {
31941 (char *) "self",(char *) "format",(char *) "dir", NULL
31944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31946 if (!SWIG_IsOK(res1
)) {
31947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31949 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31951 if (!SWIG_IsOK(res2
)) {
31952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31957 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31960 if (!SWIG_IsOK(ecode3
)) {
31961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
31963 arg3
= static_cast< wxDataObject::Direction
>(val3
);
31966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31967 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
31968 wxPyEndAllowThreads(__tstate
);
31969 if (PyErr_Occurred()) SWIG_fail
;
31972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31980 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31981 PyObject
*resultobj
= 0;
31982 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31983 wxDataFormat
*arg2
= 0 ;
31989 PyObject
* obj0
= 0 ;
31990 PyObject
* obj1
= 0 ;
31991 char * kwnames
[] = {
31992 (char *) "self",(char *) "format", NULL
31995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31997 if (!SWIG_IsOK(res1
)) {
31998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32000 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32002 if (!SWIG_IsOK(res2
)) {
32003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32008 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32011 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32012 wxPyEndAllowThreads(__tstate
);
32013 if (PyErr_Occurred()) SWIG_fail
;
32015 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32022 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32023 PyObject
*resultobj
= 0;
32024 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32025 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32026 PyObject
*result
= 0 ;
32031 PyObject
* obj0
= 0 ;
32032 PyObject
* obj1
= 0 ;
32033 char * kwnames
[] = {
32034 (char *) "self",(char *) "dir", NULL
32037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32039 if (!SWIG_IsOK(res1
)) {
32040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32042 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32045 if (!SWIG_IsOK(ecode2
)) {
32046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32048 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32052 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32053 wxPyEndAllowThreads(__tstate
);
32054 if (PyErr_Occurred()) SWIG_fail
;
32056 resultobj
= result
;
32063 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
= 0;
32065 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32066 wxDataFormat
*arg2
= 0 ;
32067 PyObject
*result
= 0 ;
32072 PyObject
* obj0
= 0 ;
32073 PyObject
* obj1
= 0 ;
32074 char * kwnames
[] = {
32075 (char *) "self",(char *) "format", NULL
32078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32080 if (!SWIG_IsOK(res1
)) {
32081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32083 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32085 if (!SWIG_IsOK(res2
)) {
32086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32091 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32095 wxPyEndAllowThreads(__tstate
);
32096 if (PyErr_Occurred()) SWIG_fail
;
32098 resultobj
= result
;
32105 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32106 PyObject
*resultobj
= 0;
32107 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32108 wxDataFormat
*arg2
= 0 ;
32109 PyObject
*arg3
= (PyObject
*) 0 ;
32115 PyObject
* obj0
= 0 ;
32116 PyObject
* obj1
= 0 ;
32117 PyObject
* obj2
= 0 ;
32118 char * kwnames
[] = {
32119 (char *) "self",(char *) "format",(char *) "data", NULL
32122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32124 if (!SWIG_IsOK(res1
)) {
32125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32127 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32129 if (!SWIG_IsOK(res2
)) {
32130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32135 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32152 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32154 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32155 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32156 return SWIG_Py_Void();
32159 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32160 PyObject
*resultobj
= 0;
32161 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32162 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32163 wxDataObjectSimple
*result
= 0 ;
32166 PyObject
* obj0
= 0 ;
32167 char * kwnames
[] = {
32168 (char *) "format", NULL
32171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32173 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32174 if (!SWIG_IsOK(res1
)) {
32175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32180 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32184 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32185 wxPyEndAllowThreads(__tstate
);
32186 if (PyErr_Occurred()) SWIG_fail
;
32188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32195 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32196 PyObject
*resultobj
= 0;
32197 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32198 wxDataFormat
*result
= 0 ;
32201 PyObject
*swig_obj
[1] ;
32203 if (!args
) SWIG_fail
;
32204 swig_obj
[0] = args
;
32205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32206 if (!SWIG_IsOK(res1
)) {
32207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32209 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32213 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32214 result
= (wxDataFormat
*) &_result_ref
;
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32226 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32227 PyObject
*resultobj
= 0;
32228 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32229 wxDataFormat
*arg2
= 0 ;
32234 PyObject
* obj0
= 0 ;
32235 PyObject
* obj1
= 0 ;
32236 char * kwnames
[] = {
32237 (char *) "self",(char *) "format", NULL
32240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32242 if (!SWIG_IsOK(res1
)) {
32243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32245 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32247 if (!SWIG_IsOK(res2
)) {
32248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32253 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32256 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32260 resultobj
= SWIG_Py_Void();
32267 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32268 PyObject
*resultobj
= 0;
32269 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32273 PyObject
*swig_obj
[1] ;
32275 if (!args
) SWIG_fail
;
32276 swig_obj
[0] = args
;
32277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32278 if (!SWIG_IsOK(res1
)) {
32279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32281 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32284 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32285 wxPyEndAllowThreads(__tstate
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32288 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32295 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32296 PyObject
*resultobj
= 0;
32297 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32298 PyObject
*result
= 0 ;
32301 PyObject
*swig_obj
[1] ;
32303 if (!args
) SWIG_fail
;
32304 swig_obj
[0] = args
;
32305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32306 if (!SWIG_IsOK(res1
)) {
32307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32309 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32312 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32313 wxPyEndAllowThreads(__tstate
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32316 resultobj
= result
;
32323 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32324 PyObject
*resultobj
= 0;
32325 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32326 PyObject
*arg2
= (PyObject
*) 0 ;
32330 PyObject
* obj0
= 0 ;
32331 PyObject
* obj1
= 0 ;
32332 char * kwnames
[] = {
32333 (char *) "self",(char *) "data", NULL
32336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32338 if (!SWIG_IsOK(res1
)) {
32339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32341 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32358 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32361 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32362 return SWIG_Py_Void();
32365 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32366 return SWIG_Python_InitShadowInstance(args
);
32369 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32370 PyObject
*resultobj
= 0;
32371 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32372 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32373 wxPyDataObjectSimple
*result
= 0 ;
32376 PyObject
* obj0
= 0 ;
32377 char * kwnames
[] = {
32378 (char *) "format", NULL
32381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32383 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32384 if (!SWIG_IsOK(res1
)) {
32385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32390 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32394 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32405 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32406 PyObject
*resultobj
= 0;
32407 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32408 PyObject
*arg2
= (PyObject
*) 0 ;
32409 PyObject
*arg3
= (PyObject
*) 0 ;
32412 PyObject
* obj0
= 0 ;
32413 PyObject
* obj1
= 0 ;
32414 PyObject
* obj2
= 0 ;
32415 char * kwnames
[] = {
32416 (char *) "self",(char *) "self",(char *) "_class", NULL
32419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32421 if (!SWIG_IsOK(res1
)) {
32422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32424 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32429 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32430 wxPyEndAllowThreads(__tstate
);
32431 if (PyErr_Occurred()) SWIG_fail
;
32433 resultobj
= SWIG_Py_Void();
32440 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32443 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32444 return SWIG_Py_Void();
32447 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32448 return SWIG_Python_InitShadowInstance(args
);
32451 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32452 PyObject
*resultobj
= 0;
32453 wxDataObjectComposite
*result
= 0 ;
32455 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32458 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32459 wxPyEndAllowThreads(__tstate
);
32460 if (PyErr_Occurred()) SWIG_fail
;
32462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32469 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32470 PyObject
*resultobj
= 0;
32471 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32472 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32473 bool arg3
= (bool) false ;
32479 PyObject
* obj0
= 0 ;
32480 PyObject
* obj1
= 0 ;
32481 PyObject
* obj2
= 0 ;
32482 char * kwnames
[] = {
32483 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32488 if (!SWIG_IsOK(res1
)) {
32489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32491 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32492 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32493 if (!SWIG_IsOK(res2
)) {
32494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32497 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32498 if (!SWIG_IsOK(ecode3
)) {
32499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32501 arg3
= static_cast< bool >(val3
);
32504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32505 (arg1
)->Add(arg2
,arg3
);
32506 wxPyEndAllowThreads(__tstate
);
32507 if (PyErr_Occurred()) SWIG_fail
;
32509 resultobj
= SWIG_Py_Void();
32516 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32517 PyObject
*resultobj
= 0;
32518 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32519 SwigValueWrapper
<wxDataFormat
> result
;
32522 PyObject
*swig_obj
[1] ;
32524 if (!args
) SWIG_fail
;
32525 swig_obj
[0] = args
;
32526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32527 if (!SWIG_IsOK(res1
)) {
32528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32530 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32534 wxPyEndAllowThreads(__tstate
);
32535 if (PyErr_Occurred()) SWIG_fail
;
32537 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32544 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32547 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32548 return SWIG_Py_Void();
32551 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32552 return SWIG_Python_InitShadowInstance(args
);
32555 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32556 PyObject
*resultobj
= 0;
32557 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32558 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32559 wxTextDataObject
*result
= 0 ;
32560 bool temp1
= false ;
32561 PyObject
* obj0
= 0 ;
32562 char * kwnames
[] = {
32563 (char *) "text", NULL
32566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32569 arg1
= wxString_in_helper(obj0
);
32570 if (arg1
== NULL
) SWIG_fail
;
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32595 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32596 PyObject
*resultobj
= 0;
32597 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32601 PyObject
*swig_obj
[1] ;
32603 if (!args
) SWIG_fail
;
32604 swig_obj
[0] = args
;
32605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32606 if (!SWIG_IsOK(res1
)) {
32607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32609 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32612 result
= (size_t)(arg1
)->GetTextLength();
32613 wxPyEndAllowThreads(__tstate
);
32614 if (PyErr_Occurred()) SWIG_fail
;
32616 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32623 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32624 PyObject
*resultobj
= 0;
32625 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32629 PyObject
*swig_obj
[1] ;
32631 if (!args
) SWIG_fail
;
32632 swig_obj
[0] = args
;
32633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32634 if (!SWIG_IsOK(res1
)) {
32635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32637 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32640 result
= (arg1
)->GetText();
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32657 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32658 PyObject
*resultobj
= 0;
32659 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32660 wxString
*arg2
= 0 ;
32663 bool temp2
= false ;
32664 PyObject
* obj0
= 0 ;
32665 PyObject
* obj1
= 0 ;
32666 char * kwnames
[] = {
32667 (char *) "self",(char *) "text", NULL
32670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32672 if (!SWIG_IsOK(res1
)) {
32673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32675 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32677 arg2
= wxString_in_helper(obj1
);
32678 if (arg2
== NULL
) SWIG_fail
;
32682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32683 (arg1
)->SetText((wxString
const &)*arg2
);
32684 wxPyEndAllowThreads(__tstate
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= SWIG_Py_Void();
32702 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32705 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32706 return SWIG_Py_Void();
32709 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32710 return SWIG_Python_InitShadowInstance(args
);
32713 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
= 0;
32715 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32716 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32717 wxPyTextDataObject
*result
= 0 ;
32718 bool temp1
= false ;
32719 PyObject
* obj0
= 0 ;
32720 char * kwnames
[] = {
32721 (char *) "text", NULL
32724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32727 arg1
= wxString_in_helper(obj0
);
32728 if (arg1
== NULL
) SWIG_fail
;
32733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32734 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32735 wxPyEndAllowThreads(__tstate
);
32736 if (PyErr_Occurred()) SWIG_fail
;
32738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32753 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32754 PyObject
*resultobj
= 0;
32755 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32756 PyObject
*arg2
= (PyObject
*) 0 ;
32757 PyObject
*arg3
= (PyObject
*) 0 ;
32760 PyObject
* obj0
= 0 ;
32761 PyObject
* obj1
= 0 ;
32762 PyObject
* obj2
= 0 ;
32763 char * kwnames
[] = {
32764 (char *) "self",(char *) "self",(char *) "_class", NULL
32767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32769 if (!SWIG_IsOK(res1
)) {
32770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32772 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32781 resultobj
= SWIG_Py_Void();
32788 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32791 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32792 return SWIG_Py_Void();
32795 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32796 return SWIG_Python_InitShadowInstance(args
);
32799 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32800 PyObject
*resultobj
= 0;
32801 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32802 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32803 wxBitmapDataObject
*result
= 0 ;
32806 PyObject
* obj0
= 0 ;
32807 char * kwnames
[] = {
32808 (char *) "bitmap", NULL
32811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32813 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32814 if (!SWIG_IsOK(res1
)) {
32815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32820 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32824 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
32825 wxPyEndAllowThreads(__tstate
);
32826 if (PyErr_Occurred()) SWIG_fail
;
32828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32835 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32836 PyObject
*resultobj
= 0;
32837 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32841 PyObject
*swig_obj
[1] ;
32843 if (!args
) SWIG_fail
;
32844 swig_obj
[0] = args
;
32845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32846 if (!SWIG_IsOK(res1
)) {
32847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
32849 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32856 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32863 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32864 PyObject
*resultobj
= 0;
32865 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32866 wxBitmap
*arg2
= 0 ;
32871 PyObject
* obj0
= 0 ;
32872 PyObject
* obj1
= 0 ;
32873 char * kwnames
[] = {
32874 (char *) "self",(char *) "bitmap", NULL
32877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32879 if (!SWIG_IsOK(res1
)) {
32880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
32882 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32884 if (!SWIG_IsOK(res2
)) {
32885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32890 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32893 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32894 wxPyEndAllowThreads(__tstate
);
32895 if (PyErr_Occurred()) SWIG_fail
;
32897 resultobj
= SWIG_Py_Void();
32904 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32907 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
32908 return SWIG_Py_Void();
32911 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32912 return SWIG_Python_InitShadowInstance(args
);
32915 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32916 PyObject
*resultobj
= 0;
32917 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32918 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32919 wxPyBitmapDataObject
*result
= 0 ;
32922 PyObject
* obj0
= 0 ;
32923 char * kwnames
[] = {
32924 (char *) "bitmap", NULL
32927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32929 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32930 if (!SWIG_IsOK(res1
)) {
32931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32936 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32951 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32952 PyObject
*resultobj
= 0;
32953 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
32954 PyObject
*arg2
= (PyObject
*) 0 ;
32955 PyObject
*arg3
= (PyObject
*) 0 ;
32958 PyObject
* obj0
= 0 ;
32959 PyObject
* obj1
= 0 ;
32960 PyObject
* obj2
= 0 ;
32961 char * kwnames
[] = {
32962 (char *) "self",(char *) "self",(char *) "_class", NULL
32965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
32967 if (!SWIG_IsOK(res1
)) {
32968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
32970 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
32974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32975 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32976 wxPyEndAllowThreads(__tstate
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32979 resultobj
= SWIG_Py_Void();
32986 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32989 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
32990 return SWIG_Py_Void();
32993 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32994 return SWIG_Python_InitShadowInstance(args
);
32997 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32998 PyObject
*resultobj
= 0;
32999 wxFileDataObject
*result
= 0 ;
33001 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33004 result
= (wxFileDataObject
*)new wxFileDataObject();
33005 wxPyEndAllowThreads(__tstate
);
33006 if (PyErr_Occurred()) SWIG_fail
;
33008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33015 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33016 PyObject
*resultobj
= 0;
33017 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33018 wxArrayString
*result
= 0 ;
33021 PyObject
*swig_obj
[1] ;
33023 if (!args
) SWIG_fail
;
33024 swig_obj
[0] = args
;
33025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33026 if (!SWIG_IsOK(res1
)) {
33027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33029 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33033 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33034 result
= (wxArrayString
*) &_result_ref
;
33036 wxPyEndAllowThreads(__tstate
);
33037 if (PyErr_Occurred()) SWIG_fail
;
33040 resultobj
= wxArrayString2PyList_helper(*result
);
33048 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33049 PyObject
*resultobj
= 0;
33050 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33051 wxString
*arg2
= 0 ;
33054 bool temp2
= false ;
33055 PyObject
* obj0
= 0 ;
33056 PyObject
* obj1
= 0 ;
33057 char * kwnames
[] = {
33058 (char *) "self",(char *) "filename", NULL
33061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33063 if (!SWIG_IsOK(res1
)) {
33064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33066 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33068 arg2
= wxString_in_helper(obj1
);
33069 if (arg2
== NULL
) SWIG_fail
;
33073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33074 (arg1
)->AddFile((wxString
const &)*arg2
);
33075 wxPyEndAllowThreads(__tstate
);
33076 if (PyErr_Occurred()) SWIG_fail
;
33078 resultobj
= SWIG_Py_Void();
33093 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33096 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33097 return SWIG_Py_Void();
33100 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33101 return SWIG_Python_InitShadowInstance(args
);
33104 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33105 PyObject
*resultobj
= 0;
33106 wxDataFormat
*arg1
= 0 ;
33107 wxCustomDataObject
*result
= 0 ;
33111 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33113 if (!SWIG_IsOK(res1
)) {
33114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33119 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33122 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33123 wxPyEndAllowThreads(__tstate
);
33124 if (PyErr_Occurred()) SWIG_fail
;
33126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33133 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33134 PyObject
*resultobj
= 0;
33135 wxString
*arg1
= 0 ;
33136 wxCustomDataObject
*result
= 0 ;
33137 bool temp1
= false ;
33139 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33141 arg1
= wxString_in_helper(swig_obj
[0]);
33142 if (arg1
== NULL
) SWIG_fail
;
33146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33147 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33148 wxPyEndAllowThreads(__tstate
);
33149 if (PyErr_Occurred()) SWIG_fail
;
33151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33166 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33167 PyObject
*resultobj
= 0;
33168 wxCustomDataObject
*result
= 0 ;
33170 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33174 wxPyEndAllowThreads(__tstate
);
33175 if (PyErr_Occurred()) SWIG_fail
;
33177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33184 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33188 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33191 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33197 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33200 if (!_v
) goto check_2
;
33201 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33206 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33210 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33215 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33216 PyObject
*resultobj
= 0;
33217 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33218 PyObject
*arg2
= (PyObject
*) 0 ;
33222 PyObject
* obj0
= 0 ;
33223 PyObject
* obj1
= 0 ;
33224 char * kwnames
[] = {
33225 (char *) "self",(char *) "data", NULL
33228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33230 if (!SWIG_IsOK(res1
)) {
33231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33233 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33237 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33250 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33251 PyObject
*resultobj
= 0;
33252 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33256 PyObject
*swig_obj
[1] ;
33258 if (!args
) SWIG_fail
;
33259 swig_obj
[0] = args
;
33260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33261 if (!SWIG_IsOK(res1
)) {
33262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33264 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 result
= (size_t)(arg1
)->GetSize();
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33278 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33279 PyObject
*resultobj
= 0;
33280 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33281 PyObject
*result
= 0 ;
33284 PyObject
*swig_obj
[1] ;
33286 if (!args
) SWIG_fail
;
33287 swig_obj
[0] = args
;
33288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33289 if (!SWIG_IsOK(res1
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33292 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= result
;
33306 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33309 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33310 return SWIG_Py_Void();
33313 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33314 return SWIG_Python_InitShadowInstance(args
);
33317 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33318 PyObject
*resultobj
= 0;
33319 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33320 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33321 wxURLDataObject
*result
= 0 ;
33322 bool temp1
= false ;
33323 PyObject
* obj0
= 0 ;
33324 char * kwnames
[] = {
33325 (char *) "url", NULL
33328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33331 arg1
= wxString_in_helper(obj0
);
33332 if (arg1
== NULL
) SWIG_fail
;
33337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33338 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33339 wxPyEndAllowThreads(__tstate
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33357 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33358 PyObject
*resultobj
= 0;
33359 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33363 PyObject
*swig_obj
[1] ;
33365 if (!args
) SWIG_fail
;
33366 swig_obj
[0] = args
;
33367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33368 if (!SWIG_IsOK(res1
)) {
33369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33371 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33374 result
= (arg1
)->GetURL();
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33391 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33392 PyObject
*resultobj
= 0;
33393 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33394 wxString
*arg2
= 0 ;
33397 bool temp2
= false ;
33398 PyObject
* obj0
= 0 ;
33399 PyObject
* obj1
= 0 ;
33400 char * kwnames
[] = {
33401 (char *) "self",(char *) "url", NULL
33404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33406 if (!SWIG_IsOK(res1
)) {
33407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33409 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33411 arg2
= wxString_in_helper(obj1
);
33412 if (arg2
== NULL
) SWIG_fail
;
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 (arg1
)->SetURL((wxString
const &)*arg2
);
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= SWIG_Py_Void();
33436 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33439 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33440 return SWIG_Py_Void();
33443 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33444 return SWIG_Python_InitShadowInstance(args
);
33447 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33448 PyObject
*resultobj
= 0;
33449 wxMetafileDataObject
*result
= 0 ;
33451 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33455 wxPyEndAllowThreads(__tstate
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33465 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33466 PyObject
*resultobj
= 0;
33467 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33468 wxMetafile
*arg2
= 0 ;
33473 PyObject
* obj0
= 0 ;
33474 PyObject
* obj1
= 0 ;
33475 char * kwnames
[] = {
33476 (char *) "self",(char *) "metafile", NULL
33479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33481 if (!SWIG_IsOK(res1
)) {
33482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
33484 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
33486 if (!SWIG_IsOK(res2
)) {
33487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33492 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
33496 wxPyEndAllowThreads(__tstate
);
33497 if (PyErr_Occurred()) SWIG_fail
;
33499 resultobj
= SWIG_Py_Void();
33506 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33507 PyObject
*resultobj
= 0;
33508 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33512 PyObject
*swig_obj
[1] ;
33514 if (!args
) SWIG_fail
;
33515 swig_obj
[0] = args
;
33516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33517 if (!SWIG_IsOK(res1
)) {
33518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
33520 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33523 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
33524 wxPyEndAllowThreads(__tstate
);
33525 if (PyErr_Occurred()) SWIG_fail
;
33527 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
33534 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33537 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33538 return SWIG_Py_Void();
33541 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33542 return SWIG_Python_InitShadowInstance(args
);
33545 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33546 PyObject
*resultobj
= 0;
33547 wxDragResult arg1
;
33551 PyObject
* obj0
= 0 ;
33552 char * kwnames
[] = {
33553 (char *) "res", NULL
33556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33557 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33558 if (!SWIG_IsOK(ecode1
)) {
33559 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33561 arg1
= static_cast< wxDragResult
>(val1
);
33563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33564 result
= (bool)wxIsDragResultOk(arg1
);
33565 wxPyEndAllowThreads(__tstate
);
33566 if (PyErr_Occurred()) SWIG_fail
;
33569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33577 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33578 PyObject
*resultobj
= 0;
33579 wxWindow
*arg1
= (wxWindow
*) 0 ;
33580 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33581 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33582 wxCursor
const &arg3_defvalue
= wxNullCursor
;
33583 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
33584 wxCursor
const &arg4_defvalue
= wxNullCursor
;
33585 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
33586 wxPyDropSource
*result
= 0 ;
33595 PyObject
* obj0
= 0 ;
33596 PyObject
* obj1
= 0 ;
33597 PyObject
* obj2
= 0 ;
33598 PyObject
* obj3
= 0 ;
33599 char * kwnames
[] = {
33600 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33605 if (!SWIG_IsOK(res1
)) {
33606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33608 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
33611 if (!SWIG_IsOK(res2
)) {
33612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33617 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
33620 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33621 if (!SWIG_IsOK(res3
)) {
33622 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33627 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33630 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
33631 if (!SWIG_IsOK(res4
)) {
33632 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33637 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
33640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33641 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
33642 wxPyEndAllowThreads(__tstate
);
33643 if (PyErr_Occurred()) SWIG_fail
;
33645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33652 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33653 PyObject
*resultobj
= 0;
33654 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33655 PyObject
*arg2
= (PyObject
*) 0 ;
33656 PyObject
*arg3
= (PyObject
*) 0 ;
33662 PyObject
* obj0
= 0 ;
33663 PyObject
* obj1
= 0 ;
33664 PyObject
* obj2
= 0 ;
33665 PyObject
* obj3
= 0 ;
33666 char * kwnames
[] = {
33667 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33672 if (!SWIG_IsOK(res1
)) {
33673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33675 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33678 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33679 if (!SWIG_IsOK(ecode4
)) {
33680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33682 arg4
= static_cast< int >(val4
);
33684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33685 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33686 wxPyEndAllowThreads(__tstate
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33689 resultobj
= SWIG_Py_Void();
33696 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33697 PyObject
*resultobj
= 0;
33698 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33701 PyObject
*swig_obj
[1] ;
33703 if (!args
) SWIG_fail
;
33704 swig_obj
[0] = args
;
33705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33706 if (!SWIG_IsOK(res1
)) {
33707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33709 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33714 wxPyEndAllowThreads(__tstate
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= SWIG_Py_Void();
33724 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33725 PyObject
*resultobj
= 0;
33726 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33727 wxDataObject
*arg2
= 0 ;
33732 PyObject
* obj0
= 0 ;
33733 PyObject
* obj1
= 0 ;
33734 char * kwnames
[] = {
33735 (char *) "self",(char *) "data", NULL
33738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33740 if (!SWIG_IsOK(res1
)) {
33741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33743 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33745 if (!SWIG_IsOK(res2
)) {
33746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33751 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33754 (arg1
)->SetData(*arg2
);
33755 wxPyEndAllowThreads(__tstate
);
33756 if (PyErr_Occurred()) SWIG_fail
;
33758 resultobj
= SWIG_Py_Void();
33765 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33766 PyObject
*resultobj
= 0;
33767 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33768 wxDataObject
*result
= 0 ;
33771 PyObject
*swig_obj
[1] ;
33773 if (!args
) SWIG_fail
;
33774 swig_obj
[0] = args
;
33775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33776 if (!SWIG_IsOK(res1
)) {
33777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33779 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33783 wxPyEndAllowThreads(__tstate
);
33784 if (PyErr_Occurred()) SWIG_fail
;
33786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33793 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
= 0;
33795 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33796 wxDragResult arg2
;
33797 wxCursor
*arg3
= 0 ;
33804 PyObject
* obj0
= 0 ;
33805 PyObject
* obj1
= 0 ;
33806 PyObject
* obj2
= 0 ;
33807 char * kwnames
[] = {
33808 (char *) "self",(char *) "res",(char *) "cursor", NULL
33811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33813 if (!SWIG_IsOK(res1
)) {
33814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33816 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33818 if (!SWIG_IsOK(ecode2
)) {
33819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33821 arg2
= static_cast< wxDragResult
>(val2
);
33822 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33823 if (!SWIG_IsOK(res3
)) {
33824 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33829 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33832 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
33833 wxPyEndAllowThreads(__tstate
);
33834 if (PyErr_Occurred()) SWIG_fail
;
33836 resultobj
= SWIG_Py_Void();
33843 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33844 PyObject
*resultobj
= 0;
33845 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33846 int arg2
= (int) wxDrag_CopyOnly
;
33847 wxDragResult result
;
33852 PyObject
* obj0
= 0 ;
33853 PyObject
* obj1
= 0 ;
33854 char * kwnames
[] = {
33855 (char *) "self",(char *) "flags", NULL
33858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33860 if (!SWIG_IsOK(res1
)) {
33861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33863 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33866 if (!SWIG_IsOK(ecode2
)) {
33867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
33869 arg2
= static_cast< int >(val2
);
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
33874 wxPyEndAllowThreads(__tstate
);
33875 if (PyErr_Occurred()) SWIG_fail
;
33877 resultobj
= SWIG_From_int(static_cast< int >(result
));
33884 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33885 PyObject
*resultobj
= 0;
33886 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33887 wxDragResult arg2
;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 char * kwnames
[] = {
33896 (char *) "self",(char *) "effect", NULL
33899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33901 if (!SWIG_IsOK(res1
)) {
33902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33904 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33906 if (!SWIG_IsOK(ecode2
)) {
33907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
33909 arg2
= static_cast< wxDragResult
>(val2
);
33911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33912 result
= (bool)(arg1
)->GiveFeedback(arg2
);
33913 wxPyEndAllowThreads(__tstate
);
33914 if (PyErr_Occurred()) SWIG_fail
;
33917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33925 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33928 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
33929 return SWIG_Py_Void();
33932 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33933 return SWIG_Python_InitShadowInstance(args
);
33936 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33937 PyObject
*resultobj
= 0;
33938 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
33939 wxPyDropTarget
*result
= 0 ;
33941 PyObject
* obj0
= 0 ;
33942 char * kwnames
[] = {
33943 (char *) "dataObject", NULL
33946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
33948 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33949 if (!SWIG_IsOK(res1
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
33954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33955 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
33956 wxPyEndAllowThreads(__tstate
);
33957 if (PyErr_Occurred()) SWIG_fail
;
33959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
33966 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33967 PyObject
*resultobj
= 0;
33968 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33969 PyObject
*arg2
= (PyObject
*) 0 ;
33970 PyObject
*arg3
= (PyObject
*) 0 ;
33973 PyObject
* obj0
= 0 ;
33974 PyObject
* obj1
= 0 ;
33975 PyObject
* obj2
= 0 ;
33976 char * kwnames
[] = {
33977 (char *) "self",(char *) "self",(char *) "_class", NULL
33980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33982 if (!SWIG_IsOK(res1
)) {
33983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33985 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33990 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33994 resultobj
= SWIG_Py_Void();
34001 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34002 PyObject
*resultobj
= 0;
34003 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34006 PyObject
*swig_obj
[1] ;
34008 if (!args
) SWIG_fail
;
34009 swig_obj
[0] = args
;
34010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34011 if (!SWIG_IsOK(res1
)) {
34012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34014 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34022 resultobj
= SWIG_Py_Void();
34029 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34030 PyObject
*resultobj
= 0;
34031 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34032 wxDataObject
*result
= 0 ;
34035 PyObject
*swig_obj
[1] ;
34037 if (!args
) SWIG_fail
;
34038 swig_obj
[0] = args
;
34039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34040 if (!SWIG_IsOK(res1
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34043 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34047 wxPyEndAllowThreads(__tstate
);
34048 if (PyErr_Occurred()) SWIG_fail
;
34050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34057 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
= 0;
34059 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34060 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34064 PyObject
* obj0
= 0 ;
34065 PyObject
* obj1
= 0 ;
34066 char * kwnames
[] = {
34067 (char *) "self",(char *) "dataObject", NULL
34070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34072 if (!SWIG_IsOK(res1
)) {
34073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34075 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34076 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34077 if (!SWIG_IsOK(res2
)) {
34078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34082 (arg1
)->SetDataObject(arg2
);
34083 wxPyEndAllowThreads(__tstate
);
34084 if (PyErr_Occurred()) SWIG_fail
;
34086 resultobj
= SWIG_Py_Void();
34093 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34094 PyObject
*resultobj
= 0;
34095 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34098 wxDragResult arg4
;
34099 wxDragResult result
;
34108 PyObject
* obj0
= 0 ;
34109 PyObject
* obj1
= 0 ;
34110 PyObject
* obj2
= 0 ;
34111 PyObject
* obj3
= 0 ;
34112 char * kwnames
[] = {
34113 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34118 if (!SWIG_IsOK(res1
)) {
34119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34121 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34123 if (!SWIG_IsOK(ecode2
)) {
34124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34126 arg2
= static_cast< int >(val2
);
34127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34128 if (!SWIG_IsOK(ecode3
)) {
34129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34131 arg3
= static_cast< int >(val3
);
34132 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34133 if (!SWIG_IsOK(ecode4
)) {
34134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34136 arg4
= static_cast< wxDragResult
>(val4
);
34138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34139 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34140 wxPyEndAllowThreads(__tstate
);
34141 if (PyErr_Occurred()) SWIG_fail
;
34143 resultobj
= SWIG_From_int(static_cast< int >(result
));
34150 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34151 PyObject
*resultobj
= 0;
34152 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34155 wxDragResult arg4
;
34156 wxDragResult result
;
34165 PyObject
* obj0
= 0 ;
34166 PyObject
* obj1
= 0 ;
34167 PyObject
* obj2
= 0 ;
34168 PyObject
* obj3
= 0 ;
34169 char * kwnames
[] = {
34170 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34175 if (!SWIG_IsOK(res1
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34178 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34180 if (!SWIG_IsOK(ecode2
)) {
34181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34183 arg2
= static_cast< int >(val2
);
34184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34185 if (!SWIG_IsOK(ecode3
)) {
34186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34188 arg3
= static_cast< int >(val3
);
34189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34190 if (!SWIG_IsOK(ecode4
)) {
34191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34193 arg4
= static_cast< wxDragResult
>(val4
);
34195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34196 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34197 wxPyEndAllowThreads(__tstate
);
34198 if (PyErr_Occurred()) SWIG_fail
;
34200 resultobj
= SWIG_From_int(static_cast< int >(result
));
34207 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34208 PyObject
*resultobj
= 0;
34209 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34212 PyObject
*swig_obj
[1] ;
34214 if (!args
) SWIG_fail
;
34215 swig_obj
[0] = args
;
34216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34217 if (!SWIG_IsOK(res1
)) {
34218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34220 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34227 resultobj
= SWIG_Py_Void();
34234 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34235 PyObject
*resultobj
= 0;
34236 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34246 PyObject
* obj0
= 0 ;
34247 PyObject
* obj1
= 0 ;
34248 PyObject
* obj2
= 0 ;
34249 char * kwnames
[] = {
34250 (char *) "self",(char *) "x",(char *) "y", NULL
34253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34255 if (!SWIG_IsOK(res1
)) {
34256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34258 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34260 if (!SWIG_IsOK(ecode2
)) {
34261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34263 arg2
= static_cast< int >(val2
);
34264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34265 if (!SWIG_IsOK(ecode3
)) {
34266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34268 arg3
= static_cast< int >(val3
);
34270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34271 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34272 wxPyEndAllowThreads(__tstate
);
34273 if (PyErr_Occurred()) SWIG_fail
;
34276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34284 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34285 PyObject
*resultobj
= 0;
34286 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34290 PyObject
*swig_obj
[1] ;
34292 if (!args
) SWIG_fail
;
34293 swig_obj
[0] = args
;
34294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34295 if (!SWIG_IsOK(res1
)) {
34296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34298 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (bool)(arg1
)->GetData();
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34314 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34315 PyObject
*resultobj
= 0;
34316 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34317 wxDragResult arg2
;
34322 PyObject
* obj0
= 0 ;
34323 PyObject
* obj1
= 0 ;
34324 char * kwnames
[] = {
34325 (char *) "self",(char *) "action", NULL
34328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34330 if (!SWIG_IsOK(res1
)) {
34331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34333 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34335 if (!SWIG_IsOK(ecode2
)) {
34336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34338 arg2
= static_cast< wxDragResult
>(val2
);
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 (arg1
)->SetDefaultAction(arg2
);
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= SWIG_Py_Void();
34352 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34353 PyObject
*resultobj
= 0;
34354 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34355 wxDragResult result
;
34358 PyObject
*swig_obj
[1] ;
34360 if (!args
) SWIG_fail
;
34361 swig_obj
[0] = args
;
34362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34363 if (!SWIG_IsOK(res1
)) {
34364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34366 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34369 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34373 resultobj
= SWIG_From_int(static_cast< int >(result
));
34380 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34383 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34384 return SWIG_Py_Void();
34387 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34388 return SWIG_Python_InitShadowInstance(args
);
34391 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34392 PyObject
*resultobj
= 0;
34393 wxPyTextDropTarget
*result
= 0 ;
34395 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34398 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34399 wxPyEndAllowThreads(__tstate
);
34400 if (PyErr_Occurred()) SWIG_fail
;
34402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34409 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34410 PyObject
*resultobj
= 0;
34411 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34412 PyObject
*arg2
= (PyObject
*) 0 ;
34413 PyObject
*arg3
= (PyObject
*) 0 ;
34416 PyObject
* obj0
= 0 ;
34417 PyObject
* obj1
= 0 ;
34418 PyObject
* obj2
= 0 ;
34419 char * kwnames
[] = {
34420 (char *) "self",(char *) "self",(char *) "_class", NULL
34423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34425 if (!SWIG_IsOK(res1
)) {
34426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34428 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34433 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34434 wxPyEndAllowThreads(__tstate
);
34435 if (PyErr_Occurred()) SWIG_fail
;
34437 resultobj
= SWIG_Py_Void();
34444 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34445 PyObject
*resultobj
= 0;
34446 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34449 wxString
*arg4
= 0 ;
34457 bool temp4
= false ;
34458 PyObject
* obj0
= 0 ;
34459 PyObject
* obj1
= 0 ;
34460 PyObject
* obj2
= 0 ;
34461 PyObject
* obj3
= 0 ;
34462 char * kwnames
[] = {
34463 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34468 if (!SWIG_IsOK(res1
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34471 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34473 if (!SWIG_IsOK(ecode2
)) {
34474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34476 arg2
= static_cast< int >(val2
);
34477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34478 if (!SWIG_IsOK(ecode3
)) {
34479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34481 arg3
= static_cast< int >(val3
);
34483 arg4
= wxString_in_helper(obj3
);
34484 if (arg4
== NULL
) SWIG_fail
;
34488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34489 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34490 wxPyEndAllowThreads(__tstate
);
34491 if (PyErr_Occurred()) SWIG_fail
;
34494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34510 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34511 PyObject
*resultobj
= 0;
34512 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34515 wxDragResult arg4
;
34516 wxDragResult result
;
34525 PyObject
* obj0
= 0 ;
34526 PyObject
* obj1
= 0 ;
34527 PyObject
* obj2
= 0 ;
34528 PyObject
* obj3
= 0 ;
34529 char * kwnames
[] = {
34530 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34535 if (!SWIG_IsOK(res1
)) {
34536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34538 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34540 if (!SWIG_IsOK(ecode2
)) {
34541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34543 arg2
= static_cast< int >(val2
);
34544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34545 if (!SWIG_IsOK(ecode3
)) {
34546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34548 arg3
= static_cast< int >(val3
);
34549 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34550 if (!SWIG_IsOK(ecode4
)) {
34551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34553 arg4
= static_cast< wxDragResult
>(val4
);
34555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34556 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34557 wxPyEndAllowThreads(__tstate
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34560 resultobj
= SWIG_From_int(static_cast< int >(result
));
34567 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34568 PyObject
*resultobj
= 0;
34569 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34572 wxDragResult arg4
;
34573 wxDragResult result
;
34582 PyObject
* obj0
= 0 ;
34583 PyObject
* obj1
= 0 ;
34584 PyObject
* obj2
= 0 ;
34585 PyObject
* obj3
= 0 ;
34586 char * kwnames
[] = {
34587 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34592 if (!SWIG_IsOK(res1
)) {
34593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34595 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34597 if (!SWIG_IsOK(ecode2
)) {
34598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34600 arg2
= static_cast< int >(val2
);
34601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34602 if (!SWIG_IsOK(ecode3
)) {
34603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34605 arg3
= static_cast< int >(val3
);
34606 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34607 if (!SWIG_IsOK(ecode4
)) {
34608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34610 arg4
= static_cast< wxDragResult
>(val4
);
34612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34613 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34614 wxPyEndAllowThreads(__tstate
);
34615 if (PyErr_Occurred()) SWIG_fail
;
34617 resultobj
= SWIG_From_int(static_cast< int >(result
));
34624 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34625 PyObject
*resultobj
= 0;
34626 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34629 PyObject
*swig_obj
[1] ;
34631 if (!args
) SWIG_fail
;
34632 swig_obj
[0] = args
;
34633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34634 if (!SWIG_IsOK(res1
)) {
34635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34637 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34641 wxPyEndAllowThreads(__tstate
);
34642 if (PyErr_Occurred()) SWIG_fail
;
34644 resultobj
= SWIG_Py_Void();
34651 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34652 PyObject
*resultobj
= 0;
34653 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34663 PyObject
* obj0
= 0 ;
34664 PyObject
* obj1
= 0 ;
34665 PyObject
* obj2
= 0 ;
34666 char * kwnames
[] = {
34667 (char *) "self",(char *) "x",(char *) "y", NULL
34670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34672 if (!SWIG_IsOK(res1
)) {
34673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34675 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34677 if (!SWIG_IsOK(ecode2
)) {
34678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34680 arg2
= static_cast< int >(val2
);
34681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34682 if (!SWIG_IsOK(ecode3
)) {
34683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34685 arg3
= static_cast< int >(val3
);
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34689 wxPyEndAllowThreads(__tstate
);
34690 if (PyErr_Occurred()) SWIG_fail
;
34693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34701 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34702 PyObject
*resultobj
= 0;
34703 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34706 wxDragResult arg4
;
34707 wxDragResult result
;
34716 PyObject
* obj0
= 0 ;
34717 PyObject
* obj1
= 0 ;
34718 PyObject
* obj2
= 0 ;
34719 PyObject
* obj3
= 0 ;
34720 char * kwnames
[] = {
34721 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34726 if (!SWIG_IsOK(res1
)) {
34727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34729 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34731 if (!SWIG_IsOK(ecode2
)) {
34732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34734 arg2
= static_cast< int >(val2
);
34735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34736 if (!SWIG_IsOK(ecode3
)) {
34737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34739 arg3
= static_cast< int >(val3
);
34740 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34741 if (!SWIG_IsOK(ecode4
)) {
34742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34744 arg4
= static_cast< wxDragResult
>(val4
);
34746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34747 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34751 resultobj
= SWIG_From_int(static_cast< int >(result
));
34758 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34761 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34762 return SWIG_Py_Void();
34765 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34766 return SWIG_Python_InitShadowInstance(args
);
34769 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34770 PyObject
*resultobj
= 0;
34771 wxPyFileDropTarget
*result
= 0 ;
34773 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34776 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34787 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34788 PyObject
*resultobj
= 0;
34789 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34790 PyObject
*arg2
= (PyObject
*) 0 ;
34791 PyObject
*arg3
= (PyObject
*) 0 ;
34794 PyObject
* obj0
= 0 ;
34795 PyObject
* obj1
= 0 ;
34796 PyObject
* obj2
= 0 ;
34797 char * kwnames
[] = {
34798 (char *) "self",(char *) "self",(char *) "_class", NULL
34801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34803 if (!SWIG_IsOK(res1
)) {
34804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34806 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34811 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34812 wxPyEndAllowThreads(__tstate
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34815 resultobj
= SWIG_Py_Void();
34822 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34823 PyObject
*resultobj
= 0;
34824 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34827 wxArrayString
*arg4
= 0 ;
34835 bool temp4
= false ;
34836 PyObject
* obj0
= 0 ;
34837 PyObject
* obj1
= 0 ;
34838 PyObject
* obj2
= 0 ;
34839 PyObject
* obj3
= 0 ;
34840 char * kwnames
[] = {
34841 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
34844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34846 if (!SWIG_IsOK(res1
)) {
34847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34849 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34851 if (!SWIG_IsOK(ecode2
)) {
34852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
34854 arg2
= static_cast< int >(val2
);
34855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34856 if (!SWIG_IsOK(ecode3
)) {
34857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
34859 arg3
= static_cast< int >(val3
);
34861 if (! PySequence_Check(obj3
)) {
34862 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34865 arg4
= new wxArrayString
;
34867 int i
, len
=PySequence_Length(obj3
);
34868 for (i
=0; i
<len
; i
++) {
34869 PyObject
* item
= PySequence_GetItem(obj3
, i
);
34870 wxString
* s
= wxString_in_helper(item
);
34871 if (PyErr_Occurred()) SWIG_fail
;
34878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34879 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
34880 wxPyEndAllowThreads(__tstate
);
34881 if (PyErr_Occurred()) SWIG_fail
;
34884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34887 if (temp4
) delete arg4
;
34892 if (temp4
) delete arg4
;
34898 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34899 PyObject
*resultobj
= 0;
34900 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34903 wxDragResult arg4
;
34904 wxDragResult result
;
34913 PyObject
* obj0
= 0 ;
34914 PyObject
* obj1
= 0 ;
34915 PyObject
* obj2
= 0 ;
34916 PyObject
* obj3
= 0 ;
34917 char * kwnames
[] = {
34918 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34923 if (!SWIG_IsOK(res1
)) {
34924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34926 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34928 if (!SWIG_IsOK(ecode2
)) {
34929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34931 arg2
= static_cast< int >(val2
);
34932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34933 if (!SWIG_IsOK(ecode3
)) {
34934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34936 arg3
= static_cast< int >(val3
);
34937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34938 if (!SWIG_IsOK(ecode4
)) {
34939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34941 arg4
= static_cast< wxDragResult
>(val4
);
34943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34944 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34945 wxPyEndAllowThreads(__tstate
);
34946 if (PyErr_Occurred()) SWIG_fail
;
34948 resultobj
= SWIG_From_int(static_cast< int >(result
));
34955 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34956 PyObject
*resultobj
= 0;
34957 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34960 wxDragResult arg4
;
34961 wxDragResult result
;
34970 PyObject
* obj0
= 0 ;
34971 PyObject
* obj1
= 0 ;
34972 PyObject
* obj2
= 0 ;
34973 PyObject
* obj3
= 0 ;
34974 char * kwnames
[] = {
34975 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34980 if (!SWIG_IsOK(res1
)) {
34981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34983 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34985 if (!SWIG_IsOK(ecode2
)) {
34986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34988 arg2
= static_cast< int >(val2
);
34989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34990 if (!SWIG_IsOK(ecode3
)) {
34991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34993 arg3
= static_cast< int >(val3
);
34994 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34995 if (!SWIG_IsOK(ecode4
)) {
34996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34998 arg4
= static_cast< wxDragResult
>(val4
);
35000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35001 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35002 wxPyEndAllowThreads(__tstate
);
35003 if (PyErr_Occurred()) SWIG_fail
;
35005 resultobj
= SWIG_From_int(static_cast< int >(result
));
35012 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35013 PyObject
*resultobj
= 0;
35014 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35017 PyObject
*swig_obj
[1] ;
35019 if (!args
) SWIG_fail
;
35020 swig_obj
[0] = args
;
35021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35022 if (!SWIG_IsOK(res1
)) {
35023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35025 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35029 wxPyEndAllowThreads(__tstate
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35032 resultobj
= SWIG_Py_Void();
35039 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35040 PyObject
*resultobj
= 0;
35041 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35051 PyObject
* obj0
= 0 ;
35052 PyObject
* obj1
= 0 ;
35053 PyObject
* obj2
= 0 ;
35054 char * kwnames
[] = {
35055 (char *) "self",(char *) "x",(char *) "y", NULL
35058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35060 if (!SWIG_IsOK(res1
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35063 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35065 if (!SWIG_IsOK(ecode2
)) {
35066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35068 arg2
= static_cast< int >(val2
);
35069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35070 if (!SWIG_IsOK(ecode3
)) {
35071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35073 arg3
= static_cast< int >(val3
);
35075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35076 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35089 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35090 PyObject
*resultobj
= 0;
35091 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35094 wxDragResult arg4
;
35095 wxDragResult result
;
35104 PyObject
* obj0
= 0 ;
35105 PyObject
* obj1
= 0 ;
35106 PyObject
* obj2
= 0 ;
35107 PyObject
* obj3
= 0 ;
35108 char * kwnames
[] = {
35109 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35114 if (!SWIG_IsOK(res1
)) {
35115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35117 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35119 if (!SWIG_IsOK(ecode2
)) {
35120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35122 arg2
= static_cast< int >(val2
);
35123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35124 if (!SWIG_IsOK(ecode3
)) {
35125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35127 arg3
= static_cast< int >(val3
);
35128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35129 if (!SWIG_IsOK(ecode4
)) {
35130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35132 arg4
= static_cast< wxDragResult
>(val4
);
35134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35135 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35136 wxPyEndAllowThreads(__tstate
);
35137 if (PyErr_Occurred()) SWIG_fail
;
35139 resultobj
= SWIG_From_int(static_cast< int >(result
));
35146 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35149 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35150 return SWIG_Py_Void();
35153 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35154 return SWIG_Python_InitShadowInstance(args
);
35157 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35158 PyObject
*resultobj
= 0;
35159 wxClipboard
*result
= 0 ;
35161 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35164 result
= (wxClipboard
*)new wxClipboard();
35165 wxPyEndAllowThreads(__tstate
);
35166 if (PyErr_Occurred()) SWIG_fail
;
35168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35175 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35176 PyObject
*resultobj
= 0;
35177 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35180 PyObject
*swig_obj
[1] ;
35182 if (!args
) SWIG_fail
;
35183 swig_obj
[0] = args
;
35184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35185 if (!SWIG_IsOK(res1
)) {
35186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35188 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 wxPyEndAllowThreads(__tstate
);
35194 if (PyErr_Occurred()) SWIG_fail
;
35196 resultobj
= SWIG_Py_Void();
35203 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35204 PyObject
*resultobj
= 0;
35205 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35209 PyObject
*swig_obj
[1] ;
35211 if (!args
) SWIG_fail
;
35212 swig_obj
[0] = args
;
35213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35214 if (!SWIG_IsOK(res1
)) {
35215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35217 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35220 result
= (bool)(arg1
)->Open();
35221 wxPyEndAllowThreads(__tstate
);
35222 if (PyErr_Occurred()) SWIG_fail
;
35225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35233 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35234 PyObject
*resultobj
= 0;
35235 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35238 PyObject
*swig_obj
[1] ;
35240 if (!args
) SWIG_fail
;
35241 swig_obj
[0] = args
;
35242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35243 if (!SWIG_IsOK(res1
)) {
35244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35246 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35250 wxPyEndAllowThreads(__tstate
);
35251 if (PyErr_Occurred()) SWIG_fail
;
35253 resultobj
= SWIG_Py_Void();
35260 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35261 PyObject
*resultobj
= 0;
35262 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35266 PyObject
*swig_obj
[1] ;
35268 if (!args
) SWIG_fail
;
35269 swig_obj
[0] = args
;
35270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35271 if (!SWIG_IsOK(res1
)) {
35272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35274 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35277 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35278 wxPyEndAllowThreads(__tstate
);
35279 if (PyErr_Occurred()) SWIG_fail
;
35282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35290 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35291 PyObject
*resultobj
= 0;
35292 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35293 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35298 PyObject
* obj0
= 0 ;
35299 PyObject
* obj1
= 0 ;
35300 char * kwnames
[] = {
35301 (char *) "self",(char *) "data", NULL
35304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35306 if (!SWIG_IsOK(res1
)) {
35307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35309 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35310 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35311 if (!SWIG_IsOK(res2
)) {
35312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 result
= (bool)(arg1
)->AddData(arg2
);
35317 wxPyEndAllowThreads(__tstate
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35329 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35330 PyObject
*resultobj
= 0;
35331 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35332 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35337 PyObject
* obj0
= 0 ;
35338 PyObject
* obj1
= 0 ;
35339 char * kwnames
[] = {
35340 (char *) "self",(char *) "data", NULL
35343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35345 if (!SWIG_IsOK(res1
)) {
35346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35348 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35349 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35350 if (!SWIG_IsOK(res2
)) {
35351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35355 result
= (bool)(arg1
)->SetData(arg2
);
35356 wxPyEndAllowThreads(__tstate
);
35357 if (PyErr_Occurred()) SWIG_fail
;
35360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35368 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35369 PyObject
*resultobj
= 0;
35370 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35371 wxDataFormat
*arg2
= 0 ;
35377 PyObject
* obj0
= 0 ;
35378 PyObject
* obj1
= 0 ;
35379 char * kwnames
[] = {
35380 (char *) "self",(char *) "format", NULL
35383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35385 if (!SWIG_IsOK(res1
)) {
35386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35388 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35389 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35390 if (!SWIG_IsOK(res2
)) {
35391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35396 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35399 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35400 wxPyEndAllowThreads(__tstate
);
35401 if (PyErr_Occurred()) SWIG_fail
;
35404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35412 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35413 PyObject
*resultobj
= 0;
35414 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35415 wxDataObject
*arg2
= 0 ;
35421 PyObject
* obj0
= 0 ;
35422 PyObject
* obj1
= 0 ;
35423 char * kwnames
[] = {
35424 (char *) "self",(char *) "data", NULL
35427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35429 if (!SWIG_IsOK(res1
)) {
35430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35432 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35433 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35434 if (!SWIG_IsOK(res2
)) {
35435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35440 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35443 result
= (bool)(arg1
)->GetData(*arg2
);
35444 wxPyEndAllowThreads(__tstate
);
35445 if (PyErr_Occurred()) SWIG_fail
;
35448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35456 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35457 PyObject
*resultobj
= 0;
35458 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35461 PyObject
*swig_obj
[1] ;
35463 if (!args
) SWIG_fail
;
35464 swig_obj
[0] = args
;
35465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35466 if (!SWIG_IsOK(res1
)) {
35467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35469 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35473 wxPyEndAllowThreads(__tstate
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35476 resultobj
= SWIG_Py_Void();
35483 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35484 PyObject
*resultobj
= 0;
35485 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35489 PyObject
*swig_obj
[1] ;
35491 if (!args
) SWIG_fail
;
35492 swig_obj
[0] = args
;
35493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35494 if (!SWIG_IsOK(res1
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35497 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35500 result
= (bool)(arg1
)->Flush();
35501 wxPyEndAllowThreads(__tstate
);
35502 if (PyErr_Occurred()) SWIG_fail
;
35505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35513 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35514 PyObject
*resultobj
= 0;
35515 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35516 bool arg2
= (bool) true ;
35521 PyObject
* obj0
= 0 ;
35522 PyObject
* obj1
= 0 ;
35523 char * kwnames
[] = {
35524 (char *) "self",(char *) "primary", NULL
35527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35529 if (!SWIG_IsOK(res1
)) {
35530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35532 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35534 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35535 if (!SWIG_IsOK(ecode2
)) {
35536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35538 arg2
= static_cast< bool >(val2
);
35541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35542 (arg1
)->UsePrimarySelection(arg2
);
35543 wxPyEndAllowThreads(__tstate
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35546 resultobj
= SWIG_Py_Void();
35553 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35554 PyObject
*resultobj
= 0;
35555 wxClipboard
*result
= 0 ;
35557 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35560 result
= (wxClipboard
*)wxClipboard::Get();
35561 wxPyEndAllowThreads(__tstate
);
35562 if (PyErr_Occurred()) SWIG_fail
;
35564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35571 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35574 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35575 return SWIG_Py_Void();
35578 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35579 return SWIG_Python_InitShadowInstance(args
);
35582 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35583 PyObject
*resultobj
= 0;
35584 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35585 wxClipboardLocker
*result
= 0 ;
35588 PyObject
* obj0
= 0 ;
35589 char * kwnames
[] = {
35590 (char *) "clipboard", NULL
35593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35596 if (!SWIG_IsOK(res1
)) {
35597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35599 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35603 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35604 wxPyEndAllowThreads(__tstate
);
35605 if (PyErr_Occurred()) SWIG_fail
;
35607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35614 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35615 PyObject
*resultobj
= 0;
35616 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35619 PyObject
*swig_obj
[1] ;
35621 if (!args
) SWIG_fail
;
35622 swig_obj
[0] = args
;
35623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35624 if (!SWIG_IsOK(res1
)) {
35625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35627 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35632 wxPyEndAllowThreads(__tstate
);
35633 if (PyErr_Occurred()) SWIG_fail
;
35635 resultobj
= SWIG_Py_Void();
35642 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35643 PyObject
*resultobj
= 0;
35644 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35648 PyObject
*swig_obj
[1] ;
35650 if (!args
) SWIG_fail
;
35651 swig_obj
[0] = args
;
35652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35653 if (!SWIG_IsOK(res1
)) {
35654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35656 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35659 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35660 wxPyEndAllowThreads(__tstate
);
35661 if (PyErr_Occurred()) SWIG_fail
;
35664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35672 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35675 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35676 return SWIG_Py_Void();
35679 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35680 return SWIG_Python_InitShadowInstance(args
);
35683 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35684 PyObject
*resultobj
= 0;
35685 int arg1
= (int) 0 ;
35686 int arg2
= (int) 0 ;
35687 int arg3
= (int) 0 ;
35688 int arg4
= (int) 0 ;
35689 wxVideoMode
*result
= 0 ;
35698 PyObject
* obj0
= 0 ;
35699 PyObject
* obj1
= 0 ;
35700 PyObject
* obj2
= 0 ;
35701 PyObject
* obj3
= 0 ;
35702 char * kwnames
[] = {
35703 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35708 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35709 if (!SWIG_IsOK(ecode1
)) {
35710 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35712 arg1
= static_cast< int >(val1
);
35715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35716 if (!SWIG_IsOK(ecode2
)) {
35717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35719 arg2
= static_cast< int >(val2
);
35722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35723 if (!SWIG_IsOK(ecode3
)) {
35724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35726 arg3
= static_cast< int >(val3
);
35729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35730 if (!SWIG_IsOK(ecode4
)) {
35731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35733 arg4
= static_cast< int >(val4
);
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35748 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35749 PyObject
*resultobj
= 0;
35750 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35753 PyObject
*swig_obj
[1] ;
35755 if (!args
) SWIG_fail
;
35756 swig_obj
[0] = args
;
35757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35758 if (!SWIG_IsOK(res1
)) {
35759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35761 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35766 wxPyEndAllowThreads(__tstate
);
35767 if (PyErr_Occurred()) SWIG_fail
;
35769 resultobj
= SWIG_Py_Void();
35776 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35777 PyObject
*resultobj
= 0;
35778 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35779 wxVideoMode
*arg2
= 0 ;
35785 PyObject
* obj0
= 0 ;
35786 PyObject
* obj1
= 0 ;
35787 char * kwnames
[] = {
35788 (char *) "self",(char *) "other", NULL
35791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35793 if (!SWIG_IsOK(res1
)) {
35794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35796 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35798 if (!SWIG_IsOK(res2
)) {
35799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35804 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35807 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35808 wxPyEndAllowThreads(__tstate
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35820 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35821 PyObject
*resultobj
= 0;
35822 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35826 PyObject
*swig_obj
[1] ;
35828 if (!args
) SWIG_fail
;
35829 swig_obj
[0] = args
;
35830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35831 if (!SWIG_IsOK(res1
)) {
35832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35834 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35837 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
35838 wxPyEndAllowThreads(__tstate
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35841 resultobj
= SWIG_From_int(static_cast< int >(result
));
35848 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35849 PyObject
*resultobj
= 0;
35850 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35854 PyObject
*swig_obj
[1] ;
35856 if (!args
) SWIG_fail
;
35857 swig_obj
[0] = args
;
35858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35859 if (!SWIG_IsOK(res1
)) {
35860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35862 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35865 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
35866 wxPyEndAllowThreads(__tstate
);
35867 if (PyErr_Occurred()) SWIG_fail
;
35869 resultobj
= SWIG_From_int(static_cast< int >(result
));
35876 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35877 PyObject
*resultobj
= 0;
35878 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35882 PyObject
*swig_obj
[1] ;
35884 if (!args
) SWIG_fail
;
35885 swig_obj
[0] = args
;
35886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35887 if (!SWIG_IsOK(res1
)) {
35888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35890 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35893 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
35894 wxPyEndAllowThreads(__tstate
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35897 resultobj
= SWIG_From_int(static_cast< int >(result
));
35904 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35905 PyObject
*resultobj
= 0;
35906 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35910 PyObject
*swig_obj
[1] ;
35912 if (!args
) SWIG_fail
;
35913 swig_obj
[0] = args
;
35914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35915 if (!SWIG_IsOK(res1
)) {
35916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35918 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35921 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
35922 wxPyEndAllowThreads(__tstate
);
35923 if (PyErr_Occurred()) SWIG_fail
;
35926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35934 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
= 0;
35936 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35937 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35943 PyObject
* obj0
= 0 ;
35944 PyObject
* obj1
= 0 ;
35945 char * kwnames
[] = {
35946 (char *) "self",(char *) "other", NULL
35949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35951 if (!SWIG_IsOK(res1
)) {
35952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35954 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35956 if (!SWIG_IsOK(res2
)) {
35957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35959 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35962 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
35963 wxPyEndAllowThreads(__tstate
);
35964 if (PyErr_Occurred()) SWIG_fail
;
35967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35975 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35976 PyObject
*resultobj
= 0;
35977 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35978 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35984 PyObject
* obj0
= 0 ;
35985 PyObject
* obj1
= 0 ;
35986 char * kwnames
[] = {
35987 (char *) "self",(char *) "other", NULL
35990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35992 if (!SWIG_IsOK(res1
)) {
35993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35995 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35997 if (!SWIG_IsOK(res2
)) {
35998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36000 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36004 wxPyEndAllowThreads(__tstate
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36016 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36017 PyObject
*resultobj
= 0;
36018 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36024 PyObject
*swig_obj
[2] ;
36026 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36028 if (!SWIG_IsOK(res1
)) {
36029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36031 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36032 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36033 if (!SWIG_IsOK(ecode2
)) {
36034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36036 arg2
= static_cast< int >(val2
);
36037 if (arg1
) (arg1
)->w
= arg2
;
36039 resultobj
= SWIG_Py_Void();
36046 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36047 PyObject
*resultobj
= 0;
36048 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36052 PyObject
*swig_obj
[1] ;
36054 if (!args
) SWIG_fail
;
36055 swig_obj
[0] = args
;
36056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36057 if (!SWIG_IsOK(res1
)) {
36058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36060 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36061 result
= (int) ((arg1
)->w
);
36062 resultobj
= SWIG_From_int(static_cast< int >(result
));
36069 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36070 PyObject
*resultobj
= 0;
36071 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36077 PyObject
*swig_obj
[2] ;
36079 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36081 if (!SWIG_IsOK(res1
)) {
36082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36084 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36085 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36086 if (!SWIG_IsOK(ecode2
)) {
36087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36089 arg2
= static_cast< int >(val2
);
36090 if (arg1
) (arg1
)->h
= arg2
;
36092 resultobj
= SWIG_Py_Void();
36099 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36100 PyObject
*resultobj
= 0;
36101 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36105 PyObject
*swig_obj
[1] ;
36107 if (!args
) SWIG_fail
;
36108 swig_obj
[0] = args
;
36109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36110 if (!SWIG_IsOK(res1
)) {
36111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36113 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36114 result
= (int) ((arg1
)->h
);
36115 resultobj
= SWIG_From_int(static_cast< int >(result
));
36122 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36123 PyObject
*resultobj
= 0;
36124 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36130 PyObject
*swig_obj
[2] ;
36132 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36134 if (!SWIG_IsOK(res1
)) {
36135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36137 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36138 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36139 if (!SWIG_IsOK(ecode2
)) {
36140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36142 arg2
= static_cast< int >(val2
);
36143 if (arg1
) (arg1
)->bpp
= arg2
;
36145 resultobj
= SWIG_Py_Void();
36152 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36153 PyObject
*resultobj
= 0;
36154 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36158 PyObject
*swig_obj
[1] ;
36160 if (!args
) SWIG_fail
;
36161 swig_obj
[0] = args
;
36162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36163 if (!SWIG_IsOK(res1
)) {
36164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36166 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36167 result
= (int) ((arg1
)->bpp
);
36168 resultobj
= SWIG_From_int(static_cast< int >(result
));
36175 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36176 PyObject
*resultobj
= 0;
36177 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36183 PyObject
*swig_obj
[2] ;
36185 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36187 if (!SWIG_IsOK(res1
)) {
36188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36190 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36191 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36192 if (!SWIG_IsOK(ecode2
)) {
36193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36195 arg2
= static_cast< int >(val2
);
36196 if (arg1
) (arg1
)->refresh
= arg2
;
36198 resultobj
= SWIG_Py_Void();
36205 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36206 PyObject
*resultobj
= 0;
36207 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36211 PyObject
*swig_obj
[1] ;
36213 if (!args
) SWIG_fail
;
36214 swig_obj
[0] = args
;
36215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36216 if (!SWIG_IsOK(res1
)) {
36217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36219 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36220 result
= (int) ((arg1
)->refresh
);
36221 resultobj
= SWIG_From_int(static_cast< int >(result
));
36228 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36231 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36232 return SWIG_Py_Void();
36235 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36236 return SWIG_Python_InitShadowInstance(args
);
36239 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36240 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36245 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36246 PyObject
*pyobj
= 0;
36248 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36253 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36254 PyObject
*resultobj
= 0;
36255 size_t arg1
= (size_t) 0 ;
36256 wxDisplay
*result
= 0 ;
36259 PyObject
* obj0
= 0 ;
36260 char * kwnames
[] = {
36261 (char *) "index", NULL
36264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36266 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
36267 if (!SWIG_IsOK(ecode1
)) {
36268 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
36270 arg1
= static_cast< size_t >(val1
);
36273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36274 result
= (wxDisplay
*)new wxDisplay(arg1
);
36275 wxPyEndAllowThreads(__tstate
);
36276 if (PyErr_Occurred()) SWIG_fail
;
36278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36285 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36286 PyObject
*resultobj
= 0;
36287 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36290 PyObject
*swig_obj
[1] ;
36292 if (!args
) SWIG_fail
;
36293 swig_obj
[0] = args
;
36294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36295 if (!SWIG_IsOK(res1
)) {
36296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36298 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 resultobj
= SWIG_Py_Void();
36313 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36314 PyObject
*resultobj
= 0;
36317 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36320 result
= (size_t)wxDisplay::GetCount();
36321 wxPyEndAllowThreads(__tstate
);
36322 if (PyErr_Occurred()) SWIG_fail
;
36324 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
36331 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36332 PyObject
*resultobj
= 0;
36333 wxPoint
*arg1
= 0 ;
36336 PyObject
* obj0
= 0 ;
36337 char * kwnames
[] = {
36338 (char *) "pt", NULL
36341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36344 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36348 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36352 resultobj
= SWIG_From_int(static_cast< int >(result
));
36359 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36360 PyObject
*resultobj
= 0;
36361 wxWindow
*arg1
= (wxWindow
*) 0 ;
36365 PyObject
* obj0
= 0 ;
36366 char * kwnames
[] = {
36367 (char *) "window", NULL
36370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36372 if (!SWIG_IsOK(res1
)) {
36373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36375 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36378 result
= (int)wxDisplay::GetFromWindow(arg1
);
36379 wxPyEndAllowThreads(__tstate
);
36380 if (PyErr_Occurred()) SWIG_fail
;
36382 resultobj
= SWIG_From_int(static_cast< int >(result
));
36389 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36390 PyObject
*resultobj
= 0;
36391 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36395 PyObject
*swig_obj
[1] ;
36397 if (!args
) SWIG_fail
;
36398 swig_obj
[0] = args
;
36399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36400 if (!SWIG_IsOK(res1
)) {
36401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36403 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36406 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36407 wxPyEndAllowThreads(__tstate
);
36408 if (PyErr_Occurred()) SWIG_fail
;
36411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36419 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36420 PyObject
*resultobj
= 0;
36421 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36425 PyObject
*swig_obj
[1] ;
36427 if (!args
) SWIG_fail
;
36428 swig_obj
[0] = args
;
36429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36430 if (!SWIG_IsOK(res1
)) {
36431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36433 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36436 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36437 wxPyEndAllowThreads(__tstate
);
36438 if (PyErr_Occurred()) SWIG_fail
;
36440 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36447 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36448 PyObject
*resultobj
= 0;
36449 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36453 PyObject
*swig_obj
[1] ;
36455 if (!args
) SWIG_fail
;
36456 swig_obj
[0] = args
;
36457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36458 if (!SWIG_IsOK(res1
)) {
36459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36461 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36464 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36465 wxPyEndAllowThreads(__tstate
);
36466 if (PyErr_Occurred()) SWIG_fail
;
36468 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36475 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36476 PyObject
*resultobj
= 0;
36477 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36481 PyObject
*swig_obj
[1] ;
36483 if (!args
) SWIG_fail
;
36484 swig_obj
[0] = args
;
36485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36486 if (!SWIG_IsOK(res1
)) {
36487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36489 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36492 result
= ((wxDisplay
const *)arg1
)->GetName();
36493 wxPyEndAllowThreads(__tstate
);
36494 if (PyErr_Occurred()) SWIG_fail
;
36498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36509 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36510 PyObject
*resultobj
= 0;
36511 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36515 PyObject
*swig_obj
[1] ;
36517 if (!args
) SWIG_fail
;
36518 swig_obj
[0] = args
;
36519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36520 if (!SWIG_IsOK(res1
)) {
36521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36523 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36526 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36527 wxPyEndAllowThreads(__tstate
);
36528 if (PyErr_Occurred()) SWIG_fail
;
36531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36539 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36540 PyObject
*resultobj
= 0;
36541 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36542 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36543 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36544 PyObject
*result
= 0 ;
36549 PyObject
* obj0
= 0 ;
36550 PyObject
* obj1
= 0 ;
36551 char * kwnames
[] = {
36552 (char *) "self",(char *) "mode", NULL
36555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36557 if (!SWIG_IsOK(res1
)) {
36558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36560 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36563 if (!SWIG_IsOK(res2
)) {
36564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36569 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36573 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36574 wxPyEndAllowThreads(__tstate
);
36575 if (PyErr_Occurred()) SWIG_fail
;
36577 resultobj
= result
;
36584 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36585 PyObject
*resultobj
= 0;
36586 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36587 wxVideoMode result
;
36590 PyObject
*swig_obj
[1] ;
36592 if (!args
) SWIG_fail
;
36593 swig_obj
[0] = args
;
36594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36595 if (!SWIG_IsOK(res1
)) {
36596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36598 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36601 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36602 wxPyEndAllowThreads(__tstate
);
36603 if (PyErr_Occurred()) SWIG_fail
;
36605 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36612 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36613 PyObject
*resultobj
= 0;
36614 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36615 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36616 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36622 PyObject
* obj0
= 0 ;
36623 PyObject
* obj1
= 0 ;
36624 char * kwnames
[] = {
36625 (char *) "self",(char *) "mode", NULL
36628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36630 if (!SWIG_IsOK(res1
)) {
36631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36633 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36636 if (!SWIG_IsOK(res2
)) {
36637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36642 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36646 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36647 wxPyEndAllowThreads(__tstate
);
36648 if (PyErr_Occurred()) SWIG_fail
;
36651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36659 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36660 PyObject
*resultobj
= 0;
36661 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36664 PyObject
*swig_obj
[1] ;
36666 if (!args
) SWIG_fail
;
36667 swig_obj
[0] = args
;
36668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36669 if (!SWIG_IsOK(res1
)) {
36670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36672 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36675 wxDisplay_ResetMode(arg1
);
36676 wxPyEndAllowThreads(__tstate
);
36677 if (PyErr_Occurred()) SWIG_fail
;
36679 resultobj
= SWIG_Py_Void();
36686 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36689 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36690 return SWIG_Py_Void();
36693 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36694 return SWIG_Python_InitShadowInstance(args
);
36697 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36698 PyObject
*resultobj
= 0;
36699 wxStandardPaths
*result
= 0 ;
36701 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36704 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36705 wxPyEndAllowThreads(__tstate
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36715 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36716 PyObject
*resultobj
= 0;
36717 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36721 PyObject
*swig_obj
[1] ;
36723 if (!args
) SWIG_fail
;
36724 swig_obj
[0] = args
;
36725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36726 if (!SWIG_IsOK(res1
)) {
36727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36729 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36732 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36733 wxPyEndAllowThreads(__tstate
);
36734 if (PyErr_Occurred()) SWIG_fail
;
36738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36749 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36750 PyObject
*resultobj
= 0;
36751 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36755 PyObject
*swig_obj
[1] ;
36757 if (!args
) SWIG_fail
;
36758 swig_obj
[0] = args
;
36759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36760 if (!SWIG_IsOK(res1
)) {
36761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36763 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36766 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36767 wxPyEndAllowThreads(__tstate
);
36768 if (PyErr_Occurred()) SWIG_fail
;
36772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36783 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36784 PyObject
*resultobj
= 0;
36785 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36789 PyObject
*swig_obj
[1] ;
36791 if (!args
) SWIG_fail
;
36792 swig_obj
[0] = args
;
36793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36794 if (!SWIG_IsOK(res1
)) {
36795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36797 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36800 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
36801 wxPyEndAllowThreads(__tstate
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36817 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36818 PyObject
*resultobj
= 0;
36819 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36823 PyObject
*swig_obj
[1] ;
36825 if (!args
) SWIG_fail
;
36826 swig_obj
[0] = args
;
36827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36828 if (!SWIG_IsOK(res1
)) {
36829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36831 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36834 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
36835 wxPyEndAllowThreads(__tstate
);
36836 if (PyErr_Occurred()) SWIG_fail
;
36840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36851 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36852 PyObject
*resultobj
= 0;
36853 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36857 PyObject
*swig_obj
[1] ;
36859 if (!args
) SWIG_fail
;
36860 swig_obj
[0] = args
;
36861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36862 if (!SWIG_IsOK(res1
)) {
36863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36865 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36868 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
36869 wxPyEndAllowThreads(__tstate
);
36870 if (PyErr_Occurred()) SWIG_fail
;
36874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36885 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36886 PyObject
*resultobj
= 0;
36887 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36891 PyObject
*swig_obj
[1] ;
36893 if (!args
) SWIG_fail
;
36894 swig_obj
[0] = args
;
36895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36896 if (!SWIG_IsOK(res1
)) {
36897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36899 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36902 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
36903 wxPyEndAllowThreads(__tstate
);
36904 if (PyErr_Occurred()) SWIG_fail
;
36908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36919 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36920 PyObject
*resultobj
= 0;
36921 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36925 PyObject
*swig_obj
[1] ;
36927 if (!args
) SWIG_fail
;
36928 swig_obj
[0] = args
;
36929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36930 if (!SWIG_IsOK(res1
)) {
36931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36933 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36936 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
36937 wxPyEndAllowThreads(__tstate
);
36938 if (PyErr_Occurred()) SWIG_fail
;
36942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36953 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36954 PyObject
*resultobj
= 0;
36955 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36959 PyObject
*swig_obj
[1] ;
36961 if (!args
) SWIG_fail
;
36962 swig_obj
[0] = args
;
36963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36964 if (!SWIG_IsOK(res1
)) {
36965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36967 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
36971 wxPyEndAllowThreads(__tstate
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36987 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36988 PyObject
*resultobj
= 0;
36989 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36990 wxString
*arg2
= 0 ;
36991 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
36995 bool temp2
= false ;
36998 PyObject
* obj0
= 0 ;
36999 PyObject
* obj1
= 0 ;
37000 PyObject
* obj2
= 0 ;
37001 char * kwnames
[] = {
37002 (char *) "self",(char *) "lang",(char *) "category", NULL
37005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37007 if (!SWIG_IsOK(res1
)) {
37008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37010 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37012 arg2
= wxString_in_helper(obj1
);
37013 if (arg2
== NULL
) SWIG_fail
;
37017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37018 if (!SWIG_IsOK(ecode3
)) {
37019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37021 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37025 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
37026 wxPyEndAllowThreads(__tstate
);
37027 if (PyErr_Occurred()) SWIG_fail
;
37031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37050 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37051 PyObject
*resultobj
= 0;
37052 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37056 PyObject
*swig_obj
[1] ;
37058 if (!args
) SWIG_fail
;
37059 swig_obj
[0] = args
;
37060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37061 if (!SWIG_IsOK(res1
)) {
37062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37064 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37067 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37068 wxPyEndAllowThreads(__tstate
);
37069 if (PyErr_Occurred()) SWIG_fail
;
37073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37084 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37085 PyObject
*resultobj
= 0;
37086 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37087 wxString
*arg2
= 0 ;
37090 bool temp2
= false ;
37091 PyObject
* obj0
= 0 ;
37092 PyObject
* obj1
= 0 ;
37093 char * kwnames
[] = {
37094 (char *) "self",(char *) "prefix", NULL
37097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37099 if (!SWIG_IsOK(res1
)) {
37100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37102 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37104 arg2
= wxString_in_helper(obj1
);
37105 if (arg2
== NULL
) SWIG_fail
;
37109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37110 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
37111 wxPyEndAllowThreads(__tstate
);
37112 if (PyErr_Occurred()) SWIG_fail
;
37114 resultobj
= SWIG_Py_Void();
37129 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37130 PyObject
*resultobj
= 0;
37131 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37135 PyObject
*swig_obj
[1] ;
37137 if (!args
) SWIG_fail
;
37138 swig_obj
[0] = args
;
37139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37140 if (!SWIG_IsOK(res1
)) {
37141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37143 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37146 result
= wxStandardPaths_GetInstallPrefix(arg1
);
37147 wxPyEndAllowThreads(__tstate
);
37148 if (PyErr_Occurred()) SWIG_fail
;
37152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37163 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37166 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37167 return SWIG_Py_Void();
37170 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37171 PyObject
*resultobj
= 0;
37173 wxPowerEvent
*result
= 0 ;
37176 PyObject
* obj0
= 0 ;
37177 char * kwnames
[] = {
37178 (char *) "evtType", NULL
37181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37182 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37183 if (!SWIG_IsOK(ecode1
)) {
37184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37186 arg1
= static_cast< wxEventType
>(val1
);
37188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37189 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37190 wxPyEndAllowThreads(__tstate
);
37191 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37200 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37201 PyObject
*resultobj
= 0;
37202 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37205 PyObject
*swig_obj
[1] ;
37207 if (!args
) SWIG_fail
;
37208 swig_obj
[0] = args
;
37209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37210 if (!SWIG_IsOK(res1
)) {
37211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37213 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37217 wxPyEndAllowThreads(__tstate
);
37218 if (PyErr_Occurred()) SWIG_fail
;
37220 resultobj
= SWIG_Py_Void();
37227 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37228 PyObject
*resultobj
= 0;
37229 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37233 PyObject
*swig_obj
[1] ;
37235 if (!args
) SWIG_fail
;
37236 swig_obj
[0] = args
;
37237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37238 if (!SWIG_IsOK(res1
)) {
37239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37241 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37244 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37245 wxPyEndAllowThreads(__tstate
);
37246 if (PyErr_Occurred()) SWIG_fail
;
37249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37257 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37260 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37261 return SWIG_Py_Void();
37264 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37265 return SWIG_Python_InitShadowInstance(args
);
37268 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37269 PyObject
*resultobj
= 0;
37270 wxPowerType result
;
37272 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37275 result
= (wxPowerType
)wxGetPowerType();
37276 wxPyEndAllowThreads(__tstate
);
37277 if (PyErr_Occurred()) SWIG_fail
;
37279 resultobj
= SWIG_From_int(static_cast< int >(result
));
37286 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37287 PyObject
*resultobj
= 0;
37288 wxBatteryState result
;
37290 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37293 result
= (wxBatteryState
)wxGetBatteryState();
37294 wxPyEndAllowThreads(__tstate
);
37295 if (PyErr_Occurred()) SWIG_fail
;
37297 resultobj
= SWIG_From_int(static_cast< int >(result
));
37304 static PyMethodDef SwigMethods
[] = {
37305 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37306 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37307 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37308 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37309 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
37310 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37311 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
37312 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
37313 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37314 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37315 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37316 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37317 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37318 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37319 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
37320 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
37321 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
37322 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37323 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
37324 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37325 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37326 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37327 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37328 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
37329 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
37330 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37331 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
37332 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
37333 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37334 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
37335 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
37336 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
37337 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
37338 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
37339 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
37340 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37341 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37342 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37343 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37344 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37345 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37346 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
37347 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
37348 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
37349 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
37350 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
37351 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
37352 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37353 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
37354 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
37355 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37356 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37357 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37358 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37359 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37360 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37361 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37362 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37363 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37364 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37365 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
37366 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
37367 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
37368 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
37369 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
37370 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
37371 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
37372 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
37373 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
37374 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37375 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
37376 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37377 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
37378 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
37379 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
37380 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37381 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37382 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37383 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37384 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37385 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
37386 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
37387 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
37388 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
37389 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
37390 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
37391 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
37392 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
37393 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
37394 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
37395 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
37396 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
37397 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37398 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37399 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37400 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37401 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37402 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37403 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37404 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37405 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37406 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
37407 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
37408 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
37409 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
37410 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
37411 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
37412 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
37413 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
37414 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
37415 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
37416 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
37417 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37418 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
37419 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37420 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
37421 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
37422 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37423 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37424 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
37425 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
37426 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37427 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
37428 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
37429 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
37430 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
37431 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
37432 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
37433 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
37434 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
37435 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
37436 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37437 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37438 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37439 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37440 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37441 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
37442 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
37443 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37444 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
37445 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
37446 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37447 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
37448 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
37449 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
37450 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37451 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
37452 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
37453 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
37454 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37455 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
37456 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
37457 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
37458 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
37459 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37460 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
37461 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
37462 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
37463 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
37464 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
37465 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37466 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
37467 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37468 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37469 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
37470 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37471 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37472 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37473 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37474 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
37475 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37476 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37477 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
37478 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
37479 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
37480 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37481 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
37482 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
37483 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37484 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
37485 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
37486 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
37487 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
37488 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37489 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37490 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
37491 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
37492 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
37493 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
37494 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
37495 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
37496 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
37497 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
37498 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
37499 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
37500 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
37501 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
37502 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
37503 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
37504 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
37505 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37506 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37507 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37508 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37509 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37510 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37511 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
37512 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
37513 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
37514 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37515 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
37516 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
37517 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
37518 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37519 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
37520 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37521 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37522 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
37523 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
37524 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37525 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37526 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37527 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
37528 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37529 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37530 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
37531 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37532 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
37533 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
37534 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
37535 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
37536 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
37537 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
37538 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
37539 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
37540 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37541 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
37542 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
37543 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
37544 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
37545 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
37546 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37547 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
37548 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
37549 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
37550 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
37551 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
37552 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37553 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37554 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
37555 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
37556 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
37557 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37558 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
37559 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
37560 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37561 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37562 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37563 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37564 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
37565 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37566 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37567 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37568 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
37569 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
37570 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37571 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
37572 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
37573 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37574 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
37575 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
37576 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
37577 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
37578 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
37579 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
37580 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
37581 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
37582 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
37583 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37584 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
37585 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
37586 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
37587 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
37588 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
37589 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37590 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37591 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
37592 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
37593 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
37594 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37595 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
37596 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
37597 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37598 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37599 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37600 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
37601 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
37602 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
37603 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
37604 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
37605 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
37606 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
37607 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
37608 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
37609 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37610 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37611 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37612 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37613 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37614 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37615 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37616 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37617 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37618 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37619 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37620 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37621 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
37622 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37623 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
37624 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
37625 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
37626 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
37627 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
37628 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37629 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
37630 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
37631 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37632 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37633 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37634 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37635 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37636 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37637 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
37638 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
37639 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
37640 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
37641 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
37642 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
37643 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
37644 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
37645 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
37646 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
37647 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
37648 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
37649 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37650 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
37651 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
37652 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
37653 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
37654 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
37655 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
37656 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
37657 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
37658 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37659 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37660 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37661 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
37662 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
37663 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
37664 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
37665 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
37666 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
37667 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
37668 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
37669 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
37670 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
37671 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37672 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
37673 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
37674 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
37675 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
37676 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
37677 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
37678 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
37679 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
37680 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
37681 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
37682 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
37683 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
37684 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
37685 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
37686 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
37687 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
37688 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
37689 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
37690 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
37691 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
37692 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
37693 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
37694 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
37695 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
37696 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
37697 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
37698 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
37699 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
37700 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
37701 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
37702 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37703 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
37704 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
37705 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
37706 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37707 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
37708 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
37709 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
37710 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
37711 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
37712 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37713 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37714 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37715 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37716 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37717 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
37718 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
37719 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
37720 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37721 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37722 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37723 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
37724 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
37725 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37726 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37727 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
37728 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37729 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37730 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
37731 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37732 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37733 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
37734 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
37735 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
37736 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37737 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37738 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
37739 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
37740 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37741 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37742 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
37743 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
37744 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
37745 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
37746 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
37747 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
37748 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
37749 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
37750 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
37751 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
37752 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
37753 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37754 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
37755 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
37756 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
37757 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
37758 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
37759 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
37760 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
37761 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37762 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37763 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37764 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37765 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37766 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
37767 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37768 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
37769 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
37770 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37771 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
37772 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37773 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
37774 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37775 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37776 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37777 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37778 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
37779 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37780 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37781 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37782 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
37783 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
37784 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
37785 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
37786 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
37787 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37788 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37789 { (char *)"ArtProvider_InsertProvider", (PyCFunction
) _wrap_ArtProvider_InsertProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37790 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
37791 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37792 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37793 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37794 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37795 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
37796 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
37797 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
37798 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
37799 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37800 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37801 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
37802 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37803 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37804 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
37805 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
37806 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37807 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
37808 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37809 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37810 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37811 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37812 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37813 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37814 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37815 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37816 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37817 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37818 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37819 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37820 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37821 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37822 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37823 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37824 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37825 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37826 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37827 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37828 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
37829 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37830 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
37831 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37832 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
37833 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37834 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
37835 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
37836 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37837 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37838 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37839 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
37840 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
37841 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37842 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
37843 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
37844 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
37845 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37846 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
37847 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
37848 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
37849 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37850 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
37851 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
37852 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
37853 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
37854 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37855 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37856 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
37857 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37858 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37859 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37860 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37861 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37862 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37863 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37864 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37865 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37866 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37867 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
37868 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37869 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37870 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37871 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
37872 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
37873 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
37874 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
37875 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37876 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37877 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37878 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37879 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37880 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
37881 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
37882 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37883 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37884 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37885 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37886 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
37887 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37888 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37889 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37890 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37891 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37892 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37893 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37894 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37895 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37896 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37897 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37898 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37899 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37900 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37901 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37902 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37903 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37904 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37905 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37906 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37907 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37908 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37909 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37910 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
37911 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
37912 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
37913 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
37914 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
37915 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37916 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37917 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37918 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37919 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37920 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37921 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37922 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37923 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37924 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37925 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37926 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
37927 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
37928 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37929 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37930 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37931 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37932 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37933 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37934 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37935 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37936 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37937 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37938 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37939 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37940 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37941 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37942 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37943 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37944 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37945 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37946 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37947 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37948 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37949 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37950 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37951 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37952 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37953 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
37954 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
37955 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
37956 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
37957 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37958 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37959 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37960 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37961 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37962 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37963 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37964 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37965 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37966 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37967 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37968 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37969 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
37970 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
37971 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
37972 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
37973 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
37974 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
37975 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37976 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
37977 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37978 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
37979 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37980 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
37981 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37982 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
37983 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37984 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
37985 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37986 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
37987 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37988 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
37989 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37990 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37991 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37992 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
37993 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
37994 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37995 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37996 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37997 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
37998 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37999 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38000 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38001 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38002 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38003 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38004 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38005 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38006 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38007 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38008 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
38009 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
38010 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
38011 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38012 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38013 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38014 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
38015 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
38016 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
38017 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
38018 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
38019 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
38020 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38021 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
38022 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
38023 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38024 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
38025 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38026 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
38027 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38028 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
38029 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38030 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
38031 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38032 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
38033 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38034 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38035 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38036 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38037 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
38038 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
38039 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
38040 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
38041 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
38042 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38043 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38044 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
38045 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38046 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38047 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38048 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
38049 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38050 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38051 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38052 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38053 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38054 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38055 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38056 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
38057 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
38058 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
38059 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
38060 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
38061 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
38062 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38063 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38064 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
38065 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
38066 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
38067 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38068 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
38069 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
38070 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38071 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
38072 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
38073 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
38074 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38075 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38076 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38077 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38078 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38079 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38080 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38081 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
38082 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38083 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
38084 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38085 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
38086 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
38087 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38088 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
38089 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
38090 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38091 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38092 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
38093 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
38094 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
38095 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38096 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
38097 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
38098 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
38099 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38100 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
38101 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
38102 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38103 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
38104 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
38105 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38106 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38107 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
38108 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
38109 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38110 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
38111 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38112 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
38113 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
38114 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38115 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38116 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
38117 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
38118 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
38119 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
38120 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38121 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
38122 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
38123 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
38124 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38125 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
38126 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
38127 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
38128 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
38129 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38130 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
38131 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38132 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
38133 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
38134 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
38135 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38136 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
38137 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
38138 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
38139 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38140 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38141 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38142 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
38143 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38144 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
38145 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38146 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38147 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38148 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
38149 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
38150 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38151 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38152 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
38153 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
38154 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38155 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38156 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38157 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
38158 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38159 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
38160 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38161 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
38162 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
38163 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
38164 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
38165 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38166 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38167 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38168 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38169 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
38170 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38171 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38172 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
38173 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
38174 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
38175 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38176 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38177 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38178 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38179 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
38180 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38181 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38182 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
38183 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
38184 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
38185 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
38186 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
38187 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
38188 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
38189 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38190 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38191 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38192 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38193 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
38194 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
38195 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38196 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
38197 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
38198 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
38199 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38200 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
38201 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
38202 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
38203 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
38204 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38205 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
38206 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38207 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
38208 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
38209 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
38210 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
38211 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38212 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38213 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
38214 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
38215 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
38216 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
38217 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
38218 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
38219 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
38220 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
38221 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
38222 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
38223 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38224 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
38225 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
38226 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38227 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38228 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
38229 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
38230 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
38231 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
38232 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
38233 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38234 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
38235 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38236 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
38237 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
38238 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
38239 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
38240 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
38241 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
38242 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
38243 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
38244 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
38245 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
38246 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
38247 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
38248 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38249 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
38250 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38251 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
38252 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
38253 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38254 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
38255 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
38256 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
38257 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
38258 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
38259 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
38260 { NULL
, NULL
, 0, NULL
}
38264 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
38266 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
38267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38269 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
38270 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
38272 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
38273 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
38275 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
38276 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
38278 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
38279 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
38281 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
38282 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
38284 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
38285 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
38287 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
38288 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
38290 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
38291 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
38293 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
38294 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
38296 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
38297 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38299 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
38300 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38302 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
38303 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
38305 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
38306 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
38308 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
38309 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
38311 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
38312 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38314 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
38315 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38317 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
38318 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
38320 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
38321 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
38323 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
38324 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
38326 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
38327 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
38329 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
38330 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
38332 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
38333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
38335 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
38336 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
38338 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
38339 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
38341 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
38342 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38344 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
38345 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38347 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
38348 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38350 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
38351 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38353 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
38354 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38356 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
38357 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38359 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
38360 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
38362 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
38363 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
38365 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
38366 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38368 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
38369 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
38371 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
38372 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
38374 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
38375 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
38377 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
38378 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38380 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
38381 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38383 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
38384 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38386 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
38387 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
38389 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
38390 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
38392 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
38393 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
38395 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
38396 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
38398 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
38399 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38401 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
38402 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38404 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
38405 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
38407 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
38408 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38410 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
38411 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
38413 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
38414 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38416 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
38417 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38419 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
38420 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38422 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
38423 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38425 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
38426 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38428 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
38429 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38431 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
38432 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
38434 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
38435 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38437 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
38438 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38440 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38441 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38443 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38444 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38446 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38447 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38449 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38450 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38452 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38453 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38455 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
38456 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38458 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38459 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38461 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
38462 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
38464 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
38465 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
38467 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
38468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38470 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
38471 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
38473 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
38474 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
38476 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
38477 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
38479 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
38480 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
38482 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
38483 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
38485 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
38486 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
38488 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
38489 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
38491 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
38492 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
38494 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
38495 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
38497 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
38498 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
38500 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
38501 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
38503 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
38504 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
38506 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
38507 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
38509 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
38510 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
38512 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
38513 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
38515 static void *_p_wxSizerTo_p_wxObject(void *x
) {
38516 return (void *)((wxObject
*) ((wxSizer
*) x
));
38518 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
38519 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
38521 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
38522 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
38524 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
38525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38527 static void *_p_wxEventTo_p_wxObject(void *x
) {
38528 return (void *)((wxObject
*) ((wxEvent
*) x
));
38530 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
38531 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
38533 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
38534 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
38536 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
38537 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
38539 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
38540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38542 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
38543 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
38545 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
38546 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
38548 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
38549 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38551 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
38552 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38554 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
38555 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38557 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
38558 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38560 static void *_p_wxControlTo_p_wxObject(void *x
) {
38561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
38563 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
38564 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
38566 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
38567 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
38569 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
38570 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
38572 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
38573 return (void *)((wxObject
*) ((wxFSFile
*) x
));
38575 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
38576 return (void *)((wxObject
*) ((wxClipboard
*) x
));
38578 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
38579 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
38581 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
38582 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
38584 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
38585 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38587 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
38588 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
38590 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
38591 return (void *)((wxObject
*) ((wxToolTip
*) x
));
38593 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
38594 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
38596 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
38597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
38599 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
38600 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
38602 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
38603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38605 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
38606 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38608 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
38609 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
38611 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
38612 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
38614 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
38615 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
38617 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
38618 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
38620 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
38621 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
38623 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
38624 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
38626 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
38627 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
38629 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
38630 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
38632 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
38633 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
38635 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
38636 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
38638 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
38639 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
38641 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
38642 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
38644 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
38645 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
38647 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
38648 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
38650 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
38651 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
38653 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
38654 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
38656 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
38657 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
38659 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
38660 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
38662 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
38663 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
38665 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
38666 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38668 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
38669 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
38671 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
38672 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
38674 static void *_p_wxImageTo_p_wxObject(void *x
) {
38675 return (void *)((wxObject
*) ((wxImage
*) x
));
38677 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
38678 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
38680 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
38681 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
38683 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
38684 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
38686 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
38687 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38689 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
38690 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38692 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
38693 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
38695 static void *_p_wxWindowTo_p_wxObject(void *x
) {
38696 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
38698 static void *_p_wxMenuTo_p_wxObject(void *x
) {
38699 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
38701 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
38702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
38704 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
38705 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
38707 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
38708 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
38710 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
38711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38713 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
38714 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
38716 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
38717 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
38719 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
38720 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
38722 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
38723 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
38725 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
38726 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
38728 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
38729 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
38731 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
38732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38734 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
38735 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
38737 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
38738 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
38740 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
38741 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
38743 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
38744 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38746 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
38747 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
38749 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
38750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38752 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
38753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
38755 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
38756 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
38758 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
38759 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
38761 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
38762 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
38764 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
38765 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
38767 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
38768 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
38770 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
38771 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
38773 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
38774 return (void *)((wxLog
*) ((wxLogChain
*) x
));
38776 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
38777 return (void *)((wxLog
*) ((wxLogGui
*) x
));
38779 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
38780 return (void *)((wxLog
*) ((wxPyLog
*) x
));
38782 static void *_p_wxControlTo_p_wxWindow(void *x
) {
38783 return (void *)((wxWindow
*) ((wxControl
*) x
));
38785 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
38786 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
38788 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
38789 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
38791 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
38792 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
38794 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
38795 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
38797 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
38798 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};
38799 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
38800 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
38801 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
38802 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
38803 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
38804 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
38805 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
38806 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
38807 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
38808 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
38809 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
38810 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
38811 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
38812 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
38813 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
38814 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
38815 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
38816 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
38817 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
38818 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
38819 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
38820 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
38821 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
38822 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
38823 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
38824 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
38825 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
38826 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
38827 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
38828 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
38829 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
38830 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
38831 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
38832 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
38833 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
38834 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
38835 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
38836 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
38837 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
38838 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
38839 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
38840 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
38841 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
38842 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
38843 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
38844 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
38845 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
38846 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
38847 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
38848 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
38849 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
38850 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
38851 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
38852 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
38853 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
38854 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
38855 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
38856 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
38857 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
38858 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
38859 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
38860 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
38861 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
38862 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
38863 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
38864 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
38865 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
38866 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
38867 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
38868 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
38869 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
38870 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
38871 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
38872 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
38873 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
38874 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
38875 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
38876 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
38877 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
38878 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
38879 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
38880 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
38881 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
38882 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
38883 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
38884 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
38885 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
38886 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
38887 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
38888 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
38889 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
38890 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
38891 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
38892 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
38893 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
38894 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
38895 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
38896 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
38897 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
38898 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
38899 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
38900 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
38901 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
38902 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
38903 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
38904 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
38905 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
38906 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
38907 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
38908 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
38909 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
38910 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
38911 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
38912 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
38913 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
38914 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
38915 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
38916 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
38917 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
38918 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
38919 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
38920 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
38921 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
38922 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
38923 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
38924 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
38925 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
38926 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
38927 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
38928 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
38929 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
38930 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
38931 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
38932 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
38933 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
38934 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
38935 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
38936 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
38937 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
38938 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
38939 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
38940 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
38941 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
38942 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
38943 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
38944 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
38945 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
38946 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
38947 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
38948 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
38949 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
38950 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
38951 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
38952 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
38953 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
38954 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
38955 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
38956 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
38957 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
38958 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
38959 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
38960 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
38961 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
38962 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
38963 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
38964 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
38965 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
38966 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
38967 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
38968 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
38969 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
38971 static swig_type_info
*swig_type_initial
[] = {
38973 &_swigt__p_form_ops_t
,
38975 &_swigt__p_unsigned_char
,
38976 &_swigt__p_unsigned_int
,
38977 &_swigt__p_unsigned_long
,
38979 &_swigt__p_wxANIHandler
,
38980 &_swigt__p_wxAcceleratorTable
,
38981 &_swigt__p_wxActivateEvent
,
38982 &_swigt__p_wxArrayString
,
38983 &_swigt__p_wxBMPHandler
,
38984 &_swigt__p_wxBitmap
,
38985 &_swigt__p_wxBitmapDataObject
,
38986 &_swigt__p_wxBoxSizer
,
38987 &_swigt__p_wxBusyCursor
,
38988 &_swigt__p_wxBusyInfo
,
38989 &_swigt__p_wxCURHandler
,
38990 &_swigt__p_wxCaret
,
38992 &_swigt__p_wxChildFocusEvent
,
38993 &_swigt__p_wxClipboard
,
38994 &_swigt__p_wxClipboardLocker
,
38995 &_swigt__p_wxClipboardTextEvent
,
38996 &_swigt__p_wxCloseEvent
,
38997 &_swigt__p_wxColour
,
38998 &_swigt__p_wxCommandEvent
,
38999 &_swigt__p_wxConfig
,
39000 &_swigt__p_wxConfigBase
,
39001 &_swigt__p_wxConfigPathChanger
,
39002 &_swigt__p_wxContextMenuEvent
,
39003 &_swigt__p_wxControl
,
39004 &_swigt__p_wxControlWithItems
,
39005 &_swigt__p_wxCursor
,
39006 &_swigt__p_wxCustomDataObject
,
39008 &_swigt__p_wxDataFormat
,
39009 &_swigt__p_wxDataObject
,
39010 &_swigt__p_wxDataObjectComposite
,
39011 &_swigt__p_wxDataObjectSimple
,
39012 &_swigt__p_wxDateEvent
,
39013 &_swigt__p_wxDateSpan
,
39014 &_swigt__p_wxDateTime
,
39015 &_swigt__p_wxDateTime__TimeZone
,
39016 &_swigt__p_wxDisplay
,
39017 &_swigt__p_wxDisplayChangedEvent
,
39018 &_swigt__p_wxDropFilesEvent
,
39019 &_swigt__p_wxDuplexMode
,
39020 &_swigt__p_wxEraseEvent
,
39021 &_swigt__p_wxEvent
,
39022 &_swigt__p_wxEvtHandler
,
39023 &_swigt__p_wxFSFile
,
39024 &_swigt__p_wxFileConfig
,
39025 &_swigt__p_wxFileDataObject
,
39026 &_swigt__p_wxFileHistory
,
39027 &_swigt__p_wxFileSystem
,
39028 &_swigt__p_wxFileType
,
39029 &_swigt__p_wxFileTypeInfo
,
39030 &_swigt__p_wxFlexGridSizer
,
39031 &_swigt__p_wxFocusEvent
,
39033 &_swigt__p_wxFrame
,
39034 &_swigt__p_wxGBSizerItem
,
39035 &_swigt__p_wxGIFHandler
,
39036 &_swigt__p_wxGridBagSizer
,
39037 &_swigt__p_wxGridSizer
,
39038 &_swigt__p_wxICOHandler
,
39040 &_swigt__p_wxIconizeEvent
,
39041 &_swigt__p_wxIdleEvent
,
39042 &_swigt__p_wxImage
,
39043 &_swigt__p_wxImageHandler
,
39044 &_swigt__p_wxIndividualLayoutConstraint
,
39045 &_swigt__p_wxInitDialogEvent
,
39046 &_swigt__p_wxJPEGHandler
,
39047 &_swigt__p_wxJoystick
,
39048 &_swigt__p_wxJoystickEvent
,
39049 &_swigt__p_wxKeyEvent
,
39050 &_swigt__p_wxKillError
,
39051 &_swigt__p_wxLayoutConstraints
,
39053 &_swigt__p_wxLogBuffer
,
39054 &_swigt__p_wxLogChain
,
39055 &_swigt__p_wxLogGui
,
39056 &_swigt__p_wxLogNull
,
39057 &_swigt__p_wxLogStderr
,
39058 &_swigt__p_wxLogTextCtrl
,
39059 &_swigt__p_wxLogWindow
,
39060 &_swigt__p_wxMaximizeEvent
,
39062 &_swigt__p_wxMenuBar
,
39063 &_swigt__p_wxMenuEvent
,
39064 &_swigt__p_wxMenuItem
,
39065 &_swigt__p_wxMetafile
,
39066 &_swigt__p_wxMetafileDataObject
,
39067 &_swigt__p_wxMimeTypesManager
,
39068 &_swigt__p_wxMouseCaptureChangedEvent
,
39069 &_swigt__p_wxMouseCaptureLostEvent
,
39070 &_swigt__p_wxMouseEvent
,
39071 &_swigt__p_wxMouseState
,
39072 &_swigt__p_wxMoveEvent
,
39073 &_swigt__p_wxMutexGuiLocker
,
39074 &_swigt__p_wxNavigationKeyEvent
,
39075 &_swigt__p_wxNcPaintEvent
,
39076 &_swigt__p_wxNotifyEvent
,
39077 &_swigt__p_wxObject
,
39078 &_swigt__p_wxOutputStream
,
39079 &_swigt__p_wxPCXHandler
,
39080 &_swigt__p_wxPNGHandler
,
39081 &_swigt__p_wxPNMHandler
,
39082 &_swigt__p_wxPaintEvent
,
39083 &_swigt__p_wxPaletteChangedEvent
,
39084 &_swigt__p_wxPaperSize
,
39085 &_swigt__p_wxPlatformInfo
,
39086 &_swigt__p_wxPoint
,
39087 &_swigt__p_wxPowerEvent
,
39088 &_swigt__p_wxProcessEvent
,
39089 &_swigt__p_wxPyApp
,
39090 &_swigt__p_wxPyArtProvider
,
39091 &_swigt__p_wxPyBitmapDataObject
,
39092 &_swigt__p_wxPyCommandEvent
,
39093 &_swigt__p_wxPyDataObjectSimple
,
39094 &_swigt__p_wxPyDropSource
,
39095 &_swigt__p_wxPyDropTarget
,
39096 &_swigt__p_wxPyEvent
,
39097 &_swigt__p_wxPyFileDropTarget
,
39098 &_swigt__p_wxPyImageHandler
,
39099 &_swigt__p_wxPyLog
,
39100 &_swigt__p_wxPyProcess
,
39101 &_swigt__p_wxPySizer
,
39102 &_swigt__p_wxPyTextDataObject
,
39103 &_swigt__p_wxPyTextDropTarget
,
39104 &_swigt__p_wxPyTimer
,
39105 &_swigt__p_wxPyTipProvider
,
39106 &_swigt__p_wxPyValidator
,
39107 &_swigt__p_wxQueryNewPaletteEvent
,
39109 &_swigt__p_wxScrollEvent
,
39110 &_swigt__p_wxScrollWinEvent
,
39111 &_swigt__p_wxSetCursorEvent
,
39112 &_swigt__p_wxShowEvent
,
39113 &_swigt__p_wxSingleInstanceChecker
,
39115 &_swigt__p_wxSizeEvent
,
39116 &_swigt__p_wxSizer
,
39117 &_swigt__p_wxSizerItem
,
39118 &_swigt__p_wxSound
,
39119 &_swigt__p_wxStandardPaths
,
39120 &_swigt__p_wxStaticBoxSizer
,
39121 &_swigt__p_wxStdDialogButtonSizer
,
39122 &_swigt__p_wxStopWatch
,
39123 &_swigt__p_wxString
,
39124 &_swigt__p_wxSysColourChangedEvent
,
39125 &_swigt__p_wxSystemOptions
,
39126 &_swigt__p_wxSystemSettings
,
39127 &_swigt__p_wxTIFFHandler
,
39128 &_swigt__p_wxTextCtrl
,
39129 &_swigt__p_wxTextDataObject
,
39130 &_swigt__p_wxTimeSpan
,
39131 &_swigt__p_wxTimer
,
39132 &_swigt__p_wxTimerEvent
,
39133 &_swigt__p_wxTimerRunner
,
39134 &_swigt__p_wxTipProvider
,
39135 &_swigt__p_wxToolTip
,
39136 &_swigt__p_wxURLDataObject
,
39137 &_swigt__p_wxUpdateUIEvent
,
39138 &_swigt__p_wxValidator
,
39139 &_swigt__p_wxVideoMode
,
39140 &_swigt__p_wxWindow
,
39141 &_swigt__p_wxWindowCreateEvent
,
39142 &_swigt__p_wxWindowDestroyEvent
,
39143 &_swigt__p_wxWindowDisabler
,
39144 &_swigt__p_wxXPMHandler
,
39147 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39148 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39149 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39150 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39151 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39152 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39153 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39154 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
39155 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39156 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}};
39157 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
39158 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
39159 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
39160 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39161 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
39162 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
39163 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39164 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
39165 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}};
39166 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
39167 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39168 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39169 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
39170 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
39171 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}};
39172 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
39173 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}};
39174 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
39175 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
39176 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
39177 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
39178 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39179 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39180 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39181 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39182 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39183 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39184 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39185 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39186 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39187 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39188 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39189 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39190 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39191 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39192 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39193 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39194 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39195 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39196 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39197 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39198 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39199 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39200 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39201 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39202 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39203 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39204 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39205 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39206 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39207 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39208 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39209 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39210 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39211 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39212 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39213 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39214 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39215 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39216 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39217 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}};
39218 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39219 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39220 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39221 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39222 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39223 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39224 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}};
39225 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
39226 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39227 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
39228 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
39229 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
39230 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39231 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
39232 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39233 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
39234 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
39235 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
39236 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}};
39237 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
39238 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
39239 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
39240 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
39241 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
39242 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39243 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
39244 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39245 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
39246 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39247 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
39248 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
39249 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
39250 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39251 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39252 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39253 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39254 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39255 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39256 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39257 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39258 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39259 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39260 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39261 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39262 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39263 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39264 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39265 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39266 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39267 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39268 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39269 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39270 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39271 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39272 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39273 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39274 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39275 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39276 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39277 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39278 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39279 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39280 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}};
39281 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
39282 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39283 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
39284 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39285 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39286 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
39287 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
39288 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39289 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
39290 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
39291 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}};
39292 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39293 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
39294 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
39295 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39296 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39297 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
39298 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
39299 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39300 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
39301 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
39302 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
39303 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
39304 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
39305 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
39306 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
39307 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
39308 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39309 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}};
39310 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
39311 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
39312 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39313 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
39314 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}};
39315 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
39316 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39317 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
39318 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}};
39319 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
39321 static swig_cast_info
*swig_cast_initial
[] = {
39323 _swigc__p_form_ops_t
,
39325 _swigc__p_unsigned_char
,
39326 _swigc__p_unsigned_int
,
39327 _swigc__p_unsigned_long
,
39329 _swigc__p_wxANIHandler
,
39330 _swigc__p_wxAcceleratorTable
,
39331 _swigc__p_wxActivateEvent
,
39332 _swigc__p_wxArrayString
,
39333 _swigc__p_wxBMPHandler
,
39334 _swigc__p_wxBitmap
,
39335 _swigc__p_wxBitmapDataObject
,
39336 _swigc__p_wxBoxSizer
,
39337 _swigc__p_wxBusyCursor
,
39338 _swigc__p_wxBusyInfo
,
39339 _swigc__p_wxCURHandler
,
39342 _swigc__p_wxChildFocusEvent
,
39343 _swigc__p_wxClipboard
,
39344 _swigc__p_wxClipboardLocker
,
39345 _swigc__p_wxClipboardTextEvent
,
39346 _swigc__p_wxCloseEvent
,
39347 _swigc__p_wxColour
,
39348 _swigc__p_wxCommandEvent
,
39349 _swigc__p_wxConfig
,
39350 _swigc__p_wxConfigBase
,
39351 _swigc__p_wxConfigPathChanger
,
39352 _swigc__p_wxContextMenuEvent
,
39353 _swigc__p_wxControl
,
39354 _swigc__p_wxControlWithItems
,
39355 _swigc__p_wxCursor
,
39356 _swigc__p_wxCustomDataObject
,
39358 _swigc__p_wxDataFormat
,
39359 _swigc__p_wxDataObject
,
39360 _swigc__p_wxDataObjectComposite
,
39361 _swigc__p_wxDataObjectSimple
,
39362 _swigc__p_wxDateEvent
,
39363 _swigc__p_wxDateSpan
,
39364 _swigc__p_wxDateTime
,
39365 _swigc__p_wxDateTime__TimeZone
,
39366 _swigc__p_wxDisplay
,
39367 _swigc__p_wxDisplayChangedEvent
,
39368 _swigc__p_wxDropFilesEvent
,
39369 _swigc__p_wxDuplexMode
,
39370 _swigc__p_wxEraseEvent
,
39372 _swigc__p_wxEvtHandler
,
39373 _swigc__p_wxFSFile
,
39374 _swigc__p_wxFileConfig
,
39375 _swigc__p_wxFileDataObject
,
39376 _swigc__p_wxFileHistory
,
39377 _swigc__p_wxFileSystem
,
39378 _swigc__p_wxFileType
,
39379 _swigc__p_wxFileTypeInfo
,
39380 _swigc__p_wxFlexGridSizer
,
39381 _swigc__p_wxFocusEvent
,
39384 _swigc__p_wxGBSizerItem
,
39385 _swigc__p_wxGIFHandler
,
39386 _swigc__p_wxGridBagSizer
,
39387 _swigc__p_wxGridSizer
,
39388 _swigc__p_wxICOHandler
,
39390 _swigc__p_wxIconizeEvent
,
39391 _swigc__p_wxIdleEvent
,
39393 _swigc__p_wxImageHandler
,
39394 _swigc__p_wxIndividualLayoutConstraint
,
39395 _swigc__p_wxInitDialogEvent
,
39396 _swigc__p_wxJPEGHandler
,
39397 _swigc__p_wxJoystick
,
39398 _swigc__p_wxJoystickEvent
,
39399 _swigc__p_wxKeyEvent
,
39400 _swigc__p_wxKillError
,
39401 _swigc__p_wxLayoutConstraints
,
39403 _swigc__p_wxLogBuffer
,
39404 _swigc__p_wxLogChain
,
39405 _swigc__p_wxLogGui
,
39406 _swigc__p_wxLogNull
,
39407 _swigc__p_wxLogStderr
,
39408 _swigc__p_wxLogTextCtrl
,
39409 _swigc__p_wxLogWindow
,
39410 _swigc__p_wxMaximizeEvent
,
39412 _swigc__p_wxMenuBar
,
39413 _swigc__p_wxMenuEvent
,
39414 _swigc__p_wxMenuItem
,
39415 _swigc__p_wxMetafile
,
39416 _swigc__p_wxMetafileDataObject
,
39417 _swigc__p_wxMimeTypesManager
,
39418 _swigc__p_wxMouseCaptureChangedEvent
,
39419 _swigc__p_wxMouseCaptureLostEvent
,
39420 _swigc__p_wxMouseEvent
,
39421 _swigc__p_wxMouseState
,
39422 _swigc__p_wxMoveEvent
,
39423 _swigc__p_wxMutexGuiLocker
,
39424 _swigc__p_wxNavigationKeyEvent
,
39425 _swigc__p_wxNcPaintEvent
,
39426 _swigc__p_wxNotifyEvent
,
39427 _swigc__p_wxObject
,
39428 _swigc__p_wxOutputStream
,
39429 _swigc__p_wxPCXHandler
,
39430 _swigc__p_wxPNGHandler
,
39431 _swigc__p_wxPNMHandler
,
39432 _swigc__p_wxPaintEvent
,
39433 _swigc__p_wxPaletteChangedEvent
,
39434 _swigc__p_wxPaperSize
,
39435 _swigc__p_wxPlatformInfo
,
39437 _swigc__p_wxPowerEvent
,
39438 _swigc__p_wxProcessEvent
,
39440 _swigc__p_wxPyArtProvider
,
39441 _swigc__p_wxPyBitmapDataObject
,
39442 _swigc__p_wxPyCommandEvent
,
39443 _swigc__p_wxPyDataObjectSimple
,
39444 _swigc__p_wxPyDropSource
,
39445 _swigc__p_wxPyDropTarget
,
39446 _swigc__p_wxPyEvent
,
39447 _swigc__p_wxPyFileDropTarget
,
39448 _swigc__p_wxPyImageHandler
,
39450 _swigc__p_wxPyProcess
,
39451 _swigc__p_wxPySizer
,
39452 _swigc__p_wxPyTextDataObject
,
39453 _swigc__p_wxPyTextDropTarget
,
39454 _swigc__p_wxPyTimer
,
39455 _swigc__p_wxPyTipProvider
,
39456 _swigc__p_wxPyValidator
,
39457 _swigc__p_wxQueryNewPaletteEvent
,
39459 _swigc__p_wxScrollEvent
,
39460 _swigc__p_wxScrollWinEvent
,
39461 _swigc__p_wxSetCursorEvent
,
39462 _swigc__p_wxShowEvent
,
39463 _swigc__p_wxSingleInstanceChecker
,
39465 _swigc__p_wxSizeEvent
,
39467 _swigc__p_wxSizerItem
,
39469 _swigc__p_wxStandardPaths
,
39470 _swigc__p_wxStaticBoxSizer
,
39471 _swigc__p_wxStdDialogButtonSizer
,
39472 _swigc__p_wxStopWatch
,
39473 _swigc__p_wxString
,
39474 _swigc__p_wxSysColourChangedEvent
,
39475 _swigc__p_wxSystemOptions
,
39476 _swigc__p_wxSystemSettings
,
39477 _swigc__p_wxTIFFHandler
,
39478 _swigc__p_wxTextCtrl
,
39479 _swigc__p_wxTextDataObject
,
39480 _swigc__p_wxTimeSpan
,
39482 _swigc__p_wxTimerEvent
,
39483 _swigc__p_wxTimerRunner
,
39484 _swigc__p_wxTipProvider
,
39485 _swigc__p_wxToolTip
,
39486 _swigc__p_wxURLDataObject
,
39487 _swigc__p_wxUpdateUIEvent
,
39488 _swigc__p_wxValidator
,
39489 _swigc__p_wxVideoMode
,
39490 _swigc__p_wxWindow
,
39491 _swigc__p_wxWindowCreateEvent
,
39492 _swigc__p_wxWindowDestroyEvent
,
39493 _swigc__p_wxWindowDisabler
,
39494 _swigc__p_wxXPMHandler
,
39498 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39500 static swig_const_info swig_const_table
[] = {
39501 {0, 0, 0, 0.0, 0, 0}};
39506 /* -----------------------------------------------------------------------------
39507 * Type initialization:
39508 * This problem is tough by the requirement that no dynamic
39509 * memory is used. Also, since swig_type_info structures store pointers to
39510 * swig_cast_info structures and swig_cast_info structures store pointers back
39511 * to swig_type_info structures, we need some lookup code at initialization.
39512 * The idea is that swig generates all the structures that are needed.
39513 * The runtime then collects these partially filled structures.
39514 * The SWIG_InitializeModule function takes these initial arrays out of
39515 * swig_module, and does all the lookup, filling in the swig_module.types
39516 * array with the correct data and linking the correct swig_cast_info
39517 * structures together.
39519 * The generated swig_type_info structures are assigned staticly to an initial
39520 * array. We just loop though that array, and handle each type individually.
39521 * First we lookup if this type has been already loaded, and if so, use the
39522 * loaded structure instead of the generated one. Then we have to fill in the
39523 * cast linked list. The cast data is initially stored in something like a
39524 * two-dimensional array. Each row corresponds to a type (there are the same
39525 * number of rows as there are in the swig_type_initial array). Each entry in
39526 * a column is one of the swig_cast_info structures for that type.
39527 * The cast_initial array is actually an array of arrays, because each row has
39528 * a variable number of columns. So to actually build the cast linked list,
39529 * we find the array of casts associated with the type, and loop through it
39530 * adding the casts to the list. The one last trick we need to do is making
39531 * sure the type pointer in the swig_cast_info struct is correct.
39533 * First off, we lookup the cast->type name to see if it is already loaded.
39534 * There are three cases to handle:
39535 * 1) If the cast->type has already been loaded AND the type we are adding
39536 * casting info to has not been loaded (it is in this module), THEN we
39537 * replace the cast->type pointer with the type pointer that has already
39539 * 2) If BOTH types (the one we are adding casting info to, and the
39540 * cast->type) are loaded, THEN the cast info has already been loaded by
39541 * the previous module so we just ignore it.
39542 * 3) Finally, if cast->type has not already been loaded, then we add that
39543 * swig_cast_info to the linked list (because the cast->type) pointer will
39545 * ----------------------------------------------------------------------------- */
39555 #define SWIGRUNTIME_DEBUG
39559 SWIG_InitializeModule(void *clientdata
) {
39561 swig_module_info
*module_head
;
39562 static int init_run
= 0;
39564 clientdata
= clientdata
;
39566 if (init_run
) return;
39569 /* Initialize the swig_module */
39570 swig_module
.type_initial
= swig_type_initial
;
39571 swig_module
.cast_initial
= swig_cast_initial
;
39573 /* Try and load any already created modules */
39574 module_head
= SWIG_GetModule(clientdata
);
39576 swig_module
.next
= module_head
->next
;
39577 module_head
->next
= &swig_module
;
39579 /* This is the first module loaded */
39580 swig_module
.next
= &swig_module
;
39581 SWIG_SetModule(clientdata
, &swig_module
);
39584 /* Now work on filling in swig_module.types */
39585 #ifdef SWIGRUNTIME_DEBUG
39586 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
39588 for (i
= 0; i
< swig_module
.size
; ++i
) {
39589 swig_type_info
*type
= 0;
39590 swig_type_info
*ret
;
39591 swig_cast_info
*cast
;
39593 #ifdef SWIGRUNTIME_DEBUG
39594 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39597 /* if there is another module already loaded */
39598 if (swig_module
.next
!= &swig_module
) {
39599 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
39602 /* Overwrite clientdata field */
39603 #ifdef SWIGRUNTIME_DEBUG
39604 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
39606 if (swig_module
.type_initial
[i
]->clientdata
) {
39607 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
39608 #ifdef SWIGRUNTIME_DEBUG
39609 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
39613 type
= swig_module
.type_initial
[i
];
39616 /* Insert casting types */
39617 cast
= swig_module
.cast_initial
[i
];
39618 while (cast
->type
) {
39619 /* Don't need to add information already in the list */
39621 #ifdef SWIGRUNTIME_DEBUG
39622 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
39624 if (swig_module
.next
!= &swig_module
) {
39625 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
39626 #ifdef SWIGRUNTIME_DEBUG
39627 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
39631 if (type
== swig_module
.type_initial
[i
]) {
39632 #ifdef SWIGRUNTIME_DEBUG
39633 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
39638 /* Check for casting already in the list */
39639 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
39640 #ifdef SWIGRUNTIME_DEBUG
39641 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39643 if (!ocast
) ret
= 0;
39648 #ifdef SWIGRUNTIME_DEBUG
39649 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39652 type
->cast
->prev
= cast
;
39653 cast
->next
= type
->cast
;
39659 /* Set entry in modules->types array equal to the type */
39660 swig_module
.types
[i
] = type
;
39662 swig_module
.types
[i
] = 0;
39664 #ifdef SWIGRUNTIME_DEBUG
39665 printf("**** SWIG_InitializeModule: Cast List ******\n");
39666 for (i
= 0; i
< swig_module
.size
; ++i
) {
39668 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39669 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39670 while (cast
->type
) {
39671 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39675 printf("---- Total casts: %d\n",j
);
39677 printf("**** SWIG_InitializeModule: Cast List ******\n");
39681 /* This function will propagate the clientdata field of type to
39682 * any new swig_type_info structures that have been added into the list
39683 * of equivalent types. It is like calling
39684 * SWIG_TypeClientData(type, clientdata) a second time.
39687 SWIG_PropagateClientData(void) {
39689 swig_cast_info
*equiv
;
39690 static int init_run
= 0;
39692 if (init_run
) return;
39695 for (i
= 0; i
< swig_module
.size
; i
++) {
39696 if (swig_module
.types
[i
]->clientdata
) {
39697 equiv
= swig_module
.types
[i
]->cast
;
39699 if (!equiv
->converter
) {
39700 if (equiv
->type
&& !equiv
->type
->clientdata
)
39701 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
39703 equiv
= equiv
->next
;
39723 /* Python-specific SWIG API */
39724 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39725 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39726 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39728 /* -----------------------------------------------------------------------------
39729 * global variable support code.
39730 * ----------------------------------------------------------------------------- */
39732 typedef struct swig_globalvar
{
39733 char *name
; /* Name of global variable */
39734 PyObject
*(*get_attr
)(void); /* Return the current value */
39735 int (*set_attr
)(PyObject
*); /* Set the value */
39736 struct swig_globalvar
*next
;
39739 typedef struct swig_varlinkobject
{
39741 swig_globalvar
*vars
;
39742 } swig_varlinkobject
;
39744 SWIGINTERN PyObject
*
39745 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
39746 return PyString_FromString("<Swig global variables>");
39749 SWIGINTERN PyObject
*
39750 swig_varlink_str(swig_varlinkobject
*v
) {
39751 PyObject
*str
= PyString_FromString("(");
39752 swig_globalvar
*var
;
39753 for (var
= v
->vars
; var
; var
=var
->next
) {
39754 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
39755 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
39757 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
39762 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
39763 PyObject
*str
= swig_varlink_str(v
);
39764 fprintf(fp
,"Swig global variables ");
39765 fprintf(fp
,"%s\n", PyString_AsString(str
));
39771 swig_varlink_dealloc(swig_varlinkobject
*v
) {
39772 swig_globalvar
*var
= v
->vars
;
39774 swig_globalvar
*n
= var
->next
;
39781 SWIGINTERN PyObject
*
39782 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39783 PyObject
*res
= NULL
;
39784 swig_globalvar
*var
= v
->vars
;
39786 if (strcmp(var
->name
,n
) == 0) {
39787 res
= (*var
->get_attr
)();
39792 if (res
== NULL
&& !PyErr_Occurred()) {
39793 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39799 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39801 swig_globalvar
*var
= v
->vars
;
39803 if (strcmp(var
->name
,n
) == 0) {
39804 res
= (*var
->set_attr
)(p
);
39809 if (res
== 1 && !PyErr_Occurred()) {
39810 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39815 SWIGINTERN PyTypeObject
*
39816 swig_varlink_type(void) {
39817 static char varlink__doc__
[] = "Swig var link object";
39818 static PyTypeObject varlink_type
;
39819 static int type_init
= 0;
39821 const PyTypeObject tmp
39823 PyObject_HEAD_INIT(NULL
)
39824 0, /* Number of items in variable part (ob_size) */
39825 (char *)"swigvarlink", /* Type name (tp_name) */
39826 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39827 0, /* Itemsize (tp_itemsize) */
39828 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
39829 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39830 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39831 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39832 0, /* tp_compare */
39833 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39834 0, /* tp_as_number */
39835 0, /* tp_as_sequence */
39836 0, /* tp_as_mapping */
39839 (reprfunc
)swig_varlink_str
, /* tp_str */
39840 0, /* tp_getattro */
39841 0, /* tp_setattro */
39842 0, /* tp_as_buffer */
39844 varlink__doc__
, /* tp_doc */
39845 0, /* tp_traverse */
39847 0, /* tp_richcompare */
39848 0, /* tp_weaklistoffset */
39849 #if PY_VERSION_HEX >= 0x02020000
39850 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39852 #if PY_VERSION_HEX >= 0x02030000
39855 #ifdef COUNT_ALLOCS
39856 0,0,0,0 /* tp_alloc -> tp_next */
39859 varlink_type
= tmp
;
39860 varlink_type
.ob_type
= &PyType_Type
;
39863 return &varlink_type
;
39866 /* Create a variable linking object for use later */
39867 SWIGINTERN PyObject
*
39868 SWIG_Python_newvarlink(void) {
39869 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39873 return ((PyObject
*) result
);
39877 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39878 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39879 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39881 size_t size
= strlen(name
)+1;
39882 gv
->name
= (char *)malloc(size
);
39884 strncpy(gv
->name
,name
,size
);
39885 gv
->get_attr
= get_attr
;
39886 gv
->set_attr
= set_attr
;
39887 gv
->next
= v
->vars
;
39893 SWIGINTERN PyObject
*
39895 static PyObject
*_SWIG_globals
= 0;
39896 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
39897 return _SWIG_globals
;
39900 /* -----------------------------------------------------------------------------
39901 * constants/methods manipulation
39902 * ----------------------------------------------------------------------------- */
39904 /* Install Constants */
39906 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39909 for (i
= 0; constants
[i
].type
; ++i
) {
39910 switch(constants
[i
].type
) {
39911 case SWIG_PY_POINTER
:
39912 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39914 case SWIG_PY_BINARY
:
39915 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39922 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
39928 /* -----------------------------------------------------------------------------*/
39929 /* Fix SwigMethods to carry the callback ptrs when needed */
39930 /* -----------------------------------------------------------------------------*/
39933 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39934 swig_const_info
*const_table
,
39935 swig_type_info
**types
,
39936 swig_type_info
**types_initial
) {
39938 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39939 const char *c
= methods
[i
].ml_doc
;
39940 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39942 swig_const_info
*ci
= 0;
39943 const char *name
= c
+ 10;
39944 for (j
= 0; const_table
[j
].type
; ++j
) {
39945 if (strncmp(const_table
[j
].name
, name
,
39946 strlen(const_table
[j
].name
)) == 0) {
39947 ci
= &(const_table
[j
]);
39952 size_t shift
= (ci
->ptype
) - types
;
39953 swig_type_info
*ty
= types_initial
[shift
];
39954 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39955 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39956 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39959 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39961 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39963 strncpy(buff
, "swig_ptr: ", 10);
39965 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
39966 methods
[i
].ml_doc
= ndoc
;
39978 /* -----------------------------------------------------------------------------*
39979 * Partial Init method
39980 * -----------------------------------------------------------------------------*/
39985 SWIGEXPORT
void SWIG_init(void) {
39988 /* Fix SwigMethods to carry the callback ptrs when needed */
39989 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
39991 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
39992 d
= PyModule_GetDict(m
);
39994 SWIG_InitializeModule(0);
39995 SWIG_InstallConstants(d
,swig_const_table
);
39998 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
39999 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
40000 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
40001 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
40002 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
40003 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
40004 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
40005 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
40006 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
40007 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
40008 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
40009 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
40010 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
40011 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
40012 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
40013 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
40014 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
40015 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
40016 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
40017 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
40018 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
40019 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
40020 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
40021 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
40022 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
40023 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
40024 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
40025 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
40026 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
40027 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
40028 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
40029 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
40030 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
40031 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
40032 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
40033 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
40034 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
40035 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
40036 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
40037 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
40038 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
40039 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
40040 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
40041 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
40042 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
40043 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
40044 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
40045 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
40046 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
40047 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
40048 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
40049 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
40050 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
40051 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
40052 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
40053 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
40054 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
40055 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
40056 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
40057 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
40058 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
40059 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
40060 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
40061 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
40062 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
40063 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
40064 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
40065 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
40066 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
40067 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
40068 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
40069 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
40070 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
40071 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
40072 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
40073 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
40074 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
40075 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
40076 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
40077 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
40078 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
40079 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
40080 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
40081 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
40082 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
40083 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
40084 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
40085 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
40086 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
40087 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
40088 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
40089 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
40090 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
40091 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
40092 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
40093 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
40094 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
40095 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
40096 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
40097 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
40098 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
40099 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
40100 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
40101 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
40102 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
40103 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
40104 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
40105 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
40106 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
40107 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
40108 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
40109 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
40110 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
40111 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
40112 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
40113 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
40114 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
40115 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
40116 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
40117 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
40118 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
40119 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
40120 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
40121 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
40122 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
40123 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
40124 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
40125 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
40126 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
40127 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
40128 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
40129 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
40130 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
40131 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
40132 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
40133 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
40134 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
40135 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
40136 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
40137 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
40138 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
40139 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
40140 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
40141 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
40142 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
40143 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
40144 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
40145 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
40147 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
40149 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
40150 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
40151 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
40152 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
40153 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
40154 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
40155 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
40156 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
40157 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
40158 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
40159 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
40160 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
40161 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
40162 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
40163 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
40164 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
40165 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
40166 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
40167 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
40168 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
40169 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
40170 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
40171 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
40172 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
40173 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
40174 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
40175 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
40176 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
40177 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
40178 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
40179 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
40180 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
40181 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
40182 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
40183 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
40184 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
40185 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
40186 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
40187 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
40188 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
40189 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
40190 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
40191 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
40192 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
40193 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
40194 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
40195 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
40196 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
40197 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
40198 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
40199 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
40200 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
40201 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
40203 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
40205 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
40206 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
40207 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
40208 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
40209 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
40210 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
40211 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
40212 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
40213 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
40214 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
40215 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
40216 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
40217 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
40218 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
40219 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
40220 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
40221 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
40222 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
40223 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
40224 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
40225 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
40226 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
40227 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
40228 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
40229 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
40230 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
40231 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
40232 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
40233 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
40234 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
40235 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
40236 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
40237 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
40238 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
40239 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
40240 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
40241 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
40242 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
40243 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
40244 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
40245 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
40246 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
40247 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
40248 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
40249 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
40250 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
40251 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
40252 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
40253 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
40254 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
40255 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
40256 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
40257 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
40258 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
40259 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
40260 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
40261 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
40262 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
40263 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
40264 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
40265 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
40266 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
40267 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
40268 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
40269 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
40270 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
40271 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
40272 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
40273 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
40274 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
40275 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
40276 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
40277 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
40278 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
40279 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
40280 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
40282 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
40284 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
40285 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
40286 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
40287 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
40288 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
40289 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
40290 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
40291 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
40292 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
40293 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
40294 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
40295 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
40296 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
40297 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
40298 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
40299 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
40300 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
40301 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
40302 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
40303 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
40304 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
40305 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
40306 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
40307 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
40308 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
40309 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
40310 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
40311 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
40312 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
40313 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
40314 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
40315 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
40316 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
40317 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
40318 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
40319 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
40320 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
40321 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
40322 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
40323 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
40324 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
40325 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
40326 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
40327 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
40328 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
40329 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
40330 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
40331 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
40332 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
40333 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
40334 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
40335 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
40336 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
40337 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
40338 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
40339 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
40340 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
40341 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
40342 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
40343 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
40344 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
40345 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
40346 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
40347 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
40348 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
40349 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
40350 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
40351 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
40352 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
40353 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
40354 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
40355 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
40356 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
40357 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
40358 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
40359 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
40360 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
40361 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
40362 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
40363 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
40364 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
40365 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
40366 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
40367 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
40368 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
40369 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
40370 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
40371 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
40372 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
40373 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
40374 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
40375 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
40376 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
40377 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
40378 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
40379 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
40380 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
40381 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
40382 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
40383 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
40384 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
40385 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
40386 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
40387 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
40388 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
40389 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
40390 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
40391 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
40392 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
40393 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
40394 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
40395 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
40396 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
40397 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
40398 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
40399 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
40400 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
40401 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
40402 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
40403 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
40404 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
40405 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
40406 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
40407 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
40408 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
40409 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
40410 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
40411 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
40412 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
40413 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
40414 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
40415 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
40416 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
40417 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
40418 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
40419 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
40420 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
40421 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
40422 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
40423 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
40424 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
40425 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
40426 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
40427 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
40428 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
40429 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
40430 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
40431 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
40432 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
40433 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
40434 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
40435 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
40436 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
40437 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
40438 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
40439 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
40440 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
40441 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
40442 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
40443 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
40444 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
40445 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
40446 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
40447 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
40448 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
40449 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
40450 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
40451 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
40452 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
40453 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
40454 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
40455 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
40456 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
40457 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
40458 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
40459 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
40460 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
40461 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
40462 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
40463 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
40464 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
40465 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
40466 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
40467 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
40468 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
40469 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
40470 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
40471 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
40472 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
40473 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
40474 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
40475 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
40476 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
40477 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
40478 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
40479 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
40480 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
40481 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
40482 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
40483 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
40485 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
40486 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
40487 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
40488 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
40490 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
40491 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
40492 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
40493 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
40494 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
40495 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
40496 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
40497 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
40498 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
40499 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
40500 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
40501 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
40502 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
40503 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
40504 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
40505 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));