1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
2482 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2484 #define SWIGTYPE_p_wxCaret swig_types[18]
2485 #define SWIGTYPE_p_wxChar swig_types[19]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2487 #define SWIGTYPE_p_wxClipboard swig_types[21]
2488 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
2489 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[23]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[24]
2491 #define SWIGTYPE_p_wxColour swig_types[25]
2492 #define SWIGTYPE_p_wxCommandEvent swig_types[26]
2493 #define SWIGTYPE_p_wxConfig swig_types[27]
2494 #define SWIGTYPE_p_wxConfigBase swig_types[28]
2495 #define SWIGTYPE_p_wxConfigPathChanger swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDataFormat swig_types[36]
2503 #define SWIGTYPE_p_wxDataObject swig_types[37]
2504 #define SWIGTYPE_p_wxDataObjectComposite swig_types[38]
2505 #define SWIGTYPE_p_wxDataObjectSimple swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDateSpan swig_types[41]
2508 #define SWIGTYPE_p_wxDateTime swig_types[42]
2509 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[43]
2510 #define SWIGTYPE_p_wxDisplay swig_types[44]
2511 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDropFilesEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDuplexMode swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileConfig swig_types[52]
2519 #define SWIGTYPE_p_wxFileDataObject swig_types[53]
2520 #define SWIGTYPE_p_wxFileHistory swig_types[54]
2521 #define SWIGTYPE_p_wxFileSystem swig_types[55]
2522 #define SWIGTYPE_p_wxFileType swig_types[56]
2523 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
2524 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2525 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2526 #define SWIGTYPE_p_wxFont swig_types[60]
2527 #define SWIGTYPE_p_wxFrame swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGridBagSizer swig_types[64]
2531 #define SWIGTYPE_p_wxGridSizer swig_types[65]
2532 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2533 #define SWIGTYPE_p_wxIcon swig_types[67]
2534 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2535 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2536 #define SWIGTYPE_p_wxImage swig_types[70]
2537 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxJoystick swig_types[75]
2542 #define SWIGTYPE_p_wxJoystickEvent swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxKillError swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLog swig_types[80]
2547 #define SWIGTYPE_p_wxLogBuffer swig_types[81]
2548 #define SWIGTYPE_p_wxLogChain swig_types[82]
2549 #define SWIGTYPE_p_wxLogGui swig_types[83]
2550 #define SWIGTYPE_p_wxLogNull swig_types[84]
2551 #define SWIGTYPE_p_wxLogStderr swig_types[85]
2552 #define SWIGTYPE_p_wxLogTextCtrl swig_types[86]
2553 #define SWIGTYPE_p_wxLogWindow swig_types[87]
2554 #define SWIGTYPE_p_wxMaximizeEvent swig_types[88]
2555 #define SWIGTYPE_p_wxMenu swig_types[89]
2556 #define SWIGTYPE_p_wxMenuBar swig_types[90]
2557 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMenuItem swig_types[92]
2559 #define SWIGTYPE_p_wxMetafileDataObject swig_types[93]
2560 #define SWIGTYPE_p_wxMimeTypesManager swig_types[94]
2561 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseState swig_types[98]
2565 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
2567 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxObject swig_types[104]
2571 #define SWIGTYPE_p_wxOutputStream swig_types[105]
2572 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2578 #define SWIGTYPE_p_wxPlatformInfo swig_types[112]
2579 #define SWIGTYPE_p_wxPoint swig_types[113]
2580 #define SWIGTYPE_p_wxPowerEvent swig_types[114]
2581 #define SWIGTYPE_p_wxProcessEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPyApp swig_types[116]
2583 #define SWIGTYPE_p_wxPyArtProvider swig_types[117]
2584 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[118]
2585 #define SWIGTYPE_p_wxPyCommandEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[120]
2587 #define SWIGTYPE_p_wxPyDropSource swig_types[121]
2588 #define SWIGTYPE_p_wxPyDropTarget swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[124]
2591 #define SWIGTYPE_p_wxPyImageHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPyLog swig_types[126]
2593 #define SWIGTYPE_p_wxPyProcess swig_types[127]
2594 #define SWIGTYPE_p_wxPySizer swig_types[128]
2595 #define SWIGTYPE_p_wxPyTextDataObject swig_types[129]
2596 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[130]
2597 #define SWIGTYPE_p_wxPyTimer swig_types[131]
2598 #define SWIGTYPE_p_wxPyTipProvider swig_types[132]
2599 #define SWIGTYPE_p_wxPyValidator swig_types[133]
2600 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[134]
2601 #define SWIGTYPE_p_wxRect swig_types[135]
2602 #define SWIGTYPE_p_wxScrollEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSound swig_types[145]
2612 #define SWIGTYPE_p_wxStandardPaths swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxStopWatch swig_types[149]
2616 #define SWIGTYPE_p_wxString swig_types[150]
2617 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSystemOptions swig_types[152]
2619 #define SWIGTYPE_p_wxSystemSettings swig_types[153]
2620 #define SWIGTYPE_p_wxTIFFHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextDataObject swig_types[156]
2623 #define SWIGTYPE_p_wxTimeSpan swig_types[157]
2624 #define SWIGTYPE_p_wxTimer swig_types[158]
2625 #define SWIGTYPE_p_wxTimerEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTimerRunner swig_types[160]
2627 #define SWIGTYPE_p_wxTipProvider swig_types[161]
2628 #define SWIGTYPE_p_wxToolTip swig_types[162]
2629 #define SWIGTYPE_p_wxURLDataObject swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxVideoMode swig_types[166]
2633 #define SWIGTYPE_p_wxWindow swig_types[167]
2634 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxWindowDisabler swig_types[170]
2637 #define SWIGTYPE_p_wxXPMHandler swig_types[171]
2638 static swig_type_info
*swig_types
[173];
2639 static swig_module_info swig_module
= {swig_types
, 172, 0, 0, 0, 0};
2640 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2641 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2643 /* -------- TYPES TABLE (END) -------- */
2645 #if (PY_VERSION_HEX <= 0x02000000)
2646 # if !defined(SWIG_PYTHON_CLASSIC)
2647 # error "This python version requires to use swig with the '-classic' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodern' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodernargs' option"
2657 # error "This python version requires to use swig with the '-nofastunpack' option"
2660 /*-----------------------------------------------
2661 @(target):= _misc_.so
2662 ------------------------------------------------*/
2663 #define SWIG_init init_misc_
2665 #define SWIG_name "_misc_"
2667 #define SWIGVERSION 0x010329
2670 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2671 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2674 #include <stdexcept>
2678 class PyObject_ptr
{
2683 PyObject_ptr() :_obj(0)
2687 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2692 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2694 if (initial_ref
) Py_XINCREF(_obj
);
2697 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2699 Py_XINCREF(item
._obj
);
2710 operator PyObject
*() const
2715 PyObject
*operator->() const
2724 struct PyObject_var
: PyObject_ptr
{
2725 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2727 PyObject_var
& operator = (PyObject
* obj
)
2737 #include "wx/wxPython/wxPython.h"
2738 #include "wx/wxPython/pyclasses.h"
2739 #include "wx/wxPython/pyistream.h"
2741 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 #define SWIG_From_long PyInt_FromLong
2748 SWIGINTERNINLINE PyObject
*
2749 SWIG_From_int (int value
)
2751 return SWIG_From_long (value
);
2757 # define LLONG_MIN LONG_LONG_MIN
2760 # define LLONG_MAX LONG_LONG_MAX
2763 # define ULLONG_MAX ULONG_LONG_MAX
2768 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2770 if (PyNumber_Check(obj
)) {
2771 if (val
) *val
= PyInt_AsLong(obj
);
2774 return SWIG_TypeError
;
2779 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2782 int res
= SWIG_AsVal_long (obj
, &v
);
2783 if (SWIG_IsOK(res
)) {
2784 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2785 return SWIG_OverflowError
;
2787 if (val
) *val
= static_cast< int >(v
);
2793 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2795 #include <wx/stockitem.h>
2797 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2798 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2799 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2819 wxMemorySize
wxGetFreeMemory()
2820 { wxPyRaiseNotImplemented(); return 0; }
2824 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2827 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2828 return SWIG_TypeError
;
2831 *val
= (unsigned long)v
;
2836 SWIGINTERNINLINE PyObject
*
2837 SWIG_From_unsigned_SS_long (unsigned long value
)
2839 return (value
> LONG_MAX
) ?
2840 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2844 void* wxGetXDisplay()
2847 return wxGetDisplay();
2854 wxWindow
* FindWindowAtPointer() {
2856 return wxFindWindowAtPointer(unused
);
2860 void wxWakeUpMainThread() {}
2863 bool wxThread_IsMain() {
2864 #ifdef WXP_WITH_THREAD
2865 return wxThread::IsMain();
2871 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2875 #include <wx/snglinst.h>
2879 #include <wx/msw/private.h>
2880 #include <wx/dynload.h>
2885 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2896 // This one only partially works. Appears to be an undocumented
2897 // "standard" convention that not all widgets adhear to. For
2898 // example, for some widgets backgrounds or non-client areas may
2900 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2905 // This one works much better, nearly all widgets and their
2906 // children are captured correctly[**]. Prior to the big
2907 // background erase changes that Vadim did in 2004-2005 this
2908 // method failed badly on XP with Themes activated, most native
2909 // widgets draw only partially, if at all. Without themes it
2910 // worked just like on Win2k. After those changes this method
2913 // ** For example the radio buttons in a wxRadioBox are not its
2914 // children by default, but you can capture it via the panel
2915 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2916 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2917 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2918 PRF_ERASEBKGND
| PRF_OWNED
);
2924 // This one is only defined in the latest SDK and is only
2925 // available on XP. MSDN says it is similar to sending WM_PRINT
2926 // so I expect that it will work similar to the above. Since it
2927 // is avaialble only on XP, it can't be compiled like this and
2928 // will have to be loaded dynamically.
2929 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2934 // Use PrintWindow if available, or fallback to WM_PRINT
2935 // otherwise. Unfortunately using PrintWindow is even worse than
2936 // WM_PRINT. For most native widgets nothing is drawn to the dc
2937 // at all, with or without Themes.
2938 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2939 static bool s_triedToLoad
= false;
2940 static PrintWindow_t pfnPrintWindow
= NULL
;
2941 if ( !s_triedToLoad
)
2944 s_triedToLoad
= true;
2945 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2946 if ( dllUser32
.IsLoaded() )
2948 wxLogNull nolog
; // Don't report errors here
2949 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2954 //printf("Using PrintWindow\n");
2955 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2959 //printf("Using WM_PRINT\n");
2960 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2961 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2962 PRF_ERASEBKGND
| PRF_OWNED
);
2973 #include <wx/tipdlg.h>
2976 SWIGINTERNINLINE PyObject
*
2977 SWIG_From_size_t (size_t value
)
2979 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2983 class wxPyTipProvider
: public wxTipProvider
{
2985 wxPyTipProvider(size_t currentTip
)
2986 : wxTipProvider(currentTip
) {}
2988 DEC_PYCALLBACK_STRING__pure(GetTip
);
2989 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2993 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2994 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2997 SWIGINTERNINLINE
int
2998 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3001 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3002 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3007 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3009 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3011 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3012 : wxTimer(owner
, id
)
3019 SWIGINTERN swig_type_info
*
3020 SWIG_pchar_descriptor()
3022 static int init
= 0;
3023 static swig_type_info
* info
= 0;
3025 info
= SWIG_TypeQuery("_p_char");
3032 SWIGINTERNINLINE PyObject
*
3033 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3036 if (size
> INT_MAX
) {
3037 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3038 return pchar_descriptor
?
3039 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3041 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3044 return SWIG_Py_Void();
3049 SWIGINTERNINLINE PyObject
*
3050 SWIG_FromCharPtr(const char *cptr
)
3052 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3057 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3060 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3061 if (SWIG_IsOK(res
)) {
3062 if ((v
> UINT_MAX
)) {
3063 return SWIG_OverflowError
;
3065 if (val
) *val
= static_cast< unsigned int >(v
);
3071 SWIGINTERN wxString
wxLog_TimeStamp(){
3073 wxLog::TimeStamp(&msg
);
3076 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3077 // Make some wrappers that double any % signs so they are 'escaped'
3078 void wxPyLogFatalError(const wxString
& msg
)
3081 m
.Replace(wxT("%"), wxT("%%"));
3085 void wxPyLogError(const wxString
& msg
)
3088 m
.Replace(wxT("%"), wxT("%%"));
3092 void wxPyLogWarning(const wxString
& msg
)
3095 m
.Replace(wxT("%"), wxT("%%"));
3099 void wxPyLogMessage(const wxString
& msg
)
3102 m
.Replace(wxT("%"), wxT("%%"));
3106 void wxPyLogInfo(const wxString
& msg
)
3109 m
.Replace(wxT("%"), wxT("%%"));
3113 void wxPyLogDebug(const wxString
& msg
)
3116 m
.Replace(wxT("%"), wxT("%%"));
3120 void wxPyLogVerbose(const wxString
& msg
)
3123 m
.Replace(wxT("%"), wxT("%%"));
3127 void wxPyLogStatus(const wxString
& msg
)
3130 m
.Replace(wxT("%"), wxT("%%"));
3134 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3137 m
.Replace(wxT("%"), wxT("%%"));
3138 wxLogStatus(pFrame
, m
);
3141 void wxPyLogSysError(const wxString
& msg
)
3144 m
.Replace(wxT("%"), wxT("%%"));
3148 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3151 m
.Replace(wxT("%"), wxT("%%"));
3152 wxLogGeneric(level
, m
);
3155 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3158 m
.Replace(wxT("%"), wxT("%%"));
3159 wxLogTrace(mask
, m
);
3162 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3165 m
.Replace(wxT("%"), wxT("%%"));
3166 wxLogTrace(mask
, m
);
3171 // A wxLog class that can be derived from in wxPython
3172 class wxPyLog
: public wxLog
{
3174 wxPyLog() : wxLog() {}
3176 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3179 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3180 PyObject
* s
= wx2PyString(szString
);
3181 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3184 wxPyEndBlockThreads(blocked
);
3186 wxLog::DoLog(level
, szString
, t
);
3189 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3192 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3193 PyObject
* s
= wx2PyString(szString
);
3194 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3197 wxPyEndBlockThreads(blocked
);
3199 wxLog::DoLogString(szString
, t
);
3202 DEC_PYCALLBACK_VOID_(Flush
);
3205 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3210 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3213 #include <wx/joystick.h>
3216 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3217 // A C++ stub class for wxJoystick for platforms that don't have it.
3218 class wxJoystick
: public wxObject
{
3220 wxJoystick(int joystick
= wxJOYSTICK1
) {
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyErr_SetString(PyExc_NotImplementedError
,
3223 "wxJoystick is not available on this platform.");
3224 wxPyEndBlockThreads(blocked
);
3226 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3227 int GetZPosition() { return -1; }
3228 int GetButtonState() { return -1; }
3229 int GetPOVPosition() { return -1; }
3230 int GetPOVCTSPosition() { return -1; }
3231 int GetRudderPosition() { return -1; }
3232 int GetUPosition() { return -1; }
3233 int GetVPosition() { return -1; }
3234 int GetMovementThreshold() { return -1; }
3235 void SetMovementThreshold(int threshold
) {}
3237 bool IsOk(void) { return false; }
3238 int GetNumberJoysticks() { return -1; }
3239 int GetManufacturerId() { return -1; }
3240 int GetProductId() { return -1; }
3241 wxString
GetProductName() { return wxEmptyString
; }
3242 int GetXMin() { return -1; }
3243 int GetYMin() { return -1; }
3244 int GetZMin() { return -1; }
3245 int GetXMax() { return -1; }
3246 int GetYMax() { return -1; }
3247 int GetZMax() { return -1; }
3248 int GetNumberButtons() { return -1; }
3249 int GetNumberAxes() { return -1; }
3250 int GetMaxButtons() { return -1; }
3251 int GetMaxAxes() { return -1; }
3252 int GetPollingMin() { return -1; }
3253 int GetPollingMax() { return -1; }
3254 int GetRudderMin() { return -1; }
3255 int GetRudderMax() { return -1; }
3256 int GetUMin() { return -1; }
3257 int GetUMax() { return -1; }
3258 int GetVMin() { return -1; }
3259 int GetVMax() { return -1; }
3261 bool HasRudder() { return false; }
3262 bool HasZ() { return false; }
3263 bool HasU() { return false; }
3264 bool HasV() { return false; }
3265 bool HasPOV() { return false; }
3266 bool HasPOV4Dir() { return false; }
3267 bool HasPOVCTS() { return false; }
3269 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3270 bool ReleaseCapture() { return false; }
3275 #include <wx/sound.h>
3279 // A C++ stub class for wxWave for platforms that don't have it.
3280 class wxSound
: public wxObject
3284 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3285 PyErr_SetString(PyExc_NotImplementedError
,
3286 "wxSound is not available on this platform.");
3287 wxPyEndBlockThreads(blocked
);
3289 wxSound(const wxString
&/*, bool*/) {
3290 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3291 PyErr_SetString(PyExc_NotImplementedError
,
3292 "wxSound is not available on this platform.");
3293 wxPyEndBlockThreads(blocked
);
3295 wxSound(int, const wxByte
*) {
3296 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3297 PyErr_SetString(PyExc_NotImplementedError
,
3298 "wxSound is not available on this platform.");
3299 wxPyEndBlockThreads(blocked
);
3304 bool Create(const wxString
&/*, bool*/) { return false; }
3305 bool Create(int, const wxByte
*) { return false; };
3306 bool IsOk() { return false; };
3307 bool Play(unsigned) const { return false; }
3308 static bool Play(const wxString
&, unsigned) { return false; }
3309 static void Stop() {}
3314 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3315 if (fileName
.Length() == 0)
3318 return new wxSound(fileName
);
3320 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3321 unsigned char* buffer
; int size
;
3322 wxSound
*sound
= NULL
;
3324 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3325 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3327 sound
= new wxSound(size
, buffer
);
3329 wxPyEndBlockThreads(blocked
);
3332 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3334 unsigned char* buffer
;
3338 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3339 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3341 rv
= self
->Create(size
, buffer
);
3343 wxPyEndBlockThreads(blocked
);
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 PyErr_SetString(PyExc_NotImplementedError
,
3348 "Create from data is not available on this platform.");
3349 wxPyEndBlockThreads(blocked
);
3354 #include <wx/mimetype.h>
3356 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3358 if (self
->GetMimeType(&str
))
3359 return wx2PyString(str
);
3363 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3365 if (self
->GetMimeTypes(arr
))
3366 return wxArrayString2PyList_helper(arr
);
3370 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3372 if (self
->GetExtensions(arr
))
3373 return wxArrayString2PyList_helper(arr
);
3377 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3379 if (self
->GetIcon(&loc
))
3380 return new wxIcon(loc
);
3384 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3386 if (self
->GetIcon(&loc
)) {
3387 wxString iconFile
= loc
.GetFileName();
3392 // Make a tuple and put the values in it
3393 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3394 PyObject
* tuple
= PyTuple_New(3);
3395 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3396 wxT("wxIcon"), true));
3397 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3398 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3399 wxPyEndBlockThreads(blocked
);
3405 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3407 if (self
->GetDescription(&str
))
3408 return wx2PyString(str
);
3412 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3414 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3415 return wx2PyString(str
);
3419 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3421 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3422 return wx2PyString(str
);
3426 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3427 wxArrayString verbs
;
3428 wxArrayString commands
;
3429 if (self
->GetAllCommands(&verbs
, &commands
,
3430 wxFileType::MessageParameters(filename
, mimetype
))) {
3431 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3432 PyObject
* tuple
= PyTuple_New(2);
3433 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3434 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3435 wxPyEndBlockThreads(blocked
);
3441 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3442 return wxFileType::ExpandCommand(command
,
3443 wxFileType::MessageParameters(filename
, mimetype
));
3445 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3447 self
->EnumAllFileTypes(arr
);
3448 return wxArrayString2PyList_helper(arr
);
3451 #include <wx/artprov.h>
3453 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3454 static const wxString
wxPyART_MENU(wxART_MENU
);
3455 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3456 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3457 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3458 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3459 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3460 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3461 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3462 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3463 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3464 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3465 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3466 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3467 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3468 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3469 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3470 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3471 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3472 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3473 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3474 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3475 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3476 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3477 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3478 static const wxString
wxPyART_HELP(wxART_HELP
);
3479 static const wxString
wxPyART_TIP(wxART_TIP
);
3480 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3481 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3482 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3483 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3484 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3485 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3486 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3487 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3488 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3489 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3490 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3491 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3492 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3493 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3494 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3495 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3496 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3497 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3498 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3499 static const wxString
wxPyART_COPY(wxART_COPY
);
3500 static const wxString
wxPyART_CUT(wxART_CUT
);
3501 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3502 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3503 static const wxString
wxPyART_NEW(wxART_NEW
);
3504 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3505 static const wxString
wxPyART_REDO(wxART_REDO
);
3506 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3507 static const wxString
wxPyART_FIND(wxART_FIND
);
3508 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3509 // Python aware wxArtProvider
3510 class wxPyArtProvider
: public wxArtProvider
{
3513 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3514 const wxArtClient
& client
,
3515 const wxSize
& size
) {
3516 wxBitmap rval
= wxNullBitmap
;
3517 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3518 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3519 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3523 s1
= wx2PyString(id
);
3524 s2
= wx2PyString(client
);
3525 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3530 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3535 wxPyEndBlockThreads(blocked
);
3542 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3546 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3547 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3548 PyObject
* ret
= PyTuple_New(3);
3550 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3551 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3552 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3554 wxPyEndBlockThreads(blocked
);
3558 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3563 cont
= self
->GetFirstGroup(value
, index
);
3564 return __EnumerationHelper(cont
, value
, index
);
3566 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3570 cont
= self
->GetNextGroup(value
, index
);
3571 return __EnumerationHelper(cont
, value
, index
);
3573 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3578 cont
= self
->GetFirstEntry(value
, index
);
3579 return __EnumerationHelper(cont
, value
, index
);
3581 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3585 cont
= self
->GetNextEntry(value
, index
);
3586 return __EnumerationHelper(cont
, value
, index
);
3588 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3590 self
->Read(key
, &rv
, defaultVal
);
3595 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3597 if (PyNumber_Check(obj
)) {
3598 if (val
) *val
= PyFloat_AsDouble(obj
);
3601 return SWIG_TypeError
;
3604 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3606 self
->Read(key
, &rv
, defaultVal
);
3610 #define SWIG_From_double PyFloat_FromDouble
3612 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3614 self
->Read(key
, &rv
, defaultVal
);
3618 #include <wx/datetime.h>
3620 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3621 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3623 #define LOCAL_TZ wxDateTime::Local
3625 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3628 wxDateTime::GetAmPmStrings(&am
, &pm
);
3629 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3630 PyObject
* tup
= PyTuple_New(2);
3631 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3632 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3633 wxPyEndBlockThreads(blocked
);
3637 SWIGINTERNINLINE PyObject
*
3638 SWIG_From_unsigned_SS_int (unsigned int value
)
3640 return SWIG_From_unsigned_SS_long (value
);
3643 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3644 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3645 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3646 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3647 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3648 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3649 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3650 return (*self
< *other
);
3652 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3653 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3654 return (*self
<= *other
);
3656 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3657 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3658 return (*self
> *other
);
3660 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3661 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3662 return (*self
>= *other
);
3664 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3665 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3666 return (*self
== *other
);
3668 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3669 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3670 return (*self
!= *other
);
3672 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3674 const wxChar
* _date
= date
;
3675 rv
= self
->ParseRfc822Date(_date
);
3676 if (rv
== NULL
) return -1;
3679 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3681 const wxChar
* _date
= date
;
3682 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3683 if (rv
== NULL
) return -1;
3686 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3688 const wxChar
* _datetime
= datetime
;
3689 rv
= self
->ParseDateTime(_datetime
);
3690 if (rv
== NULL
) return -1;
3691 return rv
- _datetime
;
3693 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3695 const wxChar
* _date
= date
;
3696 rv
= self
->ParseDate(_date
);
3697 if (rv
== NULL
) return -1;
3700 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3702 const wxChar
* _time
= time
;
3703 rv
= self
->ParseTime(_time
);
3704 if (rv
== NULL
) return -1;
3707 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3708 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3709 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3710 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3711 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3712 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3713 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3714 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3715 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3716 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3717 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3718 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3719 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3720 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3721 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3722 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3724 #include <wx/dataobj.h>
3726 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3727 size_t count
= self
->GetFormatCount(dir
);
3728 wxDataFormat
* formats
= new wxDataFormat
[count
];
3729 self
->GetAllFormats(formats
, dir
);
3731 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3732 PyObject
* list
= PyList_New(count
);
3733 for (size_t i
=0; i
<count
; i
++) {
3734 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3735 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3736 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3738 wxPyEndBlockThreads(blocked
);
3742 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3743 PyObject
* rval
= NULL
;
3744 size_t size
= self
->GetDataSize(format
);
3745 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3747 char* buf
= new char[size
];
3748 if (self
->GetDataHere(format
, buf
))
3749 rval
= PyString_FromStringAndSize(buf
, size
);
3756 wxPyEndBlockThreads(blocked
);
3759 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3761 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3762 if (PyString_Check(data
)) {
3763 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3766 // raise a TypeError if not a string
3767 PyErr_SetString(PyExc_TypeError
, "String expected.");
3770 wxPyEndBlockThreads(blocked
);
3773 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3774 PyObject
* rval
= NULL
;
3775 size_t size
= self
->GetDataSize();
3776 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3778 char* buf
= new char[size
];
3779 if (self
->GetDataHere(buf
))
3780 rval
= PyString_FromStringAndSize(buf
, size
);
3787 wxPyEndBlockThreads(blocked
);
3790 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3792 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3793 if (PyString_Check(data
)) {
3794 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3797 // raise a TypeError if not a string
3798 PyErr_SetString(PyExc_TypeError
, "String expected.");
3801 wxPyEndBlockThreads(blocked
);
3804 // Create a new class for wxPython to use
3805 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3807 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3808 : wxDataObjectSimple(format
) {}
3810 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3811 bool GetDataHere(void *buf
) const;
3812 bool SetData(size_t len
, const void *buf
);
3816 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3818 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3819 // We need to get the data for this object and write it to buf. I think
3820 // the best way to do this for wxPython is to have the Python method
3821 // return either a string or None and then act appropriately with the
3825 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3826 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3828 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3830 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3832 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3836 wxPyEndBlockThreads(blocked
);
3840 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3841 // For this one we simply need to make a string from buf and len
3842 // and send it to the Python method.
3844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3845 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3846 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3847 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3850 wxPyEndBlockThreads(blocked
);
3854 // Create a new class for wxPython to use
3855 class wxPyTextDataObject
: public wxTextDataObject
{
3857 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3858 : wxTextDataObject(text
) {}
3860 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3861 DEC_PYCALLBACK_STRING__const(GetText
);
3862 DEC_PYCALLBACK__STRING(SetText
);
3866 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3867 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3868 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3871 // Create a new class for wxPython to use
3872 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3874 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3875 : wxBitmapDataObject(bitmap
) {}
3877 wxBitmap
GetBitmap() const;
3878 void SetBitmap(const wxBitmap
& bitmap
);
3882 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3883 wxBitmap
* rval
= &wxNullBitmap
;
3884 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3885 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3888 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3890 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3895 wxPyEndBlockThreads(blocked
);
3899 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3900 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3901 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3902 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3903 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3906 wxPyEndBlockThreads(blocked
);
3909 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3910 return new wxCustomDataObject(wxDataFormat(formatName
));
3912 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3914 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3915 if (PyString_Check(data
)) {
3916 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3919 // raise a TypeError if not a string
3920 PyErr_SetString(PyExc_TypeError
, "String expected.");
3923 wxPyEndBlockThreads(blocked
);
3926 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3928 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3929 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3930 wxPyEndBlockThreads(blocked
);
3934 class wxMetafileDataObject
: public wxDataObjectSimple
3937 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3941 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3944 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3945 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3946 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3947 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3948 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3951 class wxPyTextDropTarget
: public wxTextDropTarget
{
3953 wxPyTextDropTarget() {}
3955 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3957 DEC_PYCALLBACK__(OnLeave
);
3958 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3959 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3960 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3961 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3966 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3967 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3968 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3969 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3970 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3971 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3975 class wxPyFileDropTarget
: public wxFileDropTarget
{
3977 wxPyFileDropTarget() {}
3979 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3981 DEC_PYCALLBACK__(OnLeave
);
3982 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3983 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3984 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3985 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3990 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3991 const wxArrayString
& filenames
) {
3993 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3994 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3995 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3996 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3999 wxPyEndBlockThreads(blocked
);
4005 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4006 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4007 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4008 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4009 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4014 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4016 #include <wx/display.h>
4018 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4019 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4022 const wxVideoMode wxDefaultVideoMode
;
4025 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4027 PyObject
* pyList
= NULL
;
4028 wxArrayVideoModes arr
= self
->GetModes(mode
);
4029 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4030 pyList
= PyList_New(0);
4031 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4033 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4034 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4035 PyList_Append(pyList
, pyObj
);
4038 wxPyEndBlockThreads(blocked
);
4041 wxPyRaiseNotImplemented();
4045 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4047 return self
->GetCurrentMode();
4049 wxPyRaiseNotImplemented();
4050 return wxDefaultVideoMode
;
4053 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4055 return self
->ChangeMode(mode
);
4057 wxPyRaiseNotImplemented();
4061 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4065 wxPyRaiseNotImplemented();
4069 #include <wx/stdpaths.h>
4071 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4072 return (wxStandardPaths
*) &wxStandardPaths::Get();
4075 #ifndef wxHAS_POWER_EVENTS
4076 // Dummy class and other definitions for platforms that don't have them
4078 // See wxPython_int.h for wxPowerEvent
4081 wxEVT_POWER_SUSPENDING
,
4082 wxEVT_POWER_SUSPENDED
,
4083 wxEVT_POWER_SUSPEND_CANCEL
,
4087 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4088 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4095 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
= 0;
4097 wxSystemColour arg1
;
4101 PyObject
* obj0
= 0 ;
4102 char * kwnames
[] = {
4103 (char *) "index", NULL
4106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4108 if (!SWIG_IsOK(ecode1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4111 arg1
= static_cast< wxSystemColour
>(val1
);
4113 if (!wxPyCheckForApp()) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= wxSystemSettings::GetColour(arg1
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4126 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
= 0;
4132 PyObject
* obj0
= 0 ;
4133 char * kwnames
[] = {
4134 (char *) "index", NULL
4137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4138 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4139 if (!SWIG_IsOK(ecode1
)) {
4140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4142 arg1
= static_cast< wxSystemFont
>(val1
);
4144 if (!wxPyCheckForApp()) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= wxSystemSettings::GetFont(arg1
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4157 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
= 0;
4159 wxSystemMetric arg1
;
4160 wxWindow
*arg2
= (wxWindow
*) NULL
;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4168 char * kwnames
[] = {
4169 (char *) "index",(char *) "win", NULL
4172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4173 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4174 if (!SWIG_IsOK(ecode1
)) {
4175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4177 arg1
= static_cast< wxSystemMetric
>(val1
);
4179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4180 if (!SWIG_IsOK(res2
)) {
4181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4183 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4186 if (!wxPyCheckForApp()) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_From_int(static_cast< int >(result
));
4199 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
= 0;
4201 wxSystemFeature arg1
;
4205 PyObject
* obj0
= 0 ;
4206 char * kwnames
[] = {
4207 (char *) "index", NULL
4210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4211 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4212 if (!SWIG_IsOK(ecode1
)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4215 arg1
= static_cast< wxSystemFeature
>(val1
);
4217 if (!wxPyCheckForApp()) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4232 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4233 PyObject
*resultobj
= 0;
4234 wxSystemScreenType result
;
4236 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4238 if (!wxPyCheckForApp()) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= SWIG_From_int(static_cast< int >(result
));
4251 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
= 0;
4253 wxSystemScreenType arg1
;
4256 PyObject
* obj0
= 0 ;
4257 char * kwnames
[] = {
4258 (char *) "screen", NULL
4261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4262 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4263 if (!SWIG_IsOK(ecode1
)) {
4264 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4266 arg1
= static_cast< wxSystemScreenType
>(val1
);
4268 if (!wxPyCheckForApp()) SWIG_fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 wxSystemSettings::SetScreenType(arg1
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_Py_Void();
4281 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4284 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4285 return SWIG_Py_Void();
4288 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4289 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4294 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4295 PyObject
*pyobj
= 0;
4299 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4301 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4308 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4309 PyObject
*resultobj
= 0;
4310 wxSystemOptions
*result
= 0 ;
4312 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (wxSystemOptions
*)new wxSystemOptions();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4326 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
= 0;
4328 wxString
*arg1
= 0 ;
4329 wxString
*arg2
= 0 ;
4330 bool temp1
= false ;
4331 bool temp2
= false ;
4332 PyObject
* obj0
= 0 ;
4333 PyObject
* obj1
= 0 ;
4334 char * kwnames
[] = {
4335 (char *) "name",(char *) "value", NULL
4338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4340 arg1
= wxString_in_helper(obj0
);
4341 if (arg1
== NULL
) SWIG_fail
;
4345 arg2
= wxString_in_helper(obj1
);
4346 if (arg2
== NULL
) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= SWIG_Py_Void();
4378 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
= 0;
4380 wxString
*arg1
= 0 ;
4382 bool temp1
= false ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4387 char * kwnames
[] = {
4388 (char *) "name",(char *) "value", NULL
4391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4393 arg1
= wxString_in_helper(obj0
);
4394 if (arg1
== NULL
) SWIG_fail
;
4397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4398 if (!SWIG_IsOK(ecode2
)) {
4399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4401 arg2
= static_cast< int >(val2
);
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_Py_Void();
4423 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
= 0;
4425 wxString
*arg1
= 0 ;
4427 bool temp1
= false ;
4428 PyObject
* obj0
= 0 ;
4429 char * kwnames
[] = {
4430 (char *) "name", NULL
4433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4435 arg1
= wxString_in_helper(obj0
);
4436 if (arg1
== NULL
) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4466 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
= 0;
4468 wxString
*arg1
= 0 ;
4470 bool temp1
= false ;
4471 PyObject
* obj0
= 0 ;
4472 char * kwnames
[] = {
4473 (char *) "name", NULL
4476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4478 arg1
= wxString_in_helper(obj0
);
4479 if (arg1
== NULL
) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_From_int(static_cast< int >(result
));
4503 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
= 0;
4505 wxString
*arg1
= 0 ;
4507 bool temp1
= false ;
4508 PyObject
* obj0
= 0 ;
4509 char * kwnames
[] = {
4510 (char *) "name", NULL
4513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4515 arg1
= wxString_in_helper(obj0
);
4516 if (arg1
== NULL
) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4542 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
= 0;
4544 wxString
*arg1
= 0 ;
4546 bool temp1
= false ;
4547 PyObject
* obj0
= 0 ;
4548 char * kwnames
[] = {
4549 (char *) "name", NULL
4552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4554 arg1
= wxString_in_helper(obj0
);
4555 if (arg1
== NULL
) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4581 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4584 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4585 return SWIG_Py_Void();
4588 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4589 return SWIG_Python_InitShadowInstance(args
);
4592 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4593 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4598 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4599 PyObject
*pyobj
= 0;
4603 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4605 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4612 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4613 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4618 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4619 PyObject
*pyobj
= 0;
4623 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4625 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4632 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4633 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4638 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4639 PyObject
*pyobj
= 0;
4643 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4645 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4652 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4653 PyObject
*resultobj
= 0;
4656 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 result
= (long)wxNewId();
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= SWIG_From_long(static_cast< long >(result
));
4670 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
= 0;
4675 PyObject
* obj0
= 0 ;
4676 char * kwnames
[] = {
4680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4681 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4682 if (!SWIG_IsOK(ecode1
)) {
4683 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4685 arg1
= static_cast< long >(val1
);
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_Py_Void();
4699 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4700 PyObject
*resultobj
= 0;
4703 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 result
= (long)wxGetCurrentId();
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= SWIG_From_long(static_cast< long >(result
));
4717 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
= 0;
4723 PyObject
* obj0
= 0 ;
4724 char * kwnames
[] = {
4728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4730 if (!SWIG_IsOK(ecode1
)) {
4731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4733 arg1
= static_cast< int >(val1
);
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 result
= (bool)wxIsStockID(arg1
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4749 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
= 0;
4752 wxString
*arg2
= 0 ;
4756 bool temp2
= false ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4759 char * kwnames
[] = {
4760 (char *) "id",(char *) "label", NULL
4763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4765 if (!SWIG_IsOK(ecode1
)) {
4766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4768 arg1
= static_cast< int >(val1
);
4770 arg2
= wxString_in_helper(obj1
);
4771 if (arg2
== NULL
) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
= 0;
4800 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4806 PyObject
* obj0
= 0 ;
4807 PyObject
* obj1
= 0 ;
4808 char * kwnames
[] = {
4809 (char *) "id",(char *) "flags", NULL
4812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4814 if (!SWIG_IsOK(ecode1
)) {
4815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4817 arg1
= static_cast< int >(val1
);
4819 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4820 if (!SWIG_IsOK(ecode2
)) {
4821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4823 arg2
= static_cast< long >(val2
);
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= wxGetStockLabel(arg1
,arg2
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4844 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
= 0;
4847 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4853 PyObject
* obj0
= 0 ;
4854 PyObject
* obj1
= 0 ;
4855 char * kwnames
[] = {
4856 (char *) "id",(char *) "client", NULL
4859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4860 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4861 if (!SWIG_IsOK(ecode1
)) {
4862 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4864 arg1
= static_cast< int >(val1
);
4866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4867 if (!SWIG_IsOK(ecode2
)) {
4868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4870 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= wxGetStockHelpString(arg1
,arg2
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4891 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4892 PyObject
*resultobj
= 0;
4894 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4896 if (!wxPyCheckForApp()) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_Py_Void();
4909 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4910 PyObject
*resultobj
= 0;
4912 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4914 if (!wxPyCheckForApp()) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_Py_Void();
4927 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 bool arg1
= (bool) true ;
4933 PyObject
* obj0
= 0 ;
4934 char * kwnames
[] = {
4935 (char *) "resetTimer", NULL
4938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4940 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4941 if (!SWIG_IsOK(ecode1
)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4944 arg1
= static_cast< bool >(val1
);
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (long)wxGetElapsedTime(arg1
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= SWIG_From_long(static_cast< long >(result
));
4959 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4960 PyObject
*resultobj
= 0;
4963 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (bool)wxIsBusy();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4979 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4980 PyObject
*resultobj
= 0;
4983 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5003 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
= 0;
5005 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5006 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5008 bool temp1
= false ;
5009 PyObject
* obj0
= 0 ;
5010 char * kwnames
[] = {
5011 (char *) "command", NULL
5014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
5017 arg1
= wxString_in_helper(obj0
);
5018 if (arg1
== NULL
) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (bool)wxShell((wxString
const &)*arg1
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5045 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5046 PyObject
*resultobj
= 0;
5048 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_Py_Void();
5062 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5063 PyObject
*resultobj
= 0;
5064 int *arg1
= (int *) 0 ;
5065 int *arg2
= (int *) 0 ;
5068 int res1
= SWIG_TMPOBJ
;
5070 int res2
= SWIG_TMPOBJ
;
5074 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 result
= (int)wxGetOsVersion(arg1
,arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= SWIG_From_int(static_cast< int >(result
));
5082 if (SWIG_IsTmpObj(res1
)) {
5083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5085 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5088 if (SWIG_IsTmpObj(res2
)) {
5089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5091 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5100 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5104 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= wxGetOsDescription();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5124 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5125 PyObject
*resultobj
= 0;
5128 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (bool)wxIsPlatformLittleEndian();
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5144 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5145 PyObject
*resultobj
= 0;
5148 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (bool)wxIsPlatform64Bit();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5164 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5165 PyObject
*resultobj
= 0;
5166 wxMemorySize result
;
5168 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= wxGetFreeMemory();
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5179 resultobj
= PyInt_FromLong(result
);
5188 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
= 0;
5190 wxShutdownFlags arg1
;
5194 PyObject
* obj0
= 0 ;
5195 char * kwnames
[] = {
5196 (char *) "wFlags", NULL
5199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5201 if (!SWIG_IsOK(ecode1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5204 arg1
= static_cast< wxShutdownFlags
>(val1
);
5206 if (!wxPyCheckForApp()) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (bool)wxShutdown(arg1
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5221 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
= 0;
5226 PyObject
* obj0
= 0 ;
5227 char * kwnames
[] = {
5228 (char *) "secs", NULL
5231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5232 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5233 if (!SWIG_IsOK(ecode1
)) {
5234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5236 arg1
= static_cast< int >(val1
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_Py_Void();
5250 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
= 0;
5252 unsigned long arg1
;
5253 unsigned long val1
;
5255 PyObject
* obj0
= 0 ;
5256 char * kwnames
[] = {
5257 (char *) "milliseconds", NULL
5260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5261 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5262 if (!SWIG_IsOK(ecode1
)) {
5263 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5265 arg1
= static_cast< unsigned long >(val1
);
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_Py_Void();
5279 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
= 0;
5281 unsigned long arg1
;
5282 unsigned long val1
;
5284 PyObject
* obj0
= 0 ;
5285 char * kwnames
[] = {
5286 (char *) "microseconds", NULL
5289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5290 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5291 if (!SWIG_IsOK(ecode1
)) {
5292 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5294 arg1
= static_cast< unsigned long >(val1
);
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= SWIG_Py_Void();
5308 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
= 0;
5313 PyObject
* obj0
= 0 ;
5314 char * kwnames
[] = {
5315 (char *) "enable", NULL
5318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5319 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5320 if (!SWIG_IsOK(ecode1
)) {
5321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5323 arg1
= static_cast< bool >(val1
);
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 wxEnableTopLevelWindows(arg1
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_Py_Void();
5337 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
= 0;
5339 wxString
*arg1
= 0 ;
5341 bool temp1
= false ;
5342 PyObject
* obj0
= 0 ;
5343 char * kwnames
[] = {
5347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5349 arg1
= wxString_in_helper(obj0
);
5350 if (arg1
== NULL
) SWIG_fail
;
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5380 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5381 PyObject
*resultobj
= 0;
5384 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= wxGetEmailAddress();
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5404 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5405 PyObject
*resultobj
= 0;
5408 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= wxGetHostName();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5428 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5429 PyObject
*resultobj
= 0;
5432 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= wxGetFullHostName();
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5452 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 PyObject
*resultobj
= 0;
5456 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= wxGetUserId();
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5476 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5477 PyObject
*resultobj
= 0;
5480 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= wxGetUserName();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5500 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5501 PyObject
*resultobj
= 0;
5504 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= wxGetHomeDir();
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5524 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
= 0;
5526 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5527 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5529 bool temp1
= false ;
5530 PyObject
* obj0
= 0 ;
5531 char * kwnames
[] = {
5532 (char *) "user", NULL
5535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5538 arg1
= wxString_in_helper(obj0
);
5539 if (arg1
== NULL
) SWIG_fail
;
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= wxGetUserHome((wxString
const &)*arg1
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5570 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5571 PyObject
*resultobj
= 0;
5572 unsigned long result
;
5574 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (unsigned long)wxGetProcessId();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5588 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5589 PyObject
*resultobj
= 0;
5591 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_Py_Void();
5605 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
= 0;
5607 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5608 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5609 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5610 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5611 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5612 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5613 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5614 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5615 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5616 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5617 int arg6
= (int) 0 ;
5618 wxWindow
*arg7
= (wxWindow
*) NULL
;
5619 int arg8
= (int) -1 ;
5620 int arg9
= (int) -1 ;
5622 bool temp1
= false ;
5623 bool temp2
= false ;
5624 bool temp3
= false ;
5625 bool temp4
= false ;
5626 bool temp5
= false ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 PyObject
* obj2
= 0 ;
5638 PyObject
* obj3
= 0 ;
5639 PyObject
* obj4
= 0 ;
5640 PyObject
* obj5
= 0 ;
5641 PyObject
* obj6
= 0 ;
5642 PyObject
* obj7
= 0 ;
5643 PyObject
* obj8
= 0 ;
5644 char * kwnames
[] = {
5645 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5651 arg1
= wxString_in_helper(obj0
);
5652 if (arg1
== NULL
) SWIG_fail
;
5658 arg2
= wxString_in_helper(obj1
);
5659 if (arg2
== NULL
) SWIG_fail
;
5665 arg3
= wxString_in_helper(obj2
);
5666 if (arg3
== NULL
) SWIG_fail
;
5672 arg4
= wxString_in_helper(obj3
);
5673 if (arg4
== NULL
) SWIG_fail
;
5679 arg5
= wxString_in_helper(obj4
);
5680 if (arg5
== NULL
) SWIG_fail
;
5685 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5686 if (!SWIG_IsOK(ecode6
)) {
5687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5689 arg6
= static_cast< int >(val6
);
5692 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5693 if (!SWIG_IsOK(res7
)) {
5694 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5696 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5699 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5700 if (!SWIG_IsOK(ecode8
)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5703 arg8
= static_cast< int >(val8
);
5706 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5707 if (!SWIG_IsOK(ecode9
)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5710 arg9
= static_cast< int >(val9
);
5713 if (!wxPyCheckForApp()) SWIG_fail
;
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5772 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
= 0;
5774 wxString
*arg1
= 0 ;
5775 wxString
*arg2
= 0 ;
5776 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5777 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5778 wxWindow
*arg4
= (wxWindow
*) NULL
;
5780 bool temp1
= false ;
5781 bool temp2
= false ;
5782 bool temp3
= false ;
5785 PyObject
* obj0
= 0 ;
5786 PyObject
* obj1
= 0 ;
5787 PyObject
* obj2
= 0 ;
5788 PyObject
* obj3
= 0 ;
5789 char * kwnames
[] = {
5790 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5795 arg1
= wxString_in_helper(obj0
);
5796 if (arg1
== NULL
) SWIG_fail
;
5800 arg2
= wxString_in_helper(obj1
);
5801 if (arg2
== NULL
) SWIG_fail
;
5806 arg3
= wxString_in_helper(obj2
);
5807 if (arg3
== NULL
) SWIG_fail
;
5812 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5813 if (!SWIG_IsOK(res4
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5816 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5819 if (!wxPyCheckForApp()) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5862 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
= 0;
5864 wxString
*arg1
= 0 ;
5865 wxString
*arg2
= 0 ;
5866 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5867 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5868 wxWindow
*arg4
= (wxWindow
*) NULL
;
5870 bool temp1
= false ;
5871 bool temp2
= false ;
5872 bool temp3
= false ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 PyObject
* obj2
= 0 ;
5878 PyObject
* obj3
= 0 ;
5879 char * kwnames
[] = {
5880 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5885 arg1
= wxString_in_helper(obj0
);
5886 if (arg1
== NULL
) SWIG_fail
;
5890 arg2
= wxString_in_helper(obj1
);
5891 if (arg2
== NULL
) SWIG_fail
;
5896 arg3
= wxString_in_helper(obj2
);
5897 if (arg3
== NULL
) SWIG_fail
;
5902 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5903 if (!SWIG_IsOK(res4
)) {
5904 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5906 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5909 if (!wxPyCheckForApp()) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5952 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
= 0;
5954 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5955 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5956 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5957 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5958 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5961 wxWindow
*arg5
= (wxWindow
*) NULL
;
5963 bool temp1
= false ;
5964 bool temp2
= false ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5972 PyObject
* obj2
= 0 ;
5973 PyObject
* obj3
= 0 ;
5974 PyObject
* obj4
= 0 ;
5975 char * kwnames
[] = {
5976 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5982 arg1
= wxString_in_helper(obj0
);
5983 if (arg1
== NULL
) SWIG_fail
;
5989 arg2
= wxString_in_helper(obj1
);
5990 if (arg2
== NULL
) SWIG_fail
;
5995 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5996 if (!SWIG_IsOK(ecode3
)) {
5997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5999 arg3
= static_cast< long >(val3
);
6004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6008 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6009 if (!SWIG_IsOK(res5
)) {
6010 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
6012 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6015 if (!wxPyCheckForApp()) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6050 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
= 0;
6052 wxString
*arg1
= 0 ;
6053 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6054 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6057 wxWindow
*arg4
= (wxWindow
*) NULL
;
6058 int arg5
= (int) -1 ;
6059 int arg6
= (int) -1 ;
6060 bool arg7
= (bool) true ;
6062 bool temp1
= false ;
6063 bool temp2
= false ;
6064 bool temp3
= false ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 PyObject
* obj2
= 0 ;
6076 PyObject
* obj3
= 0 ;
6077 PyObject
* obj4
= 0 ;
6078 PyObject
* obj5
= 0 ;
6079 PyObject
* obj6
= 0 ;
6080 char * kwnames
[] = {
6081 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6086 arg1
= wxString_in_helper(obj0
);
6087 if (arg1
== NULL
) SWIG_fail
;
6092 arg2
= wxString_in_helper(obj1
);
6093 if (arg2
== NULL
) SWIG_fail
;
6099 arg3
= wxString_in_helper(obj2
);
6100 if (arg3
== NULL
) SWIG_fail
;
6105 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6106 if (!SWIG_IsOK(res4
)) {
6107 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6109 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6112 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6113 if (!SWIG_IsOK(ecode5
)) {
6114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6116 arg5
= static_cast< int >(val5
);
6119 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6120 if (!SWIG_IsOK(ecode6
)) {
6121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6123 arg6
= static_cast< int >(val6
);
6126 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6127 if (!SWIG_IsOK(ecode7
)) {
6128 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6130 arg7
= static_cast< bool >(val7
);
6133 if (!wxPyCheckForApp()) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6176 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
= 0;
6178 wxString
*arg1
= 0 ;
6179 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6180 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6181 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6182 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6183 wxWindow
*arg4
= (wxWindow
*) NULL
;
6185 bool temp1
= false ;
6186 bool temp2
= false ;
6187 bool temp3
= false ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6192 PyObject
* obj2
= 0 ;
6193 PyObject
* obj3
= 0 ;
6194 char * kwnames
[] = {
6195 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6200 arg1
= wxString_in_helper(obj0
);
6201 if (arg1
== NULL
) SWIG_fail
;
6206 arg2
= wxString_in_helper(obj1
);
6207 if (arg2
== NULL
) SWIG_fail
;
6213 arg3
= wxString_in_helper(obj2
);
6214 if (arg3
== NULL
) SWIG_fail
;
6219 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6220 if (!SWIG_IsOK(res4
)) {
6221 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6223 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6226 if (!wxPyCheckForApp()) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6269 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6271 wxString
*arg1
= 0 ;
6272 wxString
*arg2
= 0 ;
6274 wxString
*arg4
= (wxString
*) 0 ;
6275 wxWindow
*arg5
= (wxWindow
*) NULL
;
6276 int arg6
= (int) -1 ;
6277 int arg7
= (int) -1 ;
6278 bool arg8
= (bool) true ;
6279 int arg9
= (int) 150 ;
6280 int arg10
= (int) 200 ;
6282 bool temp1
= false ;
6283 bool temp2
= false ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6298 PyObject
* obj2
= 0 ;
6299 PyObject
* obj3
= 0 ;
6300 PyObject
* obj4
= 0 ;
6301 PyObject
* obj5
= 0 ;
6302 PyObject
* obj6
= 0 ;
6303 PyObject
* obj7
= 0 ;
6304 PyObject
* obj8
= 0 ;
6305 char * kwnames
[] = {
6306 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6311 arg1
= wxString_in_helper(obj0
);
6312 if (arg1
== NULL
) SWIG_fail
;
6316 arg2
= wxString_in_helper(obj1
);
6317 if (arg2
== NULL
) SWIG_fail
;
6321 arg3
= PyList_Size(obj2
);
6322 arg4
= wxString_LIST_helper(obj2
);
6323 if (arg4
== NULL
) SWIG_fail
;
6326 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6327 if (!SWIG_IsOK(res5
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6330 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6333 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6334 if (!SWIG_IsOK(ecode6
)) {
6335 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6337 arg6
= static_cast< int >(val6
);
6340 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6341 if (!SWIG_IsOK(ecode7
)) {
6342 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6344 arg7
= static_cast< int >(val7
);
6347 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6348 if (!SWIG_IsOK(ecode8
)) {
6349 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6351 arg8
= static_cast< bool >(val8
);
6354 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6355 if (!SWIG_IsOK(ecode9
)) {
6356 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6358 arg9
= static_cast< int >(val9
);
6361 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6362 if (!SWIG_IsOK(ecode10
)) {
6363 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6365 arg10
= static_cast< int >(val10
);
6368 if (!wxPyCheckForApp()) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6390 if (arg4
) delete [] arg4
;
6403 if (arg4
) delete [] arg4
;
6409 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
= 0;
6411 wxString
*arg1
= 0 ;
6412 wxString
*arg2
= 0 ;
6414 wxString
*arg4
= (wxString
*) 0 ;
6415 wxWindow
*arg5
= (wxWindow
*) NULL
;
6416 int arg6
= (int) -1 ;
6417 int arg7
= (int) -1 ;
6418 bool arg8
= (bool) true ;
6419 int arg9
= (int) 150 ;
6420 int arg10
= (int) 200 ;
6422 bool temp1
= false ;
6423 bool temp2
= false ;
6436 PyObject
* obj0
= 0 ;
6437 PyObject
* obj1
= 0 ;
6438 PyObject
* obj2
= 0 ;
6439 PyObject
* obj3
= 0 ;
6440 PyObject
* obj4
= 0 ;
6441 PyObject
* obj5
= 0 ;
6442 PyObject
* obj6
= 0 ;
6443 PyObject
* obj7
= 0 ;
6444 PyObject
* obj8
= 0 ;
6445 char * kwnames
[] = {
6446 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6451 arg1
= wxString_in_helper(obj0
);
6452 if (arg1
== NULL
) SWIG_fail
;
6456 arg2
= wxString_in_helper(obj1
);
6457 if (arg2
== NULL
) SWIG_fail
;
6461 arg3
= PyList_Size(obj2
);
6462 arg4
= wxString_LIST_helper(obj2
);
6463 if (arg4
== NULL
) SWIG_fail
;
6466 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6467 if (!SWIG_IsOK(res5
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6470 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6473 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6474 if (!SWIG_IsOK(ecode6
)) {
6475 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6477 arg6
= static_cast< int >(val6
);
6480 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6481 if (!SWIG_IsOK(ecode7
)) {
6482 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6484 arg7
= static_cast< int >(val7
);
6487 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6488 if (!SWIG_IsOK(ecode8
)) {
6489 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6491 arg8
= static_cast< bool >(val8
);
6494 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6495 if (!SWIG_IsOK(ecode9
)) {
6496 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6498 arg9
= static_cast< int >(val9
);
6501 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6502 if (!SWIG_IsOK(ecode10
)) {
6503 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6505 arg10
= static_cast< int >(val10
);
6508 if (!wxPyCheckForApp()) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_From_int(static_cast< int >(result
));
6524 if (arg4
) delete [] arg4
;
6537 if (arg4
) delete [] arg4
;
6543 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
= 0;
6545 wxString
*arg1
= 0 ;
6546 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6547 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6548 int arg3
= (int) wxOK
|wxCENTRE
;
6549 wxWindow
*arg4
= (wxWindow
*) NULL
;
6550 int arg5
= (int) -1 ;
6551 int arg6
= (int) -1 ;
6553 bool temp1
= false ;
6554 bool temp2
= false ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6565 PyObject
* obj2
= 0 ;
6566 PyObject
* obj3
= 0 ;
6567 PyObject
* obj4
= 0 ;
6568 PyObject
* obj5
= 0 ;
6569 char * kwnames
[] = {
6570 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6575 arg1
= wxString_in_helper(obj0
);
6576 if (arg1
== NULL
) SWIG_fail
;
6581 arg2
= wxString_in_helper(obj1
);
6582 if (arg2
== NULL
) SWIG_fail
;
6587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6588 if (!SWIG_IsOK(ecode3
)) {
6589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6591 arg3
= static_cast< int >(val3
);
6594 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6595 if (!SWIG_IsOK(res4
)) {
6596 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6598 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6601 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6602 if (!SWIG_IsOK(ecode5
)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6605 arg5
= static_cast< int >(val5
);
6608 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6609 if (!SWIG_IsOK(ecode6
)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6612 arg6
= static_cast< int >(val6
);
6615 if (!wxPyCheckForApp()) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= SWIG_From_int(static_cast< int >(result
));
6644 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
= 0;
6646 wxString
*arg1
= 0 ;
6647 wxString
*arg2
= 0 ;
6648 wxString
*arg3
= 0 ;
6650 long arg5
= (long) 0 ;
6651 long arg6
= (long) 100 ;
6652 wxWindow
*arg7
= (wxWindow
*) NULL
;
6653 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6654 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6656 bool temp1
= false ;
6657 bool temp2
= false ;
6658 bool temp3
= false ;
6668 PyObject
* obj0
= 0 ;
6669 PyObject
* obj1
= 0 ;
6670 PyObject
* obj2
= 0 ;
6671 PyObject
* obj3
= 0 ;
6672 PyObject
* obj4
= 0 ;
6673 PyObject
* obj5
= 0 ;
6674 PyObject
* obj6
= 0 ;
6675 PyObject
* obj7
= 0 ;
6676 char * kwnames
[] = {
6677 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6682 arg1
= wxString_in_helper(obj0
);
6683 if (arg1
== NULL
) SWIG_fail
;
6687 arg2
= wxString_in_helper(obj1
);
6688 if (arg2
== NULL
) SWIG_fail
;
6692 arg3
= wxString_in_helper(obj2
);
6693 if (arg3
== NULL
) SWIG_fail
;
6696 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6697 if (!SWIG_IsOK(ecode4
)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6700 arg4
= static_cast< long >(val4
);
6702 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6703 if (!SWIG_IsOK(ecode5
)) {
6704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6706 arg5
= static_cast< long >(val5
);
6709 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6710 if (!SWIG_IsOK(ecode6
)) {
6711 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6713 arg6
= static_cast< long >(val6
);
6716 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6717 if (!SWIG_IsOK(res7
)) {
6718 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6720 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6725 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6729 if (!wxPyCheckForApp()) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= SWIG_From_long(static_cast< long >(result
));
6766 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6767 PyObject
*resultobj
= 0;
6770 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6772 if (!wxPyCheckForApp()) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (bool)wxColourDisplay();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6787 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6788 PyObject
*resultobj
= 0;
6791 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6793 if (!wxPyCheckForApp()) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (int)wxDisplayDepth();
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= SWIG_From_int(static_cast< int >(result
));
6806 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6807 PyObject
*resultobj
= 0;
6810 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6812 if (!wxPyCheckForApp()) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (int)wxGetDisplayDepth();
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_From_int(static_cast< int >(result
));
6825 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6826 PyObject
*resultobj
= 0;
6827 int *arg1
= (int *) 0 ;
6828 int *arg2
= (int *) 0 ;
6830 int res1
= SWIG_TMPOBJ
;
6832 int res2
= SWIG_TMPOBJ
;
6836 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6838 if (!wxPyCheckForApp()) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 wxDisplaySize(arg1
,arg2
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_Py_Void();
6845 if (SWIG_IsTmpObj(res1
)) {
6846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6848 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6851 if (SWIG_IsTmpObj(res2
)) {
6852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6854 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6863 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6864 PyObject
*resultobj
= 0;
6867 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6869 if (!wxPyCheckForApp()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= wxGetDisplaySize();
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6882 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6883 PyObject
*resultobj
= 0;
6884 int *arg1
= (int *) 0 ;
6885 int *arg2
= (int *) 0 ;
6887 int res1
= SWIG_TMPOBJ
;
6889 int res2
= SWIG_TMPOBJ
;
6893 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6895 if (!wxPyCheckForApp()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 wxDisplaySizeMM(arg1
,arg2
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_Py_Void();
6902 if (SWIG_IsTmpObj(res1
)) {
6903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6905 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6908 if (SWIG_IsTmpObj(res2
)) {
6909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6911 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6920 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6921 PyObject
*resultobj
= 0;
6924 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6926 if (!wxPyCheckForApp()) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= wxGetDisplaySizeMM();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6939 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6940 PyObject
*resultobj
= 0;
6941 int *arg1
= (int *) 0 ;
6942 int *arg2
= (int *) 0 ;
6943 int *arg3
= (int *) 0 ;
6944 int *arg4
= (int *) 0 ;
6946 int res1
= SWIG_TMPOBJ
;
6948 int res2
= SWIG_TMPOBJ
;
6950 int res3
= SWIG_TMPOBJ
;
6952 int res4
= SWIG_TMPOBJ
;
6958 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6960 if (!wxPyCheckForApp()) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_Py_Void();
6967 if (SWIG_IsTmpObj(res1
)) {
6968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6970 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6973 if (SWIG_IsTmpObj(res2
)) {
6974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6976 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6979 if (SWIG_IsTmpObj(res3
)) {
6980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6982 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6985 if (SWIG_IsTmpObj(res4
)) {
6986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6988 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6997 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6998 PyObject
*resultobj
= 0;
7001 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
7003 if (!wxPyCheckForApp()) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 result
= wxGetClientDisplayRect();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7016 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= 0;
7018 wxCursor
*arg1
= 0 ;
7021 PyObject
* obj0
= 0 ;
7022 char * kwnames
[] = {
7023 (char *) "cursor", NULL
7026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
7027 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
7028 if (!SWIG_IsOK(res1
)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7034 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7036 if (!wxPyCheckForApp()) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_Py_Void();
7049 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7050 PyObject
*resultobj
= 0;
7053 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7055 if (!wxPyCheckForApp()) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 result
= (void *)wxGetXDisplay();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7068 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
= 0;
7070 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7073 PyObject
* obj0
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "cursor", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7081 if (!SWIG_IsOK(res1
)) {
7082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7084 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7087 if (!wxPyCheckForApp()) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 wxBeginBusyCursor(arg1
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= SWIG_Py_Void();
7100 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7101 PyObject
*resultobj
= 0;
7104 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7106 if (!wxPyCheckForApp()) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= wxGetMousePosition();
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7119 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7120 PyObject
*resultobj
= 0;
7121 wxWindow
*result
= 0 ;
7123 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7125 if (!wxPyCheckForApp()) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= (wxWindow
*)FindWindowAtPointer();
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= wxPyMake_wxObject(result
, 0);
7140 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7141 PyObject
*resultobj
= 0;
7142 wxWindow
*result
= 0 ;
7144 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7146 if (!wxPyCheckForApp()) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (wxWindow
*)wxGetActiveWindow();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= wxPyMake_wxObject(result
, 0);
7161 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
= 0;
7164 wxWindow
*result
= 0 ;
7166 PyObject
* obj0
= 0 ;
7167 char * kwnames
[] = {
7171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7174 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7177 if (!wxPyCheckForApp()) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= wxPyMake_wxObject(result
, 0);
7192 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
= 0;
7195 wxWindow
*result
= 0 ;
7197 PyObject
* obj0
= 0 ;
7198 char * kwnames
[] = {
7202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7205 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7208 if (!wxPyCheckForApp()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= wxPyMake_wxObject(result
, 0);
7223 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
= 0;
7225 wxWindow
*arg1
= (wxWindow
*) 0 ;
7226 wxWindow
*result
= 0 ;
7229 PyObject
* obj0
= 0 ;
7230 char * kwnames
[] = {
7231 (char *) "win", NULL
7234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7236 if (!SWIG_IsOK(res1
)) {
7237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7241 if (!wxPyCheckForApp()) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= wxPyMake_wxObject(result
, 0);
7256 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxString
*arg1
= 0 ;
7260 bool temp1
= false ;
7261 PyObject
* obj0
= 0 ;
7262 char * kwnames
[] = {
7263 (char *) "url", NULL
7266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7268 arg1
= wxString_in_helper(obj0
);
7269 if (arg1
== NULL
) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7295 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
= 0;
7301 PyObject
* obj0
= 0 ;
7302 char * kwnames
[] = {
7303 (char *) "key", NULL
7306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7307 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7308 if (!SWIG_IsOK(ecode1
)) {
7309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7311 arg1
= static_cast< wxKeyCode
>(val1
);
7313 if (!wxPyCheckForApp()) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= (bool)wxGetKeyState(arg1
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7328 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7329 PyObject
*resultobj
= 0;
7330 wxMouseState
*result
= 0 ;
7332 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 result
= (wxMouseState
*)new wxMouseState();
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7346 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7347 PyObject
*resultobj
= 0;
7348 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7351 PyObject
*swig_obj
[1] ;
7353 if (!args
) SWIG_fail
;
7355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7356 if (!SWIG_IsOK(res1
)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7359 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_Py_Void();
7374 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7375 PyObject
*resultobj
= 0;
7376 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7380 PyObject
*swig_obj
[1] ;
7382 if (!args
) SWIG_fail
;
7384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7385 if (!SWIG_IsOK(res1
)) {
7386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7388 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 result
= (int)(arg1
)->GetX();
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_From_int(static_cast< int >(result
));
7402 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7403 PyObject
*resultobj
= 0;
7404 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7408 PyObject
*swig_obj
[1] ;
7410 if (!args
) SWIG_fail
;
7412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7413 if (!SWIG_IsOK(res1
)) {
7414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7416 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (int)(arg1
)->GetY();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_From_int(static_cast< int >(result
));
7430 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7431 PyObject
*resultobj
= 0;
7432 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7436 PyObject
*swig_obj
[1] ;
7438 if (!args
) SWIG_fail
;
7440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7441 if (!SWIG_IsOK(res1
)) {
7442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7444 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 result
= (bool)(arg1
)->LeftDown();
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7460 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7461 PyObject
*resultobj
= 0;
7462 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7466 PyObject
*swig_obj
[1] ;
7468 if (!args
) SWIG_fail
;
7470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7471 if (!SWIG_IsOK(res1
)) {
7472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7474 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= (bool)(arg1
)->MiddleDown();
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7490 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7491 PyObject
*resultobj
= 0;
7492 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7496 PyObject
*swig_obj
[1] ;
7498 if (!args
) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7504 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (bool)(arg1
)->RightDown();
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7520 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7521 PyObject
*resultobj
= 0;
7522 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7526 PyObject
*swig_obj
[1] ;
7528 if (!args
) SWIG_fail
;
7530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7531 if (!SWIG_IsOK(res1
)) {
7532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7534 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (bool)(arg1
)->ControlDown();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7550 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7551 PyObject
*resultobj
= 0;
7552 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7556 PyObject
*swig_obj
[1] ;
7558 if (!args
) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7564 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (bool)(arg1
)->ShiftDown();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7580 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7581 PyObject
*resultobj
= 0;
7582 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7586 PyObject
*swig_obj
[1] ;
7588 if (!args
) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7594 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (bool)(arg1
)->AltDown();
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7610 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7611 PyObject
*resultobj
= 0;
7612 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7616 PyObject
*swig_obj
[1] ;
7618 if (!args
) SWIG_fail
;
7620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7621 if (!SWIG_IsOK(res1
)) {
7622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7624 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (bool)(arg1
)->MetaDown();
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7640 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7641 PyObject
*resultobj
= 0;
7642 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7646 PyObject
*swig_obj
[1] ;
7648 if (!args
) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7654 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (bool)(arg1
)->CmdDown();
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7670 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
= 0;
7672 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7679 PyObject
* obj1
= 0 ;
7680 char * kwnames
[] = {
7681 (char *) "self",(char *) "x", NULL
7684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7686 if (!SWIG_IsOK(res1
)) {
7687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7689 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7691 if (!SWIG_IsOK(ecode2
)) {
7692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7694 arg2
= static_cast< int >(val2
);
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= SWIG_Py_Void();
7708 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
= 0;
7710 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7718 char * kwnames
[] = {
7719 (char *) "self",(char *) "y", NULL
7722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7724 if (!SWIG_IsOK(res1
)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7727 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7729 if (!SWIG_IsOK(ecode2
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7732 arg2
= static_cast< int >(val2
);
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_Py_Void();
7746 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
= 0;
7748 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7756 char * kwnames
[] = {
7757 (char *) "self",(char *) "down", NULL
7760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7765 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7766 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7767 if (!SWIG_IsOK(ecode2
)) {
7768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7770 arg2
= static_cast< bool >(val2
);
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 (arg1
)->SetLeftDown(arg2
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_Py_Void();
7784 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= 0;
7786 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7794 char * kwnames
[] = {
7795 (char *) "self",(char *) "down", NULL
7798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7800 if (!SWIG_IsOK(res1
)) {
7801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7803 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7804 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7805 if (!SWIG_IsOK(ecode2
)) {
7806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7808 arg2
= static_cast< bool >(val2
);
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 (arg1
)->SetMiddleDown(arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= SWIG_Py_Void();
7822 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
= 0;
7824 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7832 char * kwnames
[] = {
7833 (char *) "self",(char *) "down", NULL
7836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7838 if (!SWIG_IsOK(res1
)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7841 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7842 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7843 if (!SWIG_IsOK(ecode2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7846 arg2
= static_cast< bool >(val2
);
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 (arg1
)->SetRightDown(arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= SWIG_Py_Void();
7860 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
= 0;
7862 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7870 char * kwnames
[] = {
7871 (char *) "self",(char *) "down", NULL
7874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7879 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7880 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7881 if (!SWIG_IsOK(ecode2
)) {
7882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7884 arg2
= static_cast< bool >(val2
);
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->SetControlDown(arg2
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_Py_Void();
7898 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
= 0;
7900 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7907 PyObject
* obj1
= 0 ;
7908 char * kwnames
[] = {
7909 (char *) "self",(char *) "down", NULL
7912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7914 if (!SWIG_IsOK(res1
)) {
7915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7917 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7918 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7919 if (!SWIG_IsOK(ecode2
)) {
7920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7922 arg2
= static_cast< bool >(val2
);
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 (arg1
)->SetShiftDown(arg2
);
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_Py_Void();
7936 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= 0;
7938 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7946 char * kwnames
[] = {
7947 (char *) "self",(char *) "down", NULL
7950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7952 if (!SWIG_IsOK(res1
)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7955 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7956 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7957 if (!SWIG_IsOK(ecode2
)) {
7958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7960 arg2
= static_cast< bool >(val2
);
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->SetAltDown(arg2
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_Py_Void();
7974 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
= 0;
7976 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7982 PyObject
* obj0
= 0 ;
7983 PyObject
* obj1
= 0 ;
7984 char * kwnames
[] = {
7985 (char *) "self",(char *) "down", NULL
7988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7990 if (!SWIG_IsOK(res1
)) {
7991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7993 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7994 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7995 if (!SWIG_IsOK(ecode2
)) {
7996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7998 arg2
= static_cast< bool >(val2
);
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 (arg1
)->SetMetaDown(arg2
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= SWIG_Py_Void();
8012 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8015 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
8016 return SWIG_Py_Void();
8019 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8020 return SWIG_Python_InitShadowInstance(args
);
8023 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 PyObject
*resultobj
= 0;
8025 wxMouseState result
;
8027 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= wxGetMouseState();
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8041 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8042 PyObject
*resultobj
= 0;
8044 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8046 if (!wxPyCheckForApp()) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 wxWakeUpMainThread();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= SWIG_Py_Void();
8059 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8060 PyObject
*resultobj
= 0;
8062 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8064 if (!wxPyCheckForApp()) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_Py_Void();
8077 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8078 PyObject
*resultobj
= 0;
8080 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8082 if (!wxPyCheckForApp()) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8088 resultobj
= SWIG_Py_Void();
8095 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8096 PyObject
*resultobj
= 0;
8097 wxMutexGuiLocker
*result
= 0 ;
8099 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8101 if (!wxPyCheckForApp()) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8114 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8115 PyObject
*resultobj
= 0;
8116 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8119 PyObject
*swig_obj
[1] ;
8121 if (!args
) SWIG_fail
;
8123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8124 if (!SWIG_IsOK(res1
)) {
8125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8127 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= SWIG_Py_Void();
8142 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8145 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8146 return SWIG_Py_Void();
8149 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8150 return SWIG_Python_InitShadowInstance(args
);
8153 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8154 PyObject
*resultobj
= 0;
8157 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 result
= (bool)wxThread_IsMain();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8173 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
= 0;
8175 wxString
*arg1
= 0 ;
8176 wxToolTip
*result
= 0 ;
8177 bool temp1
= false ;
8178 PyObject
* obj0
= 0 ;
8179 char * kwnames
[] = {
8180 (char *) "tip", NULL
8183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8185 arg1
= wxString_in_helper(obj0
);
8186 if (arg1
== NULL
) SWIG_fail
;
8190 if (!wxPyCheckForApp()) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8211 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8212 PyObject
*resultobj
= 0;
8213 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8216 PyObject
*swig_obj
[1] ;
8218 if (!args
) SWIG_fail
;
8220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8221 if (!SWIG_IsOK(res1
)) {
8222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8224 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_Py_Void();
8239 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
= 0;
8241 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8242 wxString
*arg2
= 0 ;
8245 bool temp2
= false ;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8248 char * kwnames
[] = {
8249 (char *) "self",(char *) "tip", NULL
8252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8254 if (!SWIG_IsOK(res1
)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8257 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8259 arg2
= wxString_in_helper(obj1
);
8260 if (arg2
== NULL
) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 (arg1
)->SetTip((wxString
const &)*arg2
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_Py_Void();
8284 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8285 PyObject
*resultobj
= 0;
8286 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8290 PyObject
*swig_obj
[1] ;
8292 if (!args
) SWIG_fail
;
8294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8295 if (!SWIG_IsOK(res1
)) {
8296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8298 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 result
= (arg1
)->GetTip();
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8318 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8319 PyObject
*resultobj
= 0;
8320 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8321 wxWindow
*result
= 0 ;
8324 PyObject
*swig_obj
[1] ;
8326 if (!args
) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8332 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (wxWindow
*)(arg1
)->GetWindow();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= wxPyMake_wxObject(result
, 0);
8348 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
= 0;
8353 PyObject
* obj0
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "flag", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8359 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8360 if (!SWIG_IsOK(ecode1
)) {
8361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8363 arg1
= static_cast< bool >(val1
);
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 wxToolTip::Enable(arg1
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= SWIG_Py_Void();
8377 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
= 0;
8382 PyObject
* obj0
= 0 ;
8383 char * kwnames
[] = {
8384 (char *) "milliseconds", NULL
8387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8388 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8389 if (!SWIG_IsOK(ecode1
)) {
8390 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8392 arg1
= static_cast< long >(val1
);
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 wxToolTip::SetDelay(arg1
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= SWIG_Py_Void();
8406 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8409 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8410 return SWIG_Py_Void();
8413 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8414 return SWIG_Python_InitShadowInstance(args
);
8417 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
= 0;
8419 wxWindow
*arg1
= (wxWindow
*) 0 ;
8421 wxCaret
*result
= 0 ;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "window",(char *) "size", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8439 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8442 if (!wxPyCheckForApp()) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8455 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8456 PyObject
*resultobj
= 0;
8457 wxCaret
*arg1
= (wxCaret
*) 0 ;
8460 PyObject
*swig_obj
[1] ;
8462 if (!args
) SWIG_fail
;
8464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8465 if (!SWIG_IsOK(res1
)) {
8466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8468 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= SWIG_Py_Void();
8483 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8484 PyObject
*resultobj
= 0;
8485 wxCaret
*arg1
= (wxCaret
*) 0 ;
8488 PyObject
*swig_obj
[1] ;
8490 if (!args
) SWIG_fail
;
8492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8493 if (!SWIG_IsOK(res1
)) {
8494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8496 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 wxCaret_Destroy(arg1
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= SWIG_Py_Void();
8510 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8511 PyObject
*resultobj
= 0;
8512 wxCaret
*arg1
= (wxCaret
*) 0 ;
8516 PyObject
*swig_obj
[1] ;
8518 if (!args
) SWIG_fail
;
8520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8521 if (!SWIG_IsOK(res1
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8524 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (bool)(arg1
)->IsOk();
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8540 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8541 PyObject
*resultobj
= 0;
8542 wxCaret
*arg1
= (wxCaret
*) 0 ;
8546 PyObject
*swig_obj
[1] ;
8548 if (!args
) SWIG_fail
;
8550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8551 if (!SWIG_IsOK(res1
)) {
8552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8554 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)(arg1
)->IsVisible();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8570 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8571 PyObject
*resultobj
= 0;
8572 wxCaret
*arg1
= (wxCaret
*) 0 ;
8576 PyObject
*swig_obj
[1] ;
8578 if (!args
) SWIG_fail
;
8580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8581 if (!SWIG_IsOK(res1
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8584 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 result
= (arg1
)->GetPosition();
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8598 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8599 PyObject
*resultobj
= 0;
8600 wxCaret
*arg1
= (wxCaret
*) 0 ;
8601 int *arg2
= (int *) 0 ;
8602 int *arg3
= (int *) 0 ;
8606 int res2
= SWIG_TMPOBJ
;
8608 int res3
= SWIG_TMPOBJ
;
8609 PyObject
*swig_obj
[1] ;
8613 if (!args
) SWIG_fail
;
8615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8616 if (!SWIG_IsOK(res1
)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8619 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 (arg1
)->GetPosition(arg2
,arg3
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= SWIG_Py_Void();
8627 if (SWIG_IsTmpObj(res2
)) {
8628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8630 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8633 if (SWIG_IsTmpObj(res3
)) {
8634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8636 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8645 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8646 PyObject
*resultobj
= 0;
8647 wxCaret
*arg1
= (wxCaret
*) 0 ;
8651 PyObject
*swig_obj
[1] ;
8653 if (!args
) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8659 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (arg1
)->GetSize();
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8673 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8674 PyObject
*resultobj
= 0;
8675 wxCaret
*arg1
= (wxCaret
*) 0 ;
8676 int *arg2
= (int *) 0 ;
8677 int *arg3
= (int *) 0 ;
8681 int res2
= SWIG_TMPOBJ
;
8683 int res3
= SWIG_TMPOBJ
;
8684 PyObject
*swig_obj
[1] ;
8688 if (!args
) SWIG_fail
;
8690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8691 if (!SWIG_IsOK(res1
)) {
8692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8694 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 (arg1
)->GetSize(arg2
,arg3
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_Py_Void();
8702 if (SWIG_IsTmpObj(res2
)) {
8703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8705 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8708 if (SWIG_IsTmpObj(res3
)) {
8709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8711 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8720 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8721 PyObject
*resultobj
= 0;
8722 wxCaret
*arg1
= (wxCaret
*) 0 ;
8723 wxWindow
*result
= 0 ;
8726 PyObject
*swig_obj
[1] ;
8728 if (!args
) SWIG_fail
;
8730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8731 if (!SWIG_IsOK(res1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8734 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (wxWindow
*)(arg1
)->GetWindow();
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= wxPyMake_wxObject(result
, 0);
8750 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
= 0;
8752 wxCaret
*arg1
= (wxCaret
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 PyObject
* obj2
= 0 ;
8764 char * kwnames
[] = {
8765 (char *) "self",(char *) "x",(char *) "y", NULL
8768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8773 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8775 if (!SWIG_IsOK(ecode2
)) {
8776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8778 arg2
= static_cast< int >(val2
);
8779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8780 if (!SWIG_IsOK(ecode3
)) {
8781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8783 arg3
= static_cast< int >(val3
);
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->Move(arg2
,arg3
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= SWIG_Py_Void();
8797 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
= 0;
8799 wxCaret
*arg1
= (wxCaret
*) 0 ;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 char * kwnames
[] = {
8807 (char *) "self",(char *) "pt", NULL
8810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8812 if (!SWIG_IsOK(res1
)) {
8813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8815 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 (arg1
)->Move((wxPoint
const &)*arg2
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 resultobj
= SWIG_Py_Void();
8833 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
= 0;
8835 wxCaret
*arg1
= (wxCaret
*) 0 ;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8846 PyObject
* obj2
= 0 ;
8847 char * kwnames
[] = {
8848 (char *) "self",(char *) "width",(char *) "height", NULL
8851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8856 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8858 if (!SWIG_IsOK(ecode2
)) {
8859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8861 arg2
= static_cast< int >(val2
);
8862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8863 if (!SWIG_IsOK(ecode3
)) {
8864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8866 arg3
= static_cast< int >(val3
);
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 (arg1
)->SetSize(arg2
,arg3
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_Py_Void();
8880 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= 0;
8882 wxCaret
*arg1
= (wxCaret
*) 0 ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 char * kwnames
[] = {
8890 (char *) "self",(char *) "size", NULL
8893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8895 if (!SWIG_IsOK(res1
)) {
8896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8898 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 (arg1
)->SetSize((wxSize
const &)*arg2
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_Py_Void();
8916 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
= 0;
8918 wxCaret
*arg1
= (wxCaret
*) 0 ;
8919 int arg2
= (int) true ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8926 char * kwnames
[] = {
8927 (char *) "self",(char *) "show", NULL
8930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8932 if (!SWIG_IsOK(res1
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8935 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8938 if (!SWIG_IsOK(ecode2
)) {
8939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8941 arg2
= static_cast< int >(val2
);
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= SWIG_Py_Void();
8956 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8957 PyObject
*resultobj
= 0;
8958 wxCaret
*arg1
= (wxCaret
*) 0 ;
8961 PyObject
*swig_obj
[1] ;
8963 if (!args
) SWIG_fail
;
8965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8966 if (!SWIG_IsOK(res1
)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8969 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= SWIG_Py_Void();
8983 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8984 PyObject
*resultobj
= 0;
8987 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (int)wxCaret::GetBlinkTime();
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_From_int(static_cast< int >(result
));
9001 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
= 0;
9006 PyObject
* obj0
= 0 ;
9007 char * kwnames
[] = {
9008 (char *) "milliseconds", NULL
9011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
9012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9013 if (!SWIG_IsOK(ecode1
)) {
9014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
9016 arg1
= static_cast< int >(val1
);
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 wxCaret::SetBlinkTime(arg1
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= SWIG_Py_Void();
9030 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9033 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
9034 return SWIG_Py_Void();
9037 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9038 return SWIG_Python_InitShadowInstance(args
);
9041 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
= 0;
9043 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9044 wxBusyCursor
*result
= 0 ;
9047 PyObject
* obj0
= 0 ;
9048 char * kwnames
[] = {
9049 (char *) "cursor", NULL
9052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9055 if (!SWIG_IsOK(res1
)) {
9056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9058 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9061 if (!wxPyCheckForApp()) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9074 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9075 PyObject
*resultobj
= 0;
9076 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9079 PyObject
*swig_obj
[1] ;
9081 if (!args
) SWIG_fail
;
9083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9084 if (!SWIG_IsOK(res1
)) {
9085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9087 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_Py_Void();
9102 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9105 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9106 return SWIG_Py_Void();
9109 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9110 return SWIG_Python_InitShadowInstance(args
);
9113 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
= 0;
9115 wxWindow
*arg1
= (wxWindow
*) NULL
;
9116 wxWindowDisabler
*result
= 0 ;
9119 PyObject
* obj0
= 0 ;
9120 char * kwnames
[] = {
9121 (char *) "winToSkip", NULL
9124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9127 if (!SWIG_IsOK(res1
)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9133 if (!wxPyCheckForApp()) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9146 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9147 PyObject
*resultobj
= 0;
9148 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9151 PyObject
*swig_obj
[1] ;
9153 if (!args
) SWIG_fail
;
9155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9156 if (!SWIG_IsOK(res1
)) {
9157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9159 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_Py_Void();
9174 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9177 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9178 return SWIG_Py_Void();
9181 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9182 return SWIG_Python_InitShadowInstance(args
);
9185 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
= 0;
9187 wxString
*arg1
= 0 ;
9188 wxBusyInfo
*result
= 0 ;
9189 bool temp1
= false ;
9190 PyObject
* obj0
= 0 ;
9191 char * kwnames
[] = {
9192 (char *) "message", NULL
9195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9197 arg1
= wxString_in_helper(obj0
);
9198 if (arg1
== NULL
) SWIG_fail
;
9202 if (!wxPyCheckForApp()) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9223 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9224 PyObject
*resultobj
= 0;
9225 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9228 PyObject
*swig_obj
[1] ;
9230 if (!args
) SWIG_fail
;
9232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9233 if (!SWIG_IsOK(res1
)) {
9234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9236 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_Py_Void();
9251 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9254 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9255 return SWIG_Py_Void();
9258 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9259 return SWIG_Python_InitShadowInstance(args
);
9262 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9263 PyObject
*resultobj
= 0;
9264 wxStopWatch
*result
= 0 ;
9266 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (wxStopWatch
*)new wxStopWatch();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9280 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
= 0;
9282 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9283 long arg2
= (long) 0 ;
9288 PyObject
* obj0
= 0 ;
9289 PyObject
* obj1
= 0 ;
9290 char * kwnames
[] = {
9291 (char *) "self",(char *) "t0", NULL
9294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9296 if (!SWIG_IsOK(res1
)) {
9297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9299 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9301 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9302 if (!SWIG_IsOK(ecode2
)) {
9303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9305 arg2
= static_cast< long >(val2
);
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 (arg1
)->Start(arg2
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= SWIG_Py_Void();
9320 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9321 PyObject
*resultobj
= 0;
9322 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9325 PyObject
*swig_obj
[1] ;
9327 if (!args
) SWIG_fail
;
9329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9330 if (!SWIG_IsOK(res1
)) {
9331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9333 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 resultobj
= SWIG_Py_Void();
9347 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9348 PyObject
*resultobj
= 0;
9349 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9352 PyObject
*swig_obj
[1] ;
9354 if (!args
) SWIG_fail
;
9356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9357 if (!SWIG_IsOK(res1
)) {
9358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9360 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= SWIG_Py_Void();
9374 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9375 PyObject
*resultobj
= 0;
9376 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9380 PyObject
*swig_obj
[1] ;
9382 if (!args
) SWIG_fail
;
9384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9385 if (!SWIG_IsOK(res1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9388 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_From_long(static_cast< long >(result
));
9402 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9405 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9406 return SWIG_Py_Void();
9409 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9410 return SWIG_Python_InitShadowInstance(args
);
9413 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
= 0;
9415 int arg1
= (int) 9 ;
9416 int arg2
= (int) wxID_FILE1
;
9417 wxFileHistory
*result
= 0 ;
9422 PyObject
* obj0
= 0 ;
9423 PyObject
* obj1
= 0 ;
9424 char * kwnames
[] = {
9425 (char *) "maxFiles",(char *) "idBase", NULL
9428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9431 if (!SWIG_IsOK(ecode1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9434 arg1
= static_cast< int >(val1
);
9437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9438 if (!SWIG_IsOK(ecode2
)) {
9439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9441 arg2
= static_cast< int >(val2
);
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9456 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9457 PyObject
*resultobj
= 0;
9458 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9461 PyObject
*swig_obj
[1] ;
9463 if (!args
) SWIG_fail
;
9465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9466 if (!SWIG_IsOK(res1
)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9469 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_Py_Void();
9484 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= 0;
9486 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9487 wxString
*arg2
= 0 ;
9490 bool temp2
= false ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 char * kwnames
[] = {
9494 (char *) "self",(char *) "file", NULL
9497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9499 if (!SWIG_IsOK(res1
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9502 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9504 arg2
= wxString_in_helper(obj1
);
9505 if (arg2
== NULL
) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_Py_Void();
9529 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
= 0;
9531 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9539 char * kwnames
[] = {
9540 (char *) "self",(char *) "i", NULL
9543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9545 if (!SWIG_IsOK(res1
)) {
9546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9548 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9550 if (!SWIG_IsOK(ecode2
)) {
9551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9553 arg2
= static_cast< int >(val2
);
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 (arg1
)->RemoveFileFromHistory(arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= SWIG_Py_Void();
9567 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9568 PyObject
*resultobj
= 0;
9569 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9573 PyObject
*swig_obj
[1] ;
9575 if (!args
) SWIG_fail
;
9577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9578 if (!SWIG_IsOK(res1
)) {
9579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9581 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_From_int(static_cast< int >(result
));
9595 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
= 0;
9597 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9598 wxMenu
*arg2
= (wxMenu
*) 0 ;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9605 char * kwnames
[] = {
9606 (char *) "self",(char *) "menu", NULL
9609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9611 if (!SWIG_IsOK(res1
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9614 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9615 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9616 if (!SWIG_IsOK(res2
)) {
9617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9619 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 (arg1
)->UseMenu(arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_Py_Void();
9633 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
= 0;
9635 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9636 wxMenu
*arg2
= (wxMenu
*) 0 ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 char * kwnames
[] = {
9644 (char *) "self",(char *) "menu", NULL
9647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9649 if (!SWIG_IsOK(res1
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9652 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9654 if (!SWIG_IsOK(res2
)) {
9655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9657 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 (arg1
)->RemoveMenu(arg2
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= SWIG_Py_Void();
9671 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
= 0;
9673 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9674 wxConfigBase
*arg2
= 0 ;
9679 PyObject
* obj0
= 0 ;
9680 PyObject
* obj1
= 0 ;
9681 char * kwnames
[] = {
9682 (char *) "self",(char *) "config", NULL
9685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9687 if (!SWIG_IsOK(res1
)) {
9688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9690 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9692 if (!SWIG_IsOK(res2
)) {
9693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9698 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 (arg1
)->Load(*arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_Py_Void();
9712 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
= 0;
9714 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9715 wxConfigBase
*arg2
= 0 ;
9720 PyObject
* obj0
= 0 ;
9721 PyObject
* obj1
= 0 ;
9722 char * kwnames
[] = {
9723 (char *) "self",(char *) "config", NULL
9726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9728 if (!SWIG_IsOK(res1
)) {
9729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9731 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9733 if (!SWIG_IsOK(res2
)) {
9734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9739 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 (arg1
)->Save(*arg2
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= SWIG_Py_Void();
9753 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9754 PyObject
*resultobj
= 0;
9755 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9758 PyObject
*swig_obj
[1] ;
9760 if (!args
) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9766 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 (arg1
)->AddFilesToMenu();
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= SWIG_Py_Void();
9780 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
= 0;
9782 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9783 wxMenu
*arg2
= (wxMenu
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 char * kwnames
[] = {
9791 (char *) "self",(char *) "menu", NULL
9794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9796 if (!SWIG_IsOK(res1
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9799 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9801 if (!SWIG_IsOK(res2
)) {
9802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9804 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 (arg1
)->AddFilesToMenu(arg2
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_Py_Void();
9818 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
= 0;
9820 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 char * kwnames
[] = {
9830 (char *) "self",(char *) "i", NULL
9833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9835 if (!SWIG_IsOK(res1
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9838 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9840 if (!SWIG_IsOK(ecode2
)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9843 arg2
= static_cast< int >(val2
);
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9863 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9864 PyObject
*resultobj
= 0;
9865 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9869 PyObject
*swig_obj
[1] ;
9871 if (!args
) SWIG_fail
;
9873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9874 if (!SWIG_IsOK(res1
)) {
9875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9877 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9884 resultobj
= SWIG_From_int(static_cast< int >(result
));
9891 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9894 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9895 return SWIG_Py_Void();
9898 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9899 return SWIG_Python_InitShadowInstance(args
);
9902 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
= 0;
9904 wxString
*arg1
= 0 ;
9905 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9906 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9907 wxSingleInstanceChecker
*result
= 0 ;
9908 bool temp1
= false ;
9909 bool temp2
= false ;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9912 char * kwnames
[] = {
9913 (char *) "name",(char *) "path", NULL
9916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9918 arg1
= wxString_in_helper(obj0
);
9919 if (arg1
== NULL
) SWIG_fail
;
9924 arg2
= wxString_in_helper(obj1
);
9925 if (arg2
== NULL
) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9958 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9959 PyObject
*resultobj
= 0;
9960 wxSingleInstanceChecker
*result
= 0 ;
9962 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9976 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9977 PyObject
*resultobj
= 0;
9978 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9981 PyObject
*swig_obj
[1] ;
9983 if (!args
) SWIG_fail
;
9985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9986 if (!SWIG_IsOK(res1
)) {
9987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9989 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_Py_Void();
10004 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
= 0;
10006 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10007 wxString
*arg2
= 0 ;
10008 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10009 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10013 bool temp2
= false ;
10014 bool temp3
= false ;
10015 PyObject
* obj0
= 0 ;
10016 PyObject
* obj1
= 0 ;
10017 PyObject
* obj2
= 0 ;
10018 char * kwnames
[] = {
10019 (char *) "self",(char *) "name",(char *) "path", NULL
10022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10024 if (!SWIG_IsOK(res1
)) {
10025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10027 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10029 arg2
= wxString_in_helper(obj1
);
10030 if (arg2
== NULL
) SWIG_fail
;
10035 arg3
= wxString_in_helper(obj2
);
10036 if (arg3
== NULL
) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10071 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10072 PyObject
*resultobj
= 0;
10073 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10077 PyObject
*swig_obj
[1] ;
10079 if (!args
) SWIG_fail
;
10080 swig_obj
[0] = args
;
10081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10082 if (!SWIG_IsOK(res1
)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10085 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10101 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10104 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10105 return SWIG_Py_Void();
10108 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10109 return SWIG_Python_InitShadowInstance(args
);
10112 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 PyObject
*resultobj
= 0;
10114 wxPlatformInfo
*result
= 0 ;
10116 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10130 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
= 0;
10132 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10133 wxPlatformInfo
*arg2
= 0 ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char * kwnames
[] = {
10142 (char *) "self",(char *) "t", NULL
10145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10147 if (!SWIG_IsOK(res1
)) {
10148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10150 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10152 if (!SWIG_IsOK(res2
)) {
10153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10158 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10174 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
= 0;
10176 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10177 wxPlatformInfo
*arg2
= 0 ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 char * kwnames
[] = {
10186 (char *) "self",(char *) "t", NULL
10189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10191 if (!SWIG_IsOK(res1
)) {
10192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10194 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10196 if (!SWIG_IsOK(res2
)) {
10197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10202 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10218 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10219 PyObject
*resultobj
= 0;
10220 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10224 PyObject
*swig_obj
[1] ;
10226 if (!args
) SWIG_fail
;
10227 swig_obj
[0] = args
;
10228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10232 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= SWIG_From_int(static_cast< int >(result
));
10246 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10247 PyObject
*resultobj
= 0;
10248 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10252 PyObject
*swig_obj
[1] ;
10254 if (!args
) SWIG_fail
;
10255 swig_obj
[0] = args
;
10256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10257 if (!SWIG_IsOK(res1
)) {
10258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10260 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= SWIG_From_int(static_cast< int >(result
));
10274 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10275 PyObject
*resultobj
= 0;
10276 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10280 PyObject
*swig_obj
[1] ;
10282 if (!args
) SWIG_fail
;
10283 swig_obj
[0] = args
;
10284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10285 if (!SWIG_IsOK(res1
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10288 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_From_int(static_cast< int >(result
));
10302 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10303 PyObject
*resultobj
= 0;
10304 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10308 PyObject
*swig_obj
[1] ;
10310 if (!args
) SWIG_fail
;
10311 swig_obj
[0] = args
;
10312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10313 if (!SWIG_IsOK(res1
)) {
10314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10316 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_From_int(static_cast< int >(result
));
10330 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10331 PyObject
*resultobj
= 0;
10332 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10336 PyObject
*swig_obj
[1] ;
10338 if (!args
) SWIG_fail
;
10339 swig_obj
[0] = args
;
10340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10341 if (!SWIG_IsOK(res1
)) {
10342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10344 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10360 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10361 PyObject
*resultobj
= 0;
10362 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10363 wxOperatingSystemId result
;
10366 PyObject
*swig_obj
[1] ;
10368 if (!args
) SWIG_fail
;
10369 swig_obj
[0] = args
;
10370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10371 if (!SWIG_IsOK(res1
)) {
10372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10374 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_From_int(static_cast< int >(result
));
10388 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10389 PyObject
*resultobj
= 0;
10390 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10394 PyObject
*swig_obj
[1] ;
10396 if (!args
) SWIG_fail
;
10397 swig_obj
[0] = args
;
10398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10402 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_From_int(static_cast< int >(result
));
10416 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10417 PyObject
*resultobj
= 0;
10418 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10419 wxArchitecture result
;
10422 PyObject
*swig_obj
[1] ;
10424 if (!args
) SWIG_fail
;
10425 swig_obj
[0] = args
;
10426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10427 if (!SWIG_IsOK(res1
)) {
10428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10430 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= SWIG_From_int(static_cast< int >(result
));
10444 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10445 PyObject
*resultobj
= 0;
10446 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10447 wxEndianness result
;
10450 PyObject
*swig_obj
[1] ;
10452 if (!args
) SWIG_fail
;
10453 swig_obj
[0] = args
;
10454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10458 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_From_int(static_cast< int >(result
));
10472 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10473 PyObject
*resultobj
= 0;
10474 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10478 PyObject
*swig_obj
[1] ;
10480 if (!args
) SWIG_fail
;
10481 swig_obj
[0] = args
;
10482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10483 if (!SWIG_IsOK(res1
)) {
10484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10486 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10506 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10507 PyObject
*resultobj
= 0;
10508 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10512 PyObject
*swig_obj
[1] ;
10514 if (!args
) SWIG_fail
;
10515 swig_obj
[0] = args
;
10516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10517 if (!SWIG_IsOK(res1
)) {
10518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10520 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10540 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10541 PyObject
*resultobj
= 0;
10542 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10546 PyObject
*swig_obj
[1] ;
10548 if (!args
) SWIG_fail
;
10549 swig_obj
[0] = args
;
10550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10551 if (!SWIG_IsOK(res1
)) {
10552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10554 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10574 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10575 PyObject
*resultobj
= 0;
10576 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10580 PyObject
*swig_obj
[1] ;
10582 if (!args
) SWIG_fail
;
10583 swig_obj
[0] = args
;
10584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10585 if (!SWIG_IsOK(res1
)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10588 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10608 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10609 PyObject
*resultobj
= 0;
10610 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10614 PyObject
*swig_obj
[1] ;
10616 if (!args
) SWIG_fail
;
10617 swig_obj
[0] = args
;
10618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10619 if (!SWIG_IsOK(res1
)) {
10620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10622 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10642 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10643 PyObject
*resultobj
= 0;
10644 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10648 PyObject
*swig_obj
[1] ;
10650 if (!args
) SWIG_fail
;
10651 swig_obj
[0] = args
;
10652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10653 if (!SWIG_IsOK(res1
)) {
10654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10656 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10676 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
= 0;
10678 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 PyObject
* obj2
= 0 ;
10690 char * kwnames
[] = {
10691 (char *) "self",(char *) "major",(char *) "minor", NULL
10694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10699 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10701 if (!SWIG_IsOK(ecode2
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10704 arg2
= static_cast< int >(val2
);
10705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10706 if (!SWIG_IsOK(ecode3
)) {
10707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10709 arg3
= static_cast< int >(val3
);
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 (arg1
)->SetOSVersion(arg2
,arg3
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= SWIG_Py_Void();
10723 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
= 0;
10725 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 char * kwnames
[] = {
10738 (char *) "self",(char *) "major",(char *) "minor", NULL
10741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10743 if (!SWIG_IsOK(res1
)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10746 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10748 if (!SWIG_IsOK(ecode2
)) {
10749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10751 arg2
= static_cast< int >(val2
);
10752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10753 if (!SWIG_IsOK(ecode3
)) {
10754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10756 arg3
= static_cast< int >(val3
);
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= SWIG_Py_Void();
10770 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
= 0;
10772 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10773 wxOperatingSystemId arg2
;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 char * kwnames
[] = {
10781 (char *) "self",(char *) "n", NULL
10784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10786 if (!SWIG_IsOK(res1
)) {
10787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10789 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10791 if (!SWIG_IsOK(ecode2
)) {
10792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10794 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetOperatingSystemId(arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_Py_Void();
10808 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 char * kwnames
[] = {
10819 (char *) "self",(char *) "n", NULL
10822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10824 if (!SWIG_IsOK(res1
)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10827 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10829 if (!SWIG_IsOK(ecode2
)) {
10830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10832 arg2
= static_cast< wxPortId
>(val2
);
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->SetPortId(arg2
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= SWIG_Py_Void();
10846 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
= 0;
10848 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10849 wxArchitecture arg2
;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 char * kwnames
[] = {
10857 (char *) "self",(char *) "n", NULL
10860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10865 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10867 if (!SWIG_IsOK(ecode2
)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
10870 arg2
= static_cast< wxArchitecture
>(val2
);
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->SetArchitecture(arg2
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= SWIG_Py_Void();
10884 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
= 0;
10886 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10887 wxEndianness arg2
;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 char * kwnames
[] = {
10895 (char *) "self",(char *) "n", NULL
10898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10900 if (!SWIG_IsOK(res1
)) {
10901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10903 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10905 if (!SWIG_IsOK(ecode2
)) {
10906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
10908 arg2
= static_cast< wxEndianness
>(val2
);
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 (arg1
)->SetEndianness(arg2
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_Py_Void();
10922 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10923 PyObject
*resultobj
= 0;
10924 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10928 PyObject
*swig_obj
[1] ;
10930 if (!args
) SWIG_fail
;
10931 swig_obj
[0] = args
;
10932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10933 if (!SWIG_IsOK(res1
)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10936 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10952 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10955 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
10956 return SWIG_Py_Void();
10959 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10960 return SWIG_Python_InitShadowInstance(args
);
10963 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
= 0;
10965 wxWindow
*arg1
= (wxWindow
*) 0 ;
10972 PyObject
* obj0
= 0 ;
10973 PyObject
* obj1
= 0 ;
10974 char * kwnames
[] = {
10975 (char *) "window",(char *) "dc", NULL
10978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10980 if (!SWIG_IsOK(res1
)) {
10981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
10983 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10984 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
10985 if (!SWIG_IsOK(res2
)) {
10986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10991 arg2
= reinterpret_cast< wxDC
* >(argp2
);
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11007 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11008 PyObject
*resultobj
= 0;
11009 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11012 PyObject
*swig_obj
[1] ;
11014 if (!args
) SWIG_fail
;
11015 swig_obj
[0] = args
;
11016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11017 if (!SWIG_IsOK(res1
)) {
11018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11020 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= SWIG_Py_Void();
11035 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11036 PyObject
*resultobj
= 0;
11037 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11041 PyObject
*swig_obj
[1] ;
11043 if (!args
) SWIG_fail
;
11044 swig_obj
[0] = args
;
11045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11046 if (!SWIG_IsOK(res1
)) {
11047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11049 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (arg1
)->GetTip();
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11069 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11070 PyObject
*resultobj
= 0;
11071 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11075 PyObject
*swig_obj
[1] ;
11077 if (!args
) SWIG_fail
;
11078 swig_obj
[0] = args
;
11079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11080 if (!SWIG_IsOK(res1
)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11083 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (size_t)(arg1
)->GetCurrentTip();
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11097 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
= 0;
11099 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11100 wxString
*arg2
= 0 ;
11104 bool temp2
= false ;
11105 PyObject
* obj0
= 0 ;
11106 PyObject
* obj1
= 0 ;
11107 char * kwnames
[] = {
11108 (char *) "self",(char *) "tip", NULL
11111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11113 if (!SWIG_IsOK(res1
)) {
11114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11116 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11118 arg2
= wxString_in_helper(obj1
);
11119 if (arg2
== NULL
) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11149 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11152 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11153 return SWIG_Py_Void();
11156 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
= 0;
11159 wxPyTipProvider
*result
= 0 ;
11162 PyObject
* obj0
= 0 ;
11163 char * kwnames
[] = {
11164 (char *) "currentTip", NULL
11167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11168 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11169 if (!SWIG_IsOK(ecode1
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11172 arg1
= static_cast< size_t >(val1
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11186 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11189 PyObject
*arg2
= (PyObject
*) 0 ;
11190 PyObject
*arg3
= (PyObject
*) 0 ;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 PyObject
* obj2
= 0 ;
11196 char * kwnames
[] = {
11197 (char *) "self",(char *) "self",(char *) "_class", NULL
11200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11205 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= SWIG_Py_Void();
11221 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11224 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11225 return SWIG_Py_Void();
11228 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11229 return SWIG_Python_InitShadowInstance(args
);
11232 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
= 0;
11234 wxWindow
*arg1
= (wxWindow
*) 0 ;
11235 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11236 bool arg3
= (bool) true ;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 PyObject
* obj2
= 0 ;
11247 char * kwnames
[] = {
11248 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11253 if (!SWIG_IsOK(res1
)) {
11254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11258 if (!SWIG_IsOK(res2
)) {
11259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11261 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11263 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11264 if (!SWIG_IsOK(ecode3
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11267 arg3
= static_cast< bool >(val3
);
11270 if (!wxPyCheckForApp()) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11285 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
= 0;
11287 wxString
*arg1
= 0 ;
11289 wxTipProvider
*result
= 0 ;
11290 bool temp1
= false ;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 char * kwnames
[] = {
11296 (char *) "filename",(char *) "currentTip", NULL
11299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11301 arg1
= wxString_in_helper(obj0
);
11302 if (arg1
== NULL
) SWIG_fail
;
11305 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11306 if (!SWIG_IsOK(ecode2
)) {
11307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11309 arg2
= static_cast< size_t >(val2
);
11311 if (!wxPyCheckForApp()) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11332 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
= 0;
11334 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11335 int arg2
= (int) wxID_ANY
;
11336 wxPyTimer
*result
= 0 ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 char * kwnames
[] = {
11344 (char *) "owner",(char *) "id", NULL
11347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11350 if (!SWIG_IsOK(res1
)) {
11351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11353 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11357 if (!SWIG_IsOK(ecode2
)) {
11358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11360 arg2
= static_cast< int >(val2
);
11363 if (!wxPyCheckForApp()) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11376 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11377 PyObject
*resultobj
= 0;
11378 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11381 PyObject
*swig_obj
[1] ;
11383 if (!args
) SWIG_fail
;
11384 swig_obj
[0] = args
;
11385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11386 if (!SWIG_IsOK(res1
)) {
11387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11389 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_Py_Void();
11404 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
= 0;
11406 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11407 PyObject
*arg2
= (PyObject
*) 0 ;
11408 PyObject
*arg3
= (PyObject
*) 0 ;
11409 int arg4
= (int) 1 ;
11414 PyObject
* obj0
= 0 ;
11415 PyObject
* obj1
= 0 ;
11416 PyObject
* obj2
= 0 ;
11417 PyObject
* obj3
= 0 ;
11418 char * kwnames
[] = {
11419 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11424 if (!SWIG_IsOK(res1
)) {
11425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11427 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11431 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11432 if (!SWIG_IsOK(ecode4
)) {
11433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11435 arg4
= static_cast< int >(val4
);
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= SWIG_Py_Void();
11450 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
= 0;
11452 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11453 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11454 int arg3
= (int) wxID_ANY
;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 PyObject
* obj2
= 0 ;
11464 char * kwnames
[] = {
11465 (char *) "self",(char *) "owner",(char *) "id", NULL
11468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11470 if (!SWIG_IsOK(res1
)) {
11471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11473 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11475 if (!SWIG_IsOK(res2
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11478 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11481 if (!SWIG_IsOK(ecode3
)) {
11482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11484 arg3
= static_cast< int >(val3
);
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 (arg1
)->SetOwner(arg2
,arg3
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_Py_Void();
11499 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11500 PyObject
*resultobj
= 0;
11501 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11502 wxEvtHandler
*result
= 0 ;
11505 PyObject
*swig_obj
[1] ;
11507 if (!args
) SWIG_fail
;
11508 swig_obj
[0] = args
;
11509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11510 if (!SWIG_IsOK(res1
)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11513 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= wxPyMake_wxObject(result
, 0);
11529 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
= 0;
11531 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11532 int arg2
= (int) -1 ;
11533 bool arg3
= (bool) false ;
11541 PyObject
* obj0
= 0 ;
11542 PyObject
* obj1
= 0 ;
11543 PyObject
* obj2
= 0 ;
11544 char * kwnames
[] = {
11545 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11553 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11556 if (!SWIG_IsOK(ecode2
)) {
11557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11559 arg2
= static_cast< int >(val2
);
11562 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11563 if (!SWIG_IsOK(ecode3
)) {
11564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11566 arg3
= static_cast< bool >(val3
);
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11583 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11584 PyObject
*resultobj
= 0;
11585 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11588 PyObject
*swig_obj
[1] ;
11590 if (!args
) SWIG_fail
;
11591 swig_obj
[0] = args
;
11592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11593 if (!SWIG_IsOK(res1
)) {
11594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11596 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_Py_Void();
11610 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11611 PyObject
*resultobj
= 0;
11612 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11615 PyObject
*swig_obj
[1] ;
11617 if (!args
) SWIG_fail
;
11618 swig_obj
[0] = args
;
11619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11620 if (!SWIG_IsOK(res1
)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11623 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= SWIG_Py_Void();
11637 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11638 PyObject
*resultobj
= 0;
11639 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11643 PyObject
*swig_obj
[1] ;
11645 if (!args
) SWIG_fail
;
11646 swig_obj
[0] = args
;
11647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11651 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11667 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11668 PyObject
*resultobj
= 0;
11669 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11673 PyObject
*swig_obj
[1] ;
11675 if (!args
) SWIG_fail
;
11676 swig_obj
[0] = args
;
11677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11678 if (!SWIG_IsOK(res1
)) {
11679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11681 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= SWIG_From_int(static_cast< int >(result
));
11695 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11696 PyObject
*resultobj
= 0;
11697 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11701 PyObject
*swig_obj
[1] ;
11703 if (!args
) SWIG_fail
;
11704 swig_obj
[0] = args
;
11705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11706 if (!SWIG_IsOK(res1
)) {
11707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11709 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_From_int(static_cast< int >(result
));
11723 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11724 PyObject
*resultobj
= 0;
11725 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11729 PyObject
*swig_obj
[1] ;
11731 if (!args
) SWIG_fail
;
11732 swig_obj
[0] = args
;
11733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11734 if (!SWIG_IsOK(res1
)) {
11735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11737 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11753 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11756 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11757 return SWIG_Py_Void();
11760 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11761 return SWIG_Python_InitShadowInstance(args
);
11764 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
= 0;
11766 int arg1
= (int) 0 ;
11767 int arg2
= (int) 0 ;
11768 wxTimerEvent
*result
= 0 ;
11773 PyObject
* obj0
= 0 ;
11774 PyObject
* obj1
= 0 ;
11775 char * kwnames
[] = {
11776 (char *) "timerid",(char *) "interval", NULL
11779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11782 if (!SWIG_IsOK(ecode1
)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11785 arg1
= static_cast< int >(val1
);
11788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11789 if (!SWIG_IsOK(ecode2
)) {
11790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11792 arg2
= static_cast< int >(val2
);
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11807 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11808 PyObject
*resultobj
= 0;
11809 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11813 PyObject
*swig_obj
[1] ;
11815 if (!args
) SWIG_fail
;
11816 swig_obj
[0] = args
;
11817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11818 if (!SWIG_IsOK(res1
)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11821 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_From_int(static_cast< int >(result
));
11835 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11838 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11839 return SWIG_Py_Void();
11842 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11843 return SWIG_Python_InitShadowInstance(args
);
11846 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11847 PyObject
*resultobj
= 0;
11848 wxTimer
*arg1
= 0 ;
11849 wxTimerRunner
*result
= 0 ;
11853 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11855 if (!SWIG_IsOK(res1
)) {
11856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11861 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11863 if (!wxPyCheckForApp()) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11876 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11877 PyObject
*resultobj
= 0;
11878 wxTimer
*arg1
= 0 ;
11880 bool arg3
= (bool) false ;
11881 wxTimerRunner
*result
= 0 ;
11889 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
11890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11891 if (!SWIG_IsOK(res1
)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11897 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11898 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
11899 if (!SWIG_IsOK(ecode2
)) {
11900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
11902 arg2
= static_cast< int >(val2
);
11904 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
11905 if (!SWIG_IsOK(ecode3
)) {
11906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
11908 arg3
= static_cast< bool >(val3
);
11911 if (!wxPyCheckForApp()) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11924 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
11928 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
11931 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
11933 if ((argc
>= 2) && (argc
<= 3)) {
11934 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
11938 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
11943 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11944 PyObject
*resultobj
= 0;
11945 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11948 PyObject
*swig_obj
[1] ;
11950 if (!args
) SWIG_fail
;
11951 swig_obj
[0] = args
;
11952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
11953 if (!SWIG_IsOK(res1
)) {
11954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11956 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= SWIG_Py_Void();
11971 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
= 0;
11973 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11975 bool arg3
= (bool) false ;
11982 PyObject
* obj0
= 0 ;
11983 PyObject
* obj1
= 0 ;
11984 PyObject
* obj2
= 0 ;
11985 char * kwnames
[] = {
11986 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
11989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
11991 if (!SWIG_IsOK(res1
)) {
11992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11994 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11996 if (!SWIG_IsOK(ecode2
)) {
11997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
11999 arg2
= static_cast< int >(val2
);
12001 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12002 if (!SWIG_IsOK(ecode3
)) {
12003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12005 arg3
= static_cast< bool >(val3
);
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 (arg1
)->Start(arg2
,arg3
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_Py_Void();
12020 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12023 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12024 return SWIG_Py_Void();
12027 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12028 return SWIG_Python_InitShadowInstance(args
);
12031 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 PyObject
*resultobj
= 0;
12033 wxLog
*result
= 0 ;
12035 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (wxLog
*)new wxLog();
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12049 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12050 PyObject
*resultobj
= 0;
12051 wxLog
*arg1
= (wxLog
*) 0 ;
12054 PyObject
*swig_obj
[1] ;
12056 if (!args
) SWIG_fail
;
12057 swig_obj
[0] = args
;
12058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12059 if (!SWIG_IsOK(res1
)) {
12060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12062 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_Py_Void();
12077 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12078 PyObject
*resultobj
= 0;
12081 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= (bool)wxLog::IsEnabled();
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12097 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
= 0;
12099 bool arg1
= (bool) true ;
12103 PyObject
* obj0
= 0 ;
12104 char * kwnames
[] = {
12105 (char *) "doIt", NULL
12108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12110 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12111 if (!SWIG_IsOK(ecode1
)) {
12112 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12114 arg1
= static_cast< bool >(val1
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (bool)wxLog::EnableLogging(arg1
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12131 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
= 0;
12134 wxChar
*arg2
= (wxChar
*) 0 ;
12136 unsigned long val1
;
12140 unsigned int val3
;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 PyObject
* obj2
= 0 ;
12145 char * kwnames
[] = {
12146 (char *) "level",(char *) "szString",(char *) "t", NULL
12149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12150 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12151 if (!SWIG_IsOK(ecode1
)) {
12152 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12154 arg1
= static_cast< wxLogLevel
>(val1
);
12155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12156 if (!SWIG_IsOK(res2
)) {
12157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12159 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12160 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12161 if (!SWIG_IsOK(ecode3
)) {
12162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12164 arg3
= static_cast< time_t >(val3
);
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= SWIG_Py_Void();
12178 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12179 PyObject
*resultobj
= 0;
12180 wxLog
*arg1
= (wxLog
*) 0 ;
12183 PyObject
*swig_obj
[1] ;
12185 if (!args
) SWIG_fail
;
12186 swig_obj
[0] = args
;
12187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12188 if (!SWIG_IsOK(res1
)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12191 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= SWIG_Py_Void();
12205 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12206 PyObject
*resultobj
= 0;
12208 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 wxLog::FlushActive();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= SWIG_Py_Void();
12222 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 PyObject
*resultobj
= 0;
12224 wxLog
*result
= 0 ;
12226 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (wxLog
*)wxLog::GetActiveTarget();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12240 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
= 0;
12242 wxLog
*arg1
= (wxLog
*) 0 ;
12243 wxLog
*result
= 0 ;
12245 PyObject
* obj0
= 0 ;
12246 char * kwnames
[] = {
12247 (char *) "pLogger", NULL
12250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12251 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12268 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12269 PyObject
*resultobj
= 0;
12271 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= SWIG_Py_Void();
12285 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12286 PyObject
*resultobj
= 0;
12288 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= SWIG_Py_Void();
12302 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
= 0;
12304 bool arg1
= (bool) true ;
12307 PyObject
* obj0
= 0 ;
12308 char * kwnames
[] = {
12309 (char *) "bVerbose", NULL
12312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12314 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12315 if (!SWIG_IsOK(ecode1
)) {
12316 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12318 arg1
= static_cast< bool >(val1
);
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 wxLog::SetVerbose(arg1
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_Py_Void();
12333 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
= 0;
12336 unsigned long val1
;
12338 PyObject
* obj0
= 0 ;
12339 char * kwnames
[] = {
12340 (char *) "logLevel", NULL
12343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12344 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12345 if (!SWIG_IsOK(ecode1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12348 arg1
= static_cast< wxLogLevel
>(val1
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 wxLog::SetLogLevel(arg1
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_Py_Void();
12362 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12363 PyObject
*resultobj
= 0;
12365 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 wxLog::DontCreateOnDemand();
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= SWIG_Py_Void();
12379 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
= 0;
12381 bool arg1
= (bool) true ;
12384 PyObject
* obj0
= 0 ;
12385 char * kwnames
[] = {
12386 (char *) "bRepetCounting", NULL
12389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12391 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12392 if (!SWIG_IsOK(ecode1
)) {
12393 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12395 arg1
= static_cast< bool >(val1
);
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 wxLog::SetRepetitionCounting(arg1
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_Py_Void();
12410 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12411 PyObject
*resultobj
= 0;
12414 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 result
= (bool)wxLog::GetRepetitionCounting();
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12430 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
= 0;
12433 unsigned long val1
;
12435 PyObject
* obj0
= 0 ;
12436 char * kwnames
[] = {
12437 (char *) "ulMask", NULL
12440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12441 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12442 if (!SWIG_IsOK(ecode1
)) {
12443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12445 arg1
= static_cast< wxTraceMask
>(val1
);
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 wxLog::SetTraceMask(arg1
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= SWIG_Py_Void();
12459 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
= 0;
12461 wxString
*arg1
= 0 ;
12462 bool temp1
= false ;
12463 PyObject
* obj0
= 0 ;
12464 char * kwnames
[] = {
12465 (char *) "str", NULL
12468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12470 arg1
= wxString_in_helper(obj0
);
12471 if (arg1
== NULL
) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 wxLog::AddTraceMask((wxString
const &)*arg1
);
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_Py_Void();
12495 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
= 0;
12497 wxString
*arg1
= 0 ;
12498 bool temp1
= false ;
12499 PyObject
* obj0
= 0 ;
12500 char * kwnames
[] = {
12501 (char *) "str", NULL
12504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12506 arg1
= wxString_in_helper(obj0
);
12507 if (arg1
== NULL
) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= SWIG_Py_Void();
12531 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12532 PyObject
*resultobj
= 0;
12534 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 wxLog::ClearTraceMasks();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= SWIG_Py_Void();
12548 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12549 PyObject
*resultobj
= 0;
12550 wxArrayString
*result
= 0 ;
12552 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12557 result
= (wxArrayString
*) &_result_ref
;
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= wxArrayString2PyList_helper(*result
);
12571 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
= 0;
12573 wxChar
*arg1
= (wxChar
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char * kwnames
[] = {
12578 (char *) "ts", NULL
12581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12583 if (!SWIG_IsOK(res1
)) {
12584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12586 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 wxLog::SetTimestamp((wxChar
const *)arg1
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= SWIG_Py_Void();
12600 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12601 PyObject
*resultobj
= 0;
12604 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (bool)wxLog::GetVerbose();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12620 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12621 PyObject
*resultobj
= 0;
12622 wxTraceMask result
;
12624 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (wxTraceMask
)wxLog::GetTraceMask();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12638 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
= 0;
12640 wxChar
*arg1
= (wxChar
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 char * kwnames
[] = {
12646 (char *) "mask", NULL
12649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12651 if (!SWIG_IsOK(res1
)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12654 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12670 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12671 PyObject
*resultobj
= 0;
12674 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (wxLogLevel
)wxLog::GetLogLevel();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12688 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12689 PyObject
*resultobj
= 0;
12690 wxChar
*result
= 0 ;
12692 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= (wxChar
*)wxLog::GetTimestamp();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12706 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12707 PyObject
*resultobj
= 0;
12710 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= wxLog_TimeStamp();
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12730 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12731 PyObject
*resultobj
= 0;
12732 wxLog
*arg1
= (wxLog
*) 0 ;
12735 PyObject
*swig_obj
[1] ;
12737 if (!args
) SWIG_fail
;
12738 swig_obj
[0] = args
;
12739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12740 if (!SWIG_IsOK(res1
)) {
12741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12743 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 wxLog_Destroy(arg1
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_Py_Void();
12757 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12760 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12761 return SWIG_Py_Void();
12764 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12765 return SWIG_Python_InitShadowInstance(args
);
12768 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12769 PyObject
*resultobj
= 0;
12770 wxLogStderr
*result
= 0 ;
12772 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 result
= (wxLogStderr
*)new wxLogStderr();
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12786 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12789 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12790 return SWIG_Py_Void();
12793 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12794 return SWIG_Python_InitShadowInstance(args
);
12797 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
= 0;
12799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12800 wxLogTextCtrl
*result
= 0 ;
12803 PyObject
* obj0
= 0 ;
12804 char * kwnames
[] = {
12805 (char *) "pTextCtrl", NULL
12808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12810 if (!SWIG_IsOK(res1
)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12813 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12827 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12830 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12831 return SWIG_Py_Void();
12834 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12835 return SWIG_Python_InitShadowInstance(args
);
12838 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12839 PyObject
*resultobj
= 0;
12840 wxLogGui
*result
= 0 ;
12842 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (wxLogGui
*)new wxLogGui();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12856 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12859 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12860 return SWIG_Py_Void();
12863 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12864 return SWIG_Python_InitShadowInstance(args
);
12867 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
= 0;
12869 wxFrame
*arg1
= (wxFrame
*) 0 ;
12870 wxString
*arg2
= 0 ;
12871 bool arg3
= (bool) true ;
12872 bool arg4
= (bool) true ;
12873 wxLogWindow
*result
= 0 ;
12876 bool temp2
= false ;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 PyObject
* obj2
= 0 ;
12884 PyObject
* obj3
= 0 ;
12885 char * kwnames
[] = {
12886 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
12889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12891 if (!SWIG_IsOK(res1
)) {
12892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
12894 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12896 arg2
= wxString_in_helper(obj1
);
12897 if (arg2
== NULL
) SWIG_fail
;
12901 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12902 if (!SWIG_IsOK(ecode3
)) {
12903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
12905 arg3
= static_cast< bool >(val3
);
12908 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12909 if (!SWIG_IsOK(ecode4
)) {
12910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
12912 arg4
= static_cast< bool >(val4
);
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
12935 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
= 0;
12937 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12938 bool arg2
= (bool) true ;
12943 PyObject
* obj0
= 0 ;
12944 PyObject
* obj1
= 0 ;
12945 char * kwnames
[] = {
12946 (char *) "self",(char *) "bShow", NULL
12949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12951 if (!SWIG_IsOK(res1
)) {
12952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12954 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12956 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12957 if (!SWIG_IsOK(ecode2
)) {
12958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
12960 arg2
= static_cast< bool >(val2
);
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 (arg1
)->Show(arg2
);
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_Py_Void();
12975 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12976 PyObject
*resultobj
= 0;
12977 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12978 wxFrame
*result
= 0 ;
12981 PyObject
*swig_obj
[1] ;
12983 if (!args
) SWIG_fail
;
12984 swig_obj
[0] = args
;
12985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12986 if (!SWIG_IsOK(res1
)) {
12987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12989 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13005 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13006 PyObject
*resultobj
= 0;
13007 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13008 wxLog
*result
= 0 ;
13011 PyObject
*swig_obj
[1] ;
13013 if (!args
) SWIG_fail
;
13014 swig_obj
[0] = args
;
13015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13016 if (!SWIG_IsOK(res1
)) {
13017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13019 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13033 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13034 PyObject
*resultobj
= 0;
13035 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13039 PyObject
*swig_obj
[1] ;
13041 if (!args
) SWIG_fail
;
13042 swig_obj
[0] = args
;
13043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13044 if (!SWIG_IsOK(res1
)) {
13045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13047 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13063 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
= 0;
13065 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13071 PyObject
* obj0
= 0 ;
13072 PyObject
* obj1
= 0 ;
13073 char * kwnames
[] = {
13074 (char *) "self",(char *) "bDoPass", NULL
13077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13079 if (!SWIG_IsOK(res1
)) {
13080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13082 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13083 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13084 if (!SWIG_IsOK(ecode2
)) {
13085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13087 arg2
= static_cast< bool >(val2
);
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 (arg1
)->PassMessages(arg2
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_Py_Void();
13101 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13104 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13105 return SWIG_Py_Void();
13108 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 return SWIG_Python_InitShadowInstance(args
);
13112 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
= 0;
13114 wxLog
*arg1
= (wxLog
*) 0 ;
13115 wxLogChain
*result
= 0 ;
13118 PyObject
* obj0
= 0 ;
13119 char * kwnames
[] = {
13120 (char *) "logger", NULL
13123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13125 if (!SWIG_IsOK(res1
)) {
13126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13128 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (wxLogChain
*)new wxLogChain(arg1
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13142 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
= 0;
13144 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13145 wxLog
*arg2
= (wxLog
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 char * kwnames
[] = {
13153 (char *) "self",(char *) "logger", NULL
13156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13158 if (!SWIG_IsOK(res1
)) {
13159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13161 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13163 if (!SWIG_IsOK(res2
)) {
13164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13166 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 (arg1
)->SetLog(arg2
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_Py_Void();
13180 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
= 0;
13182 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 char * kwnames
[] = {
13191 (char *) "self",(char *) "bDoPass", NULL
13194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13196 if (!SWIG_IsOK(res1
)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13199 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13200 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13201 if (!SWIG_IsOK(ecode2
)) {
13202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13204 arg2
= static_cast< bool >(val2
);
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 (arg1
)->PassMessages(arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= SWIG_Py_Void();
13218 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13219 PyObject
*resultobj
= 0;
13220 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13224 PyObject
*swig_obj
[1] ;
13226 if (!args
) SWIG_fail
;
13227 swig_obj
[0] = args
;
13228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13229 if (!SWIG_IsOK(res1
)) {
13230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13232 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (bool)(arg1
)->IsPassingMessages();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13248 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13249 PyObject
*resultobj
= 0;
13250 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13251 wxLog
*result
= 0 ;
13254 PyObject
*swig_obj
[1] ;
13256 if (!args
) SWIG_fail
;
13257 swig_obj
[0] = args
;
13258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13259 if (!SWIG_IsOK(res1
)) {
13260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13262 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (wxLog
*)(arg1
)->GetOldLog();
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13276 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13279 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13280 return SWIG_Py_Void();
13283 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13284 return SWIG_Python_InitShadowInstance(args
);
13287 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13288 PyObject
*resultobj
= 0;
13289 wxLogBuffer
*result
= 0 ;
13291 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (wxLogBuffer
*)new wxLogBuffer();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13305 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13306 PyObject
*resultobj
= 0;
13307 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13308 wxString
*result
= 0 ;
13311 PyObject
*swig_obj
[1] ;
13313 if (!args
) SWIG_fail
;
13314 swig_obj
[0] = args
;
13315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13316 if (!SWIG_IsOK(res1
)) {
13317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13319 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13324 result
= (wxString
*) &_result_ref
;
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13333 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13342 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13345 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13346 return SWIG_Py_Void();
13349 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13350 return SWIG_Python_InitShadowInstance(args
);
13353 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13354 PyObject
*resultobj
= 0;
13355 unsigned long result
;
13357 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= (unsigned long)wxSysErrorCode();
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13371 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
= 0;
13373 unsigned long arg1
= (unsigned long) 0 ;
13375 unsigned long val1
;
13377 PyObject
* obj0
= 0 ;
13378 char * kwnames
[] = {
13379 (char *) "nErrCode", NULL
13382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13384 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13385 if (!SWIG_IsOK(ecode1
)) {
13386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13388 arg1
= static_cast< unsigned long >(val1
);
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= wxSysErrorMsg(arg1
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13409 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
= 0;
13411 wxString
*arg1
= 0 ;
13412 bool temp1
= false ;
13413 PyObject
* obj0
= 0 ;
13414 char * kwnames
[] = {
13415 (char *) "msg", NULL
13418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13420 arg1
= wxString_in_helper(obj0
);
13421 if (arg1
== NULL
) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 wxPyLogFatalError((wxString
const &)*arg1
);
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_Py_Void();
13445 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
= 0;
13447 wxString
*arg1
= 0 ;
13448 bool temp1
= false ;
13449 PyObject
* obj0
= 0 ;
13450 char * kwnames
[] = {
13451 (char *) "msg", NULL
13454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13456 arg1
= wxString_in_helper(obj0
);
13457 if (arg1
== NULL
) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 wxPyLogError((wxString
const &)*arg1
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= SWIG_Py_Void();
13481 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
= 0;
13483 wxString
*arg1
= 0 ;
13484 bool temp1
= false ;
13485 PyObject
* obj0
= 0 ;
13486 char * kwnames
[] = {
13487 (char *) "msg", NULL
13490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13492 arg1
= wxString_in_helper(obj0
);
13493 if (arg1
== NULL
) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 wxPyLogWarning((wxString
const &)*arg1
);
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= SWIG_Py_Void();
13517 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13518 PyObject
*resultobj
= 0;
13519 wxString
*arg1
= 0 ;
13520 bool temp1
= false ;
13521 PyObject
* obj0
= 0 ;
13522 char * kwnames
[] = {
13523 (char *) "msg", NULL
13526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13528 arg1
= wxString_in_helper(obj0
);
13529 if (arg1
== NULL
) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 wxPyLogMessage((wxString
const &)*arg1
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 resultobj
= SWIG_Py_Void();
13553 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
= 0;
13555 wxString
*arg1
= 0 ;
13556 bool temp1
= false ;
13557 PyObject
* obj0
= 0 ;
13558 char * kwnames
[] = {
13559 (char *) "msg", NULL
13562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13564 arg1
= wxString_in_helper(obj0
);
13565 if (arg1
== NULL
) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 wxPyLogInfo((wxString
const &)*arg1
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_Py_Void();
13589 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
= 0;
13591 wxString
*arg1
= 0 ;
13592 bool temp1
= false ;
13593 PyObject
* obj0
= 0 ;
13594 char * kwnames
[] = {
13595 (char *) "msg", NULL
13598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13600 arg1
= wxString_in_helper(obj0
);
13601 if (arg1
== NULL
) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 wxPyLogDebug((wxString
const &)*arg1
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= SWIG_Py_Void();
13625 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
= 0;
13627 wxString
*arg1
= 0 ;
13628 bool temp1
= false ;
13629 PyObject
* obj0
= 0 ;
13630 char * kwnames
[] = {
13631 (char *) "msg", NULL
13634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13636 arg1
= wxString_in_helper(obj0
);
13637 if (arg1
== NULL
) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 wxPyLogVerbose((wxString
const &)*arg1
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= SWIG_Py_Void();
13661 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
= 0;
13663 wxString
*arg1
= 0 ;
13664 bool temp1
= false ;
13665 PyObject
* obj0
= 0 ;
13666 char * kwnames
[] = {
13667 (char *) "msg", NULL
13670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13672 arg1
= wxString_in_helper(obj0
);
13673 if (arg1
== NULL
) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 wxPyLogStatus((wxString
const &)*arg1
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 resultobj
= SWIG_Py_Void();
13697 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
= 0;
13699 wxFrame
*arg1
= (wxFrame
*) 0 ;
13700 wxString
*arg2
= 0 ;
13703 bool temp2
= false ;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 char * kwnames
[] = {
13707 (char *) "pFrame",(char *) "msg", NULL
13710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13712 if (!SWIG_IsOK(res1
)) {
13713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13715 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13717 arg2
= wxString_in_helper(obj1
);
13718 if (arg2
== NULL
) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= SWIG_Py_Void();
13742 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
= 0;
13744 wxString
*arg1
= 0 ;
13745 bool temp1
= false ;
13746 PyObject
* obj0
= 0 ;
13747 char * kwnames
[] = {
13748 (char *) "msg", NULL
13751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13753 arg1
= wxString_in_helper(obj0
);
13754 if (arg1
== NULL
) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 wxPyLogSysError((wxString
const &)*arg1
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= SWIG_Py_Void();
13778 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
= 0;
13780 unsigned long arg1
;
13781 wxString
*arg2
= 0 ;
13782 unsigned long val1
;
13784 bool temp2
= false ;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 char * kwnames
[] = {
13788 (char *) "level",(char *) "msg", NULL
13791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13792 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13793 if (!SWIG_IsOK(ecode1
)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13796 arg1
= static_cast< unsigned long >(val1
);
13798 arg2
= wxString_in_helper(obj1
);
13799 if (arg2
== NULL
) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_Py_Void();
13823 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13824 PyObject
*resultobj
= 0;
13825 unsigned long arg1
;
13826 wxString
*arg2
= 0 ;
13827 unsigned long val1
;
13829 bool temp2
= false ;
13831 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13832 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13833 if (!SWIG_IsOK(ecode1
)) {
13834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13836 arg1
= static_cast< unsigned long >(val1
);
13838 arg2
= wxString_in_helper(swig_obj
[1]);
13839 if (arg2
== NULL
) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_Py_Void();
13863 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13864 PyObject
*resultobj
= 0;
13865 wxString
*arg1
= 0 ;
13866 wxString
*arg2
= 0 ;
13867 bool temp1
= false ;
13868 bool temp2
= false ;
13870 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13872 arg1
= wxString_in_helper(swig_obj
[0]);
13873 if (arg1
== NULL
) SWIG_fail
;
13877 arg2
= wxString_in_helper(swig_obj
[1]);
13878 if (arg2
== NULL
) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= SWIG_Py_Void();
13910 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
13914 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
13920 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
13923 if (!_v
) goto check_1
;
13924 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
13929 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
13933 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
13938 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= 0;
13940 wxString
*arg1
= 0 ;
13941 wxString
*arg2
= 0 ;
13942 bool temp1
= false ;
13943 bool temp2
= false ;
13944 PyObject
* obj0
= 0 ;
13945 PyObject
* obj1
= 0 ;
13946 char * kwnames
[] = {
13947 (char *) "title",(char *) "text", NULL
13950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13952 arg1
= wxString_in_helper(obj0
);
13953 if (arg1
== NULL
) SWIG_fail
;
13957 arg2
= wxString_in_helper(obj1
);
13958 if (arg2
== NULL
) SWIG_fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= SWIG_Py_Void();
13990 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13991 PyObject
*resultobj
= 0;
13992 wxLogNull
*result
= 0 ;
13994 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= (wxLogNull
*)new wxLogNull();
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14008 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14009 PyObject
*resultobj
= 0;
14010 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14013 PyObject
*swig_obj
[1] ;
14015 if (!args
) SWIG_fail
;
14016 swig_obj
[0] = args
;
14017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14018 if (!SWIG_IsOK(res1
)) {
14019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14021 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_Py_Void();
14036 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14039 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14040 return SWIG_Py_Void();
14043 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14044 return SWIG_Python_InitShadowInstance(args
);
14047 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14048 PyObject
*resultobj
= 0;
14049 wxPyLog
*result
= 0 ;
14051 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= (wxPyLog
*)new wxPyLog();
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14065 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
= 0;
14067 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14068 PyObject
*arg2
= (PyObject
*) 0 ;
14069 PyObject
*arg3
= (PyObject
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 PyObject
* obj2
= 0 ;
14075 char * kwnames
[] = {
14076 (char *) "self",(char *) "self",(char *) "_class", NULL
14079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14081 if (!SWIG_IsOK(res1
)) {
14082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14084 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_Py_Void();
14100 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14103 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14104 return SWIG_Py_Void();
14107 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14108 return SWIG_Python_InitShadowInstance(args
);
14111 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
= 0;
14114 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14115 int arg3
= (int) wxKILL_NOCHILDREN
;
14116 wxKillError result
;
14123 PyObject
* obj0
= 0 ;
14124 PyObject
* obj1
= 0 ;
14125 PyObject
* obj2
= 0 ;
14126 char * kwnames
[] = {
14127 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14131 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14132 if (!SWIG_IsOK(ecode1
)) {
14133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14135 arg1
= static_cast< int >(val1
);
14137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14138 if (!SWIG_IsOK(ecode2
)) {
14139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14141 arg2
= static_cast< wxSignal
>(val2
);
14144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14145 if (!SWIG_IsOK(ecode3
)) {
14146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14148 arg3
= static_cast< int >(val3
);
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= SWIG_From_int(static_cast< int >(result
));
14163 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
= 0;
14169 PyObject
* obj0
= 0 ;
14170 char * kwnames
[] = {
14171 (char *) "pid", NULL
14174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14175 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14176 if (!SWIG_IsOK(ecode1
)) {
14177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14179 arg1
= static_cast< int >(val1
);
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (bool)wxPyProcess::Exists(arg1
);
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14195 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
= 0;
14197 wxString
*arg1
= 0 ;
14198 int arg2
= (int) wxEXEC_ASYNC
;
14199 wxPyProcess
*result
= 0 ;
14200 bool temp1
= false ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 char * kwnames
[] = {
14206 (char *) "cmd",(char *) "flags", NULL
14209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14211 arg1
= wxString_in_helper(obj0
);
14212 if (arg1
== NULL
) SWIG_fail
;
14216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14217 if (!SWIG_IsOK(ecode2
)) {
14218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14220 arg2
= static_cast< int >(val2
);
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14243 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
= 0;
14245 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14246 int arg2
= (int) -1 ;
14247 wxPyProcess
*result
= 0 ;
14252 PyObject
* obj0
= 0 ;
14253 PyObject
* obj1
= 0 ;
14254 char * kwnames
[] = {
14255 (char *) "parent",(char *) "id", NULL
14258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14264 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14268 if (!SWIG_IsOK(ecode2
)) {
14269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14271 arg2
= static_cast< int >(val2
);
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14286 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
= 0;
14288 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14289 PyObject
*arg2
= (PyObject
*) 0 ;
14290 PyObject
*arg3
= (PyObject
*) 0 ;
14293 PyObject
* obj0
= 0 ;
14294 PyObject
* obj1
= 0 ;
14295 PyObject
* obj2
= 0 ;
14296 char * kwnames
[] = {
14297 (char *) "self",(char *) "self",(char *) "_class", NULL
14300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14302 if (!SWIG_IsOK(res1
)) {
14303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14305 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= SWIG_Py_Void();
14321 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
= 0;
14323 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 PyObject
* obj1
= 0 ;
14334 PyObject
* obj2
= 0 ;
14335 char * kwnames
[] = {
14336 (char *) "self",(char *) "pid",(char *) "status", NULL
14339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14341 if (!SWIG_IsOK(res1
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14344 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14346 if (!SWIG_IsOK(ecode2
)) {
14347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14349 arg2
= static_cast< int >(val2
);
14350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14351 if (!SWIG_IsOK(ecode3
)) {
14352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14354 arg3
= static_cast< int >(val3
);
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 (arg1
)->OnTerminate(arg2
,arg3
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= SWIG_Py_Void();
14368 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14369 PyObject
*resultobj
= 0;
14370 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14373 PyObject
*swig_obj
[1] ;
14375 if (!args
) SWIG_fail
;
14376 swig_obj
[0] = args
;
14377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14378 if (!SWIG_IsOK(res1
)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14381 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 (arg1
)->Redirect();
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= SWIG_Py_Void();
14395 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14396 PyObject
*resultobj
= 0;
14397 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14401 PyObject
*swig_obj
[1] ;
14403 if (!args
) SWIG_fail
;
14404 swig_obj
[0] = args
;
14405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14406 if (!SWIG_IsOK(res1
)) {
14407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14409 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (bool)(arg1
)->IsRedirected();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14425 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14426 PyObject
*resultobj
= 0;
14427 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14430 PyObject
*swig_obj
[1] ;
14432 if (!args
) SWIG_fail
;
14433 swig_obj
[0] = args
;
14434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14435 if (!SWIG_IsOK(res1
)) {
14436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14438 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= SWIG_Py_Void();
14452 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14453 PyObject
*resultobj
= 0;
14454 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14455 wxInputStream
*result
= 0 ;
14458 PyObject
*swig_obj
[1] ;
14460 if (!args
) SWIG_fail
;
14461 swig_obj
[0] = args
;
14462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14463 if (!SWIG_IsOK(res1
)) {
14464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14466 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14474 wxPyInputStream
* _ptr
= NULL
;
14477 _ptr
= new wxPyInputStream(result
);
14479 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14487 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14488 PyObject
*resultobj
= 0;
14489 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14490 wxInputStream
*result
= 0 ;
14493 PyObject
*swig_obj
[1] ;
14495 if (!args
) SWIG_fail
;
14496 swig_obj
[0] = args
;
14497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14498 if (!SWIG_IsOK(res1
)) {
14499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14501 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 wxPyInputStream
* _ptr
= NULL
;
14512 _ptr
= new wxPyInputStream(result
);
14514 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14522 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14523 PyObject
*resultobj
= 0;
14524 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14525 wxOutputStream
*result
= 0 ;
14528 PyObject
*swig_obj
[1] ;
14530 if (!args
) SWIG_fail
;
14531 swig_obj
[0] = args
;
14532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14533 if (!SWIG_IsOK(res1
)) {
14534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14536 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14550 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14551 PyObject
*resultobj
= 0;
14552 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14555 PyObject
*swig_obj
[1] ;
14557 if (!args
) SWIG_fail
;
14558 swig_obj
[0] = args
;
14559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14560 if (!SWIG_IsOK(res1
)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14563 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 (arg1
)->CloseOutput();
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= SWIG_Py_Void();
14577 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14578 PyObject
*resultobj
= 0;
14579 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14583 PyObject
*swig_obj
[1] ;
14585 if (!args
) SWIG_fail
;
14586 swig_obj
[0] = args
;
14587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14588 if (!SWIG_IsOK(res1
)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14591 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14607 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14608 PyObject
*resultobj
= 0;
14609 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14613 PyObject
*swig_obj
[1] ;
14615 if (!args
) SWIG_fail
;
14616 swig_obj
[0] = args
;
14617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14618 if (!SWIG_IsOK(res1
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14621 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14637 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14638 PyObject
*resultobj
= 0;
14639 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14643 PyObject
*swig_obj
[1] ;
14645 if (!args
) SWIG_fail
;
14646 swig_obj
[0] = args
;
14647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14648 if (!SWIG_IsOK(res1
)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14651 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14667 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14670 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14671 return SWIG_Py_Void();
14674 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14675 return SWIG_Python_InitShadowInstance(args
);
14678 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
= 0;
14680 int arg1
= (int) 0 ;
14681 int arg2
= (int) 0 ;
14682 int arg3
= (int) 0 ;
14683 wxProcessEvent
*result
= 0 ;
14690 PyObject
* obj0
= 0 ;
14691 PyObject
* obj1
= 0 ;
14692 PyObject
* obj2
= 0 ;
14693 char * kwnames
[] = {
14694 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14700 if (!SWIG_IsOK(ecode1
)) {
14701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14703 arg1
= static_cast< int >(val1
);
14706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14707 if (!SWIG_IsOK(ecode2
)) {
14708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14710 arg2
= static_cast< int >(val2
);
14713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14714 if (!SWIG_IsOK(ecode3
)) {
14715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14717 arg3
= static_cast< int >(val3
);
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14732 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14733 PyObject
*resultobj
= 0;
14734 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14738 PyObject
*swig_obj
[1] ;
14740 if (!args
) SWIG_fail
;
14741 swig_obj
[0] = args
;
14742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14743 if (!SWIG_IsOK(res1
)) {
14744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14746 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (int)(arg1
)->GetPid();
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= SWIG_From_int(static_cast< int >(result
));
14760 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14761 PyObject
*resultobj
= 0;
14762 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14766 PyObject
*swig_obj
[1] ;
14768 if (!args
) SWIG_fail
;
14769 swig_obj
[0] = args
;
14770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14771 if (!SWIG_IsOK(res1
)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14774 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (int)(arg1
)->GetExitCode();
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= SWIG_From_int(static_cast< int >(result
));
14788 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14789 PyObject
*resultobj
= 0;
14790 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14796 PyObject
*swig_obj
[2] ;
14798 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14800 if (!SWIG_IsOK(res1
)) {
14801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14803 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14804 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14805 if (!SWIG_IsOK(ecode2
)) {
14806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14808 arg2
= static_cast< int >(val2
);
14809 if (arg1
) (arg1
)->m_pid
= arg2
;
14811 resultobj
= SWIG_Py_Void();
14818 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14819 PyObject
*resultobj
= 0;
14820 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14824 PyObject
*swig_obj
[1] ;
14826 if (!args
) SWIG_fail
;
14827 swig_obj
[0] = args
;
14828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14829 if (!SWIG_IsOK(res1
)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14832 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14833 result
= (int) ((arg1
)->m_pid
);
14834 resultobj
= SWIG_From_int(static_cast< int >(result
));
14841 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14842 PyObject
*resultobj
= 0;
14843 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14849 PyObject
*swig_obj
[2] ;
14851 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
14852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14853 if (!SWIG_IsOK(res1
)) {
14854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14856 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14857 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14858 if (!SWIG_IsOK(ecode2
)) {
14859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
14861 arg2
= static_cast< int >(val2
);
14862 if (arg1
) (arg1
)->m_exitcode
= arg2
;
14864 resultobj
= SWIG_Py_Void();
14871 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14872 PyObject
*resultobj
= 0;
14873 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14877 PyObject
*swig_obj
[1] ;
14879 if (!args
) SWIG_fail
;
14880 swig_obj
[0] = args
;
14881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14882 if (!SWIG_IsOK(res1
)) {
14883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14885 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14886 result
= (int) ((arg1
)->m_exitcode
);
14887 resultobj
= SWIG_From_int(static_cast< int >(result
));
14894 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14897 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
14898 return SWIG_Py_Void();
14901 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14902 return SWIG_Python_InitShadowInstance(args
);
14905 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
= 0;
14907 wxString
*arg1
= 0 ;
14908 int arg2
= (int) wxEXEC_ASYNC
;
14909 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
14911 bool temp1
= false ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 PyObject
* obj2
= 0 ;
14919 char * kwnames
[] = {
14920 (char *) "command",(char *) "flags",(char *) "process", NULL
14923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14925 arg1
= wxString_in_helper(obj0
);
14926 if (arg1
== NULL
) SWIG_fail
;
14930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14931 if (!SWIG_IsOK(ecode2
)) {
14932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
14934 arg2
= static_cast< int >(val2
);
14937 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14938 if (!SWIG_IsOK(res3
)) {
14939 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
14941 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
14944 if (!wxPyCheckForApp()) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_From_long(static_cast< long >(result
));
14965 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
= 0;
14968 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14969 wxKillError
*arg3
= (wxKillError
*) 0 ;
14970 int arg4
= (int) wxKILL_NOCHILDREN
;
14976 wxKillError temp3
;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 PyObject
* obj2
= 0 ;
14982 char * kwnames
[] = {
14983 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14990 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
14991 if (!SWIG_IsOK(ecode1
)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
14994 arg1
= static_cast< long >(val1
);
14996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14997 if (!SWIG_IsOK(ecode2
)) {
14998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15000 arg2
= static_cast< wxSignal
>(val2
);
15003 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15004 if (!SWIG_IsOK(ecode4
)) {
15005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15007 arg4
= static_cast< int >(val4
);
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= SWIG_From_int(static_cast< int >(result
));
15018 o
= PyInt_FromLong((long) (*arg3
));
15022 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15031 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
= 0;
15033 int arg1
= (int) wxJOYSTICK1
;
15034 wxJoystick
*result
= 0 ;
15037 PyObject
* obj0
= 0 ;
15038 char * kwnames
[] = {
15039 (char *) "joystick", NULL
15042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15045 if (!SWIG_IsOK(ecode1
)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15048 arg1
= static_cast< int >(val1
);
15051 if (!wxPyCheckForApp()) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= (wxJoystick
*)new wxJoystick(arg1
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15064 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15065 PyObject
*resultobj
= 0;
15066 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15069 PyObject
*swig_obj
[1] ;
15071 if (!args
) SWIG_fail
;
15072 swig_obj
[0] = args
;
15073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15074 if (!SWIG_IsOK(res1
)) {
15075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15077 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= SWIG_Py_Void();
15092 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15093 PyObject
*resultobj
= 0;
15094 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15098 PyObject
*swig_obj
[1] ;
15100 if (!args
) SWIG_fail
;
15101 swig_obj
[0] = args
;
15102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15103 if (!SWIG_IsOK(res1
)) {
15104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15106 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (arg1
)->GetPosition();
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15120 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15121 PyObject
*resultobj
= 0;
15122 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15126 PyObject
*swig_obj
[1] ;
15128 if (!args
) SWIG_fail
;
15129 swig_obj
[0] = args
;
15130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15131 if (!SWIG_IsOK(res1
)) {
15132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15134 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (int)(arg1
)->GetZPosition();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_From_int(static_cast< int >(result
));
15148 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15149 PyObject
*resultobj
= 0;
15150 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15154 PyObject
*swig_obj
[1] ;
15156 if (!args
) SWIG_fail
;
15157 swig_obj
[0] = args
;
15158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15159 if (!SWIG_IsOK(res1
)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15162 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (int)(arg1
)->GetButtonState();
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_From_int(static_cast< int >(result
));
15176 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15177 PyObject
*resultobj
= 0;
15178 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15182 PyObject
*swig_obj
[1] ;
15184 if (!args
) SWIG_fail
;
15185 swig_obj
[0] = args
;
15186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15187 if (!SWIG_IsOK(res1
)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15190 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (int)(arg1
)->GetPOVPosition();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_From_int(static_cast< int >(result
));
15204 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15205 PyObject
*resultobj
= 0;
15206 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15210 PyObject
*swig_obj
[1] ;
15212 if (!args
) SWIG_fail
;
15213 swig_obj
[0] = args
;
15214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15215 if (!SWIG_IsOK(res1
)) {
15216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15218 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= (int)(arg1
)->GetPOVCTSPosition();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= SWIG_From_int(static_cast< int >(result
));
15232 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15233 PyObject
*resultobj
= 0;
15234 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15238 PyObject
*swig_obj
[1] ;
15240 if (!args
) SWIG_fail
;
15241 swig_obj
[0] = args
;
15242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15243 if (!SWIG_IsOK(res1
)) {
15244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15246 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (int)(arg1
)->GetRudderPosition();
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 resultobj
= SWIG_From_int(static_cast< int >(result
));
15260 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15261 PyObject
*resultobj
= 0;
15262 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15266 PyObject
*swig_obj
[1] ;
15268 if (!args
) SWIG_fail
;
15269 swig_obj
[0] = args
;
15270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15271 if (!SWIG_IsOK(res1
)) {
15272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15274 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 result
= (int)(arg1
)->GetUPosition();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_From_int(static_cast< int >(result
));
15288 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15289 PyObject
*resultobj
= 0;
15290 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15294 PyObject
*swig_obj
[1] ;
15296 if (!args
) SWIG_fail
;
15297 swig_obj
[0] = args
;
15298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15299 if (!SWIG_IsOK(res1
)) {
15300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15302 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (int)(arg1
)->GetVPosition();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_From_int(static_cast< int >(result
));
15316 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15317 PyObject
*resultobj
= 0;
15318 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15322 PyObject
*swig_obj
[1] ;
15324 if (!args
) SWIG_fail
;
15325 swig_obj
[0] = args
;
15326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15327 if (!SWIG_IsOK(res1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15330 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (int)(arg1
)->GetMovementThreshold();
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= SWIG_From_int(static_cast< int >(result
));
15344 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
= 0;
15346 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15354 char * kwnames
[] = {
15355 (char *) "self",(char *) "threshold", NULL
15358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15360 if (!SWIG_IsOK(res1
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15363 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15365 if (!SWIG_IsOK(ecode2
)) {
15366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15368 arg2
= static_cast< int >(val2
);
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 (arg1
)->SetMovementThreshold(arg2
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= SWIG_Py_Void();
15382 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15383 PyObject
*resultobj
= 0;
15384 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15388 PyObject
*swig_obj
[1] ;
15390 if (!args
) SWIG_fail
;
15391 swig_obj
[0] = args
;
15392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15393 if (!SWIG_IsOK(res1
)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15396 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (bool)(arg1
)->IsOk();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15412 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15413 PyObject
*resultobj
= 0;
15414 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15418 PyObject
*swig_obj
[1] ;
15420 if (!args
) SWIG_fail
;
15421 swig_obj
[0] = args
;
15422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15423 if (!SWIG_IsOK(res1
)) {
15424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15426 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (int)(arg1
)->GetNumberJoysticks();
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_From_int(static_cast< int >(result
));
15440 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15441 PyObject
*resultobj
= 0;
15442 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15446 PyObject
*swig_obj
[1] ;
15448 if (!args
) SWIG_fail
;
15449 swig_obj
[0] = args
;
15450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15451 if (!SWIG_IsOK(res1
)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15454 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 result
= (int)(arg1
)->GetManufacturerId();
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_From_int(static_cast< int >(result
));
15468 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15469 PyObject
*resultobj
= 0;
15470 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15474 PyObject
*swig_obj
[1] ;
15476 if (!args
) SWIG_fail
;
15477 swig_obj
[0] = args
;
15478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15479 if (!SWIG_IsOK(res1
)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15482 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (int)(arg1
)->GetProductId();
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= SWIG_From_int(static_cast< int >(result
));
15496 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15497 PyObject
*resultobj
= 0;
15498 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15502 PyObject
*swig_obj
[1] ;
15504 if (!args
) SWIG_fail
;
15505 swig_obj
[0] = args
;
15506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15507 if (!SWIG_IsOK(res1
)) {
15508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15510 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 result
= (arg1
)->GetProductName();
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15530 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15531 PyObject
*resultobj
= 0;
15532 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15536 PyObject
*swig_obj
[1] ;
15538 if (!args
) SWIG_fail
;
15539 swig_obj
[0] = args
;
15540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15541 if (!SWIG_IsOK(res1
)) {
15542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15544 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (int)(arg1
)->GetXMin();
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= SWIG_From_int(static_cast< int >(result
));
15558 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15559 PyObject
*resultobj
= 0;
15560 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15564 PyObject
*swig_obj
[1] ;
15566 if (!args
) SWIG_fail
;
15567 swig_obj
[0] = args
;
15568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15569 if (!SWIG_IsOK(res1
)) {
15570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15572 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 result
= (int)(arg1
)->GetYMin();
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_From_int(static_cast< int >(result
));
15586 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15587 PyObject
*resultobj
= 0;
15588 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15592 PyObject
*swig_obj
[1] ;
15594 if (!args
) SWIG_fail
;
15595 swig_obj
[0] = args
;
15596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15597 if (!SWIG_IsOK(res1
)) {
15598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15600 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (int)(arg1
)->GetZMin();
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= SWIG_From_int(static_cast< int >(result
));
15614 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15615 PyObject
*resultobj
= 0;
15616 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15620 PyObject
*swig_obj
[1] ;
15622 if (!args
) SWIG_fail
;
15623 swig_obj
[0] = args
;
15624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15625 if (!SWIG_IsOK(res1
)) {
15626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15628 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 result
= (int)(arg1
)->GetXMax();
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15635 resultobj
= SWIG_From_int(static_cast< int >(result
));
15642 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15643 PyObject
*resultobj
= 0;
15644 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15648 PyObject
*swig_obj
[1] ;
15650 if (!args
) SWIG_fail
;
15651 swig_obj
[0] = args
;
15652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15653 if (!SWIG_IsOK(res1
)) {
15654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15656 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (int)(arg1
)->GetYMax();
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= SWIG_From_int(static_cast< int >(result
));
15670 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15671 PyObject
*resultobj
= 0;
15672 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15676 PyObject
*swig_obj
[1] ;
15678 if (!args
) SWIG_fail
;
15679 swig_obj
[0] = args
;
15680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15681 if (!SWIG_IsOK(res1
)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15684 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= (int)(arg1
)->GetZMax();
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= SWIG_From_int(static_cast< int >(result
));
15698 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15699 PyObject
*resultobj
= 0;
15700 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15704 PyObject
*swig_obj
[1] ;
15706 if (!args
) SWIG_fail
;
15707 swig_obj
[0] = args
;
15708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15709 if (!SWIG_IsOK(res1
)) {
15710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15712 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (int)(arg1
)->GetNumberButtons();
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= SWIG_From_int(static_cast< int >(result
));
15726 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15727 PyObject
*resultobj
= 0;
15728 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15732 PyObject
*swig_obj
[1] ;
15734 if (!args
) SWIG_fail
;
15735 swig_obj
[0] = args
;
15736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15737 if (!SWIG_IsOK(res1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15740 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (int)(arg1
)->GetNumberAxes();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= SWIG_From_int(static_cast< int >(result
));
15754 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15755 PyObject
*resultobj
= 0;
15756 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15760 PyObject
*swig_obj
[1] ;
15762 if (!args
) SWIG_fail
;
15763 swig_obj
[0] = args
;
15764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15765 if (!SWIG_IsOK(res1
)) {
15766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15768 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (int)(arg1
)->GetMaxButtons();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_From_int(static_cast< int >(result
));
15782 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15783 PyObject
*resultobj
= 0;
15784 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15788 PyObject
*swig_obj
[1] ;
15790 if (!args
) SWIG_fail
;
15791 swig_obj
[0] = args
;
15792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15793 if (!SWIG_IsOK(res1
)) {
15794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15796 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= (int)(arg1
)->GetMaxAxes();
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 resultobj
= SWIG_From_int(static_cast< int >(result
));
15810 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15811 PyObject
*resultobj
= 0;
15812 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15816 PyObject
*swig_obj
[1] ;
15818 if (!args
) SWIG_fail
;
15819 swig_obj
[0] = args
;
15820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15821 if (!SWIG_IsOK(res1
)) {
15822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15824 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= (int)(arg1
)->GetPollingMin();
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= SWIG_From_int(static_cast< int >(result
));
15838 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15839 PyObject
*resultobj
= 0;
15840 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15844 PyObject
*swig_obj
[1] ;
15846 if (!args
) SWIG_fail
;
15847 swig_obj
[0] = args
;
15848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15849 if (!SWIG_IsOK(res1
)) {
15850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15852 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= (int)(arg1
)->GetPollingMax();
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= SWIG_From_int(static_cast< int >(result
));
15866 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15867 PyObject
*resultobj
= 0;
15868 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15872 PyObject
*swig_obj
[1] ;
15874 if (!args
) SWIG_fail
;
15875 swig_obj
[0] = args
;
15876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15877 if (!SWIG_IsOK(res1
)) {
15878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15880 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (int)(arg1
)->GetRudderMin();
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= SWIG_From_int(static_cast< int >(result
));
15894 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15895 PyObject
*resultobj
= 0;
15896 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15900 PyObject
*swig_obj
[1] ;
15902 if (!args
) SWIG_fail
;
15903 swig_obj
[0] = args
;
15904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15905 if (!SWIG_IsOK(res1
)) {
15906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15908 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 result
= (int)(arg1
)->GetRudderMax();
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= SWIG_From_int(static_cast< int >(result
));
15922 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15923 PyObject
*resultobj
= 0;
15924 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15928 PyObject
*swig_obj
[1] ;
15930 if (!args
) SWIG_fail
;
15931 swig_obj
[0] = args
;
15932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15933 if (!SWIG_IsOK(res1
)) {
15934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15936 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (int)(arg1
)->GetUMin();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_From_int(static_cast< int >(result
));
15950 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15951 PyObject
*resultobj
= 0;
15952 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15956 PyObject
*swig_obj
[1] ;
15958 if (!args
) SWIG_fail
;
15959 swig_obj
[0] = args
;
15960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15961 if (!SWIG_IsOK(res1
)) {
15962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15964 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= (int)(arg1
)->GetUMax();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= SWIG_From_int(static_cast< int >(result
));
15978 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15979 PyObject
*resultobj
= 0;
15980 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15984 PyObject
*swig_obj
[1] ;
15986 if (!args
) SWIG_fail
;
15987 swig_obj
[0] = args
;
15988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15989 if (!SWIG_IsOK(res1
)) {
15990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15992 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 result
= (int)(arg1
)->GetVMin();
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= SWIG_From_int(static_cast< int >(result
));
16006 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16007 PyObject
*resultobj
= 0;
16008 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16012 PyObject
*swig_obj
[1] ;
16014 if (!args
) SWIG_fail
;
16015 swig_obj
[0] = args
;
16016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16017 if (!SWIG_IsOK(res1
)) {
16018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16020 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (int)(arg1
)->GetVMax();
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_From_int(static_cast< int >(result
));
16034 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16035 PyObject
*resultobj
= 0;
16036 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16040 PyObject
*swig_obj
[1] ;
16042 if (!args
) SWIG_fail
;
16043 swig_obj
[0] = args
;
16044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16045 if (!SWIG_IsOK(res1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16048 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 result
= (bool)(arg1
)->HasRudder();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16064 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16065 PyObject
*resultobj
= 0;
16066 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16070 PyObject
*swig_obj
[1] ;
16072 if (!args
) SWIG_fail
;
16073 swig_obj
[0] = args
;
16074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16075 if (!SWIG_IsOK(res1
)) {
16076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16078 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (bool)(arg1
)->HasZ();
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16094 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16095 PyObject
*resultobj
= 0;
16096 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16100 PyObject
*swig_obj
[1] ;
16102 if (!args
) SWIG_fail
;
16103 swig_obj
[0] = args
;
16104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16105 if (!SWIG_IsOK(res1
)) {
16106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16108 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (bool)(arg1
)->HasU();
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16124 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16125 PyObject
*resultobj
= 0;
16126 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16130 PyObject
*swig_obj
[1] ;
16132 if (!args
) SWIG_fail
;
16133 swig_obj
[0] = args
;
16134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16135 if (!SWIG_IsOK(res1
)) {
16136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16138 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (bool)(arg1
)->HasV();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16154 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16155 PyObject
*resultobj
= 0;
16156 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16160 PyObject
*swig_obj
[1] ;
16162 if (!args
) SWIG_fail
;
16163 swig_obj
[0] = args
;
16164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16165 if (!SWIG_IsOK(res1
)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16168 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (bool)(arg1
)->HasPOV();
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16184 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16185 PyObject
*resultobj
= 0;
16186 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16190 PyObject
*swig_obj
[1] ;
16192 if (!args
) SWIG_fail
;
16193 swig_obj
[0] = args
;
16194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16195 if (!SWIG_IsOK(res1
)) {
16196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16198 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (bool)(arg1
)->HasPOV4Dir();
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16214 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16215 PyObject
*resultobj
= 0;
16216 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16220 PyObject
*swig_obj
[1] ;
16222 if (!args
) SWIG_fail
;
16223 swig_obj
[0] = args
;
16224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16225 if (!SWIG_IsOK(res1
)) {
16226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16228 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= (bool)(arg1
)->HasPOVCTS();
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16244 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
= 0;
16246 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16247 wxWindow
*arg2
= (wxWindow
*) 0 ;
16248 int arg3
= (int) 0 ;
16256 PyObject
* obj0
= 0 ;
16257 PyObject
* obj1
= 0 ;
16258 PyObject
* obj2
= 0 ;
16259 char * kwnames
[] = {
16260 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16265 if (!SWIG_IsOK(res1
)) {
16266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16268 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16270 if (!SWIG_IsOK(res2
)) {
16271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16273 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16276 if (!SWIG_IsOK(ecode3
)) {
16277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16279 arg3
= static_cast< int >(val3
);
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16296 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16297 PyObject
*resultobj
= 0;
16298 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16302 PyObject
*swig_obj
[1] ;
16304 if (!args
) SWIG_fail
;
16305 swig_obj
[0] = args
;
16306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16307 if (!SWIG_IsOK(res1
)) {
16308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16310 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (bool)(arg1
)->ReleaseCapture();
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16326 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16329 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16330 return SWIG_Py_Void();
16333 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16334 return SWIG_Python_InitShadowInstance(args
);
16337 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
= 0;
16339 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16340 int arg2
= (int) 0 ;
16341 int arg3
= (int) wxJOYSTICK1
;
16342 int arg4
= (int) 0 ;
16343 wxJoystickEvent
*result
= 0 ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 PyObject
* obj2
= 0 ;
16355 PyObject
* obj3
= 0 ;
16356 char * kwnames
[] = {
16357 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16362 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16363 if (!SWIG_IsOK(ecode1
)) {
16364 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16366 arg1
= static_cast< wxEventType
>(val1
);
16369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16370 if (!SWIG_IsOK(ecode2
)) {
16371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16373 arg2
= static_cast< int >(val2
);
16376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16377 if (!SWIG_IsOK(ecode3
)) {
16378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16380 arg3
= static_cast< int >(val3
);
16383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16384 if (!SWIG_IsOK(ecode4
)) {
16385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16387 arg4
= static_cast< int >(val4
);
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16402 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16403 PyObject
*resultobj
= 0;
16404 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16408 PyObject
*swig_obj
[1] ;
16410 if (!args
) SWIG_fail
;
16411 swig_obj
[0] = args
;
16412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16413 if (!SWIG_IsOK(res1
)) {
16414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16416 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16430 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16431 PyObject
*resultobj
= 0;
16432 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16436 PyObject
*swig_obj
[1] ;
16438 if (!args
) SWIG_fail
;
16439 swig_obj
[0] = args
;
16440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16441 if (!SWIG_IsOK(res1
)) {
16442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16444 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16451 resultobj
= SWIG_From_int(static_cast< int >(result
));
16458 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16459 PyObject
*resultobj
= 0;
16460 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16464 PyObject
*swig_obj
[1] ;
16466 if (!args
) SWIG_fail
;
16467 swig_obj
[0] = args
;
16468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16469 if (!SWIG_IsOK(res1
)) {
16470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16472 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= SWIG_From_int(static_cast< int >(result
));
16486 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16487 PyObject
*resultobj
= 0;
16488 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16492 PyObject
*swig_obj
[1] ;
16494 if (!args
) SWIG_fail
;
16495 swig_obj
[0] = args
;
16496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16497 if (!SWIG_IsOK(res1
)) {
16498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16500 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= SWIG_From_int(static_cast< int >(result
));
16514 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16515 PyObject
*resultobj
= 0;
16516 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16520 PyObject
*swig_obj
[1] ;
16522 if (!args
) SWIG_fail
;
16523 swig_obj
[0] = args
;
16524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16525 if (!SWIG_IsOK(res1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16528 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= SWIG_From_int(static_cast< int >(result
));
16542 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
= 0;
16544 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 char * kwnames
[] = {
16553 (char *) "self",(char *) "stick", NULL
16556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16558 if (!SWIG_IsOK(res1
)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16561 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16563 if (!SWIG_IsOK(ecode2
)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16566 arg2
= static_cast< int >(val2
);
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 (arg1
)->SetJoystick(arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= SWIG_Py_Void();
16580 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
= 0;
16582 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 PyObject
* obj1
= 0 ;
16590 char * kwnames
[] = {
16591 (char *) "self",(char *) "state", NULL
16594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16596 if (!SWIG_IsOK(res1
)) {
16597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16599 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16601 if (!SWIG_IsOK(ecode2
)) {
16602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16604 arg2
= static_cast< int >(val2
);
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 (arg1
)->SetButtonState(arg2
);
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= SWIG_Py_Void();
16618 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
= 0;
16620 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16626 PyObject
* obj0
= 0 ;
16627 PyObject
* obj1
= 0 ;
16628 char * kwnames
[] = {
16629 (char *) "self",(char *) "change", NULL
16632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16634 if (!SWIG_IsOK(res1
)) {
16635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16637 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16639 if (!SWIG_IsOK(ecode2
)) {
16640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16642 arg2
= static_cast< int >(val2
);
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 (arg1
)->SetButtonChange(arg2
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= SWIG_Py_Void();
16656 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
= 0;
16658 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16659 wxPoint
*arg2
= 0 ;
16663 PyObject
* obj0
= 0 ;
16664 PyObject
* obj1
= 0 ;
16665 char * kwnames
[] = {
16666 (char *) "self",(char *) "pos", NULL
16669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16671 if (!SWIG_IsOK(res1
)) {
16672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16674 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_Py_Void();
16692 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
= 0;
16694 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16700 PyObject
* obj0
= 0 ;
16701 PyObject
* obj1
= 0 ;
16702 char * kwnames
[] = {
16703 (char *) "self",(char *) "zPos", NULL
16706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16708 if (!SWIG_IsOK(res1
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16711 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16713 if (!SWIG_IsOK(ecode2
)) {
16714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16716 arg2
= static_cast< int >(val2
);
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 (arg1
)->SetZPosition(arg2
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= SWIG_Py_Void();
16730 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16731 PyObject
*resultobj
= 0;
16732 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16736 PyObject
*swig_obj
[1] ;
16738 if (!args
) SWIG_fail
;
16739 swig_obj
[0] = args
;
16740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16741 if (!SWIG_IsOK(res1
)) {
16742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16744 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16760 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16761 PyObject
*resultobj
= 0;
16762 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16766 PyObject
*swig_obj
[1] ;
16768 if (!args
) SWIG_fail
;
16769 swig_obj
[0] = args
;
16770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16771 if (!SWIG_IsOK(res1
)) {
16772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16774 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16790 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16791 PyObject
*resultobj
= 0;
16792 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16796 PyObject
*swig_obj
[1] ;
16798 if (!args
) SWIG_fail
;
16799 swig_obj
[0] = args
;
16800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16801 if (!SWIG_IsOK(res1
)) {
16802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16804 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16820 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
= 0;
16822 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16823 int arg2
= (int) wxJOY_BUTTON_ANY
;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 char * kwnames
[] = {
16832 (char *) "self",(char *) "but", NULL
16835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16837 if (!SWIG_IsOK(res1
)) {
16838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16840 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16843 if (!SWIG_IsOK(ecode2
)) {
16844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
16846 arg2
= static_cast< int >(val2
);
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16863 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
= 0;
16865 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16866 int arg2
= (int) wxJOY_BUTTON_ANY
;
16872 PyObject
* obj0
= 0 ;
16873 PyObject
* obj1
= 0 ;
16874 char * kwnames
[] = {
16875 (char *) "self",(char *) "but", NULL
16878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16880 if (!SWIG_IsOK(res1
)) {
16881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16883 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16886 if (!SWIG_IsOK(ecode2
)) {
16887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
16889 arg2
= static_cast< int >(val2
);
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16906 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
= 0;
16908 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16909 int arg2
= (int) wxJOY_BUTTON_ANY
;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 char * kwnames
[] = {
16918 (char *) "self",(char *) "but", NULL
16921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16923 if (!SWIG_IsOK(res1
)) {
16924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16926 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16929 if (!SWIG_IsOK(ecode2
)) {
16930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
16932 arg2
= static_cast< int >(val2
);
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16949 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16952 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
16953 return SWIG_Py_Void();
16956 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16957 return SWIG_Python_InitShadowInstance(args
);
16960 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
= 0;
16962 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16963 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16964 wxSound
*result
= 0 ;
16965 bool temp1
= false ;
16966 PyObject
* obj0
= 0 ;
16967 char * kwnames
[] = {
16968 (char *) "fileName", NULL
16971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
16974 arg1
= wxString_in_helper(obj0
);
16975 if (arg1
== NULL
) SWIG_fail
;
16980 if (!wxPyCheckForApp()) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17001 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
= 0;
17003 PyObject
*arg1
= (PyObject
*) 0 ;
17004 wxSound
*result
= 0 ;
17005 PyObject
* obj0
= 0 ;
17006 char * kwnames
[] = {
17007 (char *) "data", NULL
17010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17013 if (!wxPyCheckForApp()) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 result
= (wxSound
*)new_wxSound(arg1
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17026 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17027 PyObject
*resultobj
= 0;
17028 wxSound
*arg1
= (wxSound
*) 0 ;
17031 PyObject
*swig_obj
[1] ;
17033 if (!args
) SWIG_fail
;
17034 swig_obj
[0] = args
;
17035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17036 if (!SWIG_IsOK(res1
)) {
17037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17039 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= SWIG_Py_Void();
17054 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
= 0;
17056 wxSound
*arg1
= (wxSound
*) 0 ;
17057 wxString
*arg2
= 0 ;
17061 bool temp2
= false ;
17062 PyObject
* obj0
= 0 ;
17063 PyObject
* obj1
= 0 ;
17064 char * kwnames
[] = {
17065 (char *) "self",(char *) "fileName", NULL
17068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17070 if (!SWIG_IsOK(res1
)) {
17071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17073 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17075 arg2
= wxString_in_helper(obj1
);
17076 if (arg2
== NULL
) SWIG_fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17102 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
= 0;
17104 wxSound
*arg1
= (wxSound
*) 0 ;
17105 PyObject
*arg2
= (PyObject
*) 0 ;
17109 PyObject
* obj0
= 0 ;
17110 PyObject
* obj1
= 0 ;
17111 char * kwnames
[] = {
17112 (char *) "self",(char *) "data", NULL
17115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17117 if (!SWIG_IsOK(res1
)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17120 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17137 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17138 PyObject
*resultobj
= 0;
17139 wxSound
*arg1
= (wxSound
*) 0 ;
17143 PyObject
*swig_obj
[1] ;
17145 if (!args
) SWIG_fail
;
17146 swig_obj
[0] = args
;
17147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17148 if (!SWIG_IsOK(res1
)) {
17149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17151 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (bool)(arg1
)->IsOk();
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17167 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
= 0;
17169 wxSound
*arg1
= (wxSound
*) 0 ;
17170 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17174 unsigned int val2
;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char * kwnames
[] = {
17179 (char *) "self",(char *) "flags", NULL
17182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17184 if (!SWIG_IsOK(res1
)) {
17185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17187 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17189 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17190 if (!SWIG_IsOK(ecode2
)) {
17191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17193 arg2
= static_cast< unsigned int >(val2
);
17196 if (!wxPyCheckForApp()) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17211 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
= 0;
17213 wxString
*arg1
= 0 ;
17214 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17216 bool temp1
= false ;
17217 unsigned int val2
;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 char * kwnames
[] = {
17222 (char *) "filename",(char *) "flags", NULL
17225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17227 arg1
= wxString_in_helper(obj0
);
17228 if (arg1
== NULL
) SWIG_fail
;
17232 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17233 if (!SWIG_IsOK(ecode2
)) {
17234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17236 arg2
= static_cast< unsigned int >(val2
);
17239 if (!wxPyCheckForApp()) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17262 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17263 PyObject
*resultobj
= 0;
17265 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17267 if (!wxPyCheckForApp()) SWIG_fail
;
17268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= SWIG_Py_Void();
17280 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17283 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17284 return SWIG_Py_Void();
17287 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17288 return SWIG_Python_InitShadowInstance(args
);
17291 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
= 0;
17293 wxString
*arg1
= 0 ;
17294 wxString
*arg2
= 0 ;
17295 wxString
*arg3
= 0 ;
17296 wxString
*arg4
= 0 ;
17297 wxFileTypeInfo
*result
= 0 ;
17298 bool temp1
= false ;
17299 bool temp2
= false ;
17300 bool temp3
= false ;
17301 bool temp4
= false ;
17302 PyObject
* obj0
= 0 ;
17303 PyObject
* obj1
= 0 ;
17304 PyObject
* obj2
= 0 ;
17305 PyObject
* obj3
= 0 ;
17306 char * kwnames
[] = {
17307 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17312 arg1
= wxString_in_helper(obj0
);
17313 if (arg1
== NULL
) SWIG_fail
;
17317 arg2
= wxString_in_helper(obj1
);
17318 if (arg2
== NULL
) SWIG_fail
;
17322 arg3
= wxString_in_helper(obj2
);
17323 if (arg3
== NULL
) SWIG_fail
;
17327 arg4
= wxString_in_helper(obj3
);
17328 if (arg4
== NULL
) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17376 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
= 0;
17378 wxArrayString
*arg1
= 0 ;
17379 wxFileTypeInfo
*result
= 0 ;
17380 bool temp1
= false ;
17381 PyObject
* obj0
= 0 ;
17382 char * kwnames
[] = {
17383 (char *) "sArray", NULL
17386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17388 if (! PySequence_Check(obj0
)) {
17389 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17392 arg1
= new wxArrayString
;
17394 int i
, len
=PySequence_Length(obj0
);
17395 for (i
=0; i
<len
; i
++) {
17396 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17397 wxString
* s
= wxString_in_helper(item
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17412 if (temp1
) delete arg1
;
17417 if (temp1
) delete arg1
;
17423 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17424 PyObject
*resultobj
= 0;
17425 wxFileTypeInfo
*result
= 0 ;
17427 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17441 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17442 PyObject
*resultobj
= 0;
17443 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17447 PyObject
*swig_obj
[1] ;
17449 if (!args
) SWIG_fail
;
17450 swig_obj
[0] = args
;
17451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17452 if (!SWIG_IsOK(res1
)) {
17453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17455 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17471 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
= 0;
17473 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17474 wxString
*arg2
= 0 ;
17475 int arg3
= (int) 0 ;
17478 bool temp2
= false ;
17481 PyObject
* obj0
= 0 ;
17482 PyObject
* obj1
= 0 ;
17483 PyObject
* obj2
= 0 ;
17484 char * kwnames
[] = {
17485 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17490 if (!SWIG_IsOK(res1
)) {
17491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17493 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17495 arg2
= wxString_in_helper(obj1
);
17496 if (arg2
== NULL
) SWIG_fail
;
17500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17501 if (!SWIG_IsOK(ecode3
)) {
17502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17504 arg3
= static_cast< int >(val3
);
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= SWIG_Py_Void();
17527 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17530 wxString
*arg2
= 0 ;
17533 bool temp2
= false ;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 char * kwnames
[] = {
17537 (char *) "self",(char *) "shortDesc", NULL
17540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17542 if (!SWIG_IsOK(res1
)) {
17543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17545 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17547 arg2
= wxString_in_helper(obj1
);
17548 if (arg2
== NULL
) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= SWIG_Py_Void();
17572 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17573 PyObject
*resultobj
= 0;
17574 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17575 wxString
*result
= 0 ;
17578 PyObject
*swig_obj
[1] ;
17580 if (!args
) SWIG_fail
;
17581 swig_obj
[0] = args
;
17582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17583 if (!SWIG_IsOK(res1
)) {
17584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17586 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17591 result
= (wxString
*) &_result_ref
;
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17600 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17609 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17610 PyObject
*resultobj
= 0;
17611 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17612 wxString
*result
= 0 ;
17615 PyObject
*swig_obj
[1] ;
17617 if (!args
) SWIG_fail
;
17618 swig_obj
[0] = args
;
17619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17620 if (!SWIG_IsOK(res1
)) {
17621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17623 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17628 result
= (wxString
*) &_result_ref
;
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17646 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17647 PyObject
*resultobj
= 0;
17648 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17649 wxString
*result
= 0 ;
17652 PyObject
*swig_obj
[1] ;
17654 if (!args
) SWIG_fail
;
17655 swig_obj
[0] = args
;
17656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17657 if (!SWIG_IsOK(res1
)) {
17658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17660 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17665 result
= (wxString
*) &_result_ref
;
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17674 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17683 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17684 PyObject
*resultobj
= 0;
17685 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17686 wxString
*result
= 0 ;
17689 PyObject
*swig_obj
[1] ;
17691 if (!args
) SWIG_fail
;
17692 swig_obj
[0] = args
;
17693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17694 if (!SWIG_IsOK(res1
)) {
17695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17697 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17702 result
= (wxString
*) &_result_ref
;
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17711 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17720 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17721 PyObject
*resultobj
= 0;
17722 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17723 wxString
*result
= 0 ;
17726 PyObject
*swig_obj
[1] ;
17728 if (!args
) SWIG_fail
;
17729 swig_obj
[0] = args
;
17730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17731 if (!SWIG_IsOK(res1
)) {
17732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17734 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17739 result
= (wxString
*) &_result_ref
;
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17748 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17757 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17758 PyObject
*resultobj
= 0;
17759 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17760 wxArrayString
*result
= 0 ;
17763 PyObject
*swig_obj
[1] ;
17765 if (!args
) SWIG_fail
;
17766 swig_obj
[0] = args
;
17767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17768 if (!SWIG_IsOK(res1
)) {
17769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17771 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17776 result
= (wxArrayString
*) &_result_ref
;
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= wxArrayString2PyList_helper(*result
);
17790 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17791 PyObject
*resultobj
= 0;
17792 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17796 PyObject
*swig_obj
[1] ;
17798 if (!args
) SWIG_fail
;
17799 swig_obj
[0] = args
;
17800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17801 if (!SWIG_IsOK(res1
)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17804 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
17818 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17819 PyObject
*resultobj
= 0;
17820 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17821 wxString
*result
= 0 ;
17824 PyObject
*swig_obj
[1] ;
17826 if (!args
) SWIG_fail
;
17827 swig_obj
[0] = args
;
17828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17829 if (!SWIG_IsOK(res1
)) {
17830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17832 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
17837 result
= (wxString
*) &_result_ref
;
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17846 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17855 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17856 PyObject
*resultobj
= 0;
17857 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17861 PyObject
*swig_obj
[1] ;
17863 if (!args
) SWIG_fail
;
17864 swig_obj
[0] = args
;
17865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17866 if (!SWIG_IsOK(res1
)) {
17867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17869 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= SWIG_From_int(static_cast< int >(result
));
17883 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17886 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
17887 return SWIG_Py_Void();
17890 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17891 return SWIG_Python_InitShadowInstance(args
);
17894 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
= 0;
17896 wxFileTypeInfo
*arg1
= 0 ;
17897 wxFileType
*result
= 0 ;
17900 PyObject
* obj0
= 0 ;
17901 char * kwnames
[] = {
17902 (char *) "ftInfo", NULL
17905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
17906 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17907 if (!SWIG_IsOK(res1
)) {
17908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
17911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
17913 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
17927 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17928 PyObject
*resultobj
= 0;
17929 wxFileType
*arg1
= (wxFileType
*) 0 ;
17932 PyObject
*swig_obj
[1] ;
17934 if (!args
) SWIG_fail
;
17935 swig_obj
[0] = args
;
17936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
17937 if (!SWIG_IsOK(res1
)) {
17938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
17940 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= SWIG_Py_Void();
17955 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17956 PyObject
*resultobj
= 0;
17957 wxFileType
*arg1
= (wxFileType
*) 0 ;
17958 PyObject
*result
= 0 ;
17961 PyObject
*swig_obj
[1] ;
17963 if (!args
) SWIG_fail
;
17964 swig_obj
[0] = args
;
17965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17966 if (!SWIG_IsOK(res1
)) {
17967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
17969 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= result
;
17983 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17984 PyObject
*resultobj
= 0;
17985 wxFileType
*arg1
= (wxFileType
*) 0 ;
17986 PyObject
*result
= 0 ;
17989 PyObject
*swig_obj
[1] ;
17991 if (!args
) SWIG_fail
;
17992 swig_obj
[0] = args
;
17993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17994 if (!SWIG_IsOK(res1
)) {
17995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
17997 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= result
;
18011 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18012 PyObject
*resultobj
= 0;
18013 wxFileType
*arg1
= (wxFileType
*) 0 ;
18014 PyObject
*result
= 0 ;
18017 PyObject
*swig_obj
[1] ;
18019 if (!args
) SWIG_fail
;
18020 swig_obj
[0] = args
;
18021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18022 if (!SWIG_IsOK(res1
)) {
18023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18025 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= result
;
18039 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18040 PyObject
*resultobj
= 0;
18041 wxFileType
*arg1
= (wxFileType
*) 0 ;
18042 wxIcon
*result
= 0 ;
18045 PyObject
*swig_obj
[1] ;
18047 if (!args
) SWIG_fail
;
18048 swig_obj
[0] = args
;
18049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18050 if (!SWIG_IsOK(res1
)) {
18051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18053 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18067 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18068 PyObject
*resultobj
= 0;
18069 wxFileType
*arg1
= (wxFileType
*) 0 ;
18070 PyObject
*result
= 0 ;
18073 PyObject
*swig_obj
[1] ;
18075 if (!args
) SWIG_fail
;
18076 swig_obj
[0] = args
;
18077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18078 if (!SWIG_IsOK(res1
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18081 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18085 wxPyEndAllowThreads(__tstate
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 resultobj
= result
;
18095 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18096 PyObject
*resultobj
= 0;
18097 wxFileType
*arg1
= (wxFileType
*) 0 ;
18098 PyObject
*result
= 0 ;
18101 PyObject
*swig_obj
[1] ;
18103 if (!args
) SWIG_fail
;
18104 swig_obj
[0] = args
;
18105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18106 if (!SWIG_IsOK(res1
)) {
18107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18109 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= result
;
18123 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
= 0;
18125 wxFileType
*arg1
= (wxFileType
*) 0 ;
18126 wxString
*arg2
= 0 ;
18127 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18128 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18129 PyObject
*result
= 0 ;
18132 bool temp2
= false ;
18133 bool temp3
= false ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 PyObject
* obj2
= 0 ;
18137 char * kwnames
[] = {
18138 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18143 if (!SWIG_IsOK(res1
)) {
18144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18146 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18148 arg2
= wxString_in_helper(obj1
);
18149 if (arg2
== NULL
) SWIG_fail
;
18154 arg3
= wxString_in_helper(obj2
);
18155 if (arg3
== NULL
) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= result
;
18188 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
= 0;
18190 wxFileType
*arg1
= (wxFileType
*) 0 ;
18191 wxString
*arg2
= 0 ;
18192 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18193 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18194 PyObject
*result
= 0 ;
18197 bool temp2
= false ;
18198 bool temp3
= false ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 PyObject
* obj2
= 0 ;
18202 char * kwnames
[] = {
18203 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18208 if (!SWIG_IsOK(res1
)) {
18209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18211 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18213 arg2
= wxString_in_helper(obj1
);
18214 if (arg2
== NULL
) SWIG_fail
;
18219 arg3
= wxString_in_helper(obj2
);
18220 if (arg3
== NULL
) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= result
;
18253 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
= 0;
18255 wxFileType
*arg1
= (wxFileType
*) 0 ;
18256 wxString
*arg2
= 0 ;
18257 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18258 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18259 PyObject
*result
= 0 ;
18262 bool temp2
= false ;
18263 bool temp3
= false ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 PyObject
* obj2
= 0 ;
18267 char * kwnames
[] = {
18268 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18273 if (!SWIG_IsOK(res1
)) {
18274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18276 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18278 arg2
= wxString_in_helper(obj1
);
18279 if (arg2
== NULL
) SWIG_fail
;
18284 arg3
= wxString_in_helper(obj2
);
18285 if (arg3
== NULL
) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18292 wxPyEndAllowThreads(__tstate
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= result
;
18318 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
= 0;
18320 wxFileType
*arg1
= (wxFileType
*) 0 ;
18321 wxString
*arg2
= 0 ;
18322 wxString
*arg3
= 0 ;
18323 bool arg4
= (bool) true ;
18327 bool temp2
= false ;
18328 bool temp3
= false ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 PyObject
* obj2
= 0 ;
18334 PyObject
* obj3
= 0 ;
18335 char * kwnames
[] = {
18336 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18341 if (!SWIG_IsOK(res1
)) {
18342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18344 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18346 arg2
= wxString_in_helper(obj1
);
18347 if (arg2
== NULL
) SWIG_fail
;
18351 arg3
= wxString_in_helper(obj2
);
18352 if (arg3
== NULL
) SWIG_fail
;
18356 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18357 if (!SWIG_IsOK(ecode4
)) {
18358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18360 arg4
= static_cast< bool >(val4
);
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18393 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
= 0;
18395 wxFileType
*arg1
= (wxFileType
*) 0 ;
18396 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18397 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18398 int arg3
= (int) 0 ;
18402 bool temp2
= false ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 PyObject
* obj2
= 0 ;
18408 char * kwnames
[] = {
18409 (char *) "self",(char *) "cmd",(char *) "index", NULL
18412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18414 if (!SWIG_IsOK(res1
)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18417 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18420 arg2
= wxString_in_helper(obj1
);
18421 if (arg2
== NULL
) SWIG_fail
;
18426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18427 if (!SWIG_IsOK(ecode3
)) {
18428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18430 arg3
= static_cast< int >(val3
);
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18455 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18456 PyObject
*resultobj
= 0;
18457 wxFileType
*arg1
= (wxFileType
*) 0 ;
18461 PyObject
*swig_obj
[1] ;
18463 if (!args
) SWIG_fail
;
18464 swig_obj
[0] = args
;
18465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18466 if (!SWIG_IsOK(res1
)) {
18467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18469 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= (bool)(arg1
)->Unassociate();
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18485 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
= 0;
18487 wxString
*arg1
= 0 ;
18488 wxString
*arg2
= 0 ;
18489 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18490 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18492 bool temp1
= false ;
18493 bool temp2
= false ;
18494 bool temp3
= false ;
18495 PyObject
* obj0
= 0 ;
18496 PyObject
* obj1
= 0 ;
18497 PyObject
* obj2
= 0 ;
18498 char * kwnames
[] = {
18499 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18504 arg1
= wxString_in_helper(obj0
);
18505 if (arg1
== NULL
) SWIG_fail
;
18509 arg2
= wxString_in_helper(obj1
);
18510 if (arg2
== NULL
) SWIG_fail
;
18515 arg3
= wxString_in_helper(obj2
);
18516 if (arg3
== NULL
) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18563 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18566 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18567 return SWIG_Py_Void();
18570 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18571 return SWIG_Python_InitShadowInstance(args
);
18574 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18575 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18580 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18581 PyObject
*pyobj
= 0;
18583 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18588 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
= 0;
18590 wxString
*arg1
= 0 ;
18591 wxString
*arg2
= 0 ;
18593 bool temp1
= false ;
18594 bool temp2
= false ;
18595 PyObject
* obj0
= 0 ;
18596 PyObject
* obj1
= 0 ;
18597 char * kwnames
[] = {
18598 (char *) "mimeType",(char *) "wildcard", NULL
18601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18603 arg1
= wxString_in_helper(obj0
);
18604 if (arg1
== NULL
) SWIG_fail
;
18608 arg2
= wxString_in_helper(obj1
);
18609 if (arg2
== NULL
) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18643 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18644 PyObject
*resultobj
= 0;
18645 wxMimeTypesManager
*result
= 0 ;
18647 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18661 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
= 0;
18663 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18664 int arg2
= (int) wxMAILCAP_ALL
;
18665 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18666 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18671 bool temp3
= false ;
18672 PyObject
* obj0
= 0 ;
18673 PyObject
* obj1
= 0 ;
18674 PyObject
* obj2
= 0 ;
18675 char * kwnames
[] = {
18676 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18681 if (!SWIG_IsOK(res1
)) {
18682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18684 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18687 if (!SWIG_IsOK(ecode2
)) {
18688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18690 arg2
= static_cast< int >(val2
);
18694 arg3
= wxString_in_helper(obj2
);
18695 if (arg3
== NULL
) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 resultobj
= SWIG_Py_Void();
18720 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18721 PyObject
*resultobj
= 0;
18722 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18725 PyObject
*swig_obj
[1] ;
18727 if (!args
) SWIG_fail
;
18728 swig_obj
[0] = args
;
18729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18730 if (!SWIG_IsOK(res1
)) {
18731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18733 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 (arg1
)->ClearData();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_Py_Void();
18747 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
= 0;
18749 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18750 wxString
*arg2
= 0 ;
18751 wxFileType
*result
= 0 ;
18754 bool temp2
= false ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 char * kwnames
[] = {
18758 (char *) "self",(char *) "ext", NULL
18761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18763 if (!SWIG_IsOK(res1
)) {
18764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18766 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18768 arg2
= wxString_in_helper(obj1
);
18769 if (arg2
== NULL
) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18793 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
= 0;
18795 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18796 wxString
*arg2
= 0 ;
18797 wxFileType
*result
= 0 ;
18800 bool temp2
= false ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char * kwnames
[] = {
18804 (char *) "self",(char *) "mimeType", NULL
18807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18809 if (!SWIG_IsOK(res1
)) {
18810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18812 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18814 arg2
= wxString_in_helper(obj1
);
18815 if (arg2
== NULL
) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18839 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
= 0;
18841 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18842 wxString
*arg2
= 0 ;
18843 bool arg3
= (bool) false ;
18847 bool temp2
= false ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 PyObject
* obj2
= 0 ;
18853 char * kwnames
[] = {
18854 (char *) "self",(char *) "filename",(char *) "fallback", NULL
18857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18859 if (!SWIG_IsOK(res1
)) {
18860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18862 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18864 arg2
= wxString_in_helper(obj1
);
18865 if (arg2
== NULL
) SWIG_fail
;
18869 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
18870 if (!SWIG_IsOK(ecode3
)) {
18871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
18873 arg3
= static_cast< bool >(val3
);
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18898 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
= 0;
18900 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18901 wxString
*arg2
= 0 ;
18905 bool temp2
= false ;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 char * kwnames
[] = {
18909 (char *) "self",(char *) "filename", NULL
18912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18917 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18919 arg2
= wxString_in_helper(obj1
);
18920 if (arg2
== NULL
) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18946 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18947 PyObject
*resultobj
= 0;
18948 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18949 PyObject
*result
= 0 ;
18952 PyObject
*swig_obj
[1] ;
18954 if (!args
) SWIG_fail
;
18955 swig_obj
[0] = args
;
18956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18957 if (!SWIG_IsOK(res1
)) {
18958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18960 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= result
;
18974 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
= 0;
18976 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18977 wxFileTypeInfo
*arg2
= 0 ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 char * kwnames
[] = {
18985 (char *) "self",(char *) "ft", NULL
18988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18990 if (!SWIG_IsOK(res1
)) {
18991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18993 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18995 if (!SWIG_IsOK(res2
)) {
18996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19001 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= SWIG_Py_Void();
19015 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
= 0;
19017 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19018 wxFileTypeInfo
*arg2
= 0 ;
19019 wxFileType
*result
= 0 ;
19024 PyObject
* obj0
= 0 ;
19025 PyObject
* obj1
= 0 ;
19026 char * kwnames
[] = {
19027 (char *) "self",(char *) "ftInfo", NULL
19030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19032 if (!SWIG_IsOK(res1
)) {
19033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19035 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19037 if (!SWIG_IsOK(res2
)) {
19038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19043 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19057 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
= 0;
19059 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19060 wxFileType
*arg2
= (wxFileType
*) 0 ;
19066 PyObject
* obj0
= 0 ;
19067 PyObject
* obj1
= 0 ;
19068 char * kwnames
[] = {
19069 (char *) "self",(char *) "ft", NULL
19072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19074 if (!SWIG_IsOK(res1
)) {
19075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19077 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19079 if (!SWIG_IsOK(res2
)) {
19080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19082 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (bool)(arg1
)->Unassociate(arg2
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19098 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19099 PyObject
*resultobj
= 0;
19100 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19103 PyObject
*swig_obj
[1] ;
19105 if (!args
) SWIG_fail
;
19106 swig_obj
[0] = args
;
19107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19111 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_Py_Void();
19126 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19129 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19130 return SWIG_Py_Void();
19133 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19134 return SWIG_Python_InitShadowInstance(args
);
19137 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19138 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19143 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19144 PyObject
*pyobj
= 0;
19148 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19150 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19157 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19158 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19163 SWIGINTERN PyObject
*ART_MENU_get(void) {
19164 PyObject
*pyobj
= 0;
19168 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19170 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19177 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19178 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19183 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19184 PyObject
*pyobj
= 0;
19188 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19190 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19197 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19198 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19203 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19204 PyObject
*pyobj
= 0;
19208 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19210 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19217 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19218 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19223 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19224 PyObject
*pyobj
= 0;
19228 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19230 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19237 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19238 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19243 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19244 PyObject
*pyobj
= 0;
19248 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19250 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19257 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19258 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19263 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19264 PyObject
*pyobj
= 0;
19268 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19270 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19277 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19278 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19283 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19284 PyObject
*pyobj
= 0;
19288 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19290 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19297 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19298 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19303 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19304 PyObject
*pyobj
= 0;
19308 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19310 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19317 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19318 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19323 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19324 PyObject
*pyobj
= 0;
19328 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19330 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19337 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19338 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19343 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19344 PyObject
*pyobj
= 0;
19348 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19350 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19357 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19358 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19363 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19364 PyObject
*pyobj
= 0;
19368 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19370 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19377 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19378 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19383 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19384 PyObject
*pyobj
= 0;
19388 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19390 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19397 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19398 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19403 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19404 PyObject
*pyobj
= 0;
19408 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19410 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19417 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19418 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19423 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19424 PyObject
*pyobj
= 0;
19428 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19430 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19437 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19438 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19443 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19444 PyObject
*pyobj
= 0;
19448 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19450 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19457 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19458 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19463 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19464 PyObject
*pyobj
= 0;
19468 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19470 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19477 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19478 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19483 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19484 PyObject
*pyobj
= 0;
19488 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19490 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19497 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19498 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19503 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19504 PyObject
*pyobj
= 0;
19508 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19510 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19517 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19518 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19523 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19524 PyObject
*pyobj
= 0;
19528 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19530 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19537 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19538 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19543 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19544 PyObject
*pyobj
= 0;
19548 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19550 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19557 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19558 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19563 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19564 PyObject
*pyobj
= 0;
19568 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19570 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19577 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19578 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19583 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19584 PyObject
*pyobj
= 0;
19588 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19590 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19597 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19598 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19603 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19604 PyObject
*pyobj
= 0;
19608 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19610 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19617 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19618 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19623 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19624 PyObject
*pyobj
= 0;
19628 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19630 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19637 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19638 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19643 SWIGINTERN PyObject
*ART_HELP_get(void) {
19644 PyObject
*pyobj
= 0;
19648 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19650 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19657 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19658 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19663 SWIGINTERN PyObject
*ART_TIP_get(void) {
19664 PyObject
*pyobj
= 0;
19668 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19670 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19677 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19678 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19683 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19684 PyObject
*pyobj
= 0;
19688 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19690 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19697 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19698 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19703 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19704 PyObject
*pyobj
= 0;
19708 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19710 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19717 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19718 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19723 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19724 PyObject
*pyobj
= 0;
19728 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19730 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19737 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19738 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19743 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19744 PyObject
*pyobj
= 0;
19748 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19750 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19757 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19758 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19763 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19764 PyObject
*pyobj
= 0;
19768 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19770 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19777 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19778 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19783 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19784 PyObject
*pyobj
= 0;
19788 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19790 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19797 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19798 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
19803 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
19804 PyObject
*pyobj
= 0;
19808 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19810 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19817 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
19818 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
19823 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
19824 PyObject
*pyobj
= 0;
19828 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19830 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19837 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
19838 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
19843 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
19844 PyObject
*pyobj
= 0;
19848 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
19850 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
19857 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
19858 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
19863 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
19864 PyObject
*pyobj
= 0;
19868 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
19870 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
19877 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
19878 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
19883 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
19884 PyObject
*pyobj
= 0;
19888 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
19890 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
19897 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
19898 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
19903 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
19904 PyObject
*pyobj
= 0;
19908 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
19910 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
19917 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
19918 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
19923 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
19924 PyObject
*pyobj
= 0;
19928 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
19930 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
19937 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
19938 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
19943 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
19944 PyObject
*pyobj
= 0;
19948 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19950 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19957 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
19958 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
19963 SWIGINTERN PyObject
*ART_ERROR_get(void) {
19964 PyObject
*pyobj
= 0;
19968 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19970 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19977 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
19978 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
19983 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
19984 PyObject
*pyobj
= 0;
19988 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19990 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19997 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
19998 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20003 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20004 PyObject
*pyobj
= 0;
20008 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20010 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20017 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20018 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20023 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20024 PyObject
*pyobj
= 0;
20028 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20030 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20037 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20038 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20043 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20044 PyObject
*pyobj
= 0;
20048 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20050 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20057 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20058 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20063 SWIGINTERN PyObject
*ART_COPY_get(void) {
20064 PyObject
*pyobj
= 0;
20068 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20070 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20077 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20078 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20083 SWIGINTERN PyObject
*ART_CUT_get(void) {
20084 PyObject
*pyobj
= 0;
20088 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20090 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20097 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20098 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20103 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20104 PyObject
*pyobj
= 0;
20108 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20110 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20117 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20118 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20123 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20124 PyObject
*pyobj
= 0;
20128 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20130 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20137 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20138 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20143 SWIGINTERN PyObject
*ART_NEW_get(void) {
20144 PyObject
*pyobj
= 0;
20148 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20150 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20157 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20158 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20163 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20164 PyObject
*pyobj
= 0;
20168 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20170 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20177 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20178 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20183 SWIGINTERN PyObject
*ART_REDO_get(void) {
20184 PyObject
*pyobj
= 0;
20188 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20190 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20197 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20198 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20203 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20204 PyObject
*pyobj
= 0;
20208 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20210 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20217 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20218 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20223 SWIGINTERN PyObject
*ART_FIND_get(void) {
20224 PyObject
*pyobj
= 0;
20228 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20230 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20237 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20238 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20243 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20244 PyObject
*pyobj
= 0;
20248 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20250 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20257 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20258 PyObject
*resultobj
= 0;
20259 wxPyArtProvider
*result
= 0 ;
20261 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20263 if (!wxPyCheckForApp()) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20276 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20277 PyObject
*resultobj
= 0;
20278 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20281 PyObject
*swig_obj
[1] ;
20283 if (!args
) SWIG_fail
;
20284 swig_obj
[0] = args
;
20285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20286 if (!SWIG_IsOK(res1
)) {
20287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20289 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= SWIG_Py_Void();
20304 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
= 0;
20306 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20307 PyObject
*arg2
= (PyObject
*) 0 ;
20308 PyObject
*arg3
= (PyObject
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 PyObject
* obj1
= 0 ;
20313 PyObject
* obj2
= 0 ;
20314 char * kwnames
[] = {
20315 (char *) "self",(char *) "self",(char *) "_class", NULL
20318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20320 if (!SWIG_IsOK(res1
)) {
20321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20323 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= SWIG_Py_Void();
20339 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
= 0;
20341 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 char * kwnames
[] = {
20345 (char *) "provider", NULL
20348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
20349 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20350 if (!SWIG_IsOK(res1
)) {
20351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 wxPyArtProvider::PushProvider(arg1
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_Py_Void();
20366 SWIGINTERN PyObject
*_wrap_ArtProvider_InsertProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
= 0;
20368 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 char * kwnames
[] = {
20372 (char *) "provider", NULL
20375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_InsertProvider",kwnames
,&obj0
)) SWIG_fail
;
20376 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20377 if (!SWIG_IsOK(res1
)) {
20378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_InsertProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 wxPyArtProvider::InsertProvider(arg1
);
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 resultobj
= SWIG_Py_Void();
20393 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20394 PyObject
*resultobj
= 0;
20397 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (bool)wxPyArtProvider::PopProvider();
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20413 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
= 0;
20415 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 char * kwnames
[] = {
20421 (char *) "provider", NULL
20424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
20425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20426 if (!SWIG_IsOK(res1
)) {
20427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20429 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20445 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
= 0;
20447 wxString
*arg1
= 0 ;
20448 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20449 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20450 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20451 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20453 bool temp1
= false ;
20454 bool temp2
= false ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 PyObject
* obj2
= 0 ;
20459 char * kwnames
[] = {
20460 (char *) "id",(char *) "client",(char *) "size", NULL
20463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20465 arg1
= wxString_in_helper(obj0
);
20466 if (arg1
== NULL
) SWIG_fail
;
20471 arg2
= wxString_in_helper(obj1
);
20472 if (arg2
== NULL
) SWIG_fail
;
20479 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20483 if (!wxPyCheckForApp()) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20512 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
= 0;
20514 wxString
*arg1
= 0 ;
20515 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20516 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20517 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20518 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20520 bool temp1
= false ;
20521 bool temp2
= false ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 PyObject
* obj2
= 0 ;
20526 char * kwnames
[] = {
20527 (char *) "id",(char *) "client",(char *) "size", NULL
20530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20532 arg1
= wxString_in_helper(obj0
);
20533 if (arg1
== NULL
) SWIG_fail
;
20538 arg2
= wxString_in_helper(obj1
);
20539 if (arg2
== NULL
) SWIG_fail
;
20546 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20550 if (!wxPyCheckForApp()) SWIG_fail
;
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20556 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20579 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
= 0;
20581 wxString
*arg1
= 0 ;
20582 bool arg2
= (bool) false ;
20584 bool temp1
= false ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 char * kwnames
[] = {
20590 (char *) "client",(char *) "platform_dependent", NULL
20593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20595 arg1
= wxString_in_helper(obj0
);
20596 if (arg1
== NULL
) SWIG_fail
;
20600 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20601 if (!SWIG_IsOK(ecode2
)) {
20602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20604 arg2
= static_cast< bool >(val2
);
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20627 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20628 PyObject
*resultobj
= 0;
20629 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20632 PyObject
*swig_obj
[1] ;
20634 if (!args
) SWIG_fail
;
20635 swig_obj
[0] = args
;
20636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20637 if (!SWIG_IsOK(res1
)) {
20638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20640 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 wxPyArtProvider_Destroy(arg1
);
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= SWIG_Py_Void();
20654 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20657 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20658 return SWIG_Py_Void();
20661 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20662 return SWIG_Python_InitShadowInstance(args
);
20665 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20666 PyObject
*resultobj
= 0;
20667 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20670 PyObject
*swig_obj
[1] ;
20672 if (!args
) SWIG_fail
;
20673 swig_obj
[0] = args
;
20674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20675 if (!SWIG_IsOK(res1
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20678 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_Py_Void();
20693 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
= 0;
20695 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20696 wxConfigBase
*result
= 0 ;
20698 PyObject
* obj0
= 0 ;
20699 char * kwnames
[] = {
20700 (char *) "config", NULL
20703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20704 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20705 if (!SWIG_IsOK(res1
)) {
20706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20721 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
= 0;
20723 bool arg1
= (bool) true ;
20724 wxConfigBase
*result
= 0 ;
20727 PyObject
* obj0
= 0 ;
20728 char * kwnames
[] = {
20729 (char *) "createOnDemand", NULL
20732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20734 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20735 if (!SWIG_IsOK(ecode1
)) {
20736 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20738 arg1
= static_cast< bool >(val1
);
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20753 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20754 PyObject
*resultobj
= 0;
20755 wxConfigBase
*result
= 0 ;
20757 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (wxConfigBase
*)wxConfigBase::Create();
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20771 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20772 PyObject
*resultobj
= 0;
20774 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 wxConfigBase::DontCreateOnDemand();
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= SWIG_Py_Void();
20788 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
= 0;
20790 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20791 wxString
*arg2
= 0 ;
20794 bool temp2
= false ;
20795 PyObject
* obj0
= 0 ;
20796 PyObject
* obj1
= 0 ;
20797 char * kwnames
[] = {
20798 (char *) "self",(char *) "path", NULL
20801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20803 if (!SWIG_IsOK(res1
)) {
20804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20806 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20808 arg2
= wxString_in_helper(obj1
);
20809 if (arg2
== NULL
) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 (arg1
)->SetPath((wxString
const &)*arg2
);
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= SWIG_Py_Void();
20833 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20834 PyObject
*resultobj
= 0;
20835 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20836 wxString
*result
= 0 ;
20839 PyObject
*swig_obj
[1] ;
20841 if (!args
) SWIG_fail
;
20842 swig_obj
[0] = args
;
20843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20844 if (!SWIG_IsOK(res1
)) {
20845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20847 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
20852 result
= (wxString
*) &_result_ref
;
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20861 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20870 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20871 PyObject
*resultobj
= 0;
20872 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20873 PyObject
*result
= 0 ;
20876 PyObject
*swig_obj
[1] ;
20878 if (!args
) SWIG_fail
;
20879 swig_obj
[0] = args
;
20880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20881 if (!SWIG_IsOK(res1
)) {
20882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20884 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= result
;
20898 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
= 0;
20900 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20902 PyObject
*result
= 0 ;
20907 PyObject
* obj0
= 0 ;
20908 PyObject
* obj1
= 0 ;
20909 char * kwnames
[] = {
20910 (char *) "self",(char *) "index", NULL
20913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20915 if (!SWIG_IsOK(res1
)) {
20916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20918 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20920 if (!SWIG_IsOK(ecode2
)) {
20921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
20923 arg2
= static_cast< long >(val2
);
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= result
;
20937 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20938 PyObject
*resultobj
= 0;
20939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20940 PyObject
*result
= 0 ;
20943 PyObject
*swig_obj
[1] ;
20945 if (!args
) SWIG_fail
;
20946 swig_obj
[0] = args
;
20947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20948 if (!SWIG_IsOK(res1
)) {
20949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20951 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= result
;
20965 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
= 0;
20967 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20969 PyObject
*result
= 0 ;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 char * kwnames
[] = {
20977 (char *) "self",(char *) "index", NULL
20980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20982 if (!SWIG_IsOK(res1
)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20985 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20986 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20987 if (!SWIG_IsOK(ecode2
)) {
20988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
20990 arg2
= static_cast< long >(val2
);
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= result
;
21004 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
= 0;
21006 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21007 bool arg2
= (bool) false ;
21013 PyObject
* obj0
= 0 ;
21014 PyObject
* obj1
= 0 ;
21015 char * kwnames
[] = {
21016 (char *) "self",(char *) "recursive", NULL
21019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21021 if (!SWIG_IsOK(res1
)) {
21022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21024 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21026 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21027 if (!SWIG_IsOK(ecode2
)) {
21028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21030 arg2
= static_cast< bool >(val2
);
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21045 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
= 0;
21047 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21048 bool arg2
= (bool) false ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char * kwnames
[] = {
21057 (char *) "self",(char *) "recursive", NULL
21060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21062 if (!SWIG_IsOK(res1
)) {
21063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21065 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21067 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21068 if (!SWIG_IsOK(ecode2
)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21071 arg2
= static_cast< bool >(val2
);
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21086 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
= 0;
21088 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21089 wxString
*arg2
= 0 ;
21093 bool temp2
= false ;
21094 PyObject
* obj0
= 0 ;
21095 PyObject
* obj1
= 0 ;
21096 char * kwnames
[] = {
21097 (char *) "self",(char *) "name", NULL
21100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21102 if (!SWIG_IsOK(res1
)) {
21103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21105 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21107 arg2
= wxString_in_helper(obj1
);
21108 if (arg2
== NULL
) SWIG_fail
;
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21113 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21134 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
= 0;
21136 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21137 wxString
*arg2
= 0 ;
21141 bool temp2
= false ;
21142 PyObject
* obj0
= 0 ;
21143 PyObject
* obj1
= 0 ;
21144 char * kwnames
[] = {
21145 (char *) "self",(char *) "name", NULL
21148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21150 if (!SWIG_IsOK(res1
)) {
21151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21153 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21155 arg2
= wxString_in_helper(obj1
);
21156 if (arg2
== NULL
) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21182 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
= 0;
21184 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21185 wxString
*arg2
= 0 ;
21189 bool temp2
= false ;
21190 PyObject
* obj0
= 0 ;
21191 PyObject
* obj1
= 0 ;
21192 char * kwnames
[] = {
21193 (char *) "self",(char *) "name", NULL
21196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21198 if (!SWIG_IsOK(res1
)) {
21199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21201 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21203 arg2
= wxString_in_helper(obj1
);
21204 if (arg2
== NULL
) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21230 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
= 0;
21232 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21233 wxString
*arg2
= 0 ;
21234 wxConfigBase::EntryType result
;
21237 bool temp2
= false ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 char * kwnames
[] = {
21241 (char *) "self",(char *) "name", NULL
21244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21246 if (!SWIG_IsOK(res1
)) {
21247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21249 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21251 arg2
= wxString_in_helper(obj1
);
21252 if (arg2
== NULL
) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= SWIG_From_int(static_cast< int >(result
));
21276 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
= 0;
21278 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21279 wxString
*arg2
= 0 ;
21280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21285 bool temp2
= false ;
21286 bool temp3
= false ;
21287 PyObject
* obj0
= 0 ;
21288 PyObject
* obj1
= 0 ;
21289 PyObject
* obj2
= 0 ;
21290 char * kwnames
[] = {
21291 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21296 if (!SWIG_IsOK(res1
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21299 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21301 arg2
= wxString_in_helper(obj1
);
21302 if (arg2
== NULL
) SWIG_fail
;
21307 arg3
= wxString_in_helper(obj2
);
21308 if (arg3
== NULL
) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21347 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21348 PyObject
*resultobj
= 0;
21349 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21350 wxString
*arg2
= 0 ;
21351 long arg3
= (long) 0 ;
21355 bool temp2
= false ;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 PyObject
* obj2
= 0 ;
21361 char * kwnames
[] = {
21362 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21367 if (!SWIG_IsOK(res1
)) {
21368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21370 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21372 arg2
= wxString_in_helper(obj1
);
21373 if (arg2
== NULL
) SWIG_fail
;
21377 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21378 if (!SWIG_IsOK(ecode3
)) {
21379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21381 arg3
= static_cast< long >(val3
);
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_From_long(static_cast< long >(result
));
21404 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
= 0;
21406 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21407 wxString
*arg2
= 0 ;
21408 double arg3
= (double) 0.0 ;
21412 bool temp2
= false ;
21415 PyObject
* obj0
= 0 ;
21416 PyObject
* obj1
= 0 ;
21417 PyObject
* obj2
= 0 ;
21418 char * kwnames
[] = {
21419 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21424 if (!SWIG_IsOK(res1
)) {
21425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21427 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21429 arg2
= wxString_in_helper(obj1
);
21430 if (arg2
== NULL
) SWIG_fail
;
21434 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21435 if (!SWIG_IsOK(ecode3
)) {
21436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21438 arg3
= static_cast< double >(val3
);
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= SWIG_From_double(static_cast< double >(result
));
21461 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
= 0;
21463 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21464 wxString
*arg2
= 0 ;
21465 bool arg3
= (bool) false ;
21469 bool temp2
= false ;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 PyObject
* obj2
= 0 ;
21475 char * kwnames
[] = {
21476 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21481 if (!SWIG_IsOK(res1
)) {
21482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21484 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21486 arg2
= wxString_in_helper(obj1
);
21487 if (arg2
== NULL
) SWIG_fail
;
21491 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21492 if (!SWIG_IsOK(ecode3
)) {
21493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21495 arg3
= static_cast< bool >(val3
);
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21520 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
= 0;
21522 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21523 wxString
*arg2
= 0 ;
21524 wxString
*arg3
= 0 ;
21528 bool temp2
= false ;
21529 bool temp3
= false ;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 PyObject
* obj2
= 0 ;
21533 char * kwnames
[] = {
21534 (char *) "self",(char *) "key",(char *) "value", NULL
21537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21539 if (!SWIG_IsOK(res1
)) {
21540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21542 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21544 arg2
= wxString_in_helper(obj1
);
21545 if (arg2
== NULL
) SWIG_fail
;
21549 arg3
= wxString_in_helper(obj2
);
21550 if (arg3
== NULL
) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21584 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
= 0;
21586 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21587 wxString
*arg2
= 0 ;
21592 bool temp2
= false ;
21595 PyObject
* obj0
= 0 ;
21596 PyObject
* obj1
= 0 ;
21597 PyObject
* obj2
= 0 ;
21598 char * kwnames
[] = {
21599 (char *) "self",(char *) "key",(char *) "value", NULL
21602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21604 if (!SWIG_IsOK(res1
)) {
21605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21607 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21609 arg2
= wxString_in_helper(obj1
);
21610 if (arg2
== NULL
) SWIG_fail
;
21613 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21614 if (!SWIG_IsOK(ecode3
)) {
21615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21617 arg3
= static_cast< long >(val3
);
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21641 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
= 0;
21643 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21644 wxString
*arg2
= 0 ;
21649 bool temp2
= false ;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 PyObject
* obj2
= 0 ;
21655 char * kwnames
[] = {
21656 (char *) "self",(char *) "key",(char *) "value", NULL
21659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21661 if (!SWIG_IsOK(res1
)) {
21662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21664 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21666 arg2
= wxString_in_helper(obj1
);
21667 if (arg2
== NULL
) SWIG_fail
;
21670 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21671 if (!SWIG_IsOK(ecode3
)) {
21672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21674 arg3
= static_cast< double >(val3
);
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21698 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
= 0;
21700 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21701 wxString
*arg2
= 0 ;
21706 bool temp2
= false ;
21709 PyObject
* obj0
= 0 ;
21710 PyObject
* obj1
= 0 ;
21711 PyObject
* obj2
= 0 ;
21712 char * kwnames
[] = {
21713 (char *) "self",(char *) "key",(char *) "value", NULL
21716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21718 if (!SWIG_IsOK(res1
)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21721 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21723 arg2
= wxString_in_helper(obj1
);
21724 if (arg2
== NULL
) SWIG_fail
;
21727 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21728 if (!SWIG_IsOK(ecode3
)) {
21729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21731 arg3
= static_cast< bool >(val3
);
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21755 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
= 0;
21757 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21758 bool arg2
= (bool) false ;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 char * kwnames
[] = {
21767 (char *) "self",(char *) "currentOnly", NULL
21770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21772 if (!SWIG_IsOK(res1
)) {
21773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21775 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21777 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21778 if (!SWIG_IsOK(ecode2
)) {
21779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21781 arg2
= static_cast< bool >(val2
);
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 result
= (bool)(arg1
)->Flush(arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21798 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21799 PyObject
*resultobj
= 0;
21800 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21801 wxString
*arg2
= 0 ;
21802 wxString
*arg3
= 0 ;
21806 bool temp2
= false ;
21807 bool temp3
= false ;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 PyObject
* obj2
= 0 ;
21811 char * kwnames
[] = {
21812 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21817 if (!SWIG_IsOK(res1
)) {
21818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21820 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21822 arg2
= wxString_in_helper(obj1
);
21823 if (arg2
== NULL
) SWIG_fail
;
21827 arg3
= wxString_in_helper(obj2
);
21828 if (arg3
== NULL
) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21862 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
= 0;
21864 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21865 wxString
*arg2
= 0 ;
21866 wxString
*arg3
= 0 ;
21870 bool temp2
= false ;
21871 bool temp3
= false ;
21872 PyObject
* obj0
= 0 ;
21873 PyObject
* obj1
= 0 ;
21874 PyObject
* obj2
= 0 ;
21875 char * kwnames
[] = {
21876 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21881 if (!SWIG_IsOK(res1
)) {
21882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21884 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21886 arg2
= wxString_in_helper(obj1
);
21887 if (arg2
== NULL
) SWIG_fail
;
21891 arg3
= wxString_in_helper(obj2
);
21892 if (arg3
== NULL
) SWIG_fail
;
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21926 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
= 0;
21928 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21929 wxString
*arg2
= 0 ;
21930 bool arg3
= (bool) true ;
21934 bool temp2
= false ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 PyObject
* obj2
= 0 ;
21940 char * kwnames
[] = {
21941 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
21944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21946 if (!SWIG_IsOK(res1
)) {
21947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21949 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21951 arg2
= wxString_in_helper(obj1
);
21952 if (arg2
== NULL
) SWIG_fail
;
21956 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21957 if (!SWIG_IsOK(ecode3
)) {
21958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
21960 arg3
= static_cast< bool >(val3
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21985 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
= 0;
21987 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21988 wxString
*arg2
= 0 ;
21992 bool temp2
= false ;
21993 PyObject
* obj0
= 0 ;
21994 PyObject
* obj1
= 0 ;
21995 char * kwnames
[] = {
21996 (char *) "self",(char *) "key", NULL
21999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22001 if (!SWIG_IsOK(res1
)) {
22002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22004 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22006 arg2
= wxString_in_helper(obj1
);
22007 if (arg2
== NULL
) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22033 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22034 PyObject
*resultobj
= 0;
22035 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22039 PyObject
*swig_obj
[1] ;
22041 if (!args
) SWIG_fail
;
22042 swig_obj
[0] = args
;
22043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22044 if (!SWIG_IsOK(res1
)) {
22045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22047 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= (bool)(arg1
)->DeleteAll();
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22063 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
= 0;
22065 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22066 bool arg2
= (bool) true ;
22071 PyObject
* obj0
= 0 ;
22072 PyObject
* obj1
= 0 ;
22073 char * kwnames
[] = {
22074 (char *) "self",(char *) "doIt", NULL
22077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22079 if (!SWIG_IsOK(res1
)) {
22080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22082 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22084 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22085 if (!SWIG_IsOK(ecode2
)) {
22086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22088 arg2
= static_cast< bool >(val2
);
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 (arg1
)->SetExpandEnvVars(arg2
);
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= SWIG_Py_Void();
22103 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22104 PyObject
*resultobj
= 0;
22105 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22109 PyObject
*swig_obj
[1] ;
22111 if (!args
) SWIG_fail
;
22112 swig_obj
[0] = args
;
22113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22114 if (!SWIG_IsOK(res1
)) {
22115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22117 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22133 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
= 0;
22135 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22136 bool arg2
= (bool) true ;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 char * kwnames
[] = {
22144 (char *) "self",(char *) "doIt", NULL
22147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22149 if (!SWIG_IsOK(res1
)) {
22150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22152 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22154 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22155 if (!SWIG_IsOK(ecode2
)) {
22156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22158 arg2
= static_cast< bool >(val2
);
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 (arg1
)->SetRecordDefaults(arg2
);
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22166 resultobj
= SWIG_Py_Void();
22173 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22174 PyObject
*resultobj
= 0;
22175 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22179 PyObject
*swig_obj
[1] ;
22181 if (!args
) SWIG_fail
;
22182 swig_obj
[0] = args
;
22183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22184 if (!SWIG_IsOK(res1
)) {
22185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22187 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22203 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
= 0;
22205 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22206 wxString
*arg2
= 0 ;
22210 bool temp2
= false ;
22211 PyObject
* obj0
= 0 ;
22212 PyObject
* obj1
= 0 ;
22213 char * kwnames
[] = {
22214 (char *) "self",(char *) "str", NULL
22217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22219 if (!SWIG_IsOK(res1
)) {
22220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22222 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22224 arg2
= wxString_in_helper(obj1
);
22225 if (arg2
== NULL
) SWIG_fail
;
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22255 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22256 PyObject
*resultobj
= 0;
22257 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22261 PyObject
*swig_obj
[1] ;
22263 if (!args
) SWIG_fail
;
22264 swig_obj
[0] = args
;
22265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22266 if (!SWIG_IsOK(res1
)) {
22267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22269 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22289 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22290 PyObject
*resultobj
= 0;
22291 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22295 PyObject
*swig_obj
[1] ;
22297 if (!args
) SWIG_fail
;
22298 swig_obj
[0] = args
;
22299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22300 if (!SWIG_IsOK(res1
)) {
22301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22303 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22323 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
= 0;
22325 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22326 wxString
*arg2
= 0 ;
22329 bool temp2
= false ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 char * kwnames
[] = {
22333 (char *) "self",(char *) "appName", NULL
22336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22338 if (!SWIG_IsOK(res1
)) {
22339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22341 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22343 arg2
= wxString_in_helper(obj1
);
22344 if (arg2
== NULL
) SWIG_fail
;
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 (arg1
)->SetAppName((wxString
const &)*arg2
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_Py_Void();
22368 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
= 0;
22370 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22371 wxString
*arg2
= 0 ;
22374 bool temp2
= false ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 char * kwnames
[] = {
22378 (char *) "self",(char *) "vendorName", NULL
22381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22383 if (!SWIG_IsOK(res1
)) {
22384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22386 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22388 arg2
= wxString_in_helper(obj1
);
22389 if (arg2
== NULL
) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= SWIG_Py_Void();
22413 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
= 0;
22415 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22421 PyObject
* obj0
= 0 ;
22422 PyObject
* obj1
= 0 ;
22423 char * kwnames
[] = {
22424 (char *) "self",(char *) "style", NULL
22427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22429 if (!SWIG_IsOK(res1
)) {
22430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22432 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22433 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22434 if (!SWIG_IsOK(ecode2
)) {
22435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22437 arg2
= static_cast< long >(val2
);
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 (arg1
)->SetStyle(arg2
);
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 resultobj
= SWIG_Py_Void();
22451 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22452 PyObject
*resultobj
= 0;
22453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22457 PyObject
*swig_obj
[1] ;
22459 if (!args
) SWIG_fail
;
22460 swig_obj
[0] = args
;
22461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22462 if (!SWIG_IsOK(res1
)) {
22463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22465 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 resultobj
= SWIG_From_long(static_cast< long >(result
));
22479 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22482 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22483 return SWIG_Py_Void();
22486 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
= 0;
22488 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22489 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22490 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22491 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22492 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22493 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22494 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22495 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22496 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22497 wxConfig
*result
= 0 ;
22498 bool temp1
= false ;
22499 bool temp2
= false ;
22500 bool temp3
= false ;
22501 bool temp4
= false ;
22504 PyObject
* obj0
= 0 ;
22505 PyObject
* obj1
= 0 ;
22506 PyObject
* obj2
= 0 ;
22507 PyObject
* obj3
= 0 ;
22508 PyObject
* obj4
= 0 ;
22509 char * kwnames
[] = {
22510 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22516 arg1
= wxString_in_helper(obj0
);
22517 if (arg1
== NULL
) SWIG_fail
;
22523 arg2
= wxString_in_helper(obj1
);
22524 if (arg2
== NULL
) SWIG_fail
;
22530 arg3
= wxString_in_helper(obj2
);
22531 if (arg3
== NULL
) SWIG_fail
;
22537 arg4
= wxString_in_helper(obj3
);
22538 if (arg4
== NULL
) SWIG_fail
;
22543 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22544 if (!SWIG_IsOK(ecode5
)) {
22545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22547 arg5
= static_cast< long >(val5
);
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22594 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22595 PyObject
*resultobj
= 0;
22596 wxConfig
*arg1
= (wxConfig
*) 0 ;
22599 PyObject
*swig_obj
[1] ;
22601 if (!args
) SWIG_fail
;
22602 swig_obj
[0] = args
;
22603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22604 if (!SWIG_IsOK(res1
)) {
22605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22607 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22615 resultobj
= SWIG_Py_Void();
22622 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22625 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22626 return SWIG_Py_Void();
22629 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22630 return SWIG_Python_InitShadowInstance(args
);
22633 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
= 0;
22635 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22636 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22637 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22638 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22639 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22640 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22641 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22643 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22644 wxFileConfig
*result
= 0 ;
22645 bool temp1
= false ;
22646 bool temp2
= false ;
22647 bool temp3
= false ;
22648 bool temp4
= false ;
22651 PyObject
* obj0
= 0 ;
22652 PyObject
* obj1
= 0 ;
22653 PyObject
* obj2
= 0 ;
22654 PyObject
* obj3
= 0 ;
22655 PyObject
* obj4
= 0 ;
22656 char * kwnames
[] = {
22657 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22663 arg1
= wxString_in_helper(obj0
);
22664 if (arg1
== NULL
) SWIG_fail
;
22670 arg2
= wxString_in_helper(obj1
);
22671 if (arg2
== NULL
) SWIG_fail
;
22677 arg3
= wxString_in_helper(obj2
);
22678 if (arg3
== NULL
) SWIG_fail
;
22684 arg4
= wxString_in_helper(obj3
);
22685 if (arg4
== NULL
) SWIG_fail
;
22690 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22691 if (!SWIG_IsOK(ecode5
)) {
22692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22694 arg5
= static_cast< long >(val5
);
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22741 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22742 PyObject
*resultobj
= 0;
22743 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22746 PyObject
*swig_obj
[1] ;
22748 if (!args
) SWIG_fail
;
22749 swig_obj
[0] = args
;
22750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22751 if (!SWIG_IsOK(res1
)) {
22752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22754 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 resultobj
= SWIG_Py_Void();
22769 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22772 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22773 return SWIG_Py_Void();
22776 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22777 return SWIG_Python_InitShadowInstance(args
);
22780 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
= 0;
22782 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22783 wxString
*arg2
= 0 ;
22784 wxConfigPathChanger
*result
= 0 ;
22787 bool temp2
= false ;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 char * kwnames
[] = {
22791 (char *) "config",(char *) "entry", NULL
22794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22796 if (!SWIG_IsOK(res1
)) {
22797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22799 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22801 arg2
= wxString_in_helper(obj1
);
22802 if (arg2
== NULL
) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
22826 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22827 PyObject
*resultobj
= 0;
22828 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22831 PyObject
*swig_obj
[1] ;
22833 if (!args
) SWIG_fail
;
22834 swig_obj
[0] = args
;
22835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
22836 if (!SWIG_IsOK(res1
)) {
22837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
22839 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22847 resultobj
= SWIG_Py_Void();
22854 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22855 PyObject
*resultobj
= 0;
22856 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22857 wxString
*result
= 0 ;
22860 PyObject
*swig_obj
[1] ;
22862 if (!args
) SWIG_fail
;
22863 swig_obj
[0] = args
;
22864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
22865 if (!SWIG_IsOK(res1
)) {
22866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
22868 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
22873 result
= (wxString
*) &_result_ref
;
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22882 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22891 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22894 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
22895 return SWIG_Py_Void();
22898 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22899 return SWIG_Python_InitShadowInstance(args
);
22902 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
= 0;
22904 wxString
*arg1
= 0 ;
22906 bool temp1
= false ;
22907 PyObject
* obj0
= 0 ;
22908 char * kwnames
[] = {
22909 (char *) "sz", NULL
22912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
22914 arg1
= wxString_in_helper(obj0
);
22915 if (arg1
== NULL
) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= wxExpandEnvVars((wxString
const &)*arg1
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22945 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
22946 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
22951 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
22952 PyObject
*pyobj
= 0;
22956 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22958 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22965 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
22966 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
22971 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
22972 PyObject
*pyobj
= 0;
22976 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22978 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22985 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
= 0;
22987 wxDateTime::Country arg1
;
22990 PyObject
* obj0
= 0 ;
22991 char * kwnames
[] = {
22992 (char *) "country", NULL
22995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
22996 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22997 if (!SWIG_IsOK(ecode1
)) {
22998 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23000 arg1
= static_cast< wxDateTime::Country
>(val1
);
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 wxDateTime::SetCountry(arg1
);
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 resultobj
= SWIG_Py_Void();
23014 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23015 PyObject
*resultobj
= 0;
23016 wxDateTime::Country result
;
23018 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_From_int(static_cast< int >(result
));
23032 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
= 0;
23034 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23038 PyObject
* obj0
= 0 ;
23039 char * kwnames
[] = {
23040 (char *) "country", NULL
23043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23046 if (!SWIG_IsOK(ecode1
)) {
23047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23049 arg1
= static_cast< wxDateTime::Country
>(val1
);
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23066 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
= 0;
23068 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23072 PyObject
* obj0
= 0 ;
23073 char * kwnames
[] = {
23074 (char *) "cal", NULL
23077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23079 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23080 if (!SWIG_IsOK(ecode1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23083 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= SWIG_From_int(static_cast< int >(result
));
23098 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
= 0;
23104 PyObject
* obj0
= 0 ;
23105 char * kwnames
[] = {
23106 (char *) "year", NULL
23109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23110 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23111 if (!SWIG_IsOK(ecode1
)) {
23112 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23114 arg1
= static_cast< int >(val1
);
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_From_int(static_cast< int >(result
));
23128 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
= 0;
23130 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23131 wxDateTime::Month result
;
23134 PyObject
* obj0
= 0 ;
23135 char * kwnames
[] = {
23136 (char *) "cal", NULL
23139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23141 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23142 if (!SWIG_IsOK(ecode1
)) {
23143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23145 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= SWIG_From_int(static_cast< int >(result
));
23160 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
= 0;
23162 int arg1
= (int) wxDateTime::Inv_Year
;
23163 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23169 PyObject
* obj0
= 0 ;
23170 PyObject
* obj1
= 0 ;
23171 char * kwnames
[] = {
23172 (char *) "year",(char *) "cal", NULL
23175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23177 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23178 if (!SWIG_IsOK(ecode1
)) {
23179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23181 arg1
= static_cast< int >(val1
);
23184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23185 if (!SWIG_IsOK(ecode2
)) {
23186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23188 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23205 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
= 0;
23207 int arg1
= (int) wxDateTime::Inv_Year
;
23211 PyObject
* obj0
= 0 ;
23212 char * kwnames
[] = {
23213 (char *) "year", NULL
23216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23218 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23219 if (!SWIG_IsOK(ecode1
)) {
23220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23222 arg1
= static_cast< int >(val1
);
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= (int)wxDateTime::GetCentury(arg1
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_From_int(static_cast< int >(result
));
23237 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
= 0;
23240 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 char * kwnames
[] = {
23249 (char *) "year",(char *) "cal", NULL
23252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23254 if (!SWIG_IsOK(ecode1
)) {
23255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23257 arg1
= static_cast< int >(val1
);
23259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23260 if (!SWIG_IsOK(ecode2
)) {
23261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23263 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= SWIG_From_int(static_cast< int >(result
));
23278 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
= 0;
23280 wxDateTime::Month arg1
;
23281 int arg2
= (int) wxDateTime::Inv_Year
;
23282 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23290 PyObject
* obj0
= 0 ;
23291 PyObject
* obj1
= 0 ;
23292 PyObject
* obj2
= 0 ;
23293 char * kwnames
[] = {
23294 (char *) "month",(char *) "year",(char *) "cal", NULL
23297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23298 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23299 if (!SWIG_IsOK(ecode1
)) {
23300 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23302 arg1
= static_cast< wxDateTime::Month
>(val1
);
23304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23305 if (!SWIG_IsOK(ecode2
)) {
23306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23308 arg2
= static_cast< int >(val2
);
23311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23312 if (!SWIG_IsOK(ecode3
)) {
23313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23315 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_From_int(static_cast< int >(result
));
23330 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
= 0;
23332 wxDateTime::Month arg1
;
23333 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 char * kwnames
[] = {
23342 (char *) "month",(char *) "flags", NULL
23345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23346 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23347 if (!SWIG_IsOK(ecode1
)) {
23348 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23350 arg1
= static_cast< wxDateTime::Month
>(val1
);
23352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23353 if (!SWIG_IsOK(ecode2
)) {
23354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23356 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23377 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
= 0;
23379 wxDateTime::WeekDay arg1
;
23380 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 char * kwnames
[] = {
23389 (char *) "weekday",(char *) "flags", NULL
23392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23394 if (!SWIG_IsOK(ecode1
)) {
23395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23397 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23400 if (!SWIG_IsOK(ecode2
)) {
23401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23403 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23424 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23425 PyObject
*resultobj
= 0;
23426 PyObject
*result
= 0 ;
23428 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= result
;
23442 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
= 0;
23444 int arg1
= (int) wxDateTime::Inv_Year
;
23445 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char * kwnames
[] = {
23454 (char *) "year",(char *) "country", NULL
23457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23459 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23460 if (!SWIG_IsOK(ecode1
)) {
23461 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23463 arg1
= static_cast< int >(val1
);
23466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23467 if (!SWIG_IsOK(ecode2
)) {
23468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23470 arg2
= static_cast< wxDateTime::Country
>(val2
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23487 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
= 0;
23489 int arg1
= (int) wxDateTime::Inv_Year
;
23490 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 char * kwnames
[] = {
23499 (char *) "year",(char *) "country", NULL
23502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23504 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23505 if (!SWIG_IsOK(ecode1
)) {
23506 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23508 arg1
= static_cast< int >(val1
);
23511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23512 if (!SWIG_IsOK(ecode2
)) {
23513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23515 arg2
= static_cast< wxDateTime::Country
>(val2
);
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23530 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
= 0;
23532 int arg1
= (int) wxDateTime::Inv_Year
;
23533 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char * kwnames
[] = {
23542 (char *) "year",(char *) "country", NULL
23545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23547 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23548 if (!SWIG_IsOK(ecode1
)) {
23549 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23551 arg1
= static_cast< int >(val1
);
23554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23555 if (!SWIG_IsOK(ecode2
)) {
23556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23558 arg2
= static_cast< wxDateTime::Country
>(val2
);
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23573 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23574 PyObject
*resultobj
= 0;
23577 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= wxDateTime::Now();
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23591 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23592 PyObject
*resultobj
= 0;
23595 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 result
= wxDateTime::UNow();
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23609 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23610 PyObject
*resultobj
= 0;
23613 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= wxDateTime::Today();
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23627 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23628 PyObject
*resultobj
= 0;
23629 wxDateTime
*result
= 0 ;
23631 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 result
= (wxDateTime
*)new wxDateTime();
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23645 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
= 0;
23648 wxDateTime
*result
= 0 ;
23649 unsigned int val1
;
23651 PyObject
* obj0
= 0 ;
23652 char * kwnames
[] = {
23653 (char *) "timet", NULL
23656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23657 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23658 if (!SWIG_IsOK(ecode1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23661 arg1
= static_cast< time_t >(val1
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (wxDateTime
*)new wxDateTime(arg1
);
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23675 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
= 0;
23678 wxDateTime
*result
= 0 ;
23681 PyObject
* obj0
= 0 ;
23682 char * kwnames
[] = {
23683 (char *) "jdn", NULL
23686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23687 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23688 if (!SWIG_IsOK(ecode1
)) {
23689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23691 arg1
= static_cast< double >(val1
);
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= (wxDateTime
*)new wxDateTime(arg1
);
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23705 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
= 0;
23708 int arg2
= (int) 0 ;
23709 int arg3
= (int) 0 ;
23710 int arg4
= (int) 0 ;
23711 wxDateTime
*result
= 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 PyObject
* obj2
= 0 ;
23723 PyObject
* obj3
= 0 ;
23724 char * kwnames
[] = {
23725 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23730 if (!SWIG_IsOK(ecode1
)) {
23731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23733 arg1
= static_cast< int >(val1
);
23735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23736 if (!SWIG_IsOK(ecode2
)) {
23737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23739 arg2
= static_cast< int >(val2
);
23742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23743 if (!SWIG_IsOK(ecode3
)) {
23744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23746 arg3
= static_cast< int >(val3
);
23749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23750 if (!SWIG_IsOK(ecode4
)) {
23751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23753 arg4
= static_cast< int >(val4
);
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23768 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
= 0;
23771 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23772 int arg3
= (int) wxDateTime::Inv_Year
;
23773 int arg4
= (int) 0 ;
23774 int arg5
= (int) 0 ;
23775 int arg6
= (int) 0 ;
23776 int arg7
= (int) 0 ;
23777 wxDateTime
*result
= 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 PyObject
* obj2
= 0 ;
23795 PyObject
* obj3
= 0 ;
23796 PyObject
* obj4
= 0 ;
23797 PyObject
* obj5
= 0 ;
23798 PyObject
* obj6
= 0 ;
23799 char * kwnames
[] = {
23800 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23804 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23805 if (!SWIG_IsOK(ecode1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
23808 arg1
= static_cast< int >(val1
);
23810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23811 if (!SWIG_IsOK(ecode2
)) {
23812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23814 arg2
= static_cast< wxDateTime::Month
>(val2
);
23817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23818 if (!SWIG_IsOK(ecode3
)) {
23819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
23821 arg3
= static_cast< int >(val3
);
23824 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23825 if (!SWIG_IsOK(ecode4
)) {
23826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
23828 arg4
= static_cast< int >(val4
);
23831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23832 if (!SWIG_IsOK(ecode5
)) {
23833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
23835 arg5
= static_cast< int >(val5
);
23838 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23839 if (!SWIG_IsOK(ecode6
)) {
23840 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
23842 arg6
= static_cast< int >(val6
);
23845 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23846 if (!SWIG_IsOK(ecode7
)) {
23847 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
23849 arg7
= static_cast< int >(val7
);
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23864 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
= 0;
23866 wxDateTime
*arg1
= 0 ;
23867 wxDateTime
*result
= 0 ;
23870 PyObject
* obj0
= 0 ;
23871 char * kwnames
[] = {
23872 (char *) "date", NULL
23875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
23876 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
23877 if (!SWIG_IsOK(res1
)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23883 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23897 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23898 PyObject
*resultobj
= 0;
23899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23902 PyObject
*swig_obj
[1] ;
23904 if (!args
) SWIG_fail
;
23905 swig_obj
[0] = args
;
23906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23910 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= SWIG_Py_Void();
23925 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23926 PyObject
*resultobj
= 0;
23927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23928 wxDateTime
*result
= 0 ;
23931 PyObject
*swig_obj
[1] ;
23933 if (!args
) SWIG_fail
;
23934 swig_obj
[0] = args
;
23935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23936 if (!SWIG_IsOK(res1
)) {
23937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
23939 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
23944 result
= (wxDateTime
*) &_result_ref
;
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23956 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
= 0;
23958 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23960 wxDateTime
*result
= 0 ;
23963 unsigned int val2
;
23965 PyObject
* obj0
= 0 ;
23966 PyObject
* obj1
= 0 ;
23967 char * kwnames
[] = {
23968 (char *) "self",(char *) "timet", NULL
23971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23973 if (!SWIG_IsOK(res1
)) {
23974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
23976 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23977 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
23978 if (!SWIG_IsOK(ecode2
)) {
23979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
23981 arg2
= static_cast< time_t >(val2
);
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23986 result
= (wxDateTime
*) &_result_ref
;
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23998 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
= 0;
24000 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24002 wxDateTime
*result
= 0 ;
24007 PyObject
* obj0
= 0 ;
24008 PyObject
* obj1
= 0 ;
24009 char * kwnames
[] = {
24010 (char *) "self",(char *) "jdn", NULL
24013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24015 if (!SWIG_IsOK(res1
)) {
24016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24018 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24019 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24020 if (!SWIG_IsOK(ecode2
)) {
24021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24023 arg2
= static_cast< double >(val2
);
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24028 result
= (wxDateTime
*) &_result_ref
;
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24040 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
= 0;
24042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24044 int arg3
= (int) 0 ;
24045 int arg4
= (int) 0 ;
24046 int arg5
= (int) 0 ;
24047 wxDateTime
*result
= 0 ;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 PyObject
* obj2
= 0 ;
24061 PyObject
* obj3
= 0 ;
24062 PyObject
* obj4
= 0 ;
24063 char * kwnames
[] = {
24064 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24069 if (!SWIG_IsOK(res1
)) {
24070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24072 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24074 if (!SWIG_IsOK(ecode2
)) {
24075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24077 arg2
= static_cast< int >(val2
);
24079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24080 if (!SWIG_IsOK(ecode3
)) {
24081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24083 arg3
= static_cast< int >(val3
);
24086 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24087 if (!SWIG_IsOK(ecode4
)) {
24088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24090 arg4
= static_cast< int >(val4
);
24093 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24094 if (!SWIG_IsOK(ecode5
)) {
24095 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24097 arg5
= static_cast< int >(val5
);
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24103 result
= (wxDateTime
*) &_result_ref
;
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24115 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
= 0;
24117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24119 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24120 int arg4
= (int) wxDateTime::Inv_Year
;
24121 int arg5
= (int) 0 ;
24122 int arg6
= (int) 0 ;
24123 int arg7
= (int) 0 ;
24124 int arg8
= (int) 0 ;
24125 wxDateTime
*result
= 0 ;
24142 PyObject
* obj0
= 0 ;
24143 PyObject
* obj1
= 0 ;
24144 PyObject
* obj2
= 0 ;
24145 PyObject
* obj3
= 0 ;
24146 PyObject
* obj4
= 0 ;
24147 PyObject
* obj5
= 0 ;
24148 PyObject
* obj6
= 0 ;
24149 PyObject
* obj7
= 0 ;
24150 char * kwnames
[] = {
24151 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24156 if (!SWIG_IsOK(res1
)) {
24157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24159 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24161 if (!SWIG_IsOK(ecode2
)) {
24162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24164 arg2
= static_cast< int >(val2
);
24166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24167 if (!SWIG_IsOK(ecode3
)) {
24168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24170 arg3
= static_cast< wxDateTime::Month
>(val3
);
24173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24174 if (!SWIG_IsOK(ecode4
)) {
24175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24177 arg4
= static_cast< int >(val4
);
24180 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24181 if (!SWIG_IsOK(ecode5
)) {
24182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24184 arg5
= static_cast< int >(val5
);
24187 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24188 if (!SWIG_IsOK(ecode6
)) {
24189 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24191 arg6
= static_cast< int >(val6
);
24194 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24195 if (!SWIG_IsOK(ecode7
)) {
24196 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24198 arg7
= static_cast< int >(val7
);
24201 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24202 if (!SWIG_IsOK(ecode8
)) {
24203 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24205 arg8
= static_cast< int >(val8
);
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24211 result
= (wxDateTime
*) &_result_ref
;
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24223 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24224 PyObject
*resultobj
= 0;
24225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24226 wxDateTime
*result
= 0 ;
24229 PyObject
*swig_obj
[1] ;
24231 if (!args
) SWIG_fail
;
24232 swig_obj
[0] = args
;
24233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24237 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24242 result
= (wxDateTime
*) &_result_ref
;
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24254 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
= 0;
24256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24258 wxDateTime
*result
= 0 ;
24263 PyObject
* obj0
= 0 ;
24264 PyObject
* obj1
= 0 ;
24265 char * kwnames
[] = {
24266 (char *) "self",(char *) "year", NULL
24269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24271 if (!SWIG_IsOK(res1
)) {
24272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24274 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24276 if (!SWIG_IsOK(ecode2
)) {
24277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24279 arg2
= static_cast< int >(val2
);
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24284 result
= (wxDateTime
*) &_result_ref
;
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24296 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
= 0;
24298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24299 wxDateTime::Month arg2
;
24300 wxDateTime
*result
= 0 ;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char * kwnames
[] = {
24308 (char *) "self",(char *) "month", NULL
24311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24313 if (!SWIG_IsOK(res1
)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24316 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24318 if (!SWIG_IsOK(ecode2
)) {
24319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24321 arg2
= static_cast< wxDateTime::Month
>(val2
);
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24326 result
= (wxDateTime
*) &_result_ref
;
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24338 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
= 0;
24340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24342 wxDateTime
*result
= 0 ;
24347 PyObject
* obj0
= 0 ;
24348 PyObject
* obj1
= 0 ;
24349 char * kwnames
[] = {
24350 (char *) "self",(char *) "day", NULL
24353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24355 if (!SWIG_IsOK(res1
)) {
24356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24358 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24360 if (!SWIG_IsOK(ecode2
)) {
24361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24363 arg2
= static_cast< int >(val2
);
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24368 result
= (wxDateTime
*) &_result_ref
;
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24380 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
= 0;
24382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24384 wxDateTime
*result
= 0 ;
24389 PyObject
* obj0
= 0 ;
24390 PyObject
* obj1
= 0 ;
24391 char * kwnames
[] = {
24392 (char *) "self",(char *) "hour", NULL
24395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24397 if (!SWIG_IsOK(res1
)) {
24398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24400 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24402 if (!SWIG_IsOK(ecode2
)) {
24403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24405 arg2
= static_cast< int >(val2
);
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24410 result
= (wxDateTime
*) &_result_ref
;
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24422 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
= 0;
24424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24426 wxDateTime
*result
= 0 ;
24431 PyObject
* obj0
= 0 ;
24432 PyObject
* obj1
= 0 ;
24433 char * kwnames
[] = {
24434 (char *) "self",(char *) "minute", NULL
24437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24439 if (!SWIG_IsOK(res1
)) {
24440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24442 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24444 if (!SWIG_IsOK(ecode2
)) {
24445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24447 arg2
= static_cast< int >(val2
);
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24452 result
= (wxDateTime
*) &_result_ref
;
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24464 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
= 0;
24466 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24468 wxDateTime
*result
= 0 ;
24473 PyObject
* obj0
= 0 ;
24474 PyObject
* obj1
= 0 ;
24475 char * kwnames
[] = {
24476 (char *) "self",(char *) "second", NULL
24479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24481 if (!SWIG_IsOK(res1
)) {
24482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24484 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24486 if (!SWIG_IsOK(ecode2
)) {
24487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24489 arg2
= static_cast< int >(val2
);
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24494 result
= (wxDateTime
*) &_result_ref
;
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24506 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
= 0;
24508 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24510 wxDateTime
*result
= 0 ;
24515 PyObject
* obj0
= 0 ;
24516 PyObject
* obj1
= 0 ;
24517 char * kwnames
[] = {
24518 (char *) "self",(char *) "millisecond", NULL
24521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24523 if (!SWIG_IsOK(res1
)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24526 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24528 if (!SWIG_IsOK(ecode2
)) {
24529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24531 arg2
= static_cast< int >(val2
);
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24536 result
= (wxDateTime
*) &_result_ref
;
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24548 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
= 0;
24550 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24551 wxDateTime::WeekDay arg2
;
24552 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24553 wxDateTime
*result
= 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 PyObject
* obj2
= 0 ;
24563 char * kwnames
[] = {
24564 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24569 if (!SWIG_IsOK(res1
)) {
24570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24572 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24574 if (!SWIG_IsOK(ecode2
)) {
24575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24577 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24580 if (!SWIG_IsOK(ecode3
)) {
24581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24583 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24589 result
= (wxDateTime
*) &_result_ref
;
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24601 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
= 0;
24603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24604 wxDateTime::WeekDay arg2
;
24605 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 PyObject
* obj2
= 0 ;
24616 char * kwnames
[] = {
24617 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24622 if (!SWIG_IsOK(res1
)) {
24623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24625 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24627 if (!SWIG_IsOK(ecode2
)) {
24628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24630 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24633 if (!SWIG_IsOK(ecode3
)) {
24634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24636 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24651 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
= 0;
24653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24654 wxDateTime::WeekDay arg2
;
24655 wxDateTime
*result
= 0 ;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 char * kwnames
[] = {
24663 (char *) "self",(char *) "weekday", NULL
24666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24671 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24673 if (!SWIG_IsOK(ecode2
)) {
24674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24676 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24681 result
= (wxDateTime
*) &_result_ref
;
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24693 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
= 0;
24695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24696 wxDateTime::WeekDay arg2
;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 char * kwnames
[] = {
24705 (char *) "self",(char *) "weekday", NULL
24708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24710 if (!SWIG_IsOK(res1
)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24713 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24715 if (!SWIG_IsOK(ecode2
)) {
24716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24718 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 result
= (arg1
)->GetNextWeekDay(arg2
);
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24725 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24732 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
= 0;
24734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24735 wxDateTime::WeekDay arg2
;
24736 wxDateTime
*result
= 0 ;
24741 PyObject
* obj0
= 0 ;
24742 PyObject
* obj1
= 0 ;
24743 char * kwnames
[] = {
24744 (char *) "self",(char *) "weekday", NULL
24747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24749 if (!SWIG_IsOK(res1
)) {
24750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24752 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24754 if (!SWIG_IsOK(ecode2
)) {
24755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24757 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24762 result
= (wxDateTime
*) &_result_ref
;
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24774 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
= 0;
24776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24777 wxDateTime::WeekDay arg2
;
24783 PyObject
* obj0
= 0 ;
24784 PyObject
* obj1
= 0 ;
24785 char * kwnames
[] = {
24786 (char *) "self",(char *) "weekday", NULL
24789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24791 if (!SWIG_IsOK(res1
)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24794 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24796 if (!SWIG_IsOK(ecode2
)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24799 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (arg1
)->GetPrevWeekDay(arg2
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24813 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
= 0;
24815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24816 wxDateTime::WeekDay arg2
;
24817 int arg3
= (int) 1 ;
24818 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24819 int arg5
= (int) wxDateTime::Inv_Year
;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 PyObject
* obj2
= 0 ;
24834 PyObject
* obj3
= 0 ;
24835 PyObject
* obj4
= 0 ;
24836 char * kwnames
[] = {
24837 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
24840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24842 if (!SWIG_IsOK(res1
)) {
24843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24845 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24847 if (!SWIG_IsOK(ecode2
)) {
24848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24850 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24853 if (!SWIG_IsOK(ecode3
)) {
24854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
24856 arg3
= static_cast< int >(val3
);
24859 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24860 if (!SWIG_IsOK(ecode4
)) {
24861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
24863 arg4
= static_cast< wxDateTime::Month
>(val4
);
24866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24867 if (!SWIG_IsOK(ecode5
)) {
24868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
24870 arg5
= static_cast< int >(val5
);
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24887 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
= 0;
24889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24890 wxDateTime::WeekDay arg2
;
24891 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24892 int arg4
= (int) wxDateTime::Inv_Year
;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 PyObject
* obj2
= 0 ;
24905 PyObject
* obj3
= 0 ;
24906 char * kwnames
[] = {
24907 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24912 if (!SWIG_IsOK(res1
)) {
24913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24915 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24917 if (!SWIG_IsOK(ecode2
)) {
24918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24920 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24923 if (!SWIG_IsOK(ecode3
)) {
24924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24926 arg3
= static_cast< wxDateTime::Month
>(val3
);
24929 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24930 if (!SWIG_IsOK(ecode4
)) {
24931 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24933 arg4
= static_cast< int >(val4
);
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24950 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
= 0;
24952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24953 wxDateTime::WeekDay arg2
;
24954 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24955 int arg4
= (int) wxDateTime::Inv_Year
;
24965 PyObject
* obj0
= 0 ;
24966 PyObject
* obj1
= 0 ;
24967 PyObject
* obj2
= 0 ;
24968 PyObject
* obj3
= 0 ;
24969 char * kwnames
[] = {
24970 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24975 if (!SWIG_IsOK(res1
)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24978 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24980 if (!SWIG_IsOK(ecode2
)) {
24981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24983 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24986 if (!SWIG_IsOK(ecode3
)) {
24987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24989 arg3
= static_cast< wxDateTime::Month
>(val3
);
24992 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24993 if (!SWIG_IsOK(ecode4
)) {
24994 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24996 arg4
= static_cast< int >(val4
);
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25011 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
= 0;
25013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25015 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25016 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25026 PyObject
* obj0
= 0 ;
25027 PyObject
* obj1
= 0 ;
25028 PyObject
* obj2
= 0 ;
25029 PyObject
* obj3
= 0 ;
25030 char * kwnames
[] = {
25031 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25036 if (!SWIG_IsOK(res1
)) {
25037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25039 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25041 if (!SWIG_IsOK(ecode2
)) {
25042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
25044 arg2
= static_cast< int >(val2
);
25046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25047 if (!SWIG_IsOK(ecode3
)) {
25048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25050 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25053 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25054 if (!SWIG_IsOK(ecode4
)) {
25055 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25057 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25074 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
= 0;
25076 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25078 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25079 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 PyObject
* obj2
= 0 ;
25092 PyObject
* obj3
= 0 ;
25093 char * kwnames
[] = {
25094 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25099 if (!SWIG_IsOK(res1
)) {
25100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25102 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25104 if (!SWIG_IsOK(ecode2
)) {
25105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25107 arg2
= static_cast< int >(val2
);
25109 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25110 if (!SWIG_IsOK(ecode3
)) {
25111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25113 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25117 if (!SWIG_IsOK(ecode4
)) {
25118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25120 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25128 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25135 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
= 0;
25139 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25147 PyObject
* obj0
= 0 ;
25148 PyObject
* obj1
= 0 ;
25149 PyObject
* obj2
= 0 ;
25150 char * kwnames
[] = {
25151 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25155 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25156 if (!SWIG_IsOK(ecode1
)) {
25157 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25159 arg1
= static_cast< int >(val1
);
25160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25161 if (!SWIG_IsOK(ecode2
)) {
25162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25164 arg2
= static_cast< int >(val2
);
25166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25167 if (!SWIG_IsOK(ecode3
)) {
25168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25170 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25185 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
= 0;
25187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25188 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25189 int arg3
= (int) wxDateTime::Inv_Year
;
25190 wxDateTime
*result
= 0 ;
25197 PyObject
* obj0
= 0 ;
25198 PyObject
* obj1
= 0 ;
25199 PyObject
* obj2
= 0 ;
25200 char * kwnames
[] = {
25201 (char *) "self",(char *) "month",(char *) "year", NULL
25204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25206 if (!SWIG_IsOK(res1
)) {
25207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25209 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25212 if (!SWIG_IsOK(ecode2
)) {
25213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25215 arg2
= static_cast< wxDateTime::Month
>(val2
);
25218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25219 if (!SWIG_IsOK(ecode3
)) {
25220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25222 arg3
= static_cast< int >(val3
);
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25228 result
= (wxDateTime
*) &_result_ref
;
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25240 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
= 0;
25242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25243 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25244 int arg3
= (int) wxDateTime::Inv_Year
;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 PyObject
* obj2
= 0 ;
25255 char * kwnames
[] = {
25256 (char *) "self",(char *) "month",(char *) "year", NULL
25259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25261 if (!SWIG_IsOK(res1
)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25264 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25267 if (!SWIG_IsOK(ecode2
)) {
25268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25270 arg2
= static_cast< wxDateTime::Month
>(val2
);
25273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25274 if (!SWIG_IsOK(ecode3
)) {
25275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25277 arg3
= static_cast< int >(val3
);
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25292 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
= 0;
25294 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25296 wxDateTime
*result
= 0 ;
25301 PyObject
* obj0
= 0 ;
25302 PyObject
* obj1
= 0 ;
25303 char * kwnames
[] = {
25304 (char *) "self",(char *) "yday", NULL
25307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25312 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25314 if (!SWIG_IsOK(ecode2
)) {
25315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25317 arg2
= static_cast< int >(val2
);
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25322 result
= (wxDateTime
*) &_result_ref
;
25324 wxPyEndAllowThreads(__tstate
);
25325 if (PyErr_Occurred()) SWIG_fail
;
25327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25334 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
= 0;
25336 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25343 PyObject
* obj0
= 0 ;
25344 PyObject
* obj1
= 0 ;
25345 char * kwnames
[] = {
25346 (char *) "self",(char *) "yday", NULL
25349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25351 if (!SWIG_IsOK(res1
)) {
25352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25354 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25356 if (!SWIG_IsOK(ecode2
)) {
25357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25359 arg2
= static_cast< int >(val2
);
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 result
= (arg1
)->GetYearDay(arg2
);
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25373 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25374 PyObject
*resultobj
= 0;
25375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25379 PyObject
*swig_obj
[1] ;
25381 if (!args
) SWIG_fail
;
25382 swig_obj
[0] = args
;
25383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25384 if (!SWIG_IsOK(res1
)) {
25385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25387 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (double)(arg1
)->GetJulianDayNumber();
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= SWIG_From_double(static_cast< double >(result
));
25401 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25402 PyObject
*resultobj
= 0;
25403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25407 PyObject
*swig_obj
[1] ;
25409 if (!args
) SWIG_fail
;
25410 swig_obj
[0] = args
;
25411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25412 if (!SWIG_IsOK(res1
)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25415 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 result
= (double)(arg1
)->GetJDN();
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_From_double(static_cast< double >(result
));
25429 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25430 PyObject
*resultobj
= 0;
25431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25435 PyObject
*swig_obj
[1] ;
25437 if (!args
) SWIG_fail
;
25438 swig_obj
[0] = args
;
25439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25440 if (!SWIG_IsOK(res1
)) {
25441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25443 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 resultobj
= SWIG_From_double(static_cast< double >(result
));
25457 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25458 PyObject
*resultobj
= 0;
25459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25463 PyObject
*swig_obj
[1] ;
25465 if (!args
) SWIG_fail
;
25466 swig_obj
[0] = args
;
25467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25468 if (!SWIG_IsOK(res1
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25471 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 result
= (double)(arg1
)->GetMJD();
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_From_double(static_cast< double >(result
));
25485 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25486 PyObject
*resultobj
= 0;
25487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25491 PyObject
*swig_obj
[1] ;
25493 if (!args
) SWIG_fail
;
25494 swig_obj
[0] = args
;
25495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25496 if (!SWIG_IsOK(res1
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25499 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (double)(arg1
)->GetRataDie();
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_From_double(static_cast< double >(result
));
25513 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
= 0;
25515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25516 wxDateTime::TimeZone
*arg2
= 0 ;
25517 bool arg3
= (bool) false ;
25521 bool temp2
= false ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 PyObject
* obj2
= 0 ;
25527 char * kwnames
[] = {
25528 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25533 if (!SWIG_IsOK(res1
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25536 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25538 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25542 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25543 if (!SWIG_IsOK(ecode3
)) {
25544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25546 arg3
= static_cast< bool >(val3
);
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25556 if (temp2
) delete arg2
;
25561 if (temp2
) delete arg2
;
25567 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
= 0;
25569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25570 wxDateTime::TimeZone
*arg2
= 0 ;
25571 bool arg3
= (bool) false ;
25572 wxDateTime
*result
= 0 ;
25575 bool temp2
= false ;
25578 PyObject
* obj0
= 0 ;
25579 PyObject
* obj1
= 0 ;
25580 PyObject
* obj2
= 0 ;
25581 char * kwnames
[] = {
25582 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25587 if (!SWIG_IsOK(res1
)) {
25588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25590 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25592 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25596 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25597 if (!SWIG_IsOK(ecode3
)) {
25598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25600 arg3
= static_cast< bool >(val3
);
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25606 result
= (wxDateTime
*) &_result_ref
;
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25613 if (temp2
) delete arg2
;
25618 if (temp2
) delete arg2
;
25624 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
= 0;
25626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25627 wxDateTime::TimeZone
*arg2
= 0 ;
25628 bool arg3
= (bool) false ;
25632 bool temp2
= false ;
25635 PyObject
* obj0
= 0 ;
25636 PyObject
* obj1
= 0 ;
25637 PyObject
* obj2
= 0 ;
25638 char * kwnames
[] = {
25639 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25644 if (!SWIG_IsOK(res1
)) {
25645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25647 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25649 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25653 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25654 if (!SWIG_IsOK(ecode3
)) {
25655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25657 arg3
= static_cast< bool >(val3
);
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25667 if (temp2
) delete arg2
;
25672 if (temp2
) delete arg2
;
25678 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
= 0;
25680 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25681 wxDateTime::TimeZone
*arg2
= 0 ;
25682 bool arg3
= (bool) false ;
25683 wxDateTime
*result
= 0 ;
25686 bool temp2
= false ;
25689 PyObject
* obj0
= 0 ;
25690 PyObject
* obj1
= 0 ;
25691 PyObject
* obj2
= 0 ;
25692 char * kwnames
[] = {
25693 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25698 if (!SWIG_IsOK(res1
)) {
25699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25701 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25703 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25707 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25708 if (!SWIG_IsOK(ecode3
)) {
25709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25711 arg3
= static_cast< bool >(val3
);
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25717 result
= (wxDateTime
*) &_result_ref
;
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25724 if (temp2
) delete arg2
;
25729 if (temp2
) delete arg2
;
25735 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
= 0;
25737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25738 bool arg2
= (bool) false ;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 char * kwnames
[] = {
25747 (char *) "self",(char *) "noDST", NULL
25750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25752 if (!SWIG_IsOK(res1
)) {
25753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25755 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25757 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25758 if (!SWIG_IsOK(ecode2
)) {
25759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25761 arg2
= static_cast< bool >(val2
);
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25776 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
= 0;
25778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25779 bool arg2
= (bool) false ;
25780 wxDateTime
*result
= 0 ;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 char * kwnames
[] = {
25788 (char *) "self",(char *) "noDST", NULL
25791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25793 if (!SWIG_IsOK(res1
)) {
25794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25796 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25798 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25799 if (!SWIG_IsOK(ecode2
)) {
25800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25802 arg2
= static_cast< bool >(val2
);
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25808 result
= (wxDateTime
*) &_result_ref
;
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25820 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
= 0;
25822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25823 bool arg2
= (bool) false ;
25829 PyObject
* obj0
= 0 ;
25830 PyObject
* obj1
= 0 ;
25831 char * kwnames
[] = {
25832 (char *) "self",(char *) "noDST", NULL
25835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25837 if (!SWIG_IsOK(res1
)) {
25838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25840 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25842 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25843 if (!SWIG_IsOK(ecode2
)) {
25844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
25846 arg2
= static_cast< bool >(val2
);
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25861 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
= 0;
25863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25864 bool arg2
= (bool) false ;
25865 wxDateTime
*result
= 0 ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 char * kwnames
[] = {
25873 (char *) "self",(char *) "noDST", NULL
25876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25878 if (!SWIG_IsOK(res1
)) {
25879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
25881 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25883 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25884 if (!SWIG_IsOK(ecode2
)) {
25885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
25887 arg2
= static_cast< bool >(val2
);
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
25893 result
= (wxDateTime
*) &_result_ref
;
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25905 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
= 0;
25907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25908 bool arg2
= (bool) false ;
25914 PyObject
* obj0
= 0 ;
25915 PyObject
* obj1
= 0 ;
25916 char * kwnames
[] = {
25917 (char *) "self",(char *) "noDST", NULL
25920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25922 if (!SWIG_IsOK(res1
)) {
25923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25925 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25927 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25928 if (!SWIG_IsOK(ecode2
)) {
25929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
25931 arg2
= static_cast< bool >(val2
);
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25946 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
= 0;
25948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25949 bool arg2
= (bool) false ;
25950 wxDateTime
*result
= 0 ;
25955 PyObject
* obj0
= 0 ;
25956 PyObject
* obj1
= 0 ;
25957 char * kwnames
[] = {
25958 (char *) "self",(char *) "noDST", NULL
25961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25963 if (!SWIG_IsOK(res1
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25966 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25968 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25969 if (!SWIG_IsOK(ecode2
)) {
25970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
25972 arg2
= static_cast< bool >(val2
);
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
25978 result
= (wxDateTime
*) &_result_ref
;
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25990 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
= 0;
25992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25993 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 char * kwnames
[] = {
26002 (char *) "self",(char *) "country", NULL
26005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26007 if (!SWIG_IsOK(res1
)) {
26008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26010 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26013 if (!SWIG_IsOK(ecode2
)) {
26014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26016 arg2
= static_cast< wxDateTime::Country
>(val2
);
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 result
= (int)(arg1
)->IsDST(arg2
);
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= SWIG_From_int(static_cast< int >(result
));
26031 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26032 PyObject
*resultobj
= 0;
26033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26037 PyObject
*swig_obj
[1] ;
26039 if (!args
) SWIG_fail
;
26040 swig_obj
[0] = args
;
26041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26045 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26061 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26062 PyObject
*resultobj
= 0;
26063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26067 PyObject
*swig_obj
[1] ;
26069 if (!args
) SWIG_fail
;
26070 swig_obj
[0] = args
;
26071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26072 if (!SWIG_IsOK(res1
)) {
26073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26075 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26089 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
= 0;
26091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26092 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26093 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26097 bool temp2
= false ;
26098 PyObject
* obj0
= 0 ;
26099 PyObject
* obj1
= 0 ;
26100 char * kwnames
[] = {
26101 (char *) "self",(char *) "tz", NULL
26104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26106 if (!SWIG_IsOK(res1
)) {
26107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26109 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26112 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_From_int(static_cast< int >(result
));
26124 if (temp2
) delete arg2
;
26129 if (temp2
) delete arg2
;
26135 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
= 0;
26137 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26138 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26139 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26140 wxDateTime::Month result
;
26143 bool temp2
= false ;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 char * kwnames
[] = {
26147 (char *) "self",(char *) "tz", NULL
26150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26152 if (!SWIG_IsOK(res1
)) {
26153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26155 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26158 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26168 resultobj
= SWIG_From_int(static_cast< int >(result
));
26170 if (temp2
) delete arg2
;
26175 if (temp2
) delete arg2
;
26181 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
= 0;
26183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26184 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26185 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26189 bool temp2
= false ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 char * kwnames
[] = {
26193 (char *) "self",(char *) "tz", NULL
26196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26198 if (!SWIG_IsOK(res1
)) {
26199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26201 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26204 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= SWIG_From_int(static_cast< int >(result
));
26216 if (temp2
) delete arg2
;
26221 if (temp2
) delete arg2
;
26227 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
= 0;
26229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26230 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26231 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26232 wxDateTime::WeekDay result
;
26235 bool temp2
= false ;
26236 PyObject
* obj0
= 0 ;
26237 PyObject
* obj1
= 0 ;
26238 char * kwnames
[] = {
26239 (char *) "self",(char *) "tz", NULL
26242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26244 if (!SWIG_IsOK(res1
)) {
26245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26247 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26250 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 resultobj
= SWIG_From_int(static_cast< int >(result
));
26262 if (temp2
) delete arg2
;
26267 if (temp2
) delete arg2
;
26273 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
= 0;
26275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26276 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26277 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26281 bool temp2
= false ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 char * kwnames
[] = {
26285 (char *) "self",(char *) "tz", NULL
26288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26290 if (!SWIG_IsOK(res1
)) {
26291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26293 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26296 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 resultobj
= SWIG_From_int(static_cast< int >(result
));
26308 if (temp2
) delete arg2
;
26313 if (temp2
) delete arg2
;
26319 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
= 0;
26321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26322 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26323 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26327 bool temp2
= false ;
26328 PyObject
* obj0
= 0 ;
26329 PyObject
* obj1
= 0 ;
26330 char * kwnames
[] = {
26331 (char *) "self",(char *) "tz", NULL
26334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26336 if (!SWIG_IsOK(res1
)) {
26337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26339 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26342 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 resultobj
= SWIG_From_int(static_cast< int >(result
));
26354 if (temp2
) delete arg2
;
26359 if (temp2
) delete arg2
;
26365 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
= 0;
26367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26368 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26369 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26373 bool temp2
= false ;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26376 char * kwnames
[] = {
26377 (char *) "self",(char *) "tz", NULL
26380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26382 if (!SWIG_IsOK(res1
)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26385 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26388 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= SWIG_From_int(static_cast< int >(result
));
26400 if (temp2
) delete arg2
;
26405 if (temp2
) delete arg2
;
26411 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
= 0;
26413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26414 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26415 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26419 bool temp2
= false ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 char * kwnames
[] = {
26423 (char *) "self",(char *) "tz", NULL
26426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26431 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26434 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= SWIG_From_int(static_cast< int >(result
));
26446 if (temp2
) delete arg2
;
26451 if (temp2
) delete arg2
;
26457 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
= 0;
26459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26460 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26461 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26465 bool temp2
= false ;
26466 PyObject
* obj0
= 0 ;
26467 PyObject
* obj1
= 0 ;
26468 char * kwnames
[] = {
26469 (char *) "self",(char *) "tz", NULL
26472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26474 if (!SWIG_IsOK(res1
)) {
26475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26477 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26480 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26490 resultobj
= SWIG_From_int(static_cast< int >(result
));
26492 if (temp2
) delete arg2
;
26497 if (temp2
) delete arg2
;
26503 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
= 0;
26505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26506 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26507 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26508 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26514 bool temp3
= false ;
26515 PyObject
* obj0
= 0 ;
26516 PyObject
* obj1
= 0 ;
26517 PyObject
* obj2
= 0 ;
26518 char * kwnames
[] = {
26519 (char *) "self",(char *) "flags",(char *) "tz", NULL
26522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26524 if (!SWIG_IsOK(res1
)) {
26525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26527 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26530 if (!SWIG_IsOK(ecode2
)) {
26531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26533 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26537 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26547 resultobj
= SWIG_From_int(static_cast< int >(result
));
26549 if (temp3
) delete arg3
;
26554 if (temp3
) delete arg3
;
26560 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= 0;
26562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26563 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26564 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26565 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26571 bool temp3
= false ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 PyObject
* obj2
= 0 ;
26575 char * kwnames
[] = {
26576 (char *) "self",(char *) "flags",(char *) "tz", NULL
26579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26581 if (!SWIG_IsOK(res1
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26584 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26587 if (!SWIG_IsOK(ecode2
)) {
26588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26590 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26594 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= SWIG_From_int(static_cast< int >(result
));
26606 if (temp3
) delete arg3
;
26611 if (temp3
) delete arg3
;
26617 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
= 0;
26619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26620 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 char * kwnames
[] = {
26629 (char *) "self",(char *) "country", NULL
26632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26634 if (!SWIG_IsOK(res1
)) {
26635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26637 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26640 if (!SWIG_IsOK(ecode2
)) {
26641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26643 arg2
= static_cast< wxDateTime::Country
>(val2
);
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26660 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
= 0;
26662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26663 wxDateTime
*arg2
= 0 ;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 char * kwnames
[] = {
26672 (char *) "self",(char *) "datetime", NULL
26675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26677 if (!SWIG_IsOK(res1
)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26680 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26682 if (!SWIG_IsOK(res2
)) {
26683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26688 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26704 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26705 PyObject
*resultobj
= 0;
26706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26707 wxDateTime
*arg2
= 0 ;
26713 PyObject
* obj0
= 0 ;
26714 PyObject
* obj1
= 0 ;
26715 char * kwnames
[] = {
26716 (char *) "self",(char *) "datetime", NULL
26719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26721 if (!SWIG_IsOK(res1
)) {
26722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26724 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26726 if (!SWIG_IsOK(res2
)) {
26727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26732 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26748 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
= 0;
26750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26751 wxDateTime
*arg2
= 0 ;
26757 PyObject
* obj0
= 0 ;
26758 PyObject
* obj1
= 0 ;
26759 char * kwnames
[] = {
26760 (char *) "self",(char *) "datetime", NULL
26763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26765 if (!SWIG_IsOK(res1
)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26768 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26770 if (!SWIG_IsOK(res2
)) {
26771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26776 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26792 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
= 0;
26794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26795 wxDateTime
*arg2
= 0 ;
26796 wxDateTime
*arg3
= 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 PyObject
* obj2
= 0 ;
26807 char * kwnames
[] = {
26808 (char *) "self",(char *) "t1",(char *) "t2", NULL
26811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26813 if (!SWIG_IsOK(res1
)) {
26814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26816 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26818 if (!SWIG_IsOK(res2
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26824 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26825 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26826 if (!SWIG_IsOK(res3
)) {
26827 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26832 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26848 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
= 0;
26850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26851 wxDateTime
*arg2
= 0 ;
26852 wxDateTime
*arg3
= 0 ;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 PyObject
* obj2
= 0 ;
26863 char * kwnames
[] = {
26864 (char *) "self",(char *) "t1",(char *) "t2", NULL
26867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26869 if (!SWIG_IsOK(res1
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26872 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26874 if (!SWIG_IsOK(res2
)) {
26875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26880 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26881 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26882 if (!SWIG_IsOK(res3
)) {
26883 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26888 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26904 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
= 0;
26906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26907 wxDateTime
*arg2
= 0 ;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 char * kwnames
[] = {
26916 (char *) "self",(char *) "dt", NULL
26919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26921 if (!SWIG_IsOK(res1
)) {
26922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26924 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26926 if (!SWIG_IsOK(res2
)) {
26927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26932 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
26936 wxPyEndAllowThreads(__tstate
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26948 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
= 0;
26950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26951 wxDateTime
*arg2
= 0 ;
26957 PyObject
* obj0
= 0 ;
26958 PyObject
* obj1
= 0 ;
26959 char * kwnames
[] = {
26960 (char *) "self",(char *) "dt", NULL
26963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26965 if (!SWIG_IsOK(res1
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26968 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26970 if (!SWIG_IsOK(res2
)) {
26971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26976 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26992 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26993 PyObject
*resultobj
= 0;
26994 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26995 wxDateTime
*arg2
= 0 ;
26996 wxTimeSpan
*arg3
= 0 ;
27004 PyObject
* obj0
= 0 ;
27005 PyObject
* obj1
= 0 ;
27006 PyObject
* obj2
= 0 ;
27007 char * kwnames
[] = {
27008 (char *) "self",(char *) "dt",(char *) "ts", NULL
27011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27013 if (!SWIG_IsOK(res1
)) {
27014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27016 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27018 if (!SWIG_IsOK(res2
)) {
27019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27024 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27025 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27026 if (!SWIG_IsOK(res3
)) {
27027 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27032 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27048 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
= 0;
27050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27051 wxTimeSpan
*arg2
= 0 ;
27052 wxDateTime
*result
= 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char * kwnames
[] = {
27060 (char *) "self",(char *) "diff", NULL
27063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27065 if (!SWIG_IsOK(res1
)) {
27066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27068 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27070 if (!SWIG_IsOK(res2
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27076 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27081 result
= (wxDateTime
*) &_result_ref
;
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27093 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
= 0;
27095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27096 wxDateSpan
*arg2
= 0 ;
27097 wxDateTime
*result
= 0 ;
27102 PyObject
* obj0
= 0 ;
27103 PyObject
* obj1
= 0 ;
27104 char * kwnames
[] = {
27105 (char *) "self",(char *) "diff", NULL
27108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27110 if (!SWIG_IsOK(res1
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27113 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27115 if (!SWIG_IsOK(res2
)) {
27116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27121 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27126 result
= (wxDateTime
*) &_result_ref
;
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27138 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
= 0;
27140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27141 wxTimeSpan
*arg2
= 0 ;
27142 wxDateTime
*result
= 0 ;
27147 PyObject
* obj0
= 0 ;
27148 PyObject
* obj1
= 0 ;
27149 char * kwnames
[] = {
27150 (char *) "self",(char *) "diff", NULL
27153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27155 if (!SWIG_IsOK(res1
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27158 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27160 if (!SWIG_IsOK(res2
)) {
27161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27166 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27171 result
= (wxDateTime
*) &_result_ref
;
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27183 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
= 0;
27185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27186 wxDateSpan
*arg2
= 0 ;
27187 wxDateTime
*result
= 0 ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char * kwnames
[] = {
27195 (char *) "self",(char *) "diff", NULL
27198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27203 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27205 if (!SWIG_IsOK(res2
)) {
27206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27211 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27216 result
= (wxDateTime
*) &_result_ref
;
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27228 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
= 0;
27230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27231 wxDateTime
*arg2
= 0 ;
27237 PyObject
* obj0
= 0 ;
27238 PyObject
* obj1
= 0 ;
27239 char * kwnames
[] = {
27240 (char *) "self",(char *) "dt", NULL
27243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27245 if (!SWIG_IsOK(res1
)) {
27246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27248 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27250 if (!SWIG_IsOK(res2
)) {
27251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27256 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27270 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27271 PyObject
*resultobj
= 0;
27272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27273 wxTimeSpan
*arg2
= 0 ;
27274 wxDateTime
*result
= 0 ;
27280 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27282 if (!SWIG_IsOK(res1
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27285 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27286 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27287 if (!SWIG_IsOK(res2
)) {
27288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27293 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27297 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27298 result
= (wxDateTime
*) &_result_ref
;
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27310 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27311 PyObject
*resultobj
= 0;
27312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27313 wxDateSpan
*arg2
= 0 ;
27314 wxDateTime
*result
= 0 ;
27320 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27322 if (!SWIG_IsOK(res1
)) {
27323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27325 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27326 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27327 if (!SWIG_IsOK(res2
)) {
27328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27333 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27337 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27338 result
= (wxDateTime
*) &_result_ref
;
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27350 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27354 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27359 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27360 _v
= SWIG_CheckState(res
);
27362 if (!_v
) goto check_1
;
27363 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27368 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27372 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27377 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27378 PyObject
*resultobj
= 0;
27379 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27380 wxTimeSpan
*arg2
= 0 ;
27381 wxDateTime
*result
= 0 ;
27387 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27392 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27393 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27394 if (!SWIG_IsOK(res2
)) {
27395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27400 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27405 result
= (wxDateTime
*) &_result_ref
;
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27417 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27418 PyObject
*resultobj
= 0;
27419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27420 wxDateSpan
*arg2
= 0 ;
27421 wxDateTime
*result
= 0 ;
27427 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27429 if (!SWIG_IsOK(res1
)) {
27430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27432 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27433 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27434 if (!SWIG_IsOK(res2
)) {
27435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27440 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27445 result
= (wxDateTime
*) &_result_ref
;
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27457 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27461 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27466 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27467 _v
= SWIG_CheckState(res
);
27469 if (!_v
) goto check_1
;
27470 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27475 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27479 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27484 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27485 PyObject
*resultobj
= 0;
27486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27487 wxTimeSpan
*arg2
= 0 ;
27494 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27496 if (!SWIG_IsOK(res1
)) {
27497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27499 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27500 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27501 if (!SWIG_IsOK(res2
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27507 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27521 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27522 PyObject
*resultobj
= 0;
27523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27524 wxDateSpan
*arg2
= 0 ;
27531 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27533 if (!SWIG_IsOK(res1
)) {
27534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27536 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27537 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27538 if (!SWIG_IsOK(res2
)) {
27539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27544 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27558 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27562 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27567 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27568 _v
= SWIG_CheckState(res
);
27570 if (!_v
) goto check_1
;
27571 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27576 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27580 Py_INCREF(Py_NotImplemented
);
27581 return Py_NotImplemented
;
27585 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27586 PyObject
*resultobj
= 0;
27587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27588 wxDateTime
*arg2
= 0 ;
27595 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27597 if (!SWIG_IsOK(res1
)) {
27598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27600 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27601 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27602 if (!SWIG_IsOK(res2
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27608 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27611 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27622 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27623 PyObject
*resultobj
= 0;
27624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27625 wxTimeSpan
*arg2
= 0 ;
27632 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27634 if (!SWIG_IsOK(res1
)) {
27635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27637 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27638 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27639 if (!SWIG_IsOK(res2
)) {
27640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27645 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27659 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27660 PyObject
*resultobj
= 0;
27661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27662 wxDateSpan
*arg2
= 0 ;
27669 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27671 if (!SWIG_IsOK(res1
)) {
27672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27674 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27675 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27676 if (!SWIG_IsOK(res2
)) {
27677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27682 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27696 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27700 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27705 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27706 _v
= SWIG_CheckState(res
);
27708 if (!_v
) goto check_1
;
27709 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27716 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27717 _v
= SWIG_CheckState(res
);
27719 if (!_v
) goto check_2
;
27720 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27725 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27729 Py_INCREF(Py_NotImplemented
);
27730 return Py_NotImplemented
;
27734 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
= 0;
27736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27737 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27743 PyObject
* obj0
= 0 ;
27744 PyObject
* obj1
= 0 ;
27745 char * kwnames
[] = {
27746 (char *) "self",(char *) "other", NULL
27749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27751 if (!SWIG_IsOK(res1
)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27754 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27756 if (!SWIG_IsOK(res2
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27759 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27762 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27763 wxPyEndAllowThreads(__tstate
);
27764 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27775 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
= 0;
27777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27778 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27784 PyObject
* obj0
= 0 ;
27785 PyObject
* obj1
= 0 ;
27786 char * kwnames
[] = {
27787 (char *) "self",(char *) "other", NULL
27790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27792 if (!SWIG_IsOK(res1
)) {
27793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27795 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27797 if (!SWIG_IsOK(res2
)) {
27798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27800 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27816 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27817 PyObject
*resultobj
= 0;
27818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27819 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27825 PyObject
* obj0
= 0 ;
27826 PyObject
* obj1
= 0 ;
27827 char * kwnames
[] = {
27828 (char *) "self",(char *) "other", NULL
27831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27833 if (!SWIG_IsOK(res1
)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27836 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27838 if (!SWIG_IsOK(res2
)) {
27839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27841 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27857 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27858 PyObject
*resultobj
= 0;
27859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27860 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27866 PyObject
* obj0
= 0 ;
27867 PyObject
* obj1
= 0 ;
27868 char * kwnames
[] = {
27869 (char *) "self",(char *) "other", NULL
27872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27874 if (!SWIG_IsOK(res1
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27877 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27879 if (!SWIG_IsOK(res2
)) {
27880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27882 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
27886 wxPyEndAllowThreads(__tstate
);
27887 if (PyErr_Occurred()) SWIG_fail
;
27890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27898 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27899 PyObject
*resultobj
= 0;
27900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27901 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27907 PyObject
* obj0
= 0 ;
27908 PyObject
* obj1
= 0 ;
27909 char * kwnames
[] = {
27910 (char *) "self",(char *) "other", NULL
27913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27918 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27920 if (!SWIG_IsOK(res2
)) {
27921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27923 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27939 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
= 0;
27941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27942 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27948 PyObject
* obj0
= 0 ;
27949 PyObject
* obj1
= 0 ;
27950 char * kwnames
[] = {
27951 (char *) "self",(char *) "other", NULL
27954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27956 if (!SWIG_IsOK(res1
)) {
27957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27959 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27961 if (!SWIG_IsOK(res2
)) {
27962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27964 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27980 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
= 0;
27982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27983 wxString
*arg2
= 0 ;
27987 bool temp2
= false ;
27988 PyObject
* obj0
= 0 ;
27989 PyObject
* obj1
= 0 ;
27990 char * kwnames
[] = {
27991 (char *) "self",(char *) "date", NULL
27994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27996 if (!SWIG_IsOK(res1
)) {
27997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
27999 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28001 arg2
= wxString_in_helper(obj1
);
28002 if (arg2
== NULL
) SWIG_fail
;
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= SWIG_From_int(static_cast< int >(result
));
28026 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
= 0;
28028 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28029 wxString
*arg2
= 0 ;
28030 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28031 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28032 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28033 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28037 bool temp2
= false ;
28038 bool temp3
= false ;
28041 PyObject
* obj0
= 0 ;
28042 PyObject
* obj1
= 0 ;
28043 PyObject
* obj2
= 0 ;
28044 PyObject
* obj3
= 0 ;
28045 char * kwnames
[] = {
28046 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28051 if (!SWIG_IsOK(res1
)) {
28052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28054 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28056 arg2
= wxString_in_helper(obj1
);
28057 if (arg2
== NULL
) SWIG_fail
;
28062 arg3
= wxString_in_helper(obj2
);
28063 if (arg3
== NULL
) SWIG_fail
;
28068 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28069 if (!SWIG_IsOK(res4
)) {
28070 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28075 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_From_int(static_cast< int >(result
));
28106 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28107 PyObject
*resultobj
= 0;
28108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28109 wxString
*arg2
= 0 ;
28113 bool temp2
= false ;
28114 PyObject
* obj0
= 0 ;
28115 PyObject
* obj1
= 0 ;
28116 char * kwnames
[] = {
28117 (char *) "self",(char *) "datetime", NULL
28120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28122 if (!SWIG_IsOK(res1
)) {
28123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28125 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28127 arg2
= wxString_in_helper(obj1
);
28128 if (arg2
== NULL
) SWIG_fail
;
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= SWIG_From_int(static_cast< int >(result
));
28152 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28153 PyObject
*resultobj
= 0;
28154 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28155 wxString
*arg2
= 0 ;
28159 bool temp2
= false ;
28160 PyObject
* obj0
= 0 ;
28161 PyObject
* obj1
= 0 ;
28162 char * kwnames
[] = {
28163 (char *) "self",(char *) "date", NULL
28166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28168 if (!SWIG_IsOK(res1
)) {
28169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28171 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28173 arg2
= wxString_in_helper(obj1
);
28174 if (arg2
== NULL
) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_From_int(static_cast< int >(result
));
28198 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
= 0;
28200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28201 wxString
*arg2
= 0 ;
28205 bool temp2
= false ;
28206 PyObject
* obj0
= 0 ;
28207 PyObject
* obj1
= 0 ;
28208 char * kwnames
[] = {
28209 (char *) "self",(char *) "time", NULL
28212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28214 if (!SWIG_IsOK(res1
)) {
28215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28217 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28219 arg2
= wxString_in_helper(obj1
);
28220 if (arg2
== NULL
) SWIG_fail
;
28224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28225 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= SWIG_From_int(static_cast< int >(result
));
28244 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28245 PyObject
*resultobj
= 0;
28246 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28247 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28248 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28249 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28250 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28254 bool temp2
= false ;
28255 bool temp3
= false ;
28256 PyObject
* obj0
= 0 ;
28257 PyObject
* obj1
= 0 ;
28258 PyObject
* obj2
= 0 ;
28259 char * kwnames
[] = {
28260 (char *) "self",(char *) "format",(char *) "tz", NULL
28263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28265 if (!SWIG_IsOK(res1
)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28268 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28271 arg2
= wxString_in_helper(obj1
);
28272 if (arg2
== NULL
) SWIG_fail
;
28278 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28300 if (temp3
) delete arg3
;
28309 if (temp3
) delete arg3
;
28315 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28316 PyObject
*resultobj
= 0;
28317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28321 PyObject
*swig_obj
[1] ;
28323 if (!args
) SWIG_fail
;
28324 swig_obj
[0] = args
;
28325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28326 if (!SWIG_IsOK(res1
)) {
28327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28329 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28349 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28350 PyObject
*resultobj
= 0;
28351 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28355 PyObject
*swig_obj
[1] ;
28357 if (!args
) SWIG_fail
;
28358 swig_obj
[0] = args
;
28359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28360 if (!SWIG_IsOK(res1
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28363 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28367 wxPyEndAllowThreads(__tstate
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28383 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28384 PyObject
*resultobj
= 0;
28385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28389 PyObject
*swig_obj
[1] ;
28391 if (!args
) SWIG_fail
;
28392 swig_obj
[0] = args
;
28393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28394 if (!SWIG_IsOK(res1
)) {
28395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28397 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28400 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28401 wxPyEndAllowThreads(__tstate
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28417 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28418 PyObject
*resultobj
= 0;
28419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28423 PyObject
*swig_obj
[1] ;
28425 if (!args
) SWIG_fail
;
28426 swig_obj
[0] = args
;
28427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28428 if (!SWIG_IsOK(res1
)) {
28429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28431 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28451 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28454 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28455 return SWIG_Py_Void();
28458 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28459 return SWIG_Python_InitShadowInstance(args
);
28462 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
= 0;
28468 PyObject
* obj0
= 0 ;
28469 char * kwnames
[] = {
28470 (char *) "ms", NULL
28473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28474 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28475 if (!SWIG_IsOK(ecode1
)) {
28476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28478 arg1
= static_cast< long >(val1
);
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= wxTimeSpan::Milliseconds(arg1
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28492 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28493 PyObject
*resultobj
= 0;
28496 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 result
= wxTimeSpan::Millisecond();
28500 wxPyEndAllowThreads(__tstate
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28503 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28510 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
= 0;
28516 PyObject
* obj0
= 0 ;
28517 char * kwnames
[] = {
28518 (char *) "sec", NULL
28521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28522 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28523 if (!SWIG_IsOK(ecode1
)) {
28524 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28526 arg1
= static_cast< long >(val1
);
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 result
= wxTimeSpan::Seconds(arg1
);
28530 wxPyEndAllowThreads(__tstate
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28540 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28541 PyObject
*resultobj
= 0;
28544 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 result
= wxTimeSpan::Second();
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28558 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
= 0;
28564 PyObject
* obj0
= 0 ;
28565 char * kwnames
[] = {
28566 (char *) "min", NULL
28569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28570 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28571 if (!SWIG_IsOK(ecode1
)) {
28572 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28574 arg1
= static_cast< long >(val1
);
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= wxTimeSpan::Minutes(arg1
);
28578 wxPyEndAllowThreads(__tstate
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28588 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28589 PyObject
*resultobj
= 0;
28592 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 result
= wxTimeSpan::Minute();
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28606 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
= 0;
28612 PyObject
* obj0
= 0 ;
28613 char * kwnames
[] = {
28614 (char *) "hours", NULL
28617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28618 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28619 if (!SWIG_IsOK(ecode1
)) {
28620 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28622 arg1
= static_cast< long >(val1
);
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28625 result
= wxTimeSpan::Hours(arg1
);
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28636 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28637 PyObject
*resultobj
= 0;
28640 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28643 result
= wxTimeSpan::Hour();
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28654 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
= 0;
28660 PyObject
* obj0
= 0 ;
28661 char * kwnames
[] = {
28662 (char *) "days", NULL
28665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28666 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28667 if (!SWIG_IsOK(ecode1
)) {
28668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28670 arg1
= static_cast< long >(val1
);
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= wxTimeSpan::Days(arg1
);
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28684 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28685 PyObject
*resultobj
= 0;
28688 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 result
= wxTimeSpan::Day();
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28702 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
= 0;
28708 PyObject
* obj0
= 0 ;
28709 char * kwnames
[] = {
28710 (char *) "days", NULL
28713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28714 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28715 if (!SWIG_IsOK(ecode1
)) {
28716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28718 arg1
= static_cast< long >(val1
);
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 result
= wxTimeSpan::Weeks(arg1
);
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28725 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28732 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28733 PyObject
*resultobj
= 0;
28736 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28739 result
= wxTimeSpan::Week();
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28750 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
= 0;
28752 long arg1
= (long) 0 ;
28753 long arg2
= (long) 0 ;
28754 long arg3
= (long) 0 ;
28755 long arg4
= (long) 0 ;
28756 wxTimeSpan
*result
= 0 ;
28765 PyObject
* obj0
= 0 ;
28766 PyObject
* obj1
= 0 ;
28767 PyObject
* obj2
= 0 ;
28768 PyObject
* obj3
= 0 ;
28769 char * kwnames
[] = {
28770 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28775 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28776 if (!SWIG_IsOK(ecode1
)) {
28777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28779 arg1
= static_cast< long >(val1
);
28782 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28783 if (!SWIG_IsOK(ecode2
)) {
28784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28786 arg2
= static_cast< long >(val2
);
28789 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28790 if (!SWIG_IsOK(ecode3
)) {
28791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28793 arg3
= static_cast< long >(val3
);
28796 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28797 if (!SWIG_IsOK(ecode4
)) {
28798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28800 arg4
= static_cast< long >(val4
);
28803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28804 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28805 wxPyEndAllowThreads(__tstate
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
28815 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28816 PyObject
*resultobj
= 0;
28817 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28820 PyObject
*swig_obj
[1] ;
28822 if (!args
) SWIG_fail
;
28823 swig_obj
[0] = args
;
28824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28825 if (!SWIG_IsOK(res1
)) {
28826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28828 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= SWIG_Py_Void();
28843 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
= 0;
28845 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28846 wxTimeSpan
*arg2
= 0 ;
28847 wxTimeSpan
*result
= 0 ;
28852 PyObject
* obj0
= 0 ;
28853 PyObject
* obj1
= 0 ;
28854 char * kwnames
[] = {
28855 (char *) "self",(char *) "diff", NULL
28858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28860 if (!SWIG_IsOK(res1
)) {
28861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28863 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28865 if (!SWIG_IsOK(res2
)) {
28866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28871 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
28876 result
= (wxTimeSpan
*) &_result_ref
;
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28888 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
= 0;
28890 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28891 wxTimeSpan
*arg2
= 0 ;
28892 wxTimeSpan
*result
= 0 ;
28897 PyObject
* obj0
= 0 ;
28898 PyObject
* obj1
= 0 ;
28899 char * kwnames
[] = {
28900 (char *) "self",(char *) "diff", NULL
28903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28905 if (!SWIG_IsOK(res1
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28908 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28910 if (!SWIG_IsOK(res2
)) {
28911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28916 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
28921 result
= (wxTimeSpan
*) &_result_ref
;
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28933 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28934 PyObject
*resultobj
= 0;
28935 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28937 wxTimeSpan
*result
= 0 ;
28942 PyObject
* obj0
= 0 ;
28943 PyObject
* obj1
= 0 ;
28944 char * kwnames
[] = {
28945 (char *) "self",(char *) "n", NULL
28948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28950 if (!SWIG_IsOK(res1
)) {
28951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28953 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28955 if (!SWIG_IsOK(ecode2
)) {
28956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
28958 arg2
= static_cast< int >(val2
);
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28962 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
28963 result
= (wxTimeSpan
*) &_result_ref
;
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28975 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28976 PyObject
*resultobj
= 0;
28977 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28978 wxTimeSpan
*result
= 0 ;
28981 PyObject
*swig_obj
[1] ;
28983 if (!args
) SWIG_fail
;
28984 swig_obj
[0] = args
;
28985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28986 if (!SWIG_IsOK(res1
)) {
28987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28989 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
28994 result
= (wxTimeSpan
*) &_result_ref
;
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29006 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29007 PyObject
*resultobj
= 0;
29008 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29012 PyObject
*swig_obj
[1] ;
29014 if (!args
) SWIG_fail
;
29015 swig_obj
[0] = args
;
29016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29017 if (!SWIG_IsOK(res1
)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29020 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29034 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
= 0;
29036 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29037 wxTimeSpan
*arg2
= 0 ;
29038 wxTimeSpan
*result
= 0 ;
29043 PyObject
* obj0
= 0 ;
29044 PyObject
* obj1
= 0 ;
29045 char * kwnames
[] = {
29046 (char *) "self",(char *) "diff", NULL
29049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29051 if (!SWIG_IsOK(res1
)) {
29052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29054 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29056 if (!SWIG_IsOK(res2
)) {
29057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29062 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29067 result
= (wxTimeSpan
*) &_result_ref
;
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29079 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
= 0;
29081 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29082 wxTimeSpan
*arg2
= 0 ;
29083 wxTimeSpan
*result
= 0 ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 char * kwnames
[] = {
29091 (char *) "self",(char *) "diff", NULL
29094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29096 if (!SWIG_IsOK(res1
)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29099 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29101 if (!SWIG_IsOK(res2
)) {
29102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29107 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29112 result
= (wxTimeSpan
*) &_result_ref
;
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29124 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29125 PyObject
*resultobj
= 0;
29126 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29128 wxTimeSpan
*result
= 0 ;
29133 PyObject
* obj0
= 0 ;
29134 PyObject
* obj1
= 0 ;
29135 char * kwnames
[] = {
29136 (char *) "self",(char *) "n", NULL
29139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29141 if (!SWIG_IsOK(res1
)) {
29142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29144 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29146 if (!SWIG_IsOK(ecode2
)) {
29147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29149 arg2
= static_cast< int >(val2
);
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29154 result
= (wxTimeSpan
*) &_result_ref
;
29156 wxPyEndAllowThreads(__tstate
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29166 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29167 PyObject
*resultobj
= 0;
29168 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29169 wxTimeSpan
*result
= 0 ;
29172 PyObject
*swig_obj
[1] ;
29174 if (!args
) SWIG_fail
;
29175 swig_obj
[0] = args
;
29176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29177 if (!SWIG_IsOK(res1
)) {
29178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29180 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29184 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29185 result
= (wxTimeSpan
*) &_result_ref
;
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29197 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29198 PyObject
*resultobj
= 0;
29199 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29200 wxTimeSpan
*arg2
= 0 ;
29206 PyObject
* obj0
= 0 ;
29207 PyObject
* obj1
= 0 ;
29208 char * kwnames
[] = {
29209 (char *) "self",(char *) "other", NULL
29212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29214 if (!SWIG_IsOK(res1
)) {
29215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29217 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29219 if (!SWIG_IsOK(res2
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29225 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29229 wxPyEndAllowThreads(__tstate
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29232 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29239 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
= 0;
29241 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29242 wxTimeSpan
*arg2
= 0 ;
29248 PyObject
* obj0
= 0 ;
29249 PyObject
* obj1
= 0 ;
29250 char * kwnames
[] = {
29251 (char *) "self",(char *) "other", NULL
29254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29256 if (!SWIG_IsOK(res1
)) {
29257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29259 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29261 if (!SWIG_IsOK(res2
)) {
29262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29267 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29270 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29281 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
= 0;
29283 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 char * kwnames
[] = {
29293 (char *) "self",(char *) "n", NULL
29296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29298 if (!SWIG_IsOK(res1
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29301 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29303 if (!SWIG_IsOK(ecode2
)) {
29304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29306 arg2
= static_cast< int >(val2
);
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 result
= wxTimeSpan___mul__(arg1
,arg2
);
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29320 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
= 0;
29322 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 char * kwnames
[] = {
29332 (char *) "self",(char *) "n", NULL
29335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29337 if (!SWIG_IsOK(res1
)) {
29338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29340 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29342 if (!SWIG_IsOK(ecode2
)) {
29343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29345 arg2
= static_cast< int >(val2
);
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29359 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29360 PyObject
*resultobj
= 0;
29361 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29362 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29368 PyObject
* obj0
= 0 ;
29369 PyObject
* obj1
= 0 ;
29370 char * kwnames
[] = {
29371 (char *) "self",(char *) "other", NULL
29374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29376 if (!SWIG_IsOK(res1
)) {
29377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29379 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29380 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29381 if (!SWIG_IsOK(res2
)) {
29382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29384 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29400 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29401 PyObject
*resultobj
= 0;
29402 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29403 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29409 PyObject
* obj0
= 0 ;
29410 PyObject
* obj1
= 0 ;
29411 char * kwnames
[] = {
29412 (char *) "self",(char *) "other", NULL
29415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29417 if (!SWIG_IsOK(res1
)) {
29418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29420 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29422 if (!SWIG_IsOK(res2
)) {
29423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29425 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29441 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29442 PyObject
*resultobj
= 0;
29443 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29444 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29450 PyObject
* obj0
= 0 ;
29451 PyObject
* obj1
= 0 ;
29452 char * kwnames
[] = {
29453 (char *) "self",(char *) "other", NULL
29456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29458 if (!SWIG_IsOK(res1
)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29461 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29463 if (!SWIG_IsOK(res2
)) {
29464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29466 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29469 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29482 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
= 0;
29484 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29485 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29491 PyObject
* obj0
= 0 ;
29492 PyObject
* obj1
= 0 ;
29493 char * kwnames
[] = {
29494 (char *) "self",(char *) "other", NULL
29497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29499 if (!SWIG_IsOK(res1
)) {
29500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29502 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29504 if (!SWIG_IsOK(res2
)) {
29505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29507 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29510 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29511 wxPyEndAllowThreads(__tstate
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29523 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29524 PyObject
*resultobj
= 0;
29525 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29526 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 char * kwnames
[] = {
29535 (char *) "self",(char *) "other", NULL
29538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29540 if (!SWIG_IsOK(res1
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29543 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29545 if (!SWIG_IsOK(res2
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29548 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29551 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29564 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
= 0;
29566 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29567 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 char * kwnames
[] = {
29576 (char *) "self",(char *) "other", NULL
29579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29581 if (!SWIG_IsOK(res1
)) {
29582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29584 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29586 if (!SWIG_IsOK(res2
)) {
29587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29589 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29605 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29606 PyObject
*resultobj
= 0;
29607 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29611 PyObject
*swig_obj
[1] ;
29613 if (!args
) SWIG_fail
;
29614 swig_obj
[0] = args
;
29615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29616 if (!SWIG_IsOK(res1
)) {
29617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29619 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29635 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29636 PyObject
*resultobj
= 0;
29637 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29641 PyObject
*swig_obj
[1] ;
29643 if (!args
) SWIG_fail
;
29644 swig_obj
[0] = args
;
29645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29649 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29665 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29666 PyObject
*resultobj
= 0;
29667 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29671 PyObject
*swig_obj
[1] ;
29673 if (!args
) SWIG_fail
;
29674 swig_obj
[0] = args
;
29675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29676 if (!SWIG_IsOK(res1
)) {
29677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29679 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29695 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
= 0;
29697 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29698 wxTimeSpan
*arg2
= 0 ;
29704 PyObject
* obj0
= 0 ;
29705 PyObject
* obj1
= 0 ;
29706 char * kwnames
[] = {
29707 (char *) "self",(char *) "ts", NULL
29710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29712 if (!SWIG_IsOK(res1
)) {
29713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29715 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29717 if (!SWIG_IsOK(res2
)) {
29718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29723 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29726 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29727 wxPyEndAllowThreads(__tstate
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29739 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29740 PyObject
*resultobj
= 0;
29741 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29742 wxTimeSpan
*arg2
= 0 ;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 char * kwnames
[] = {
29751 (char *) "self",(char *) "ts", NULL
29754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29756 if (!SWIG_IsOK(res1
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29759 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29761 if (!SWIG_IsOK(res2
)) {
29762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29767 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29783 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
= 0;
29785 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29786 wxTimeSpan
*arg2
= 0 ;
29792 PyObject
* obj0
= 0 ;
29793 PyObject
* obj1
= 0 ;
29794 char * kwnames
[] = {
29795 (char *) "self",(char *) "t", NULL
29798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29800 if (!SWIG_IsOK(res1
)) {
29801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29803 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29805 if (!SWIG_IsOK(res2
)) {
29806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29811 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
29815 wxPyEndAllowThreads(__tstate
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29827 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29828 PyObject
*resultobj
= 0;
29829 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29833 PyObject
*swig_obj
[1] ;
29835 if (!args
) SWIG_fail
;
29836 swig_obj
[0] = args
;
29837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29838 if (!SWIG_IsOK(res1
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29841 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29848 resultobj
= SWIG_From_int(static_cast< int >(result
));
29855 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29856 PyObject
*resultobj
= 0;
29857 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29861 PyObject
*swig_obj
[1] ;
29863 if (!args
) SWIG_fail
;
29864 swig_obj
[0] = args
;
29865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29866 if (!SWIG_IsOK(res1
)) {
29867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29869 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= SWIG_From_int(static_cast< int >(result
));
29883 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29884 PyObject
*resultobj
= 0;
29885 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29889 PyObject
*swig_obj
[1] ;
29891 if (!args
) SWIG_fail
;
29892 swig_obj
[0] = args
;
29893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29897 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= SWIG_From_int(static_cast< int >(result
));
29911 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29912 PyObject
*resultobj
= 0;
29913 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29917 PyObject
*swig_obj
[1] ;
29919 if (!args
) SWIG_fail
;
29920 swig_obj
[0] = args
;
29921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29922 if (!SWIG_IsOK(res1
)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29925 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_From_int(static_cast< int >(result
));
29939 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29940 PyObject
*resultobj
= 0;
29941 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29945 PyObject
*swig_obj
[1] ;
29947 if (!args
) SWIG_fail
;
29948 swig_obj
[0] = args
;
29949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29950 if (!SWIG_IsOK(res1
)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29953 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29961 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29962 hi
= PyLong_FromLong( (&result
)->GetHi() );
29963 lo
= PyLong_FromLong( (&result
)->GetLo() );
29964 shifter
= PyLong_FromLong(32);
29965 shifted
= PyNumber_Lshift(hi
, shifter
);
29966 resultobj
= PyNumber_Or(shifted
, lo
);
29969 Py_DECREF(shifter
);
29970 Py_DECREF(shifted
);
29978 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29979 PyObject
*resultobj
= 0;
29980 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29984 PyObject
*swig_obj
[1] ;
29986 if (!args
) SWIG_fail
;
29987 swig_obj
[0] = args
;
29988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29989 if (!SWIG_IsOK(res1
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29992 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
30000 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30001 hi
= PyLong_FromLong( (&result
)->GetHi() );
30002 lo
= PyLong_FromLong( (&result
)->GetLo() );
30003 shifter
= PyLong_FromLong(32);
30004 shifted
= PyNumber_Lshift(hi
, shifter
);
30005 resultobj
= PyNumber_Or(shifted
, lo
);
30008 Py_DECREF(shifter
);
30009 Py_DECREF(shifted
);
30017 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
= 0;
30019 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30020 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30021 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30025 bool temp2
= false ;
30026 PyObject
* obj0
= 0 ;
30027 PyObject
* obj1
= 0 ;
30028 char * kwnames
[] = {
30029 (char *) "self",(char *) "format", NULL
30032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30034 if (!SWIG_IsOK(res1
)) {
30035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30037 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30040 arg2
= wxString_in_helper(obj1
);
30041 if (arg2
== NULL
) SWIG_fail
;
30046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30047 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30072 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30075 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30076 return SWIG_Py_Void();
30079 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30080 return SWIG_Python_InitShadowInstance(args
);
30083 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30084 PyObject
*resultobj
= 0;
30085 int arg1
= (int) 0 ;
30086 int arg2
= (int) 0 ;
30087 int arg3
= (int) 0 ;
30088 int arg4
= (int) 0 ;
30089 wxDateSpan
*result
= 0 ;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 PyObject
* obj2
= 0 ;
30101 PyObject
* obj3
= 0 ;
30102 char * kwnames
[] = {
30103 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30109 if (!SWIG_IsOK(ecode1
)) {
30110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30112 arg1
= static_cast< int >(val1
);
30115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30116 if (!SWIG_IsOK(ecode2
)) {
30117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30119 arg2
= static_cast< int >(val2
);
30122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30123 if (!SWIG_IsOK(ecode3
)) {
30124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30126 arg3
= static_cast< int >(val3
);
30129 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30130 if (!SWIG_IsOK(ecode4
)) {
30131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30133 arg4
= static_cast< int >(val4
);
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30138 wxPyEndAllowThreads(__tstate
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30148 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30149 PyObject
*resultobj
= 0;
30150 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30153 PyObject
*swig_obj
[1] ;
30155 if (!args
) SWIG_fail
;
30156 swig_obj
[0] = args
;
30157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30161 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 resultobj
= SWIG_Py_Void();
30176 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30177 PyObject
*resultobj
= 0;
30182 PyObject
* obj0
= 0 ;
30183 char * kwnames
[] = {
30184 (char *) "days", NULL
30187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30188 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30189 if (!SWIG_IsOK(ecode1
)) {
30190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30192 arg1
= static_cast< int >(val1
);
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= wxDateSpan::Days(arg1
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30206 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30207 PyObject
*resultobj
= 0;
30210 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30213 result
= wxDateSpan::Day();
30214 wxPyEndAllowThreads(__tstate
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30224 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
= 0;
30230 PyObject
* obj0
= 0 ;
30231 char * kwnames
[] = {
30232 (char *) "weeks", NULL
30235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30236 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30237 if (!SWIG_IsOK(ecode1
)) {
30238 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30240 arg1
= static_cast< int >(val1
);
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= wxDateSpan::Weeks(arg1
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30254 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30255 PyObject
*resultobj
= 0;
30258 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30261 result
= wxDateSpan::Week();
30262 wxPyEndAllowThreads(__tstate
);
30263 if (PyErr_Occurred()) SWIG_fail
;
30265 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30272 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30273 PyObject
*resultobj
= 0;
30278 PyObject
* obj0
= 0 ;
30279 char * kwnames
[] = {
30280 (char *) "mon", NULL
30283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30284 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30285 if (!SWIG_IsOK(ecode1
)) {
30286 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30288 arg1
= static_cast< int >(val1
);
30290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30291 result
= wxDateSpan::Months(arg1
);
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30302 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30303 PyObject
*resultobj
= 0;
30306 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= wxDateSpan::Month();
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30313 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30320 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
= 0;
30326 PyObject
* obj0
= 0 ;
30327 char * kwnames
[] = {
30328 (char *) "years", NULL
30331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30332 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30333 if (!SWIG_IsOK(ecode1
)) {
30334 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30336 arg1
= static_cast< int >(val1
);
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 result
= wxDateSpan::Years(arg1
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30350 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30351 PyObject
*resultobj
= 0;
30354 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= wxDateSpan::Year();
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30361 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30368 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
= 0;
30370 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30372 wxDateSpan
*result
= 0 ;
30377 PyObject
* obj0
= 0 ;
30378 PyObject
* obj1
= 0 ;
30379 char * kwnames
[] = {
30380 (char *) "self",(char *) "n", NULL
30383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30385 if (!SWIG_IsOK(res1
)) {
30386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30388 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30390 if (!SWIG_IsOK(ecode2
)) {
30391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30393 arg2
= static_cast< int >(val2
);
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30398 result
= (wxDateSpan
*) &_result_ref
;
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30410 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
= 0;
30412 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30414 wxDateSpan
*result
= 0 ;
30419 PyObject
* obj0
= 0 ;
30420 PyObject
* obj1
= 0 ;
30421 char * kwnames
[] = {
30422 (char *) "self",(char *) "n", NULL
30425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30427 if (!SWIG_IsOK(res1
)) {
30428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30430 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30432 if (!SWIG_IsOK(ecode2
)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30435 arg2
= static_cast< int >(val2
);
30437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30440 result
= (wxDateSpan
*) &_result_ref
;
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30452 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30453 PyObject
*resultobj
= 0;
30454 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30456 wxDateSpan
*result
= 0 ;
30461 PyObject
* obj0
= 0 ;
30462 PyObject
* obj1
= 0 ;
30463 char * kwnames
[] = {
30464 (char *) "self",(char *) "n", NULL
30467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30469 if (!SWIG_IsOK(res1
)) {
30470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30472 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30474 if (!SWIG_IsOK(ecode2
)) {
30475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30477 arg2
= static_cast< int >(val2
);
30479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30482 result
= (wxDateSpan
*) &_result_ref
;
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30494 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30495 PyObject
*resultobj
= 0;
30496 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30498 wxDateSpan
*result
= 0 ;
30503 PyObject
* obj0
= 0 ;
30504 PyObject
* obj1
= 0 ;
30505 char * kwnames
[] = {
30506 (char *) "self",(char *) "n", NULL
30509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30511 if (!SWIG_IsOK(res1
)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30514 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30516 if (!SWIG_IsOK(ecode2
)) {
30517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30519 arg2
= static_cast< int >(val2
);
30521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30523 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30524 result
= (wxDateSpan
*) &_result_ref
;
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30536 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30537 PyObject
*resultobj
= 0;
30538 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30542 PyObject
*swig_obj
[1] ;
30544 if (!args
) SWIG_fail
;
30545 swig_obj
[0] = args
;
30546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30547 if (!SWIG_IsOK(res1
)) {
30548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30550 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30554 wxPyEndAllowThreads(__tstate
);
30555 if (PyErr_Occurred()) SWIG_fail
;
30557 resultobj
= SWIG_From_int(static_cast< int >(result
));
30564 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30565 PyObject
*resultobj
= 0;
30566 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30570 PyObject
*swig_obj
[1] ;
30572 if (!args
) SWIG_fail
;
30573 swig_obj
[0] = args
;
30574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30575 if (!SWIG_IsOK(res1
)) {
30576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30578 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30582 wxPyEndAllowThreads(__tstate
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30585 resultobj
= SWIG_From_int(static_cast< int >(result
));
30592 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30593 PyObject
*resultobj
= 0;
30594 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30598 PyObject
*swig_obj
[1] ;
30600 if (!args
) SWIG_fail
;
30601 swig_obj
[0] = args
;
30602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30603 if (!SWIG_IsOK(res1
)) {
30604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30606 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30610 wxPyEndAllowThreads(__tstate
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30613 resultobj
= SWIG_From_int(static_cast< int >(result
));
30620 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30621 PyObject
*resultobj
= 0;
30622 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30626 PyObject
*swig_obj
[1] ;
30628 if (!args
) SWIG_fail
;
30629 swig_obj
[0] = args
;
30630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30634 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30637 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30641 resultobj
= SWIG_From_int(static_cast< int >(result
));
30648 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30649 PyObject
*resultobj
= 0;
30650 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30654 PyObject
*swig_obj
[1] ;
30656 if (!args
) SWIG_fail
;
30657 swig_obj
[0] = args
;
30658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30659 if (!SWIG_IsOK(res1
)) {
30660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30662 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 resultobj
= SWIG_From_int(static_cast< int >(result
));
30676 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
= 0;
30678 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30679 wxDateSpan
*arg2
= 0 ;
30680 wxDateSpan
*result
= 0 ;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 char * kwnames
[] = {
30688 (char *) "self",(char *) "other", NULL
30691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30696 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30698 if (!SWIG_IsOK(res2
)) {
30699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30704 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30709 result
= (wxDateSpan
*) &_result_ref
;
30711 wxPyEndAllowThreads(__tstate
);
30712 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30721 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30722 PyObject
*resultobj
= 0;
30723 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30724 wxDateSpan
*arg2
= 0 ;
30725 wxDateSpan
*result
= 0 ;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30732 char * kwnames
[] = {
30733 (char *) "self",(char *) "other", NULL
30736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30738 if (!SWIG_IsOK(res1
)) {
30739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30741 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30743 if (!SWIG_IsOK(res2
)) {
30744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30749 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30754 result
= (wxDateSpan
*) &_result_ref
;
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30766 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30767 PyObject
*resultobj
= 0;
30768 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30769 wxDateSpan
*result
= 0 ;
30772 PyObject
*swig_obj
[1] ;
30774 if (!args
) SWIG_fail
;
30775 swig_obj
[0] = args
;
30776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30777 if (!SWIG_IsOK(res1
)) {
30778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30780 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30785 result
= (wxDateSpan
*) &_result_ref
;
30787 wxPyEndAllowThreads(__tstate
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30797 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30798 PyObject
*resultobj
= 0;
30799 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30801 wxDateSpan
*result
= 0 ;
30806 PyObject
* obj0
= 0 ;
30807 PyObject
* obj1
= 0 ;
30808 char * kwnames
[] = {
30809 (char *) "self",(char *) "factor", NULL
30812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30814 if (!SWIG_IsOK(res1
)) {
30815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30817 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30819 if (!SWIG_IsOK(ecode2
)) {
30820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
30822 arg2
= static_cast< int >(val2
);
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
30827 result
= (wxDateSpan
*) &_result_ref
;
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30839 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30840 PyObject
*resultobj
= 0;
30841 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30842 wxDateSpan
*arg2
= 0 ;
30843 wxDateSpan
*result
= 0 ;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 char * kwnames
[] = {
30851 (char *) "self",(char *) "other", NULL
30854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30856 if (!SWIG_IsOK(res1
)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30859 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30861 if (!SWIG_IsOK(res2
)) {
30862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30867 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30871 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
30872 result
= (wxDateSpan
*) &_result_ref
;
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30884 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30885 PyObject
*resultobj
= 0;
30886 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30887 wxDateSpan
*arg2
= 0 ;
30888 wxDateSpan
*result
= 0 ;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 char * kwnames
[] = {
30896 (char *) "self",(char *) "other", NULL
30899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30901 if (!SWIG_IsOK(res1
)) {
30902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30904 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30906 if (!SWIG_IsOK(res2
)) {
30907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30912 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
30917 result
= (wxDateSpan
*) &_result_ref
;
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30929 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30930 PyObject
*resultobj
= 0;
30931 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30932 wxDateSpan
*result
= 0 ;
30935 PyObject
*swig_obj
[1] ;
30937 if (!args
) SWIG_fail
;
30938 swig_obj
[0] = args
;
30939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30940 if (!SWIG_IsOK(res1
)) {
30941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30943 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 wxDateSpan
&_result_ref
= (arg1
)->operator -();
30948 result
= (wxDateSpan
*) &_result_ref
;
30950 wxPyEndAllowThreads(__tstate
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30960 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
= 0;
30962 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30964 wxDateSpan
*result
= 0 ;
30969 PyObject
* obj0
= 0 ;
30970 PyObject
* obj1
= 0 ;
30971 char * kwnames
[] = {
30972 (char *) "self",(char *) "factor", NULL
30975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30977 if (!SWIG_IsOK(res1
)) {
30978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30980 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30982 if (!SWIG_IsOK(ecode2
)) {
30983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
30985 arg2
= static_cast< int >(val2
);
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
30990 result
= (wxDateSpan
*) &_result_ref
;
30992 wxPyEndAllowThreads(__tstate
);
30993 if (PyErr_Occurred()) SWIG_fail
;
30995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31002 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31003 PyObject
*resultobj
= 0;
31004 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31005 wxDateSpan
*arg2
= 0 ;
31011 PyObject
* obj0
= 0 ;
31012 PyObject
* obj1
= 0 ;
31013 char * kwnames
[] = {
31014 (char *) "self",(char *) "other", NULL
31017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31019 if (!SWIG_IsOK(res1
)) {
31020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31022 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31023 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31024 if (!SWIG_IsOK(res2
)) {
31025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31030 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31044 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31045 PyObject
*resultobj
= 0;
31046 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31047 wxDateSpan
*arg2
= 0 ;
31053 PyObject
* obj0
= 0 ;
31054 PyObject
* obj1
= 0 ;
31055 char * kwnames
[] = {
31056 (char *) "self",(char *) "other", NULL
31059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31061 if (!SWIG_IsOK(res1
)) {
31062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31064 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31066 if (!SWIG_IsOK(res2
)) {
31067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31072 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31086 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
= 0;
31088 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31095 PyObject
* obj0
= 0 ;
31096 PyObject
* obj1
= 0 ;
31097 char * kwnames
[] = {
31098 (char *) "self",(char *) "n", NULL
31101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31103 if (!SWIG_IsOK(res1
)) {
31104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31106 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31108 if (!SWIG_IsOK(ecode2
)) {
31109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31111 arg2
= static_cast< int >(val2
);
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 result
= wxDateSpan___mul__(arg1
,arg2
);
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31125 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31126 PyObject
*resultobj
= 0;
31127 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31134 PyObject
* obj0
= 0 ;
31135 PyObject
* obj1
= 0 ;
31136 char * kwnames
[] = {
31137 (char *) "self",(char *) "n", NULL
31140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31142 if (!SWIG_IsOK(res1
)) {
31143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31145 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31147 if (!SWIG_IsOK(ecode2
)) {
31148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31150 arg2
= static_cast< int >(val2
);
31152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31153 result
= wxDateSpan___rmul__(arg1
,arg2
);
31154 wxPyEndAllowThreads(__tstate
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31164 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
= 0;
31166 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31167 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31175 char * kwnames
[] = {
31176 (char *) "self",(char *) "other", NULL
31179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31181 if (!SWIG_IsOK(res1
)) {
31182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31184 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31186 if (!SWIG_IsOK(res2
)) {
31187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31189 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31192 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31205 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31206 PyObject
*resultobj
= 0;
31207 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31208 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31214 PyObject
* obj0
= 0 ;
31215 PyObject
* obj1
= 0 ;
31216 char * kwnames
[] = {
31217 (char *) "self",(char *) "other", NULL
31220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31222 if (!SWIG_IsOK(res1
)) {
31223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31225 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31226 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31227 if (!SWIG_IsOK(res2
)) {
31228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31230 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31234 wxPyEndAllowThreads(__tstate
);
31235 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31246 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31249 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31250 return SWIG_Py_Void();
31253 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31254 return SWIG_Python_InitShadowInstance(args
);
31257 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31258 PyObject
*resultobj
= 0;
31261 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 result
= (long)wxGetLocalTime();
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31268 resultobj
= SWIG_From_long(static_cast< long >(result
));
31275 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31276 PyObject
*resultobj
= 0;
31279 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 result
= (long)wxGetUTCTime();
31283 wxPyEndAllowThreads(__tstate
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31286 resultobj
= SWIG_From_long(static_cast< long >(result
));
31293 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31294 PyObject
*resultobj
= 0;
31297 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31300 result
= (long)wxGetCurrentTime();
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31304 resultobj
= SWIG_From_long(static_cast< long >(result
));
31311 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31312 PyObject
*resultobj
= 0;
31315 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31318 result
= wxGetLocalTimeMillis();
31319 wxPyEndAllowThreads(__tstate
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31323 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31324 hi
= PyLong_FromLong( (&result
)->GetHi() );
31325 lo
= PyLong_FromLong( (&result
)->GetLo() );
31326 shifter
= PyLong_FromLong(32);
31327 shifted
= PyNumber_Lshift(hi
, shifter
);
31328 resultobj
= PyNumber_Or(shifted
, lo
);
31331 Py_DECREF(shifter
);
31332 Py_DECREF(shifted
);
31340 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31341 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31346 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31347 PyObject
*pyobj
= 0;
31349 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31354 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31355 PyObject
*resultobj
= 0;
31356 wxDataFormatId arg1
;
31357 wxDataFormat
*result
= 0 ;
31360 PyObject
* obj0
= 0 ;
31361 char * kwnames
[] = {
31362 (char *) "type", NULL
31365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31367 if (!SWIG_IsOK(ecode1
)) {
31368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31370 arg1
= static_cast< wxDataFormatId
>(val1
);
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31384 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
= 0;
31386 wxString
*arg1
= 0 ;
31387 wxDataFormat
*result
= 0 ;
31388 bool temp1
= false ;
31389 PyObject
* obj0
= 0 ;
31390 char * kwnames
[] = {
31391 (char *) "format", NULL
31394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31396 arg1
= wxString_in_helper(obj0
);
31397 if (arg1
== NULL
) SWIG_fail
;
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31403 wxPyEndAllowThreads(__tstate
);
31404 if (PyErr_Occurred()) SWIG_fail
;
31406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31421 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31422 PyObject
*resultobj
= 0;
31423 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31426 PyObject
*swig_obj
[1] ;
31428 if (!args
) SWIG_fail
;
31429 swig_obj
[0] = args
;
31430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31431 if (!SWIG_IsOK(res1
)) {
31432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31434 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 wxPyEndAllowThreads(__tstate
);
31440 if (PyErr_Occurred()) SWIG_fail
;
31442 resultobj
= SWIG_Py_Void();
31449 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31450 PyObject
*resultobj
= 0;
31451 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31452 wxDataFormatId arg2
;
31459 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31461 if (!SWIG_IsOK(res1
)) {
31462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31464 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31465 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31466 if (!SWIG_IsOK(ecode2
)) {
31467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31469 arg2
= static_cast< wxDataFormatId
>(val2
);
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31485 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31486 PyObject
*resultobj
= 0;
31487 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31488 wxDataFormatId arg2
;
31495 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31497 if (!SWIG_IsOK(res1
)) {
31498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31500 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31501 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31502 if (!SWIG_IsOK(ecode2
)) {
31503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31505 arg2
= static_cast< wxDataFormatId
>(val2
);
31507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31508 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31509 wxPyEndAllowThreads(__tstate
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31521 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31522 PyObject
*resultobj
= 0;
31523 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31524 wxDataFormat
*arg2
= 0 ;
31531 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31533 if (!SWIG_IsOK(res1
)) {
31534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31536 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31537 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31538 if (!SWIG_IsOK(res2
)) {
31539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31544 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31547 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31548 wxPyEndAllowThreads(__tstate
);
31549 if (PyErr_Occurred()) SWIG_fail
;
31552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31560 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31564 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31569 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31570 _v
= SWIG_CheckState(res
);
31572 if (!_v
) goto check_1
;
31573 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31578 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31582 Py_INCREF(Py_NotImplemented
);
31583 return Py_NotImplemented
;
31587 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31588 PyObject
*resultobj
= 0;
31589 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31590 wxDataFormat
*arg2
= 0 ;
31597 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31599 if (!SWIG_IsOK(res1
)) {
31600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31602 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31603 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31604 if (!SWIG_IsOK(res2
)) {
31605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31610 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31614 wxPyEndAllowThreads(__tstate
);
31615 if (PyErr_Occurred()) SWIG_fail
;
31618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31626 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31630 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31635 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31636 _v
= SWIG_CheckState(res
);
31638 if (!_v
) goto check_1
;
31639 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31644 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31648 Py_INCREF(Py_NotImplemented
);
31649 return Py_NotImplemented
;
31653 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31654 PyObject
*resultobj
= 0;
31655 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31656 wxDataFormatId arg2
;
31661 PyObject
* obj0
= 0 ;
31662 PyObject
* obj1
= 0 ;
31663 char * kwnames
[] = {
31664 (char *) "self",(char *) "format", NULL
31667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31669 if (!SWIG_IsOK(res1
)) {
31670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31672 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31674 if (!SWIG_IsOK(ecode2
)) {
31675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31677 arg2
= static_cast< wxDataFormatId
>(val2
);
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 (arg1
)->SetType(arg2
);
31681 wxPyEndAllowThreads(__tstate
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= SWIG_Py_Void();
31691 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31692 PyObject
*resultobj
= 0;
31693 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31694 wxDataFormatId result
;
31697 PyObject
*swig_obj
[1] ;
31699 if (!args
) SWIG_fail
;
31700 swig_obj
[0] = args
;
31701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31702 if (!SWIG_IsOK(res1
)) {
31703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31705 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31708 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31712 resultobj
= SWIG_From_int(static_cast< int >(result
));
31719 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31720 PyObject
*resultobj
= 0;
31721 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31725 PyObject
*swig_obj
[1] ;
31727 if (!args
) SWIG_fail
;
31728 swig_obj
[0] = args
;
31729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31730 if (!SWIG_IsOK(res1
)) {
31731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31733 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31736 result
= ((wxDataFormat
const *)arg1
)->GetId();
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31753 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31754 PyObject
*resultobj
= 0;
31755 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31756 wxString
*arg2
= 0 ;
31759 bool temp2
= false ;
31760 PyObject
* obj0
= 0 ;
31761 PyObject
* obj1
= 0 ;
31762 char * kwnames
[] = {
31763 (char *) "self",(char *) "format", NULL
31766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31768 if (!SWIG_IsOK(res1
)) {
31769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31771 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31773 arg2
= wxString_in_helper(obj1
);
31774 if (arg2
== NULL
) SWIG_fail
;
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 (arg1
)->SetId((wxString
const &)*arg2
);
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= SWIG_Py_Void();
31798 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31801 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31802 return SWIG_Py_Void();
31805 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31806 return SWIG_Python_InitShadowInstance(args
);
31809 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
31810 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
31815 SWIGINTERN PyObject
*FormatInvalid_get(void) {
31816 PyObject
*pyobj
= 0;
31818 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
31823 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31824 PyObject
*resultobj
= 0;
31825 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31828 PyObject
*swig_obj
[1] ;
31830 if (!args
) SWIG_fail
;
31831 swig_obj
[0] = args
;
31832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
31833 if (!SWIG_IsOK(res1
)) {
31834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
31836 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_Py_Void();
31851 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
= 0;
31853 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31854 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31855 SwigValueWrapper
<wxDataFormat
> result
;
31860 PyObject
* obj0
= 0 ;
31861 PyObject
* obj1
= 0 ;
31862 char * kwnames
[] = {
31863 (char *) "self",(char *) "dir", NULL
31866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31868 if (!SWIG_IsOK(res1
)) {
31869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31871 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31874 if (!SWIG_IsOK(ecode2
)) {
31875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31877 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31881 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31885 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31892 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31893 PyObject
*resultobj
= 0;
31894 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31895 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31901 PyObject
* obj0
= 0 ;
31902 PyObject
* obj1
= 0 ;
31903 char * kwnames
[] = {
31904 (char *) "self",(char *) "dir", NULL
31907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31909 if (!SWIG_IsOK(res1
)) {
31910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31912 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31915 if (!SWIG_IsOK(ecode2
)) {
31916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31918 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31922 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31933 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
= 0;
31935 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31936 wxDataFormat
*arg2
= 0 ;
31937 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
31945 PyObject
* obj0
= 0 ;
31946 PyObject
* obj1
= 0 ;
31947 PyObject
* obj2
= 0 ;
31948 char * kwnames
[] = {
31949 (char *) "self",(char *) "format",(char *) "dir", NULL
31952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31954 if (!SWIG_IsOK(res1
)) {
31955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31957 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31958 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31959 if (!SWIG_IsOK(res2
)) {
31960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31965 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31968 if (!SWIG_IsOK(ecode3
)) {
31969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
31971 arg3
= static_cast< wxDataObject::Direction
>(val3
);
31974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31975 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
31976 wxPyEndAllowThreads(__tstate
);
31977 if (PyErr_Occurred()) SWIG_fail
;
31980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31988 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31989 PyObject
*resultobj
= 0;
31990 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31991 wxDataFormat
*arg2
= 0 ;
31997 PyObject
* obj0
= 0 ;
31998 PyObject
* obj1
= 0 ;
31999 char * kwnames
[] = {
32000 (char *) "self",(char *) "format", NULL
32003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32005 if (!SWIG_IsOK(res1
)) {
32006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32008 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32010 if (!SWIG_IsOK(res2
)) {
32011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32016 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32019 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32020 wxPyEndAllowThreads(__tstate
);
32021 if (PyErr_Occurred()) SWIG_fail
;
32023 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32030 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32031 PyObject
*resultobj
= 0;
32032 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32033 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32034 PyObject
*result
= 0 ;
32039 PyObject
* obj0
= 0 ;
32040 PyObject
* obj1
= 0 ;
32041 char * kwnames
[] = {
32042 (char *) "self",(char *) "dir", NULL
32045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32047 if (!SWIG_IsOK(res1
)) {
32048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32050 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32053 if (!SWIG_IsOK(ecode2
)) {
32054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32056 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32060 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32061 wxPyEndAllowThreads(__tstate
);
32062 if (PyErr_Occurred()) SWIG_fail
;
32064 resultobj
= result
;
32071 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32072 PyObject
*resultobj
= 0;
32073 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32074 wxDataFormat
*arg2
= 0 ;
32075 PyObject
*result
= 0 ;
32080 PyObject
* obj0
= 0 ;
32081 PyObject
* obj1
= 0 ;
32082 char * kwnames
[] = {
32083 (char *) "self",(char *) "format", NULL
32086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32088 if (!SWIG_IsOK(res1
)) {
32089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32091 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32093 if (!SWIG_IsOK(res2
)) {
32094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32099 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32102 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32103 wxPyEndAllowThreads(__tstate
);
32104 if (PyErr_Occurred()) SWIG_fail
;
32106 resultobj
= result
;
32113 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32114 PyObject
*resultobj
= 0;
32115 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32116 wxDataFormat
*arg2
= 0 ;
32117 PyObject
*arg3
= (PyObject
*) 0 ;
32123 PyObject
* obj0
= 0 ;
32124 PyObject
* obj1
= 0 ;
32125 PyObject
* obj2
= 0 ;
32126 char * kwnames
[] = {
32127 (char *) "self",(char *) "format",(char *) "data", NULL
32130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32132 if (!SWIG_IsOK(res1
)) {
32133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32135 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32137 if (!SWIG_IsOK(res2
)) {
32138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32143 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32147 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32160 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32163 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32164 return SWIG_Py_Void();
32167 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32168 PyObject
*resultobj
= 0;
32169 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32170 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32171 wxDataObjectSimple
*result
= 0 ;
32174 PyObject
* obj0
= 0 ;
32175 char * kwnames
[] = {
32176 (char *) "format", NULL
32179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32181 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32182 if (!SWIG_IsOK(res1
)) {
32183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32188 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32192 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32193 wxPyEndAllowThreads(__tstate
);
32194 if (PyErr_Occurred()) SWIG_fail
;
32196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32203 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32204 PyObject
*resultobj
= 0;
32205 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32206 wxDataFormat
*result
= 0 ;
32209 PyObject
*swig_obj
[1] ;
32211 if (!args
) SWIG_fail
;
32212 swig_obj
[0] = args
;
32213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32214 if (!SWIG_IsOK(res1
)) {
32215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32217 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32222 result
= (wxDataFormat
*) &_result_ref
;
32224 wxPyEndAllowThreads(__tstate
);
32225 if (PyErr_Occurred()) SWIG_fail
;
32227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32234 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32235 PyObject
*resultobj
= 0;
32236 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32237 wxDataFormat
*arg2
= 0 ;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 char * kwnames
[] = {
32245 (char *) "self",(char *) "format", NULL
32248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32250 if (!SWIG_IsOK(res1
)) {
32251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32253 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32255 if (!SWIG_IsOK(res2
)) {
32256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32261 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32268 resultobj
= SWIG_Py_Void();
32275 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32276 PyObject
*resultobj
= 0;
32277 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32281 PyObject
*swig_obj
[1] ;
32283 if (!args
) SWIG_fail
;
32284 swig_obj
[0] = args
;
32285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32286 if (!SWIG_IsOK(res1
)) {
32287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32289 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32296 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32303 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32304 PyObject
*resultobj
= 0;
32305 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32306 PyObject
*result
= 0 ;
32309 PyObject
*swig_obj
[1] ;
32311 if (!args
) SWIG_fail
;
32312 swig_obj
[0] = args
;
32313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32314 if (!SWIG_IsOK(res1
)) {
32315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32317 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32320 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 resultobj
= result
;
32331 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32332 PyObject
*resultobj
= 0;
32333 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32334 PyObject
*arg2
= (PyObject
*) 0 ;
32338 PyObject
* obj0
= 0 ;
32339 PyObject
* obj1
= 0 ;
32340 char * kwnames
[] = {
32341 (char *) "self",(char *) "data", NULL
32344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32346 if (!SWIG_IsOK(res1
)) {
32347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32349 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32353 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32354 wxPyEndAllowThreads(__tstate
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32366 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32369 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32370 return SWIG_Py_Void();
32373 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32374 return SWIG_Python_InitShadowInstance(args
);
32377 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32378 PyObject
*resultobj
= 0;
32379 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32380 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32381 wxPyDataObjectSimple
*result
= 0 ;
32384 PyObject
* obj0
= 0 ;
32385 char * kwnames
[] = {
32386 (char *) "format", NULL
32389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32391 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32392 if (!SWIG_IsOK(res1
)) {
32393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32398 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32413 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
= 0;
32415 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32416 PyObject
*arg2
= (PyObject
*) 0 ;
32417 PyObject
*arg3
= (PyObject
*) 0 ;
32420 PyObject
* obj0
= 0 ;
32421 PyObject
* obj1
= 0 ;
32422 PyObject
* obj2
= 0 ;
32423 char * kwnames
[] = {
32424 (char *) "self",(char *) "self",(char *) "_class", NULL
32427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32429 if (!SWIG_IsOK(res1
)) {
32430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32432 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32437 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32438 wxPyEndAllowThreads(__tstate
);
32439 if (PyErr_Occurred()) SWIG_fail
;
32441 resultobj
= SWIG_Py_Void();
32448 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32451 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32452 return SWIG_Py_Void();
32455 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32456 return SWIG_Python_InitShadowInstance(args
);
32459 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32460 PyObject
*resultobj
= 0;
32461 wxDataObjectComposite
*result
= 0 ;
32463 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32466 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32467 wxPyEndAllowThreads(__tstate
);
32468 if (PyErr_Occurred()) SWIG_fail
;
32470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32477 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
= 0;
32479 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32480 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32481 bool arg3
= (bool) false ;
32487 PyObject
* obj0
= 0 ;
32488 PyObject
* obj1
= 0 ;
32489 PyObject
* obj2
= 0 ;
32490 char * kwnames
[] = {
32491 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32496 if (!SWIG_IsOK(res1
)) {
32497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32499 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32500 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32501 if (!SWIG_IsOK(res2
)) {
32502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32505 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32506 if (!SWIG_IsOK(ecode3
)) {
32507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32509 arg3
= static_cast< bool >(val3
);
32512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32513 (arg1
)->Add(arg2
,arg3
);
32514 wxPyEndAllowThreads(__tstate
);
32515 if (PyErr_Occurred()) SWIG_fail
;
32517 resultobj
= SWIG_Py_Void();
32524 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32525 PyObject
*resultobj
= 0;
32526 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32527 SwigValueWrapper
<wxDataFormat
> result
;
32530 PyObject
*swig_obj
[1] ;
32532 if (!args
) SWIG_fail
;
32533 swig_obj
[0] = args
;
32534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32535 if (!SWIG_IsOK(res1
)) {
32536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32538 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32552 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32555 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32556 return SWIG_Py_Void();
32559 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32560 return SWIG_Python_InitShadowInstance(args
);
32563 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
= 0;
32565 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32566 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32567 wxTextDataObject
*result
= 0 ;
32568 bool temp1
= false ;
32569 PyObject
* obj0
= 0 ;
32570 char * kwnames
[] = {
32571 (char *) "text", NULL
32574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32577 arg1
= wxString_in_helper(obj0
);
32578 if (arg1
== NULL
) SWIG_fail
;
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32603 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32604 PyObject
*resultobj
= 0;
32605 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32609 PyObject
*swig_obj
[1] ;
32611 if (!args
) SWIG_fail
;
32612 swig_obj
[0] = args
;
32613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32614 if (!SWIG_IsOK(res1
)) {
32615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32617 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32620 result
= (size_t)(arg1
)->GetTextLength();
32621 wxPyEndAllowThreads(__tstate
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32624 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32631 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32632 PyObject
*resultobj
= 0;
32633 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32637 PyObject
*swig_obj
[1] ;
32639 if (!args
) SWIG_fail
;
32640 swig_obj
[0] = args
;
32641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32642 if (!SWIG_IsOK(res1
)) {
32643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32645 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 result
= (arg1
)->GetText();
32649 wxPyEndAllowThreads(__tstate
);
32650 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32665 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32666 PyObject
*resultobj
= 0;
32667 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32668 wxString
*arg2
= 0 ;
32671 bool temp2
= false ;
32672 PyObject
* obj0
= 0 ;
32673 PyObject
* obj1
= 0 ;
32674 char * kwnames
[] = {
32675 (char *) "self",(char *) "text", NULL
32678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32680 if (!SWIG_IsOK(res1
)) {
32681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32683 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32685 arg2
= wxString_in_helper(obj1
);
32686 if (arg2
== NULL
) SWIG_fail
;
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 (arg1
)->SetText((wxString
const &)*arg2
);
32692 wxPyEndAllowThreads(__tstate
);
32693 if (PyErr_Occurred()) SWIG_fail
;
32695 resultobj
= SWIG_Py_Void();
32710 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32713 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32714 return SWIG_Py_Void();
32717 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32718 return SWIG_Python_InitShadowInstance(args
);
32721 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32722 PyObject
*resultobj
= 0;
32723 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32724 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32725 wxPyTextDataObject
*result
= 0 ;
32726 bool temp1
= false ;
32727 PyObject
* obj0
= 0 ;
32728 char * kwnames
[] = {
32729 (char *) "text", NULL
32732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32735 arg1
= wxString_in_helper(obj0
);
32736 if (arg1
== NULL
) SWIG_fail
;
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32761 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32762 PyObject
*resultobj
= 0;
32763 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32764 PyObject
*arg2
= (PyObject
*) 0 ;
32765 PyObject
*arg3
= (PyObject
*) 0 ;
32768 PyObject
* obj0
= 0 ;
32769 PyObject
* obj1
= 0 ;
32770 PyObject
* obj2
= 0 ;
32771 char * kwnames
[] = {
32772 (char *) "self",(char *) "self",(char *) "_class", NULL
32775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32777 if (!SWIG_IsOK(res1
)) {
32778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32780 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32786 wxPyEndAllowThreads(__tstate
);
32787 if (PyErr_Occurred()) SWIG_fail
;
32789 resultobj
= SWIG_Py_Void();
32796 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32799 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32800 return SWIG_Py_Void();
32803 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32804 return SWIG_Python_InitShadowInstance(args
);
32807 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32808 PyObject
*resultobj
= 0;
32809 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32810 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32811 wxBitmapDataObject
*result
= 0 ;
32814 PyObject
* obj0
= 0 ;
32815 char * kwnames
[] = {
32816 (char *) "bitmap", NULL
32819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32821 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32822 if (!SWIG_IsOK(res1
)) {
32823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32828 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32832 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
32833 wxPyEndAllowThreads(__tstate
);
32834 if (PyErr_Occurred()) SWIG_fail
;
32836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32843 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32844 PyObject
*resultobj
= 0;
32845 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32849 PyObject
*swig_obj
[1] ;
32851 if (!args
) SWIG_fail
;
32852 swig_obj
[0] = args
;
32853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32854 if (!SWIG_IsOK(res1
)) {
32855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
32857 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
32861 wxPyEndAllowThreads(__tstate
);
32862 if (PyErr_Occurred()) SWIG_fail
;
32864 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32871 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32872 PyObject
*resultobj
= 0;
32873 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32874 wxBitmap
*arg2
= 0 ;
32879 PyObject
* obj0
= 0 ;
32880 PyObject
* obj1
= 0 ;
32881 char * kwnames
[] = {
32882 (char *) "self",(char *) "bitmap", NULL
32885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32887 if (!SWIG_IsOK(res1
)) {
32888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
32890 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32892 if (!SWIG_IsOK(res2
)) {
32893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32898 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32901 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32905 resultobj
= SWIG_Py_Void();
32912 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32915 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
32916 return SWIG_Py_Void();
32919 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32920 return SWIG_Python_InitShadowInstance(args
);
32923 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32924 PyObject
*resultobj
= 0;
32925 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32926 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32927 wxPyBitmapDataObject
*result
= 0 ;
32930 PyObject
* obj0
= 0 ;
32931 char * kwnames
[] = {
32932 (char *) "bitmap", NULL
32935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32937 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32938 if (!SWIG_IsOK(res1
)) {
32939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32944 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32948 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32959 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32960 PyObject
*resultobj
= 0;
32961 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
32962 PyObject
*arg2
= (PyObject
*) 0 ;
32963 PyObject
*arg3
= (PyObject
*) 0 ;
32966 PyObject
* obj0
= 0 ;
32967 PyObject
* obj1
= 0 ;
32968 PyObject
* obj2
= 0 ;
32969 char * kwnames
[] = {
32970 (char *) "self",(char *) "self",(char *) "_class", NULL
32973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
32975 if (!SWIG_IsOK(res1
)) {
32976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
32978 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
32982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32983 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32984 wxPyEndAllowThreads(__tstate
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32987 resultobj
= SWIG_Py_Void();
32994 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32997 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
32998 return SWIG_Py_Void();
33001 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33002 return SWIG_Python_InitShadowInstance(args
);
33005 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33006 PyObject
*resultobj
= 0;
33007 wxFileDataObject
*result
= 0 ;
33009 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33012 result
= (wxFileDataObject
*)new wxFileDataObject();
33013 wxPyEndAllowThreads(__tstate
);
33014 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33023 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33024 PyObject
*resultobj
= 0;
33025 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33026 wxArrayString
*result
= 0 ;
33029 PyObject
*swig_obj
[1] ;
33031 if (!args
) SWIG_fail
;
33032 swig_obj
[0] = args
;
33033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33034 if (!SWIG_IsOK(res1
)) {
33035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33037 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33042 result
= (wxArrayString
*) &_result_ref
;
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33048 resultobj
= wxArrayString2PyList_helper(*result
);
33056 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33057 PyObject
*resultobj
= 0;
33058 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33059 wxString
*arg2
= 0 ;
33062 bool temp2
= false ;
33063 PyObject
* obj0
= 0 ;
33064 PyObject
* obj1
= 0 ;
33065 char * kwnames
[] = {
33066 (char *) "self",(char *) "filename", NULL
33069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33071 if (!SWIG_IsOK(res1
)) {
33072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33074 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33076 arg2
= wxString_in_helper(obj1
);
33077 if (arg2
== NULL
) SWIG_fail
;
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 (arg1
)->AddFile((wxString
const &)*arg2
);
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33086 resultobj
= SWIG_Py_Void();
33101 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33104 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33105 return SWIG_Py_Void();
33108 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33109 return SWIG_Python_InitShadowInstance(args
);
33112 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33113 PyObject
*resultobj
= 0;
33114 wxDataFormat
*arg1
= 0 ;
33115 wxCustomDataObject
*result
= 0 ;
33119 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33121 if (!SWIG_IsOK(res1
)) {
33122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33127 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33131 wxPyEndAllowThreads(__tstate
);
33132 if (PyErr_Occurred()) SWIG_fail
;
33134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33141 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33142 PyObject
*resultobj
= 0;
33143 wxString
*arg1
= 0 ;
33144 wxCustomDataObject
*result
= 0 ;
33145 bool temp1
= false ;
33147 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33149 arg1
= wxString_in_helper(swig_obj
[0]);
33150 if (arg1
== NULL
) SWIG_fail
;
33154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33155 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33156 wxPyEndAllowThreads(__tstate
);
33157 if (PyErr_Occurred()) SWIG_fail
;
33159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33174 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33175 PyObject
*resultobj
= 0;
33176 wxCustomDataObject
*result
= 0 ;
33178 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33181 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33182 wxPyEndAllowThreads(__tstate
);
33183 if (PyErr_Occurred()) SWIG_fail
;
33185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33192 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33196 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33199 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33205 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33208 if (!_v
) goto check_2
;
33209 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33214 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33218 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33223 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33224 PyObject
*resultobj
= 0;
33225 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33226 PyObject
*arg2
= (PyObject
*) 0 ;
33230 PyObject
* obj0
= 0 ;
33231 PyObject
* obj1
= 0 ;
33232 char * kwnames
[] = {
33233 (char *) "self",(char *) "data", NULL
33236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33238 if (!SWIG_IsOK(res1
)) {
33239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33241 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33246 wxPyEndAllowThreads(__tstate
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33258 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33259 PyObject
*resultobj
= 0;
33260 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33264 PyObject
*swig_obj
[1] ;
33266 if (!args
) SWIG_fail
;
33267 swig_obj
[0] = args
;
33268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33269 if (!SWIG_IsOK(res1
)) {
33270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33272 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33275 result
= (size_t)(arg1
)->GetSize();
33276 wxPyEndAllowThreads(__tstate
);
33277 if (PyErr_Occurred()) SWIG_fail
;
33279 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33286 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33287 PyObject
*resultobj
= 0;
33288 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33289 PyObject
*result
= 0 ;
33292 PyObject
*swig_obj
[1] ;
33294 if (!args
) SWIG_fail
;
33295 swig_obj
[0] = args
;
33296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33297 if (!SWIG_IsOK(res1
)) {
33298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33300 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33303 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33304 wxPyEndAllowThreads(__tstate
);
33305 if (PyErr_Occurred()) SWIG_fail
;
33307 resultobj
= result
;
33314 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33317 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33318 return SWIG_Py_Void();
33321 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33322 return SWIG_Python_InitShadowInstance(args
);
33325 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33326 PyObject
*resultobj
= 0;
33327 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33328 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33329 wxURLDataObject
*result
= 0 ;
33330 bool temp1
= false ;
33331 PyObject
* obj0
= 0 ;
33332 char * kwnames
[] = {
33333 (char *) "url", NULL
33336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33339 arg1
= wxString_in_helper(obj0
);
33340 if (arg1
== NULL
) SWIG_fail
;
33345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33346 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33347 wxPyEndAllowThreads(__tstate
);
33348 if (PyErr_Occurred()) SWIG_fail
;
33350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33365 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33366 PyObject
*resultobj
= 0;
33367 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33371 PyObject
*swig_obj
[1] ;
33373 if (!args
) SWIG_fail
;
33374 swig_obj
[0] = args
;
33375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33376 if (!SWIG_IsOK(res1
)) {
33377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33379 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33382 result
= (arg1
)->GetURL();
33383 wxPyEndAllowThreads(__tstate
);
33384 if (PyErr_Occurred()) SWIG_fail
;
33388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33399 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33400 PyObject
*resultobj
= 0;
33401 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33402 wxString
*arg2
= 0 ;
33405 bool temp2
= false ;
33406 PyObject
* obj0
= 0 ;
33407 PyObject
* obj1
= 0 ;
33408 char * kwnames
[] = {
33409 (char *) "self",(char *) "url", NULL
33412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33414 if (!SWIG_IsOK(res1
)) {
33415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33417 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33419 arg2
= wxString_in_helper(obj1
);
33420 if (arg2
== NULL
) SWIG_fail
;
33424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33425 (arg1
)->SetURL((wxString
const &)*arg2
);
33426 wxPyEndAllowThreads(__tstate
);
33427 if (PyErr_Occurred()) SWIG_fail
;
33429 resultobj
= SWIG_Py_Void();
33444 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33447 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33448 return SWIG_Py_Void();
33451 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33452 return SWIG_Python_InitShadowInstance(args
);
33455 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33456 PyObject
*resultobj
= 0;
33457 wxMetafileDataObject
*result
= 0 ;
33459 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33462 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33463 wxPyEndAllowThreads(__tstate
);
33464 if (PyErr_Occurred()) SWIG_fail
;
33466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33473 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33476 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33477 return SWIG_Py_Void();
33480 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33481 return SWIG_Python_InitShadowInstance(args
);
33484 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33485 PyObject
*resultobj
= 0;
33486 wxDragResult arg1
;
33490 PyObject
* obj0
= 0 ;
33491 char * kwnames
[] = {
33492 (char *) "res", NULL
33495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33496 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33497 if (!SWIG_IsOK(ecode1
)) {
33498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33500 arg1
= static_cast< wxDragResult
>(val1
);
33502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33503 result
= (bool)wxIsDragResultOk(arg1
);
33504 wxPyEndAllowThreads(__tstate
);
33505 if (PyErr_Occurred()) SWIG_fail
;
33508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33516 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33517 PyObject
*resultobj
= 0;
33518 wxWindow
*arg1
= (wxWindow
*) 0 ;
33519 wxIcon
const &arg2_defvalue
= wxNullIcon
;
33520 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
33521 wxIcon
const &arg3_defvalue
= wxNullIcon
;
33522 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
33523 wxIcon
const &arg4_defvalue
= wxNullIcon
;
33524 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
33525 wxPyDropSource
*result
= 0 ;
33534 PyObject
* obj0
= 0 ;
33535 PyObject
* obj1
= 0 ;
33536 PyObject
* obj2
= 0 ;
33537 PyObject
* obj3
= 0 ;
33538 char * kwnames
[] = {
33539 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33544 if (!SWIG_IsOK(res1
)) {
33545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33547 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33550 if (!SWIG_IsOK(res2
)) {
33551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33556 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33559 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
33560 if (!SWIG_IsOK(res3
)) {
33561 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33566 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
33569 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
33570 if (!SWIG_IsOK(res4
)) {
33571 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33576 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
33579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33580 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
33581 wxPyEndAllowThreads(__tstate
);
33582 if (PyErr_Occurred()) SWIG_fail
;
33584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33591 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33592 PyObject
*resultobj
= 0;
33593 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33594 PyObject
*arg2
= (PyObject
*) 0 ;
33595 PyObject
*arg3
= (PyObject
*) 0 ;
33601 PyObject
* obj0
= 0 ;
33602 PyObject
* obj1
= 0 ;
33603 PyObject
* obj2
= 0 ;
33604 PyObject
* obj3
= 0 ;
33605 char * kwnames
[] = {
33606 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33611 if (!SWIG_IsOK(res1
)) {
33612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33614 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33618 if (!SWIG_IsOK(ecode4
)) {
33619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33621 arg4
= static_cast< int >(val4
);
33623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33624 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33625 wxPyEndAllowThreads(__tstate
);
33626 if (PyErr_Occurred()) SWIG_fail
;
33628 resultobj
= SWIG_Py_Void();
33635 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33636 PyObject
*resultobj
= 0;
33637 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33640 PyObject
*swig_obj
[1] ;
33642 if (!args
) SWIG_fail
;
33643 swig_obj
[0] = args
;
33644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33645 if (!SWIG_IsOK(res1
)) {
33646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33648 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 wxPyEndAllowThreads(__tstate
);
33654 if (PyErr_Occurred()) SWIG_fail
;
33656 resultobj
= SWIG_Py_Void();
33663 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33664 PyObject
*resultobj
= 0;
33665 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33666 wxDataObject
*arg2
= 0 ;
33671 PyObject
* obj0
= 0 ;
33672 PyObject
* obj1
= 0 ;
33673 char * kwnames
[] = {
33674 (char *) "self",(char *) "data", NULL
33677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33679 if (!SWIG_IsOK(res1
)) {
33680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33682 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33684 if (!SWIG_IsOK(res2
)) {
33685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33690 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33693 (arg1
)->SetData(*arg2
);
33694 wxPyEndAllowThreads(__tstate
);
33695 if (PyErr_Occurred()) SWIG_fail
;
33697 resultobj
= SWIG_Py_Void();
33704 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33705 PyObject
*resultobj
= 0;
33706 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33707 wxDataObject
*result
= 0 ;
33710 PyObject
*swig_obj
[1] ;
33712 if (!args
) SWIG_fail
;
33713 swig_obj
[0] = args
;
33714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33715 if (!SWIG_IsOK(res1
)) {
33716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33718 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33721 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33722 wxPyEndAllowThreads(__tstate
);
33723 if (PyErr_Occurred()) SWIG_fail
;
33725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33732 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33733 PyObject
*resultobj
= 0;
33734 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33735 wxDragResult arg2
;
33736 wxCursor
*arg3
= 0 ;
33743 PyObject
* obj0
= 0 ;
33744 PyObject
* obj1
= 0 ;
33745 PyObject
* obj2
= 0 ;
33746 char * kwnames
[] = {
33747 (char *) "self",(char *) "res",(char *) "cursor", NULL
33750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33752 if (!SWIG_IsOK(res1
)) {
33753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33755 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33757 if (!SWIG_IsOK(ecode2
)) {
33758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33760 arg2
= static_cast< wxDragResult
>(val2
);
33761 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33762 if (!SWIG_IsOK(res3
)) {
33763 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33768 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33771 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
33772 wxPyEndAllowThreads(__tstate
);
33773 if (PyErr_Occurred()) SWIG_fail
;
33775 resultobj
= SWIG_Py_Void();
33782 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33783 PyObject
*resultobj
= 0;
33784 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33785 int arg2
= (int) wxDrag_CopyOnly
;
33786 wxDragResult result
;
33791 PyObject
* obj0
= 0 ;
33792 PyObject
* obj1
= 0 ;
33793 char * kwnames
[] = {
33794 (char *) "self",(char *) "flags", NULL
33797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33799 if (!SWIG_IsOK(res1
)) {
33800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33802 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33805 if (!SWIG_IsOK(ecode2
)) {
33806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
33808 arg2
= static_cast< int >(val2
);
33811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33812 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
33813 wxPyEndAllowThreads(__tstate
);
33814 if (PyErr_Occurred()) SWIG_fail
;
33816 resultobj
= SWIG_From_int(static_cast< int >(result
));
33823 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33824 PyObject
*resultobj
= 0;
33825 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33826 wxDragResult arg2
;
33832 PyObject
* obj0
= 0 ;
33833 PyObject
* obj1
= 0 ;
33834 char * kwnames
[] = {
33835 (char *) "self",(char *) "effect", NULL
33838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33840 if (!SWIG_IsOK(res1
)) {
33841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33843 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33845 if (!SWIG_IsOK(ecode2
)) {
33846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
33848 arg2
= static_cast< wxDragResult
>(val2
);
33850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33851 result
= (bool)(arg1
)->GiveFeedback(arg2
);
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33864 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33867 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
33868 return SWIG_Py_Void();
33871 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33872 return SWIG_Python_InitShadowInstance(args
);
33875 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33876 PyObject
*resultobj
= 0;
33877 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
33878 wxPyDropTarget
*result
= 0 ;
33880 PyObject
* obj0
= 0 ;
33881 char * kwnames
[] = {
33882 (char *) "dataObject", NULL
33885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
33887 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33888 if (!SWIG_IsOK(res1
)) {
33889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
33895 wxPyEndAllowThreads(__tstate
);
33896 if (PyErr_Occurred()) SWIG_fail
;
33898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
33905 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33906 PyObject
*resultobj
= 0;
33907 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33908 PyObject
*arg2
= (PyObject
*) 0 ;
33909 PyObject
*arg3
= (PyObject
*) 0 ;
33912 PyObject
* obj0
= 0 ;
33913 PyObject
* obj1
= 0 ;
33914 PyObject
* obj2
= 0 ;
33915 char * kwnames
[] = {
33916 (char *) "self",(char *) "self",(char *) "_class", NULL
33919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33921 if (!SWIG_IsOK(res1
)) {
33922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33924 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33929 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33930 wxPyEndAllowThreads(__tstate
);
33931 if (PyErr_Occurred()) SWIG_fail
;
33933 resultobj
= SWIG_Py_Void();
33940 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33941 PyObject
*resultobj
= 0;
33942 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33945 PyObject
*swig_obj
[1] ;
33947 if (!args
) SWIG_fail
;
33948 swig_obj
[0] = args
;
33949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
33950 if (!SWIG_IsOK(res1
)) {
33951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33953 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33958 wxPyEndAllowThreads(__tstate
);
33959 if (PyErr_Occurred()) SWIG_fail
;
33961 resultobj
= SWIG_Py_Void();
33968 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33969 PyObject
*resultobj
= 0;
33970 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33971 wxDataObject
*result
= 0 ;
33974 PyObject
*swig_obj
[1] ;
33976 if (!args
) SWIG_fail
;
33977 swig_obj
[0] = args
;
33978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33979 if (!SWIG_IsOK(res1
)) {
33980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33982 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33985 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33986 wxPyEndAllowThreads(__tstate
);
33987 if (PyErr_Occurred()) SWIG_fail
;
33989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33996 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33997 PyObject
*resultobj
= 0;
33998 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33999 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34003 PyObject
* obj0
= 0 ;
34004 PyObject
* obj1
= 0 ;
34005 char * kwnames
[] = {
34006 (char *) "self",(char *) "dataObject", NULL
34009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34011 if (!SWIG_IsOK(res1
)) {
34012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34014 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34015 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34016 if (!SWIG_IsOK(res2
)) {
34017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34021 (arg1
)->SetDataObject(arg2
);
34022 wxPyEndAllowThreads(__tstate
);
34023 if (PyErr_Occurred()) SWIG_fail
;
34025 resultobj
= SWIG_Py_Void();
34032 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34033 PyObject
*resultobj
= 0;
34034 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34037 wxDragResult arg4
;
34038 wxDragResult result
;
34047 PyObject
* obj0
= 0 ;
34048 PyObject
* obj1
= 0 ;
34049 PyObject
* obj2
= 0 ;
34050 PyObject
* obj3
= 0 ;
34051 char * kwnames
[] = {
34052 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34057 if (!SWIG_IsOK(res1
)) {
34058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34060 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34062 if (!SWIG_IsOK(ecode2
)) {
34063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34065 arg2
= static_cast< int >(val2
);
34066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34067 if (!SWIG_IsOK(ecode3
)) {
34068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34070 arg3
= static_cast< int >(val3
);
34071 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34072 if (!SWIG_IsOK(ecode4
)) {
34073 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34075 arg4
= static_cast< wxDragResult
>(val4
);
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 resultobj
= SWIG_From_int(static_cast< int >(result
));
34089 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
= 0;
34091 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34094 wxDragResult arg4
;
34095 wxDragResult result
;
34104 PyObject
* obj0
= 0 ;
34105 PyObject
* obj1
= 0 ;
34106 PyObject
* obj2
= 0 ;
34107 PyObject
* obj3
= 0 ;
34108 char * kwnames
[] = {
34109 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34114 if (!SWIG_IsOK(res1
)) {
34115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34117 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34119 if (!SWIG_IsOK(ecode2
)) {
34120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34122 arg2
= static_cast< int >(val2
);
34123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34124 if (!SWIG_IsOK(ecode3
)) {
34125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34127 arg3
= static_cast< int >(val3
);
34128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34129 if (!SWIG_IsOK(ecode4
)) {
34130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34132 arg4
= static_cast< wxDragResult
>(val4
);
34134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34135 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34139 resultobj
= SWIG_From_int(static_cast< int >(result
));
34146 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34147 PyObject
*resultobj
= 0;
34148 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34151 PyObject
*swig_obj
[1] ;
34153 if (!args
) SWIG_fail
;
34154 swig_obj
[0] = args
;
34155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34156 if (!SWIG_IsOK(res1
)) {
34157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34159 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 wxPyEndAllowThreads(__tstate
);
34164 if (PyErr_Occurred()) SWIG_fail
;
34166 resultobj
= SWIG_Py_Void();
34173 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34174 PyObject
*resultobj
= 0;
34175 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34185 PyObject
* obj0
= 0 ;
34186 PyObject
* obj1
= 0 ;
34187 PyObject
* obj2
= 0 ;
34188 char * kwnames
[] = {
34189 (char *) "self",(char *) "x",(char *) "y", NULL
34192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34194 if (!SWIG_IsOK(res1
)) {
34195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34197 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34199 if (!SWIG_IsOK(ecode2
)) {
34200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34202 arg2
= static_cast< int >(val2
);
34203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34204 if (!SWIG_IsOK(ecode3
)) {
34205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34207 arg3
= static_cast< int >(val3
);
34209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34210 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34211 wxPyEndAllowThreads(__tstate
);
34212 if (PyErr_Occurred()) SWIG_fail
;
34215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34223 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34224 PyObject
*resultobj
= 0;
34225 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34229 PyObject
*swig_obj
[1] ;
34231 if (!args
) SWIG_fail
;
34232 swig_obj
[0] = args
;
34233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34234 if (!SWIG_IsOK(res1
)) {
34235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34237 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 result
= (bool)(arg1
)->GetData();
34241 wxPyEndAllowThreads(__tstate
);
34242 if (PyErr_Occurred()) SWIG_fail
;
34245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34253 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34254 PyObject
*resultobj
= 0;
34255 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34256 wxDragResult arg2
;
34261 PyObject
* obj0
= 0 ;
34262 PyObject
* obj1
= 0 ;
34263 char * kwnames
[] = {
34264 (char *) "self",(char *) "action", NULL
34267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34269 if (!SWIG_IsOK(res1
)) {
34270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34272 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34274 if (!SWIG_IsOK(ecode2
)) {
34275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34277 arg2
= static_cast< wxDragResult
>(val2
);
34279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34280 (arg1
)->SetDefaultAction(arg2
);
34281 wxPyEndAllowThreads(__tstate
);
34282 if (PyErr_Occurred()) SWIG_fail
;
34284 resultobj
= SWIG_Py_Void();
34291 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34292 PyObject
*resultobj
= 0;
34293 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34294 wxDragResult result
;
34297 PyObject
*swig_obj
[1] ;
34299 if (!args
) SWIG_fail
;
34300 swig_obj
[0] = args
;
34301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34302 if (!SWIG_IsOK(res1
)) {
34303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34305 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34309 wxPyEndAllowThreads(__tstate
);
34310 if (PyErr_Occurred()) SWIG_fail
;
34312 resultobj
= SWIG_From_int(static_cast< int >(result
));
34319 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34322 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34323 return SWIG_Py_Void();
34326 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34327 return SWIG_Python_InitShadowInstance(args
);
34330 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34331 PyObject
*resultobj
= 0;
34332 wxPyTextDropTarget
*result
= 0 ;
34334 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34337 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34338 wxPyEndAllowThreads(__tstate
);
34339 if (PyErr_Occurred()) SWIG_fail
;
34341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34348 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34349 PyObject
*resultobj
= 0;
34350 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34351 PyObject
*arg2
= (PyObject
*) 0 ;
34352 PyObject
*arg3
= (PyObject
*) 0 ;
34355 PyObject
* obj0
= 0 ;
34356 PyObject
* obj1
= 0 ;
34357 PyObject
* obj2
= 0 ;
34358 char * kwnames
[] = {
34359 (char *) "self",(char *) "self",(char *) "_class", NULL
34362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34364 if (!SWIG_IsOK(res1
)) {
34365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34367 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34372 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34376 resultobj
= SWIG_Py_Void();
34383 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34384 PyObject
*resultobj
= 0;
34385 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34388 wxString
*arg4
= 0 ;
34396 bool temp4
= false ;
34397 PyObject
* obj0
= 0 ;
34398 PyObject
* obj1
= 0 ;
34399 PyObject
* obj2
= 0 ;
34400 PyObject
* obj3
= 0 ;
34401 char * kwnames
[] = {
34402 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34407 if (!SWIG_IsOK(res1
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34410 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34412 if (!SWIG_IsOK(ecode2
)) {
34413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34415 arg2
= static_cast< int >(val2
);
34416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34417 if (!SWIG_IsOK(ecode3
)) {
34418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34420 arg3
= static_cast< int >(val3
);
34422 arg4
= wxString_in_helper(obj3
);
34423 if (arg4
== NULL
) SWIG_fail
;
34427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34428 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34429 wxPyEndAllowThreads(__tstate
);
34430 if (PyErr_Occurred()) SWIG_fail
;
34433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34449 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34450 PyObject
*resultobj
= 0;
34451 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34454 wxDragResult arg4
;
34455 wxDragResult result
;
34464 PyObject
* obj0
= 0 ;
34465 PyObject
* obj1
= 0 ;
34466 PyObject
* obj2
= 0 ;
34467 PyObject
* obj3
= 0 ;
34468 char * kwnames
[] = {
34469 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34474 if (!SWIG_IsOK(res1
)) {
34475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34477 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34479 if (!SWIG_IsOK(ecode2
)) {
34480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34482 arg2
= static_cast< int >(val2
);
34483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34484 if (!SWIG_IsOK(ecode3
)) {
34485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34487 arg3
= static_cast< int >(val3
);
34488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34489 if (!SWIG_IsOK(ecode4
)) {
34490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34492 arg4
= static_cast< wxDragResult
>(val4
);
34494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34495 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34496 wxPyEndAllowThreads(__tstate
);
34497 if (PyErr_Occurred()) SWIG_fail
;
34499 resultobj
= SWIG_From_int(static_cast< int >(result
));
34506 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34507 PyObject
*resultobj
= 0;
34508 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34511 wxDragResult arg4
;
34512 wxDragResult result
;
34521 PyObject
* obj0
= 0 ;
34522 PyObject
* obj1
= 0 ;
34523 PyObject
* obj2
= 0 ;
34524 PyObject
* obj3
= 0 ;
34525 char * kwnames
[] = {
34526 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34531 if (!SWIG_IsOK(res1
)) {
34532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34534 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34536 if (!SWIG_IsOK(ecode2
)) {
34537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34539 arg2
= static_cast< int >(val2
);
34540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34541 if (!SWIG_IsOK(ecode3
)) {
34542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34544 arg3
= static_cast< int >(val3
);
34545 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34546 if (!SWIG_IsOK(ecode4
)) {
34547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34549 arg4
= static_cast< wxDragResult
>(val4
);
34551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34552 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34553 wxPyEndAllowThreads(__tstate
);
34554 if (PyErr_Occurred()) SWIG_fail
;
34556 resultobj
= SWIG_From_int(static_cast< int >(result
));
34563 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34564 PyObject
*resultobj
= 0;
34565 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34568 PyObject
*swig_obj
[1] ;
34570 if (!args
) SWIG_fail
;
34571 swig_obj
[0] = args
;
34572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34573 if (!SWIG_IsOK(res1
)) {
34574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34576 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 wxPyEndAllowThreads(__tstate
);
34581 if (PyErr_Occurred()) SWIG_fail
;
34583 resultobj
= SWIG_Py_Void();
34590 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34591 PyObject
*resultobj
= 0;
34592 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34602 PyObject
* obj0
= 0 ;
34603 PyObject
* obj1
= 0 ;
34604 PyObject
* obj2
= 0 ;
34605 char * kwnames
[] = {
34606 (char *) "self",(char *) "x",(char *) "y", NULL
34609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34611 if (!SWIG_IsOK(res1
)) {
34612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34614 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34616 if (!SWIG_IsOK(ecode2
)) {
34617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34619 arg2
= static_cast< int >(val2
);
34620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34621 if (!SWIG_IsOK(ecode3
)) {
34622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34624 arg3
= static_cast< int >(val3
);
34626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34627 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34628 wxPyEndAllowThreads(__tstate
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34640 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34641 PyObject
*resultobj
= 0;
34642 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34645 wxDragResult arg4
;
34646 wxDragResult result
;
34655 PyObject
* obj0
= 0 ;
34656 PyObject
* obj1
= 0 ;
34657 PyObject
* obj2
= 0 ;
34658 PyObject
* obj3
= 0 ;
34659 char * kwnames
[] = {
34660 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34665 if (!SWIG_IsOK(res1
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34668 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34670 if (!SWIG_IsOK(ecode2
)) {
34671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34673 arg2
= static_cast< int >(val2
);
34674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34675 if (!SWIG_IsOK(ecode3
)) {
34676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34678 arg3
= static_cast< int >(val3
);
34679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34680 if (!SWIG_IsOK(ecode4
)) {
34681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34683 arg4
= static_cast< wxDragResult
>(val4
);
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= SWIG_From_int(static_cast< int >(result
));
34697 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34700 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34701 return SWIG_Py_Void();
34704 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34705 return SWIG_Python_InitShadowInstance(args
);
34708 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34709 PyObject
*resultobj
= 0;
34710 wxPyFileDropTarget
*result
= 0 ;
34712 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34715 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34716 wxPyEndAllowThreads(__tstate
);
34717 if (PyErr_Occurred()) SWIG_fail
;
34719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34726 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34727 PyObject
*resultobj
= 0;
34728 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34729 PyObject
*arg2
= (PyObject
*) 0 ;
34730 PyObject
*arg3
= (PyObject
*) 0 ;
34733 PyObject
* obj0
= 0 ;
34734 PyObject
* obj1
= 0 ;
34735 PyObject
* obj2
= 0 ;
34736 char * kwnames
[] = {
34737 (char *) "self",(char *) "self",(char *) "_class", NULL
34740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34742 if (!SWIG_IsOK(res1
)) {
34743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34745 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34750 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34751 wxPyEndAllowThreads(__tstate
);
34752 if (PyErr_Occurred()) SWIG_fail
;
34754 resultobj
= SWIG_Py_Void();
34761 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34762 PyObject
*resultobj
= 0;
34763 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34766 wxArrayString
*arg4
= 0 ;
34774 bool temp4
= false ;
34775 PyObject
* obj0
= 0 ;
34776 PyObject
* obj1
= 0 ;
34777 PyObject
* obj2
= 0 ;
34778 PyObject
* obj3
= 0 ;
34779 char * kwnames
[] = {
34780 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
34783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34785 if (!SWIG_IsOK(res1
)) {
34786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34788 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34790 if (!SWIG_IsOK(ecode2
)) {
34791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
34793 arg2
= static_cast< int >(val2
);
34794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34795 if (!SWIG_IsOK(ecode3
)) {
34796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
34798 arg3
= static_cast< int >(val3
);
34800 if (! PySequence_Check(obj3
)) {
34801 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34804 arg4
= new wxArrayString
;
34806 int i
, len
=PySequence_Length(obj3
);
34807 for (i
=0; i
<len
; i
++) {
34808 PyObject
* item
= PySequence_GetItem(obj3
, i
);
34809 wxString
* s
= wxString_in_helper(item
);
34810 if (PyErr_Occurred()) SWIG_fail
;
34817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34818 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
34819 wxPyEndAllowThreads(__tstate
);
34820 if (PyErr_Occurred()) SWIG_fail
;
34823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34826 if (temp4
) delete arg4
;
34831 if (temp4
) delete arg4
;
34837 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34838 PyObject
*resultobj
= 0;
34839 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34842 wxDragResult arg4
;
34843 wxDragResult result
;
34852 PyObject
* obj0
= 0 ;
34853 PyObject
* obj1
= 0 ;
34854 PyObject
* obj2
= 0 ;
34855 PyObject
* obj3
= 0 ;
34856 char * kwnames
[] = {
34857 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34862 if (!SWIG_IsOK(res1
)) {
34863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34865 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34867 if (!SWIG_IsOK(ecode2
)) {
34868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34870 arg2
= static_cast< int >(val2
);
34871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34872 if (!SWIG_IsOK(ecode3
)) {
34873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34875 arg3
= static_cast< int >(val3
);
34876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34877 if (!SWIG_IsOK(ecode4
)) {
34878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34880 arg4
= static_cast< wxDragResult
>(val4
);
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34887 resultobj
= SWIG_From_int(static_cast< int >(result
));
34894 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34895 PyObject
*resultobj
= 0;
34896 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34899 wxDragResult arg4
;
34900 wxDragResult result
;
34909 PyObject
* obj0
= 0 ;
34910 PyObject
* obj1
= 0 ;
34911 PyObject
* obj2
= 0 ;
34912 PyObject
* obj3
= 0 ;
34913 char * kwnames
[] = {
34914 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34919 if (!SWIG_IsOK(res1
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34922 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34924 if (!SWIG_IsOK(ecode2
)) {
34925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34927 arg2
= static_cast< int >(val2
);
34928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34929 if (!SWIG_IsOK(ecode3
)) {
34930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34932 arg3
= static_cast< int >(val3
);
34933 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34934 if (!SWIG_IsOK(ecode4
)) {
34935 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34937 arg4
= static_cast< wxDragResult
>(val4
);
34939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34940 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34941 wxPyEndAllowThreads(__tstate
);
34942 if (PyErr_Occurred()) SWIG_fail
;
34944 resultobj
= SWIG_From_int(static_cast< int >(result
));
34951 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34952 PyObject
*resultobj
= 0;
34953 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34956 PyObject
*swig_obj
[1] ;
34958 if (!args
) SWIG_fail
;
34959 swig_obj
[0] = args
;
34960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34961 if (!SWIG_IsOK(res1
)) {
34962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34964 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34968 wxPyEndAllowThreads(__tstate
);
34969 if (PyErr_Occurred()) SWIG_fail
;
34971 resultobj
= SWIG_Py_Void();
34978 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
= 0;
34980 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34990 PyObject
* obj0
= 0 ;
34991 PyObject
* obj1
= 0 ;
34992 PyObject
* obj2
= 0 ;
34993 char * kwnames
[] = {
34994 (char *) "self",(char *) "x",(char *) "y", NULL
34997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34999 if (!SWIG_IsOK(res1
)) {
35000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35002 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35004 if (!SWIG_IsOK(ecode2
)) {
35005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35007 arg2
= static_cast< int >(val2
);
35008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35009 if (!SWIG_IsOK(ecode3
)) {
35010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35012 arg3
= static_cast< int >(val3
);
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35016 wxPyEndAllowThreads(__tstate
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35028 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35029 PyObject
*resultobj
= 0;
35030 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35033 wxDragResult arg4
;
35034 wxDragResult result
;
35043 PyObject
* obj0
= 0 ;
35044 PyObject
* obj1
= 0 ;
35045 PyObject
* obj2
= 0 ;
35046 PyObject
* obj3
= 0 ;
35047 char * kwnames
[] = {
35048 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35053 if (!SWIG_IsOK(res1
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35056 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35058 if (!SWIG_IsOK(ecode2
)) {
35059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35061 arg2
= static_cast< int >(val2
);
35062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35063 if (!SWIG_IsOK(ecode3
)) {
35064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35066 arg3
= static_cast< int >(val3
);
35067 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35068 if (!SWIG_IsOK(ecode4
)) {
35069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35071 arg4
= static_cast< wxDragResult
>(val4
);
35073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35074 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35075 wxPyEndAllowThreads(__tstate
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35078 resultobj
= SWIG_From_int(static_cast< int >(result
));
35085 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35088 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35089 return SWIG_Py_Void();
35092 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35093 return SWIG_Python_InitShadowInstance(args
);
35096 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35097 PyObject
*resultobj
= 0;
35098 wxClipboard
*result
= 0 ;
35100 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35103 result
= (wxClipboard
*)new wxClipboard();
35104 wxPyEndAllowThreads(__tstate
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35114 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35115 PyObject
*resultobj
= 0;
35116 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35119 PyObject
*swig_obj
[1] ;
35121 if (!args
) SWIG_fail
;
35122 swig_obj
[0] = args
;
35123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35124 if (!SWIG_IsOK(res1
)) {
35125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35127 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 wxPyEndAllowThreads(__tstate
);
35133 if (PyErr_Occurred()) SWIG_fail
;
35135 resultobj
= SWIG_Py_Void();
35142 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35143 PyObject
*resultobj
= 0;
35144 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35148 PyObject
*swig_obj
[1] ;
35150 if (!args
) SWIG_fail
;
35151 swig_obj
[0] = args
;
35152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35153 if (!SWIG_IsOK(res1
)) {
35154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35156 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35159 result
= (bool)(arg1
)->Open();
35160 wxPyEndAllowThreads(__tstate
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35172 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35173 PyObject
*resultobj
= 0;
35174 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35177 PyObject
*swig_obj
[1] ;
35179 if (!args
) SWIG_fail
;
35180 swig_obj
[0] = args
;
35181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35182 if (!SWIG_IsOK(res1
)) {
35183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35185 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35189 wxPyEndAllowThreads(__tstate
);
35190 if (PyErr_Occurred()) SWIG_fail
;
35192 resultobj
= SWIG_Py_Void();
35199 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35200 PyObject
*resultobj
= 0;
35201 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35205 PyObject
*swig_obj
[1] ;
35207 if (!args
) SWIG_fail
;
35208 swig_obj
[0] = args
;
35209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35210 if (!SWIG_IsOK(res1
)) {
35211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35213 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35216 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35217 wxPyEndAllowThreads(__tstate
);
35218 if (PyErr_Occurred()) SWIG_fail
;
35221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35229 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
= 0;
35231 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35232 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35237 PyObject
* obj0
= 0 ;
35238 PyObject
* obj1
= 0 ;
35239 char * kwnames
[] = {
35240 (char *) "self",(char *) "data", NULL
35243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35245 if (!SWIG_IsOK(res1
)) {
35246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35248 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35249 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35250 if (!SWIG_IsOK(res2
)) {
35251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35255 result
= (bool)(arg1
)->AddData(arg2
);
35256 wxPyEndAllowThreads(__tstate
);
35257 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35268 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35269 PyObject
*resultobj
= 0;
35270 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35271 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35276 PyObject
* obj0
= 0 ;
35277 PyObject
* obj1
= 0 ;
35278 char * kwnames
[] = {
35279 (char *) "self",(char *) "data", NULL
35282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35284 if (!SWIG_IsOK(res1
)) {
35285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35287 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35288 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35289 if (!SWIG_IsOK(res2
)) {
35290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35294 result
= (bool)(arg1
)->SetData(arg2
);
35295 wxPyEndAllowThreads(__tstate
);
35296 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35307 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35308 PyObject
*resultobj
= 0;
35309 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35310 wxDataFormat
*arg2
= 0 ;
35316 PyObject
* obj0
= 0 ;
35317 PyObject
* obj1
= 0 ;
35318 char * kwnames
[] = {
35319 (char *) "self",(char *) "format", NULL
35322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35324 if (!SWIG_IsOK(res1
)) {
35325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35327 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35329 if (!SWIG_IsOK(res2
)) {
35330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35335 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35338 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35339 wxPyEndAllowThreads(__tstate
);
35340 if (PyErr_Occurred()) SWIG_fail
;
35343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35351 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35352 PyObject
*resultobj
= 0;
35353 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35354 wxDataObject
*arg2
= 0 ;
35360 PyObject
* obj0
= 0 ;
35361 PyObject
* obj1
= 0 ;
35362 char * kwnames
[] = {
35363 (char *) "self",(char *) "data", NULL
35366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35368 if (!SWIG_IsOK(res1
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35371 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35373 if (!SWIG_IsOK(res2
)) {
35374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35379 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35382 result
= (bool)(arg1
)->GetData(*arg2
);
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35395 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35396 PyObject
*resultobj
= 0;
35397 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35400 PyObject
*swig_obj
[1] ;
35402 if (!args
) SWIG_fail
;
35403 swig_obj
[0] = args
;
35404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35405 if (!SWIG_IsOK(res1
)) {
35406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35408 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35412 wxPyEndAllowThreads(__tstate
);
35413 if (PyErr_Occurred()) SWIG_fail
;
35415 resultobj
= SWIG_Py_Void();
35422 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35423 PyObject
*resultobj
= 0;
35424 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35428 PyObject
*swig_obj
[1] ;
35430 if (!args
) SWIG_fail
;
35431 swig_obj
[0] = args
;
35432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35433 if (!SWIG_IsOK(res1
)) {
35434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35436 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 result
= (bool)(arg1
)->Flush();
35440 wxPyEndAllowThreads(__tstate
);
35441 if (PyErr_Occurred()) SWIG_fail
;
35444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35452 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35453 PyObject
*resultobj
= 0;
35454 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35455 bool arg2
= (bool) true ;
35460 PyObject
* obj0
= 0 ;
35461 PyObject
* obj1
= 0 ;
35462 char * kwnames
[] = {
35463 (char *) "self",(char *) "primary", NULL
35466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35468 if (!SWIG_IsOK(res1
)) {
35469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35471 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35473 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35474 if (!SWIG_IsOK(ecode2
)) {
35475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35477 arg2
= static_cast< bool >(val2
);
35480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35481 (arg1
)->UsePrimarySelection(arg2
);
35482 wxPyEndAllowThreads(__tstate
);
35483 if (PyErr_Occurred()) SWIG_fail
;
35485 resultobj
= SWIG_Py_Void();
35492 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35493 PyObject
*resultobj
= 0;
35494 wxClipboard
*result
= 0 ;
35496 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35499 result
= (wxClipboard
*)wxClipboard::Get();
35500 wxPyEndAllowThreads(__tstate
);
35501 if (PyErr_Occurred()) SWIG_fail
;
35503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35510 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35513 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35514 return SWIG_Py_Void();
35517 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35518 return SWIG_Python_InitShadowInstance(args
);
35521 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
= 0;
35523 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35524 wxClipboardLocker
*result
= 0 ;
35527 PyObject
* obj0
= 0 ;
35528 char * kwnames
[] = {
35529 (char *) "clipboard", NULL
35532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35535 if (!SWIG_IsOK(res1
)) {
35536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35538 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35542 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35543 wxPyEndAllowThreads(__tstate
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35553 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35554 PyObject
*resultobj
= 0;
35555 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35558 PyObject
*swig_obj
[1] ;
35560 if (!args
) SWIG_fail
;
35561 swig_obj
[0] = args
;
35562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35563 if (!SWIG_IsOK(res1
)) {
35564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35566 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 wxPyEndAllowThreads(__tstate
);
35572 if (PyErr_Occurred()) SWIG_fail
;
35574 resultobj
= SWIG_Py_Void();
35581 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35582 PyObject
*resultobj
= 0;
35583 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35587 PyObject
*swig_obj
[1] ;
35589 if (!args
) SWIG_fail
;
35590 swig_obj
[0] = args
;
35591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35592 if (!SWIG_IsOK(res1
)) {
35593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35595 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35598 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35599 wxPyEndAllowThreads(__tstate
);
35600 if (PyErr_Occurred()) SWIG_fail
;
35603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35611 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35614 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35615 return SWIG_Py_Void();
35618 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35619 return SWIG_Python_InitShadowInstance(args
);
35622 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35623 PyObject
*resultobj
= 0;
35624 int arg1
= (int) 0 ;
35625 int arg2
= (int) 0 ;
35626 int arg3
= (int) 0 ;
35627 int arg4
= (int) 0 ;
35628 wxVideoMode
*result
= 0 ;
35637 PyObject
* obj0
= 0 ;
35638 PyObject
* obj1
= 0 ;
35639 PyObject
* obj2
= 0 ;
35640 PyObject
* obj3
= 0 ;
35641 char * kwnames
[] = {
35642 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35647 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35648 if (!SWIG_IsOK(ecode1
)) {
35649 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35651 arg1
= static_cast< int >(val1
);
35654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35655 if (!SWIG_IsOK(ecode2
)) {
35656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35658 arg2
= static_cast< int >(val2
);
35661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35662 if (!SWIG_IsOK(ecode3
)) {
35663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35665 arg3
= static_cast< int >(val3
);
35668 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35669 if (!SWIG_IsOK(ecode4
)) {
35670 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35672 arg4
= static_cast< int >(val4
);
35675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35687 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35688 PyObject
*resultobj
= 0;
35689 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35692 PyObject
*swig_obj
[1] ;
35694 if (!args
) SWIG_fail
;
35695 swig_obj
[0] = args
;
35696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35697 if (!SWIG_IsOK(res1
)) {
35698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35700 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35705 wxPyEndAllowThreads(__tstate
);
35706 if (PyErr_Occurred()) SWIG_fail
;
35708 resultobj
= SWIG_Py_Void();
35715 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35716 PyObject
*resultobj
= 0;
35717 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35718 wxVideoMode
*arg2
= 0 ;
35724 PyObject
* obj0
= 0 ;
35725 PyObject
* obj1
= 0 ;
35726 char * kwnames
[] = {
35727 (char *) "self",(char *) "other", NULL
35730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35732 if (!SWIG_IsOK(res1
)) {
35733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35735 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35737 if (!SWIG_IsOK(res2
)) {
35738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35743 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35746 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35747 wxPyEndAllowThreads(__tstate
);
35748 if (PyErr_Occurred()) SWIG_fail
;
35751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35759 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35760 PyObject
*resultobj
= 0;
35761 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35765 PyObject
*swig_obj
[1] ;
35767 if (!args
) SWIG_fail
;
35768 swig_obj
[0] = args
;
35769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35770 if (!SWIG_IsOK(res1
)) {
35771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35773 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35776 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
35777 wxPyEndAllowThreads(__tstate
);
35778 if (PyErr_Occurred()) SWIG_fail
;
35780 resultobj
= SWIG_From_int(static_cast< int >(result
));
35787 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35788 PyObject
*resultobj
= 0;
35789 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35793 PyObject
*swig_obj
[1] ;
35795 if (!args
) SWIG_fail
;
35796 swig_obj
[0] = args
;
35797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35798 if (!SWIG_IsOK(res1
)) {
35799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35801 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35804 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35808 resultobj
= SWIG_From_int(static_cast< int >(result
));
35815 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35816 PyObject
*resultobj
= 0;
35817 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35821 PyObject
*swig_obj
[1] ;
35823 if (!args
) SWIG_fail
;
35824 swig_obj
[0] = args
;
35825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35826 if (!SWIG_IsOK(res1
)) {
35827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35829 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35832 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
35833 wxPyEndAllowThreads(__tstate
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35836 resultobj
= SWIG_From_int(static_cast< int >(result
));
35843 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35844 PyObject
*resultobj
= 0;
35845 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35849 PyObject
*swig_obj
[1] ;
35851 if (!args
) SWIG_fail
;
35852 swig_obj
[0] = args
;
35853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35854 if (!SWIG_IsOK(res1
)) {
35855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35857 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35860 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
35861 wxPyEndAllowThreads(__tstate
);
35862 if (PyErr_Occurred()) SWIG_fail
;
35865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35873 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35874 PyObject
*resultobj
= 0;
35875 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35876 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35882 PyObject
* obj0
= 0 ;
35883 PyObject
* obj1
= 0 ;
35884 char * kwnames
[] = {
35885 (char *) "self",(char *) "other", NULL
35888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35890 if (!SWIG_IsOK(res1
)) {
35891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35893 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35895 if (!SWIG_IsOK(res2
)) {
35896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35898 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35901 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
35902 wxPyEndAllowThreads(__tstate
);
35903 if (PyErr_Occurred()) SWIG_fail
;
35906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35914 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35915 PyObject
*resultobj
= 0;
35916 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35917 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35923 PyObject
* obj0
= 0 ;
35924 PyObject
* obj1
= 0 ;
35925 char * kwnames
[] = {
35926 (char *) "self",(char *) "other", NULL
35929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35931 if (!SWIG_IsOK(res1
)) {
35932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35934 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35936 if (!SWIG_IsOK(res2
)) {
35937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35939 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35942 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
35943 wxPyEndAllowThreads(__tstate
);
35944 if (PyErr_Occurred()) SWIG_fail
;
35947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35955 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35956 PyObject
*resultobj
= 0;
35957 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35963 PyObject
*swig_obj
[2] ;
35965 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
35966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35967 if (!SWIG_IsOK(res1
)) {
35968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35970 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35971 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35972 if (!SWIG_IsOK(ecode2
)) {
35973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
35975 arg2
= static_cast< int >(val2
);
35976 if (arg1
) (arg1
)->w
= arg2
;
35978 resultobj
= SWIG_Py_Void();
35985 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35986 PyObject
*resultobj
= 0;
35987 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35991 PyObject
*swig_obj
[1] ;
35993 if (!args
) SWIG_fail
;
35994 swig_obj
[0] = args
;
35995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35996 if (!SWIG_IsOK(res1
)) {
35997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35999 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36000 result
= (int) ((arg1
)->w
);
36001 resultobj
= SWIG_From_int(static_cast< int >(result
));
36008 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36009 PyObject
*resultobj
= 0;
36010 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36016 PyObject
*swig_obj
[2] ;
36018 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36020 if (!SWIG_IsOK(res1
)) {
36021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36023 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36024 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36025 if (!SWIG_IsOK(ecode2
)) {
36026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36028 arg2
= static_cast< int >(val2
);
36029 if (arg1
) (arg1
)->h
= arg2
;
36031 resultobj
= SWIG_Py_Void();
36038 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36039 PyObject
*resultobj
= 0;
36040 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36044 PyObject
*swig_obj
[1] ;
36046 if (!args
) SWIG_fail
;
36047 swig_obj
[0] = args
;
36048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36049 if (!SWIG_IsOK(res1
)) {
36050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36052 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36053 result
= (int) ((arg1
)->h
);
36054 resultobj
= SWIG_From_int(static_cast< int >(result
));
36061 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36062 PyObject
*resultobj
= 0;
36063 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36069 PyObject
*swig_obj
[2] ;
36071 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36073 if (!SWIG_IsOK(res1
)) {
36074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36076 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36077 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36078 if (!SWIG_IsOK(ecode2
)) {
36079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36081 arg2
= static_cast< int >(val2
);
36082 if (arg1
) (arg1
)->bpp
= arg2
;
36084 resultobj
= SWIG_Py_Void();
36091 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36092 PyObject
*resultobj
= 0;
36093 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36097 PyObject
*swig_obj
[1] ;
36099 if (!args
) SWIG_fail
;
36100 swig_obj
[0] = args
;
36101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36102 if (!SWIG_IsOK(res1
)) {
36103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36105 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36106 result
= (int) ((arg1
)->bpp
);
36107 resultobj
= SWIG_From_int(static_cast< int >(result
));
36114 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36115 PyObject
*resultobj
= 0;
36116 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36122 PyObject
*swig_obj
[2] ;
36124 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36126 if (!SWIG_IsOK(res1
)) {
36127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36129 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36130 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36131 if (!SWIG_IsOK(ecode2
)) {
36132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36134 arg2
= static_cast< int >(val2
);
36135 if (arg1
) (arg1
)->refresh
= arg2
;
36137 resultobj
= SWIG_Py_Void();
36144 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36145 PyObject
*resultobj
= 0;
36146 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36150 PyObject
*swig_obj
[1] ;
36152 if (!args
) SWIG_fail
;
36153 swig_obj
[0] = args
;
36154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36155 if (!SWIG_IsOK(res1
)) {
36156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36158 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36159 result
= (int) ((arg1
)->refresh
);
36160 resultobj
= SWIG_From_int(static_cast< int >(result
));
36167 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36170 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36171 return SWIG_Py_Void();
36174 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36175 return SWIG_Python_InitShadowInstance(args
);
36178 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36179 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36184 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36185 PyObject
*pyobj
= 0;
36187 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36192 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36193 PyObject
*resultobj
= 0;
36194 size_t arg1
= (size_t) 0 ;
36195 wxDisplay
*result
= 0 ;
36198 PyObject
* obj0
= 0 ;
36199 char * kwnames
[] = {
36200 (char *) "index", NULL
36203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36205 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
36206 if (!SWIG_IsOK(ecode1
)) {
36207 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
36209 arg1
= static_cast< size_t >(val1
);
36212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36213 result
= (wxDisplay
*)new wxDisplay(arg1
);
36214 wxPyEndAllowThreads(__tstate
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36224 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36225 PyObject
*resultobj
= 0;
36226 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36229 PyObject
*swig_obj
[1] ;
36231 if (!args
) SWIG_fail
;
36232 swig_obj
[0] = args
;
36233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36234 if (!SWIG_IsOK(res1
)) {
36235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36237 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36245 resultobj
= SWIG_Py_Void();
36252 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36253 PyObject
*resultobj
= 0;
36256 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36259 result
= (size_t)wxDisplay::GetCount();
36260 wxPyEndAllowThreads(__tstate
);
36261 if (PyErr_Occurred()) SWIG_fail
;
36263 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
36270 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36271 PyObject
*resultobj
= 0;
36272 wxPoint
*arg1
= 0 ;
36275 PyObject
* obj0
= 0 ;
36276 char * kwnames
[] = {
36277 (char *) "pt", NULL
36280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36283 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36287 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36288 wxPyEndAllowThreads(__tstate
);
36289 if (PyErr_Occurred()) SWIG_fail
;
36291 resultobj
= SWIG_From_int(static_cast< int >(result
));
36298 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36299 PyObject
*resultobj
= 0;
36300 wxWindow
*arg1
= (wxWindow
*) 0 ;
36304 PyObject
* obj0
= 0 ;
36305 char * kwnames
[] = {
36306 (char *) "window", NULL
36309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36311 if (!SWIG_IsOK(res1
)) {
36312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36317 result
= (int)wxDisplay::GetFromWindow(arg1
);
36318 wxPyEndAllowThreads(__tstate
);
36319 if (PyErr_Occurred()) SWIG_fail
;
36321 resultobj
= SWIG_From_int(static_cast< int >(result
));
36328 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36329 PyObject
*resultobj
= 0;
36330 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36334 PyObject
*swig_obj
[1] ;
36336 if (!args
) SWIG_fail
;
36337 swig_obj
[0] = args
;
36338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36339 if (!SWIG_IsOK(res1
)) {
36340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36342 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36345 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36358 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36359 PyObject
*resultobj
= 0;
36360 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36364 PyObject
*swig_obj
[1] ;
36366 if (!args
) SWIG_fail
;
36367 swig_obj
[0] = args
;
36368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36369 if (!SWIG_IsOK(res1
)) {
36370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36372 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36375 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36376 wxPyEndAllowThreads(__tstate
);
36377 if (PyErr_Occurred()) SWIG_fail
;
36379 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36386 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36387 PyObject
*resultobj
= 0;
36388 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36392 PyObject
*swig_obj
[1] ;
36394 if (!args
) SWIG_fail
;
36395 swig_obj
[0] = args
;
36396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36397 if (!SWIG_IsOK(res1
)) {
36398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36400 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36403 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36404 wxPyEndAllowThreads(__tstate
);
36405 if (PyErr_Occurred()) SWIG_fail
;
36407 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36414 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36415 PyObject
*resultobj
= 0;
36416 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36420 PyObject
*swig_obj
[1] ;
36422 if (!args
) SWIG_fail
;
36423 swig_obj
[0] = args
;
36424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36425 if (!SWIG_IsOK(res1
)) {
36426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36428 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36431 result
= ((wxDisplay
const *)arg1
)->GetName();
36432 wxPyEndAllowThreads(__tstate
);
36433 if (PyErr_Occurred()) SWIG_fail
;
36437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36448 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36449 PyObject
*resultobj
= 0;
36450 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36454 PyObject
*swig_obj
[1] ;
36456 if (!args
) SWIG_fail
;
36457 swig_obj
[0] = args
;
36458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36459 if (!SWIG_IsOK(res1
)) {
36460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36462 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36466 wxPyEndAllowThreads(__tstate
);
36467 if (PyErr_Occurred()) SWIG_fail
;
36470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36478 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36479 PyObject
*resultobj
= 0;
36480 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36481 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36482 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36483 PyObject
*result
= 0 ;
36488 PyObject
* obj0
= 0 ;
36489 PyObject
* obj1
= 0 ;
36490 char * kwnames
[] = {
36491 (char *) "self",(char *) "mode", NULL
36494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36496 if (!SWIG_IsOK(res1
)) {
36497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36499 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36501 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36502 if (!SWIG_IsOK(res2
)) {
36503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36508 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= result
;
36523 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36524 PyObject
*resultobj
= 0;
36525 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36526 wxVideoMode result
;
36529 PyObject
*swig_obj
[1] ;
36531 if (!args
) SWIG_fail
;
36532 swig_obj
[0] = args
;
36533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36534 if (!SWIG_IsOK(res1
)) {
36535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36537 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36540 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36541 wxPyEndAllowThreads(__tstate
);
36542 if (PyErr_Occurred()) SWIG_fail
;
36544 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36551 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36552 PyObject
*resultobj
= 0;
36553 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36554 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36555 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36561 PyObject
* obj0
= 0 ;
36562 PyObject
* obj1
= 0 ;
36563 char * kwnames
[] = {
36564 (char *) "self",(char *) "mode", NULL
36567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36569 if (!SWIG_IsOK(res1
)) {
36570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36572 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36575 if (!SWIG_IsOK(res2
)) {
36576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36581 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36585 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36586 wxPyEndAllowThreads(__tstate
);
36587 if (PyErr_Occurred()) SWIG_fail
;
36590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36598 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36599 PyObject
*resultobj
= 0;
36600 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36603 PyObject
*swig_obj
[1] ;
36605 if (!args
) SWIG_fail
;
36606 swig_obj
[0] = args
;
36607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36608 if (!SWIG_IsOK(res1
)) {
36609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36611 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36614 wxDisplay_ResetMode(arg1
);
36615 wxPyEndAllowThreads(__tstate
);
36616 if (PyErr_Occurred()) SWIG_fail
;
36618 resultobj
= SWIG_Py_Void();
36625 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36628 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36629 return SWIG_Py_Void();
36632 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36633 return SWIG_Python_InitShadowInstance(args
);
36636 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36637 PyObject
*resultobj
= 0;
36638 wxStandardPaths
*result
= 0 ;
36640 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36643 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36644 wxPyEndAllowThreads(__tstate
);
36645 if (PyErr_Occurred()) SWIG_fail
;
36647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36654 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36655 PyObject
*resultobj
= 0;
36656 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36660 PyObject
*swig_obj
[1] ;
36662 if (!args
) SWIG_fail
;
36663 swig_obj
[0] = args
;
36664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36665 if (!SWIG_IsOK(res1
)) {
36666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36668 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36672 wxPyEndAllowThreads(__tstate
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36688 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36689 PyObject
*resultobj
= 0;
36690 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36694 PyObject
*swig_obj
[1] ;
36696 if (!args
) SWIG_fail
;
36697 swig_obj
[0] = args
;
36698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36699 if (!SWIG_IsOK(res1
)) {
36700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36702 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36705 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36706 wxPyEndAllowThreads(__tstate
);
36707 if (PyErr_Occurred()) SWIG_fail
;
36711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36722 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36723 PyObject
*resultobj
= 0;
36724 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36728 PyObject
*swig_obj
[1] ;
36730 if (!args
) SWIG_fail
;
36731 swig_obj
[0] = args
;
36732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36733 if (!SWIG_IsOK(res1
)) {
36734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36736 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36739 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
36740 wxPyEndAllowThreads(__tstate
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36756 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36757 PyObject
*resultobj
= 0;
36758 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36762 PyObject
*swig_obj
[1] ;
36764 if (!args
) SWIG_fail
;
36765 swig_obj
[0] = args
;
36766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36767 if (!SWIG_IsOK(res1
)) {
36768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36770 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36773 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
36774 wxPyEndAllowThreads(__tstate
);
36775 if (PyErr_Occurred()) SWIG_fail
;
36779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36790 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36791 PyObject
*resultobj
= 0;
36792 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36796 PyObject
*swig_obj
[1] ;
36798 if (!args
) SWIG_fail
;
36799 swig_obj
[0] = args
;
36800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36801 if (!SWIG_IsOK(res1
)) {
36802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36804 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36807 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36824 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36825 PyObject
*resultobj
= 0;
36826 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36830 PyObject
*swig_obj
[1] ;
36832 if (!args
) SWIG_fail
;
36833 swig_obj
[0] = args
;
36834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36835 if (!SWIG_IsOK(res1
)) {
36836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36838 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
36842 wxPyEndAllowThreads(__tstate
);
36843 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36858 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36859 PyObject
*resultobj
= 0;
36860 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36864 PyObject
*swig_obj
[1] ;
36866 if (!args
) SWIG_fail
;
36867 swig_obj
[0] = args
;
36868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36869 if (!SWIG_IsOK(res1
)) {
36870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36872 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36875 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
36876 wxPyEndAllowThreads(__tstate
);
36877 if (PyErr_Occurred()) SWIG_fail
;
36881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36892 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36893 PyObject
*resultobj
= 0;
36894 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36898 PyObject
*swig_obj
[1] ;
36900 if (!args
) SWIG_fail
;
36901 swig_obj
[0] = args
;
36902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36903 if (!SWIG_IsOK(res1
)) {
36904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36906 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36909 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
36910 wxPyEndAllowThreads(__tstate
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36926 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36927 PyObject
*resultobj
= 0;
36928 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36929 wxString
*arg2
= 0 ;
36930 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
36934 bool temp2
= false ;
36937 PyObject
* obj0
= 0 ;
36938 PyObject
* obj1
= 0 ;
36939 PyObject
* obj2
= 0 ;
36940 char * kwnames
[] = {
36941 (char *) "self",(char *) "lang",(char *) "category", NULL
36944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36946 if (!SWIG_IsOK(res1
)) {
36947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36949 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36951 arg2
= wxString_in_helper(obj1
);
36952 if (arg2
== NULL
) SWIG_fail
;
36956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36957 if (!SWIG_IsOK(ecode3
)) {
36958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
36960 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
36963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36964 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
36965 wxPyEndAllowThreads(__tstate
);
36966 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36989 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36990 PyObject
*resultobj
= 0;
36991 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36995 PyObject
*swig_obj
[1] ;
36997 if (!args
) SWIG_fail
;
36998 swig_obj
[0] = args
;
36999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37000 if (!SWIG_IsOK(res1
)) {
37001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37003 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37006 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37007 wxPyEndAllowThreads(__tstate
);
37008 if (PyErr_Occurred()) SWIG_fail
;
37012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37023 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37024 PyObject
*resultobj
= 0;
37025 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37026 wxString
*arg2
= 0 ;
37029 bool temp2
= false ;
37030 PyObject
* obj0
= 0 ;
37031 PyObject
* obj1
= 0 ;
37032 char * kwnames
[] = {
37033 (char *) "self",(char *) "prefix", NULL
37036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37038 if (!SWIG_IsOK(res1
)) {
37039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37041 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37043 arg2
= wxString_in_helper(obj1
);
37044 if (arg2
== NULL
) SWIG_fail
;
37048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37049 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
37050 wxPyEndAllowThreads(__tstate
);
37051 if (PyErr_Occurred()) SWIG_fail
;
37053 resultobj
= SWIG_Py_Void();
37068 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37069 PyObject
*resultobj
= 0;
37070 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37074 PyObject
*swig_obj
[1] ;
37076 if (!args
) SWIG_fail
;
37077 swig_obj
[0] = args
;
37078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37079 if (!SWIG_IsOK(res1
)) {
37080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37082 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37085 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
37086 wxPyEndAllowThreads(__tstate
);
37087 if (PyErr_Occurred()) SWIG_fail
;
37091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37102 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37105 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37106 return SWIG_Py_Void();
37109 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37110 PyObject
*resultobj
= 0;
37112 wxPowerEvent
*result
= 0 ;
37115 PyObject
* obj0
= 0 ;
37116 char * kwnames
[] = {
37117 (char *) "evtType", NULL
37120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37122 if (!SWIG_IsOK(ecode1
)) {
37123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37125 arg1
= static_cast< wxEventType
>(val1
);
37127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37128 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37129 wxPyEndAllowThreads(__tstate
);
37130 if (PyErr_Occurred()) SWIG_fail
;
37132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37139 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37140 PyObject
*resultobj
= 0;
37141 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37144 PyObject
*swig_obj
[1] ;
37146 if (!args
) SWIG_fail
;
37147 swig_obj
[0] = args
;
37148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37149 if (!SWIG_IsOK(res1
)) {
37150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37152 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37156 wxPyEndAllowThreads(__tstate
);
37157 if (PyErr_Occurred()) SWIG_fail
;
37159 resultobj
= SWIG_Py_Void();
37166 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37167 PyObject
*resultobj
= 0;
37168 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37172 PyObject
*swig_obj
[1] ;
37174 if (!args
) SWIG_fail
;
37175 swig_obj
[0] = args
;
37176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37177 if (!SWIG_IsOK(res1
)) {
37178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37180 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37183 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37196 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37199 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37200 return SWIG_Py_Void();
37203 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37204 return SWIG_Python_InitShadowInstance(args
);
37207 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37208 PyObject
*resultobj
= 0;
37209 wxPowerType result
;
37211 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37214 result
= (wxPowerType
)wxGetPowerType();
37215 wxPyEndAllowThreads(__tstate
);
37216 if (PyErr_Occurred()) SWIG_fail
;
37218 resultobj
= SWIG_From_int(static_cast< int >(result
));
37225 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37226 PyObject
*resultobj
= 0;
37227 wxBatteryState result
;
37229 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37232 result
= (wxBatteryState
)wxGetBatteryState();
37233 wxPyEndAllowThreads(__tstate
);
37234 if (PyErr_Occurred()) SWIG_fail
;
37236 resultobj
= SWIG_From_int(static_cast< int >(result
));
37243 static PyMethodDef SwigMethods
[] = {
37244 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37245 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37246 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37247 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37248 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
37249 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37250 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
37251 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
37252 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37253 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37254 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37255 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37256 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37257 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37258 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
37259 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
37260 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
37261 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37262 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
37263 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37264 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37265 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37266 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37267 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
37268 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
37269 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37270 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
37271 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
37272 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37273 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
37274 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
37275 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
37276 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
37277 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
37278 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
37279 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37280 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37281 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37282 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37283 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37284 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37285 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
37286 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
37287 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
37288 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
37289 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
37290 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
37291 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37292 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
37293 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
37294 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37295 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37296 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37297 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37298 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37299 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37300 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37301 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37302 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37303 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37304 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
37305 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
37306 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
37307 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
37308 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
37309 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
37310 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
37311 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
37312 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
37313 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37314 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
37315 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37316 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
37317 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
37318 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
37319 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37320 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37321 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37322 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37323 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37324 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
37325 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
37326 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
37327 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
37328 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
37329 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
37330 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
37331 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
37332 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
37333 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
37334 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
37335 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
37336 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37337 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37338 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37339 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37340 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37341 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37342 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37343 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37344 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37345 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
37346 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
37347 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
37348 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
37349 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
37350 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
37351 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
37352 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
37353 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
37354 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
37355 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
37356 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37357 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
37358 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37359 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
37360 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
37361 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37362 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37363 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
37364 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
37365 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37366 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
37367 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
37368 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
37369 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
37370 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
37371 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
37372 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
37373 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
37374 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
37375 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37376 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37377 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37378 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37379 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37380 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
37381 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
37382 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37383 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
37384 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
37385 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37386 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
37387 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
37388 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
37389 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37390 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
37391 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
37392 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
37393 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37394 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
37395 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
37396 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
37397 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
37398 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37399 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
37400 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
37401 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
37402 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
37403 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
37404 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37405 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
37406 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37407 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37408 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
37409 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37410 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37411 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37412 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37413 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
37414 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37415 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37416 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
37417 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
37418 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
37419 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37420 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
37421 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
37422 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37423 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
37424 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
37425 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
37426 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
37427 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37428 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37429 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
37430 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
37431 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
37432 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
37433 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
37434 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
37435 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
37436 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
37437 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
37438 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
37439 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
37440 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
37441 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
37442 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
37443 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
37444 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37445 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37446 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37447 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37448 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37449 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37450 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
37451 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
37452 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
37453 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37454 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
37455 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
37456 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
37457 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37458 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
37459 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37460 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37461 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
37462 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
37463 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37464 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37465 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37466 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
37467 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37468 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37469 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
37470 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37471 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
37472 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
37473 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
37474 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
37475 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
37476 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
37477 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
37478 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
37479 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37480 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
37481 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
37482 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
37483 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
37484 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
37485 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37486 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
37487 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
37488 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
37489 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
37490 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
37491 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37492 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37493 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
37494 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
37495 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
37496 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37497 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
37498 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
37499 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37500 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37501 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37502 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37503 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
37504 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37505 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37506 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37507 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
37508 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
37509 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37510 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
37511 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
37512 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37513 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
37514 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
37515 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
37516 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
37517 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
37518 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
37519 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
37520 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
37521 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
37522 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37523 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
37524 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
37525 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
37526 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
37527 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
37528 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37529 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37530 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
37531 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
37532 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
37533 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37534 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
37535 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
37536 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37537 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37538 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37539 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
37540 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
37541 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
37542 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
37543 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
37544 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
37545 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
37546 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
37547 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
37548 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37549 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37550 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37551 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37552 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37553 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37554 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37555 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37556 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37557 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37558 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37559 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37560 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
37561 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37562 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
37563 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
37564 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
37565 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
37566 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
37567 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37568 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
37569 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
37570 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37571 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37572 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37573 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37574 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37575 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37576 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
37577 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
37578 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
37579 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
37580 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
37581 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
37582 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
37583 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
37584 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
37585 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
37586 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
37587 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
37588 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37589 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
37590 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
37591 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
37592 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
37593 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
37594 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
37595 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
37596 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
37597 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37598 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37599 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37600 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
37601 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
37602 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
37603 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
37604 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
37605 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
37606 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
37607 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
37608 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
37609 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
37610 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37611 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
37612 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
37613 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
37614 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
37615 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
37616 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
37617 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
37618 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
37619 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
37620 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
37621 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
37622 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
37623 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
37624 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
37625 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
37626 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
37627 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
37628 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
37629 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
37630 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
37631 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
37632 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
37633 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
37634 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
37635 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
37636 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
37637 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
37638 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
37639 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
37640 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
37641 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37642 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
37643 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
37644 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
37645 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37646 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
37647 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
37648 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
37649 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
37650 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
37651 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37652 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37653 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37654 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37655 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37656 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
37657 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
37658 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
37659 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37660 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37661 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37662 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
37663 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
37664 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37665 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37666 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
37667 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37668 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37669 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
37670 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37671 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37672 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
37673 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
37674 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
37675 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37676 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37677 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
37678 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
37679 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37680 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37681 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
37682 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
37683 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
37684 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
37685 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
37686 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
37687 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
37688 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
37689 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
37690 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
37691 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
37692 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37693 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
37694 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
37695 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
37696 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
37697 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
37698 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
37699 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
37700 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37701 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37702 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37703 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37704 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37705 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
37706 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37707 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
37708 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
37709 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37710 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
37711 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37712 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
37713 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37714 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37715 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37716 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37717 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
37718 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37719 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37720 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37721 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
37722 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
37723 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
37724 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
37725 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
37726 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37727 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37728 { (char *)"ArtProvider_InsertProvider", (PyCFunction
) _wrap_ArtProvider_InsertProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37729 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
37730 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37731 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37732 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37733 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37734 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
37735 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
37736 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
37737 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
37738 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37739 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37740 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
37741 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37742 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37743 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
37744 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
37745 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37746 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
37747 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37748 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37749 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37750 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37751 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37752 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37753 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37754 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37755 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37756 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37757 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37758 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37759 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37760 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37761 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37762 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37763 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37764 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37765 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37766 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37767 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
37768 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37769 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
37770 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37771 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
37772 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37773 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
37774 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
37775 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37776 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37777 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37778 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
37779 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
37780 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37781 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
37782 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
37783 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
37784 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37785 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
37786 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
37787 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
37788 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37789 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
37790 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
37791 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
37792 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
37793 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37794 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37795 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
37796 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37797 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37798 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37799 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37800 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37801 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37802 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37803 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37804 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37805 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37806 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
37807 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37808 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37809 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37810 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
37811 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
37812 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
37813 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
37814 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37815 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37816 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37817 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37818 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37819 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
37820 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
37821 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37822 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37823 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37824 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37825 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
37826 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37827 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37828 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37829 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37830 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37831 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37832 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37833 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37834 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37835 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37836 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37837 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37838 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37839 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37840 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37841 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37842 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37843 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37844 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37845 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37846 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37847 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37848 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37849 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
37850 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
37851 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
37852 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
37853 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
37854 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37855 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37856 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37857 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37858 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37859 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37860 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37861 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37862 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37863 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37864 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37865 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
37866 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
37867 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37868 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37869 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37870 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37871 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37872 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37873 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37874 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37875 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37876 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37877 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37878 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37879 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37880 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37881 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37882 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37883 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37884 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37885 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37886 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37887 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37888 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37889 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37890 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37891 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37892 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
37893 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
37894 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
37895 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
37896 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37897 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37898 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37899 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37900 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37901 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37902 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37903 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37904 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37905 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37906 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37907 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37908 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
37909 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
37910 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
37911 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
37912 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
37913 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
37914 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37915 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
37916 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37917 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
37918 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37919 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
37920 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37921 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
37922 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37923 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
37924 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37925 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
37926 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37927 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
37928 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37929 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37930 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37931 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
37932 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
37933 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37934 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37935 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37936 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
37937 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37938 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37939 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37940 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37941 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37942 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37943 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37944 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37945 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37946 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37947 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
37948 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
37949 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
37950 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37951 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37952 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37953 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
37954 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
37955 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
37956 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
37957 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
37958 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
37959 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37960 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
37961 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
37962 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37963 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
37964 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37965 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
37966 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37967 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
37968 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37969 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
37970 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37971 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
37972 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37973 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37974 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37975 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37976 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
37977 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
37978 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
37979 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
37980 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
37981 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37982 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37983 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
37984 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37985 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37986 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37987 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
37988 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37989 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37990 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37991 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37992 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37993 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37994 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37995 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
37996 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
37997 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
37998 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
37999 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
38000 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
38001 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38002 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38003 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
38004 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
38005 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
38006 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38007 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
38008 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
38009 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38010 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
38011 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
38012 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
38013 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38014 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38015 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38016 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38017 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38018 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38019 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38020 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
38021 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38022 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
38023 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38024 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
38025 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
38026 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38027 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
38028 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
38029 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38030 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38031 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
38032 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
38033 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
38034 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38035 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
38036 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
38037 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
38038 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38039 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
38040 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
38041 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38042 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
38043 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
38044 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38045 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38046 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
38047 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
38048 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38049 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
38050 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38051 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
38052 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
38053 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38054 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38055 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
38056 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
38057 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
38058 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
38059 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38060 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
38061 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
38062 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
38063 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38064 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
38065 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
38066 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
38067 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
38068 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38069 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
38070 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38071 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
38072 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
38073 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
38074 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
38075 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
38076 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38077 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38078 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38079 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
38080 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38081 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
38082 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38083 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38084 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38085 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
38086 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
38087 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38088 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38089 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
38090 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
38091 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38092 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38093 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38094 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
38095 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38096 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
38097 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38098 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
38099 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
38100 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
38101 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
38102 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38103 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38104 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38105 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38106 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
38107 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38108 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38109 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
38110 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
38111 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
38112 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38113 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38114 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38115 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38116 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
38117 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38118 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38119 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
38120 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
38121 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
38122 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
38123 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
38124 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
38125 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
38126 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38127 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38128 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38129 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38130 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
38131 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
38132 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38133 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
38134 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
38135 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
38136 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38137 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
38138 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
38139 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
38140 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
38141 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38142 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
38143 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38144 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
38145 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
38146 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
38147 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
38148 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38149 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38150 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
38151 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
38152 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
38153 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
38154 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
38155 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
38156 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
38157 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
38158 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
38159 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
38160 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38161 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
38162 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
38163 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38164 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38165 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
38166 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
38167 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
38168 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
38169 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
38170 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38171 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
38172 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38173 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
38174 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
38175 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
38176 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
38177 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
38178 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
38179 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
38180 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
38181 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
38182 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
38183 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
38184 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
38185 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38186 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
38187 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38188 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
38189 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
38190 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38191 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
38192 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
38193 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
38194 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
38195 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
38196 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
38197 { NULL
, NULL
, 0, NULL
}
38201 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
38203 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
38204 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38206 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
38207 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
38209 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
38210 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
38212 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
38213 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
38215 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
38216 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
38218 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
38219 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
38221 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
38222 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
38224 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
38225 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
38227 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
38228 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
38230 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
38231 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
38233 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
38234 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38236 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
38237 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38239 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
38240 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
38242 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
38243 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
38245 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
38246 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
38248 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
38249 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38251 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
38252 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38254 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
38255 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
38257 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
38258 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
38260 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
38261 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
38263 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
38264 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
38266 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
38267 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
38269 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
38270 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
38272 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
38273 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
38275 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
38276 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
38278 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
38279 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38281 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
38282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38284 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
38285 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38287 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
38288 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38290 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
38291 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38293 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
38294 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38296 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
38297 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
38299 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
38300 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
38302 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
38303 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38305 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
38306 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
38308 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
38309 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
38311 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
38312 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
38314 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
38315 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38317 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
38318 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38320 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
38321 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38323 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
38324 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
38326 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
38327 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
38329 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
38330 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
38332 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
38333 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
38335 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
38336 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38338 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
38339 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38341 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
38342 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
38344 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
38345 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38347 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
38348 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
38350 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
38351 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38353 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
38354 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38356 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
38357 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38359 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
38360 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38362 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
38363 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38365 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
38366 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38368 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
38369 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
38371 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
38372 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38374 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
38375 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38377 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38378 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38380 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38381 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38383 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38384 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38386 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38387 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38389 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38390 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38392 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
38393 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38395 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38396 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38398 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
38399 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
38401 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
38402 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
38404 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
38405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38407 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
38408 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
38410 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
38411 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
38413 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
38414 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
38416 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
38417 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
38419 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
38420 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
38422 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
38423 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
38425 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
38426 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
38428 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
38429 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
38431 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
38432 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
38434 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
38435 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
38437 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
38438 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
38440 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
38441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
38443 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
38444 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
38446 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
38447 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
38449 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
38450 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
38452 static void *_p_wxSizerTo_p_wxObject(void *x
) {
38453 return (void *)((wxObject
*) ((wxSizer
*) x
));
38455 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
38456 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
38458 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
38459 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
38461 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
38462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38464 static void *_p_wxEventTo_p_wxObject(void *x
) {
38465 return (void *)((wxObject
*) ((wxEvent
*) x
));
38467 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
38468 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
38470 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
38471 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
38473 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
38474 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
38476 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
38477 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38479 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
38480 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
38482 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
38483 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
38485 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
38486 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38488 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
38489 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38491 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
38492 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38494 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
38495 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38497 static void *_p_wxControlTo_p_wxObject(void *x
) {
38498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
38500 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
38501 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
38503 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
38504 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
38506 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
38507 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
38509 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
38510 return (void *)((wxObject
*) ((wxFSFile
*) x
));
38512 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
38513 return (void *)((wxObject
*) ((wxClipboard
*) x
));
38515 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
38516 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
38518 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
38519 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
38521 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
38522 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38524 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
38525 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
38527 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
38528 return (void *)((wxObject
*) ((wxToolTip
*) x
));
38530 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
38531 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
38533 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
38534 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
38536 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
38537 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
38539 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
38540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38542 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
38543 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38545 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
38546 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
38548 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
38549 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
38551 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
38552 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
38554 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
38555 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
38557 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
38558 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
38560 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
38561 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
38563 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
38564 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
38566 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
38567 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
38569 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
38570 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
38572 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
38573 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
38575 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
38576 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
38578 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
38579 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
38581 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
38582 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
38584 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
38585 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
38587 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
38588 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
38590 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
38591 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
38593 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
38594 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
38596 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
38597 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
38599 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
38600 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
38602 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
38603 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38605 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
38606 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
38608 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
38609 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
38611 static void *_p_wxImageTo_p_wxObject(void *x
) {
38612 return (void *)((wxObject
*) ((wxImage
*) x
));
38614 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
38615 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
38617 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
38618 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
38620 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
38621 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
38623 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
38624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38626 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
38627 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38629 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
38630 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
38632 static void *_p_wxWindowTo_p_wxObject(void *x
) {
38633 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
38635 static void *_p_wxMenuTo_p_wxObject(void *x
) {
38636 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
38638 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
38639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
38641 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
38642 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
38644 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
38645 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
38647 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
38648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38650 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
38651 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
38653 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
38654 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
38656 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
38657 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
38659 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
38660 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
38662 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
38663 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
38665 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
38666 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
38668 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
38669 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38671 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
38672 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
38674 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
38675 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
38677 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
38678 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
38680 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
38681 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38683 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
38684 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
38686 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
38687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38689 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
38690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
38692 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
38693 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
38695 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
38696 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
38698 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
38699 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
38701 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
38702 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
38704 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
38705 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
38707 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
38708 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
38710 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
38711 return (void *)((wxLog
*) ((wxLogChain
*) x
));
38713 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
38714 return (void *)((wxLog
*) ((wxLogGui
*) x
));
38716 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
38717 return (void *)((wxLog
*) ((wxPyLog
*) x
));
38719 static void *_p_wxControlTo_p_wxWindow(void *x
) {
38720 return (void *)((wxWindow
*) ((wxControl
*) x
));
38722 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
38723 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
38725 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
38726 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
38728 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
38729 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
38731 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
38732 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
38734 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
38735 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};
38736 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
38737 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
38738 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
38739 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
38740 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
38741 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
38742 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
38743 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
38744 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
38745 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
38746 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
38747 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
38748 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
38749 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
38750 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
38751 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
38752 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
38753 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
38754 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
38755 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
38756 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
38757 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
38758 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
38759 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
38760 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
38761 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
38762 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
38763 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
38764 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
38765 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
38766 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
38767 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
38768 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
38769 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
38770 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
38771 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
38772 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
38773 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
38774 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
38775 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
38776 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
38777 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
38778 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
38779 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
38780 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
38781 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
38782 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
38783 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
38784 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
38785 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
38786 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
38787 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
38788 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
38789 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
38790 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
38791 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
38792 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
38793 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
38794 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
38795 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
38796 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
38797 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
38798 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
38799 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
38800 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
38801 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
38802 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
38803 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
38804 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
38805 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
38806 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
38807 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
38808 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
38809 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
38810 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
38811 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
38812 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
38813 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
38814 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
38815 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
38816 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
38817 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
38818 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
38819 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
38820 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
38821 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
38822 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
38823 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
38824 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
38825 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
38826 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
38827 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
38828 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
38829 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
38830 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
38831 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
38832 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
38833 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
38834 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
38835 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
38836 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
38837 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
38838 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
38839 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
38840 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
38841 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
38842 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
38843 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
38844 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
38845 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
38846 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
38847 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
38848 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
38849 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
38850 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
38851 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
38852 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
38853 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
38854 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
38855 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
38856 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
38857 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
38858 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
38859 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
38860 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
38861 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
38862 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
38863 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
38864 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
38865 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
38866 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
38867 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
38868 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
38869 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
38870 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
38871 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
38872 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
38873 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
38874 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
38875 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
38876 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
38877 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
38878 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
38879 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
38880 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
38881 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
38882 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
38883 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
38884 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
38885 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
38886 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
38887 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
38888 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
38889 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
38890 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
38891 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
38892 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
38893 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
38894 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
38895 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
38896 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
38897 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
38898 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
38899 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
38900 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
38901 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
38902 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
38903 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
38904 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
38905 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
38907 static swig_type_info
*swig_type_initial
[] = {
38909 &_swigt__p_form_ops_t
,
38911 &_swigt__p_unsigned_char
,
38912 &_swigt__p_unsigned_int
,
38913 &_swigt__p_unsigned_long
,
38915 &_swigt__p_wxANIHandler
,
38916 &_swigt__p_wxAcceleratorTable
,
38917 &_swigt__p_wxActivateEvent
,
38918 &_swigt__p_wxArrayString
,
38919 &_swigt__p_wxBMPHandler
,
38920 &_swigt__p_wxBitmap
,
38921 &_swigt__p_wxBitmapDataObject
,
38922 &_swigt__p_wxBoxSizer
,
38923 &_swigt__p_wxBusyCursor
,
38924 &_swigt__p_wxBusyInfo
,
38925 &_swigt__p_wxCURHandler
,
38926 &_swigt__p_wxCaret
,
38928 &_swigt__p_wxChildFocusEvent
,
38929 &_swigt__p_wxClipboard
,
38930 &_swigt__p_wxClipboardLocker
,
38931 &_swigt__p_wxClipboardTextEvent
,
38932 &_swigt__p_wxCloseEvent
,
38933 &_swigt__p_wxColour
,
38934 &_swigt__p_wxCommandEvent
,
38935 &_swigt__p_wxConfig
,
38936 &_swigt__p_wxConfigBase
,
38937 &_swigt__p_wxConfigPathChanger
,
38938 &_swigt__p_wxContextMenuEvent
,
38939 &_swigt__p_wxControl
,
38940 &_swigt__p_wxControlWithItems
,
38941 &_swigt__p_wxCursor
,
38942 &_swigt__p_wxCustomDataObject
,
38944 &_swigt__p_wxDataFormat
,
38945 &_swigt__p_wxDataObject
,
38946 &_swigt__p_wxDataObjectComposite
,
38947 &_swigt__p_wxDataObjectSimple
,
38948 &_swigt__p_wxDateEvent
,
38949 &_swigt__p_wxDateSpan
,
38950 &_swigt__p_wxDateTime
,
38951 &_swigt__p_wxDateTime__TimeZone
,
38952 &_swigt__p_wxDisplay
,
38953 &_swigt__p_wxDisplayChangedEvent
,
38954 &_swigt__p_wxDropFilesEvent
,
38955 &_swigt__p_wxDuplexMode
,
38956 &_swigt__p_wxEraseEvent
,
38957 &_swigt__p_wxEvent
,
38958 &_swigt__p_wxEvtHandler
,
38959 &_swigt__p_wxFSFile
,
38960 &_swigt__p_wxFileConfig
,
38961 &_swigt__p_wxFileDataObject
,
38962 &_swigt__p_wxFileHistory
,
38963 &_swigt__p_wxFileSystem
,
38964 &_swigt__p_wxFileType
,
38965 &_swigt__p_wxFileTypeInfo
,
38966 &_swigt__p_wxFlexGridSizer
,
38967 &_swigt__p_wxFocusEvent
,
38969 &_swigt__p_wxFrame
,
38970 &_swigt__p_wxGBSizerItem
,
38971 &_swigt__p_wxGIFHandler
,
38972 &_swigt__p_wxGridBagSizer
,
38973 &_swigt__p_wxGridSizer
,
38974 &_swigt__p_wxICOHandler
,
38976 &_swigt__p_wxIconizeEvent
,
38977 &_swigt__p_wxIdleEvent
,
38978 &_swigt__p_wxImage
,
38979 &_swigt__p_wxImageHandler
,
38980 &_swigt__p_wxIndividualLayoutConstraint
,
38981 &_swigt__p_wxInitDialogEvent
,
38982 &_swigt__p_wxJPEGHandler
,
38983 &_swigt__p_wxJoystick
,
38984 &_swigt__p_wxJoystickEvent
,
38985 &_swigt__p_wxKeyEvent
,
38986 &_swigt__p_wxKillError
,
38987 &_swigt__p_wxLayoutConstraints
,
38989 &_swigt__p_wxLogBuffer
,
38990 &_swigt__p_wxLogChain
,
38991 &_swigt__p_wxLogGui
,
38992 &_swigt__p_wxLogNull
,
38993 &_swigt__p_wxLogStderr
,
38994 &_swigt__p_wxLogTextCtrl
,
38995 &_swigt__p_wxLogWindow
,
38996 &_swigt__p_wxMaximizeEvent
,
38998 &_swigt__p_wxMenuBar
,
38999 &_swigt__p_wxMenuEvent
,
39000 &_swigt__p_wxMenuItem
,
39001 &_swigt__p_wxMetafileDataObject
,
39002 &_swigt__p_wxMimeTypesManager
,
39003 &_swigt__p_wxMouseCaptureChangedEvent
,
39004 &_swigt__p_wxMouseCaptureLostEvent
,
39005 &_swigt__p_wxMouseEvent
,
39006 &_swigt__p_wxMouseState
,
39007 &_swigt__p_wxMoveEvent
,
39008 &_swigt__p_wxMutexGuiLocker
,
39009 &_swigt__p_wxNavigationKeyEvent
,
39010 &_swigt__p_wxNcPaintEvent
,
39011 &_swigt__p_wxNotifyEvent
,
39012 &_swigt__p_wxObject
,
39013 &_swigt__p_wxOutputStream
,
39014 &_swigt__p_wxPCXHandler
,
39015 &_swigt__p_wxPNGHandler
,
39016 &_swigt__p_wxPNMHandler
,
39017 &_swigt__p_wxPaintEvent
,
39018 &_swigt__p_wxPaletteChangedEvent
,
39019 &_swigt__p_wxPaperSize
,
39020 &_swigt__p_wxPlatformInfo
,
39021 &_swigt__p_wxPoint
,
39022 &_swigt__p_wxPowerEvent
,
39023 &_swigt__p_wxProcessEvent
,
39024 &_swigt__p_wxPyApp
,
39025 &_swigt__p_wxPyArtProvider
,
39026 &_swigt__p_wxPyBitmapDataObject
,
39027 &_swigt__p_wxPyCommandEvent
,
39028 &_swigt__p_wxPyDataObjectSimple
,
39029 &_swigt__p_wxPyDropSource
,
39030 &_swigt__p_wxPyDropTarget
,
39031 &_swigt__p_wxPyEvent
,
39032 &_swigt__p_wxPyFileDropTarget
,
39033 &_swigt__p_wxPyImageHandler
,
39034 &_swigt__p_wxPyLog
,
39035 &_swigt__p_wxPyProcess
,
39036 &_swigt__p_wxPySizer
,
39037 &_swigt__p_wxPyTextDataObject
,
39038 &_swigt__p_wxPyTextDropTarget
,
39039 &_swigt__p_wxPyTimer
,
39040 &_swigt__p_wxPyTipProvider
,
39041 &_swigt__p_wxPyValidator
,
39042 &_swigt__p_wxQueryNewPaletteEvent
,
39044 &_swigt__p_wxScrollEvent
,
39045 &_swigt__p_wxScrollWinEvent
,
39046 &_swigt__p_wxSetCursorEvent
,
39047 &_swigt__p_wxShowEvent
,
39048 &_swigt__p_wxSingleInstanceChecker
,
39050 &_swigt__p_wxSizeEvent
,
39051 &_swigt__p_wxSizer
,
39052 &_swigt__p_wxSizerItem
,
39053 &_swigt__p_wxSound
,
39054 &_swigt__p_wxStandardPaths
,
39055 &_swigt__p_wxStaticBoxSizer
,
39056 &_swigt__p_wxStdDialogButtonSizer
,
39057 &_swigt__p_wxStopWatch
,
39058 &_swigt__p_wxString
,
39059 &_swigt__p_wxSysColourChangedEvent
,
39060 &_swigt__p_wxSystemOptions
,
39061 &_swigt__p_wxSystemSettings
,
39062 &_swigt__p_wxTIFFHandler
,
39063 &_swigt__p_wxTextCtrl
,
39064 &_swigt__p_wxTextDataObject
,
39065 &_swigt__p_wxTimeSpan
,
39066 &_swigt__p_wxTimer
,
39067 &_swigt__p_wxTimerEvent
,
39068 &_swigt__p_wxTimerRunner
,
39069 &_swigt__p_wxTipProvider
,
39070 &_swigt__p_wxToolTip
,
39071 &_swigt__p_wxURLDataObject
,
39072 &_swigt__p_wxUpdateUIEvent
,
39073 &_swigt__p_wxValidator
,
39074 &_swigt__p_wxVideoMode
,
39075 &_swigt__p_wxWindow
,
39076 &_swigt__p_wxWindowCreateEvent
,
39077 &_swigt__p_wxWindowDestroyEvent
,
39078 &_swigt__p_wxWindowDisabler
,
39079 &_swigt__p_wxXPMHandler
,
39082 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39083 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39084 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39085 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39086 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39087 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39088 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39089 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
39090 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39091 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}};
39092 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
39093 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
39094 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
39095 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39096 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
39097 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
39098 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39099 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
39100 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}};
39101 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
39102 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39103 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39104 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
39105 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
39106 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}};
39107 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
39108 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}};
39109 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
39110 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
39111 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
39112 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
39113 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39114 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39115 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39116 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39117 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39118 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39119 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39120 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39121 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39122 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39123 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39124 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39125 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39126 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39127 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39128 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39129 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39130 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39131 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39132 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39133 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39134 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39135 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39136 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39137 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39138 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39139 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39140 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39141 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39142 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39143 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39144 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39145 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39146 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39147 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39148 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39149 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39150 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39151 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39152 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}};
39153 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39154 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39155 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39156 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39157 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39158 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39159 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}};
39160 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
39161 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39162 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
39163 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
39164 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
39165 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39166 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
39167 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39168 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
39169 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
39170 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
39171 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}};
39172 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
39173 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
39174 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
39175 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
39176 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
39177 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39178 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
39179 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39180 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39181 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
39182 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
39183 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
39184 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39185 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39186 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39187 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39188 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39189 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39190 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39191 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39192 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39193 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39194 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39195 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39196 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39197 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39198 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39199 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39200 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39201 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39202 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39203 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39204 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39205 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39206 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39207 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39208 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39209 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39210 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39211 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39212 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39213 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39214 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileHistory
, _p_wxFileHistoryTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboard
, _p_wxClipboardTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolTip
, _p_wxToolTipTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSystemOptions
, _p_wxSystemOptionsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBusyInfo
, _p_wxBusyInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
39215 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
39216 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39217 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
39218 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39219 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39220 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
39221 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
39222 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39223 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
39224 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
39225 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0}, {&_swigt__p_wxPyTextDropTarget
, _p_wxPyTextDropTargetTo_p_wxPyDropTarget
, 0, 0}, {&_swigt__p_wxPyFileDropTarget
, _p_wxPyFileDropTargetTo_p_wxPyDropTarget
, 0, 0},{0, 0, 0, 0}};
39226 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39227 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
39228 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
39229 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39230 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39231 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
39232 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
39233 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39234 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
39235 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
39236 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
39237 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
39238 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
39239 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
39240 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
39241 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
39242 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39243 static swig_cast_info _swigc__p_wxTextDataObject
[] = { {&_swigt__p_wxTextDataObject
, 0, 0, 0}, {&_swigt__p_wxPyTextDataObject
, _p_wxPyTextDataObjectTo_p_wxTextDataObject
, 0, 0},{0, 0, 0, 0}};
39244 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
39245 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
39246 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39247 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
39248 static swig_cast_info _swigc__p_wxTipProvider
[] = { {&_swigt__p_wxTipProvider
, 0, 0, 0}, {&_swigt__p_wxPyTipProvider
, _p_wxPyTipProviderTo_p_wxTipProvider
, 0, 0},{0, 0, 0, 0}};
39249 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
39250 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39251 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
39252 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
39253 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
39255 static swig_cast_info
*swig_cast_initial
[] = {
39257 _swigc__p_form_ops_t
,
39259 _swigc__p_unsigned_char
,
39260 _swigc__p_unsigned_int
,
39261 _swigc__p_unsigned_long
,
39263 _swigc__p_wxANIHandler
,
39264 _swigc__p_wxAcceleratorTable
,
39265 _swigc__p_wxActivateEvent
,
39266 _swigc__p_wxArrayString
,
39267 _swigc__p_wxBMPHandler
,
39268 _swigc__p_wxBitmap
,
39269 _swigc__p_wxBitmapDataObject
,
39270 _swigc__p_wxBoxSizer
,
39271 _swigc__p_wxBusyCursor
,
39272 _swigc__p_wxBusyInfo
,
39273 _swigc__p_wxCURHandler
,
39276 _swigc__p_wxChildFocusEvent
,
39277 _swigc__p_wxClipboard
,
39278 _swigc__p_wxClipboardLocker
,
39279 _swigc__p_wxClipboardTextEvent
,
39280 _swigc__p_wxCloseEvent
,
39281 _swigc__p_wxColour
,
39282 _swigc__p_wxCommandEvent
,
39283 _swigc__p_wxConfig
,
39284 _swigc__p_wxConfigBase
,
39285 _swigc__p_wxConfigPathChanger
,
39286 _swigc__p_wxContextMenuEvent
,
39287 _swigc__p_wxControl
,
39288 _swigc__p_wxControlWithItems
,
39289 _swigc__p_wxCursor
,
39290 _swigc__p_wxCustomDataObject
,
39292 _swigc__p_wxDataFormat
,
39293 _swigc__p_wxDataObject
,
39294 _swigc__p_wxDataObjectComposite
,
39295 _swigc__p_wxDataObjectSimple
,
39296 _swigc__p_wxDateEvent
,
39297 _swigc__p_wxDateSpan
,
39298 _swigc__p_wxDateTime
,
39299 _swigc__p_wxDateTime__TimeZone
,
39300 _swigc__p_wxDisplay
,
39301 _swigc__p_wxDisplayChangedEvent
,
39302 _swigc__p_wxDropFilesEvent
,
39303 _swigc__p_wxDuplexMode
,
39304 _swigc__p_wxEraseEvent
,
39306 _swigc__p_wxEvtHandler
,
39307 _swigc__p_wxFSFile
,
39308 _swigc__p_wxFileConfig
,
39309 _swigc__p_wxFileDataObject
,
39310 _swigc__p_wxFileHistory
,
39311 _swigc__p_wxFileSystem
,
39312 _swigc__p_wxFileType
,
39313 _swigc__p_wxFileTypeInfo
,
39314 _swigc__p_wxFlexGridSizer
,
39315 _swigc__p_wxFocusEvent
,
39318 _swigc__p_wxGBSizerItem
,
39319 _swigc__p_wxGIFHandler
,
39320 _swigc__p_wxGridBagSizer
,
39321 _swigc__p_wxGridSizer
,
39322 _swigc__p_wxICOHandler
,
39324 _swigc__p_wxIconizeEvent
,
39325 _swigc__p_wxIdleEvent
,
39327 _swigc__p_wxImageHandler
,
39328 _swigc__p_wxIndividualLayoutConstraint
,
39329 _swigc__p_wxInitDialogEvent
,
39330 _swigc__p_wxJPEGHandler
,
39331 _swigc__p_wxJoystick
,
39332 _swigc__p_wxJoystickEvent
,
39333 _swigc__p_wxKeyEvent
,
39334 _swigc__p_wxKillError
,
39335 _swigc__p_wxLayoutConstraints
,
39337 _swigc__p_wxLogBuffer
,
39338 _swigc__p_wxLogChain
,
39339 _swigc__p_wxLogGui
,
39340 _swigc__p_wxLogNull
,
39341 _swigc__p_wxLogStderr
,
39342 _swigc__p_wxLogTextCtrl
,
39343 _swigc__p_wxLogWindow
,
39344 _swigc__p_wxMaximizeEvent
,
39346 _swigc__p_wxMenuBar
,
39347 _swigc__p_wxMenuEvent
,
39348 _swigc__p_wxMenuItem
,
39349 _swigc__p_wxMetafileDataObject
,
39350 _swigc__p_wxMimeTypesManager
,
39351 _swigc__p_wxMouseCaptureChangedEvent
,
39352 _swigc__p_wxMouseCaptureLostEvent
,
39353 _swigc__p_wxMouseEvent
,
39354 _swigc__p_wxMouseState
,
39355 _swigc__p_wxMoveEvent
,
39356 _swigc__p_wxMutexGuiLocker
,
39357 _swigc__p_wxNavigationKeyEvent
,
39358 _swigc__p_wxNcPaintEvent
,
39359 _swigc__p_wxNotifyEvent
,
39360 _swigc__p_wxObject
,
39361 _swigc__p_wxOutputStream
,
39362 _swigc__p_wxPCXHandler
,
39363 _swigc__p_wxPNGHandler
,
39364 _swigc__p_wxPNMHandler
,
39365 _swigc__p_wxPaintEvent
,
39366 _swigc__p_wxPaletteChangedEvent
,
39367 _swigc__p_wxPaperSize
,
39368 _swigc__p_wxPlatformInfo
,
39370 _swigc__p_wxPowerEvent
,
39371 _swigc__p_wxProcessEvent
,
39373 _swigc__p_wxPyArtProvider
,
39374 _swigc__p_wxPyBitmapDataObject
,
39375 _swigc__p_wxPyCommandEvent
,
39376 _swigc__p_wxPyDataObjectSimple
,
39377 _swigc__p_wxPyDropSource
,
39378 _swigc__p_wxPyDropTarget
,
39379 _swigc__p_wxPyEvent
,
39380 _swigc__p_wxPyFileDropTarget
,
39381 _swigc__p_wxPyImageHandler
,
39383 _swigc__p_wxPyProcess
,
39384 _swigc__p_wxPySizer
,
39385 _swigc__p_wxPyTextDataObject
,
39386 _swigc__p_wxPyTextDropTarget
,
39387 _swigc__p_wxPyTimer
,
39388 _swigc__p_wxPyTipProvider
,
39389 _swigc__p_wxPyValidator
,
39390 _swigc__p_wxQueryNewPaletteEvent
,
39392 _swigc__p_wxScrollEvent
,
39393 _swigc__p_wxScrollWinEvent
,
39394 _swigc__p_wxSetCursorEvent
,
39395 _swigc__p_wxShowEvent
,
39396 _swigc__p_wxSingleInstanceChecker
,
39398 _swigc__p_wxSizeEvent
,
39400 _swigc__p_wxSizerItem
,
39402 _swigc__p_wxStandardPaths
,
39403 _swigc__p_wxStaticBoxSizer
,
39404 _swigc__p_wxStdDialogButtonSizer
,
39405 _swigc__p_wxStopWatch
,
39406 _swigc__p_wxString
,
39407 _swigc__p_wxSysColourChangedEvent
,
39408 _swigc__p_wxSystemOptions
,
39409 _swigc__p_wxSystemSettings
,
39410 _swigc__p_wxTIFFHandler
,
39411 _swigc__p_wxTextCtrl
,
39412 _swigc__p_wxTextDataObject
,
39413 _swigc__p_wxTimeSpan
,
39415 _swigc__p_wxTimerEvent
,
39416 _swigc__p_wxTimerRunner
,
39417 _swigc__p_wxTipProvider
,
39418 _swigc__p_wxToolTip
,
39419 _swigc__p_wxURLDataObject
,
39420 _swigc__p_wxUpdateUIEvent
,
39421 _swigc__p_wxValidator
,
39422 _swigc__p_wxVideoMode
,
39423 _swigc__p_wxWindow
,
39424 _swigc__p_wxWindowCreateEvent
,
39425 _swigc__p_wxWindowDestroyEvent
,
39426 _swigc__p_wxWindowDisabler
,
39427 _swigc__p_wxXPMHandler
,
39431 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39433 static swig_const_info swig_const_table
[] = {
39434 {0, 0, 0, 0.0, 0, 0}};
39439 /* -----------------------------------------------------------------------------
39440 * Type initialization:
39441 * This problem is tough by the requirement that no dynamic
39442 * memory is used. Also, since swig_type_info structures store pointers to
39443 * swig_cast_info structures and swig_cast_info structures store pointers back
39444 * to swig_type_info structures, we need some lookup code at initialization.
39445 * The idea is that swig generates all the structures that are needed.
39446 * The runtime then collects these partially filled structures.
39447 * The SWIG_InitializeModule function takes these initial arrays out of
39448 * swig_module, and does all the lookup, filling in the swig_module.types
39449 * array with the correct data and linking the correct swig_cast_info
39450 * structures together.
39452 * The generated swig_type_info structures are assigned staticly to an initial
39453 * array. We just loop though that array, and handle each type individually.
39454 * First we lookup if this type has been already loaded, and if so, use the
39455 * loaded structure instead of the generated one. Then we have to fill in the
39456 * cast linked list. The cast data is initially stored in something like a
39457 * two-dimensional array. Each row corresponds to a type (there are the same
39458 * number of rows as there are in the swig_type_initial array). Each entry in
39459 * a column is one of the swig_cast_info structures for that type.
39460 * The cast_initial array is actually an array of arrays, because each row has
39461 * a variable number of columns. So to actually build the cast linked list,
39462 * we find the array of casts associated with the type, and loop through it
39463 * adding the casts to the list. The one last trick we need to do is making
39464 * sure the type pointer in the swig_cast_info struct is correct.
39466 * First off, we lookup the cast->type name to see if it is already loaded.
39467 * There are three cases to handle:
39468 * 1) If the cast->type has already been loaded AND the type we are adding
39469 * casting info to has not been loaded (it is in this module), THEN we
39470 * replace the cast->type pointer with the type pointer that has already
39472 * 2) If BOTH types (the one we are adding casting info to, and the
39473 * cast->type) are loaded, THEN the cast info has already been loaded by
39474 * the previous module so we just ignore it.
39475 * 3) Finally, if cast->type has not already been loaded, then we add that
39476 * swig_cast_info to the linked list (because the cast->type) pointer will
39478 * ----------------------------------------------------------------------------- */
39488 #define SWIGRUNTIME_DEBUG
39492 SWIG_InitializeModule(void *clientdata
) {
39494 swig_module_info
*module_head
;
39495 static int init_run
= 0;
39497 clientdata
= clientdata
;
39499 if (init_run
) return;
39502 /* Initialize the swig_module */
39503 swig_module
.type_initial
= swig_type_initial
;
39504 swig_module
.cast_initial
= swig_cast_initial
;
39506 /* Try and load any already created modules */
39507 module_head
= SWIG_GetModule(clientdata
);
39509 swig_module
.next
= module_head
->next
;
39510 module_head
->next
= &swig_module
;
39512 /* This is the first module loaded */
39513 swig_module
.next
= &swig_module
;
39514 SWIG_SetModule(clientdata
, &swig_module
);
39517 /* Now work on filling in swig_module.types */
39518 #ifdef SWIGRUNTIME_DEBUG
39519 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
39521 for (i
= 0; i
< swig_module
.size
; ++i
) {
39522 swig_type_info
*type
= 0;
39523 swig_type_info
*ret
;
39524 swig_cast_info
*cast
;
39526 #ifdef SWIGRUNTIME_DEBUG
39527 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39530 /* if there is another module already loaded */
39531 if (swig_module
.next
!= &swig_module
) {
39532 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
39535 /* Overwrite clientdata field */
39536 #ifdef SWIGRUNTIME_DEBUG
39537 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
39539 if (swig_module
.type_initial
[i
]->clientdata
) {
39540 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
39541 #ifdef SWIGRUNTIME_DEBUG
39542 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
39546 type
= swig_module
.type_initial
[i
];
39549 /* Insert casting types */
39550 cast
= swig_module
.cast_initial
[i
];
39551 while (cast
->type
) {
39552 /* Don't need to add information already in the list */
39554 #ifdef SWIGRUNTIME_DEBUG
39555 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
39557 if (swig_module
.next
!= &swig_module
) {
39558 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
39559 #ifdef SWIGRUNTIME_DEBUG
39560 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
39564 if (type
== swig_module
.type_initial
[i
]) {
39565 #ifdef SWIGRUNTIME_DEBUG
39566 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
39571 /* Check for casting already in the list */
39572 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
39573 #ifdef SWIGRUNTIME_DEBUG
39574 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39576 if (!ocast
) ret
= 0;
39581 #ifdef SWIGRUNTIME_DEBUG
39582 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39585 type
->cast
->prev
= cast
;
39586 cast
->next
= type
->cast
;
39592 /* Set entry in modules->types array equal to the type */
39593 swig_module
.types
[i
] = type
;
39595 swig_module
.types
[i
] = 0;
39597 #ifdef SWIGRUNTIME_DEBUG
39598 printf("**** SWIG_InitializeModule: Cast List ******\n");
39599 for (i
= 0; i
< swig_module
.size
; ++i
) {
39601 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39602 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39603 while (cast
->type
) {
39604 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39608 printf("---- Total casts: %d\n",j
);
39610 printf("**** SWIG_InitializeModule: Cast List ******\n");
39614 /* This function will propagate the clientdata field of type to
39615 * any new swig_type_info structures that have been added into the list
39616 * of equivalent types. It is like calling
39617 * SWIG_TypeClientData(type, clientdata) a second time.
39620 SWIG_PropagateClientData(void) {
39622 swig_cast_info
*equiv
;
39623 static int init_run
= 0;
39625 if (init_run
) return;
39628 for (i
= 0; i
< swig_module
.size
; i
++) {
39629 if (swig_module
.types
[i
]->clientdata
) {
39630 equiv
= swig_module
.types
[i
]->cast
;
39632 if (!equiv
->converter
) {
39633 if (equiv
->type
&& !equiv
->type
->clientdata
)
39634 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
39636 equiv
= equiv
->next
;
39656 /* Python-specific SWIG API */
39657 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39658 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39659 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39661 /* -----------------------------------------------------------------------------
39662 * global variable support code.
39663 * ----------------------------------------------------------------------------- */
39665 typedef struct swig_globalvar
{
39666 char *name
; /* Name of global variable */
39667 PyObject
*(*get_attr
)(void); /* Return the current value */
39668 int (*set_attr
)(PyObject
*); /* Set the value */
39669 struct swig_globalvar
*next
;
39672 typedef struct swig_varlinkobject
{
39674 swig_globalvar
*vars
;
39675 } swig_varlinkobject
;
39677 SWIGINTERN PyObject
*
39678 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
39679 return PyString_FromString("<Swig global variables>");
39682 SWIGINTERN PyObject
*
39683 swig_varlink_str(swig_varlinkobject
*v
) {
39684 PyObject
*str
= PyString_FromString("(");
39685 swig_globalvar
*var
;
39686 for (var
= v
->vars
; var
; var
=var
->next
) {
39687 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
39688 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
39690 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
39695 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
39696 PyObject
*str
= swig_varlink_str(v
);
39697 fprintf(fp
,"Swig global variables ");
39698 fprintf(fp
,"%s\n", PyString_AsString(str
));
39704 swig_varlink_dealloc(swig_varlinkobject
*v
) {
39705 swig_globalvar
*var
= v
->vars
;
39707 swig_globalvar
*n
= var
->next
;
39714 SWIGINTERN PyObject
*
39715 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39716 PyObject
*res
= NULL
;
39717 swig_globalvar
*var
= v
->vars
;
39719 if (strcmp(var
->name
,n
) == 0) {
39720 res
= (*var
->get_attr
)();
39725 if (res
== NULL
&& !PyErr_Occurred()) {
39726 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39732 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39734 swig_globalvar
*var
= v
->vars
;
39736 if (strcmp(var
->name
,n
) == 0) {
39737 res
= (*var
->set_attr
)(p
);
39742 if (res
== 1 && !PyErr_Occurred()) {
39743 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39748 SWIGINTERN PyTypeObject
*
39749 swig_varlink_type(void) {
39750 static char varlink__doc__
[] = "Swig var link object";
39751 static PyTypeObject varlink_type
;
39752 static int type_init
= 0;
39754 const PyTypeObject tmp
39756 PyObject_HEAD_INIT(NULL
)
39757 0, /* Number of items in variable part (ob_size) */
39758 (char *)"swigvarlink", /* Type name (tp_name) */
39759 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39760 0, /* Itemsize (tp_itemsize) */
39761 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
39762 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39763 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39764 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39765 0, /* tp_compare */
39766 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39767 0, /* tp_as_number */
39768 0, /* tp_as_sequence */
39769 0, /* tp_as_mapping */
39772 (reprfunc
)swig_varlink_str
, /* tp_str */
39773 0, /* tp_getattro */
39774 0, /* tp_setattro */
39775 0, /* tp_as_buffer */
39777 varlink__doc__
, /* tp_doc */
39778 0, /* tp_traverse */
39780 0, /* tp_richcompare */
39781 0, /* tp_weaklistoffset */
39782 #if PY_VERSION_HEX >= 0x02020000
39783 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39785 #if PY_VERSION_HEX >= 0x02030000
39788 #ifdef COUNT_ALLOCS
39789 0,0,0,0 /* tp_alloc -> tp_next */
39792 varlink_type
= tmp
;
39793 varlink_type
.ob_type
= &PyType_Type
;
39796 return &varlink_type
;
39799 /* Create a variable linking object for use later */
39800 SWIGINTERN PyObject
*
39801 SWIG_Python_newvarlink(void) {
39802 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39806 return ((PyObject
*) result
);
39810 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39811 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39812 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39814 size_t size
= strlen(name
)+1;
39815 gv
->name
= (char *)malloc(size
);
39817 strncpy(gv
->name
,name
,size
);
39818 gv
->get_attr
= get_attr
;
39819 gv
->set_attr
= set_attr
;
39820 gv
->next
= v
->vars
;
39826 SWIGINTERN PyObject
*
39828 static PyObject
*_SWIG_globals
= 0;
39829 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
39830 return _SWIG_globals
;
39833 /* -----------------------------------------------------------------------------
39834 * constants/methods manipulation
39835 * ----------------------------------------------------------------------------- */
39837 /* Install Constants */
39839 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39842 for (i
= 0; constants
[i
].type
; ++i
) {
39843 switch(constants
[i
].type
) {
39844 case SWIG_PY_POINTER
:
39845 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39847 case SWIG_PY_BINARY
:
39848 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39855 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
39861 /* -----------------------------------------------------------------------------*/
39862 /* Fix SwigMethods to carry the callback ptrs when needed */
39863 /* -----------------------------------------------------------------------------*/
39866 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39867 swig_const_info
*const_table
,
39868 swig_type_info
**types
,
39869 swig_type_info
**types_initial
) {
39871 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39872 const char *c
= methods
[i
].ml_doc
;
39873 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39875 swig_const_info
*ci
= 0;
39876 const char *name
= c
+ 10;
39877 for (j
= 0; const_table
[j
].type
; ++j
) {
39878 if (strncmp(const_table
[j
].name
, name
,
39879 strlen(const_table
[j
].name
)) == 0) {
39880 ci
= &(const_table
[j
]);
39885 size_t shift
= (ci
->ptype
) - types
;
39886 swig_type_info
*ty
= types_initial
[shift
];
39887 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39888 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39889 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39892 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39894 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39896 strncpy(buff
, "swig_ptr: ", 10);
39898 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
39899 methods
[i
].ml_doc
= ndoc
;
39911 /* -----------------------------------------------------------------------------*
39912 * Partial Init method
39913 * -----------------------------------------------------------------------------*/
39918 SWIGEXPORT
void SWIG_init(void) {
39921 /* Fix SwigMethods to carry the callback ptrs when needed */
39922 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
39924 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
39925 d
= PyModule_GetDict(m
);
39927 SWIG_InitializeModule(0);
39928 SWIG_InstallConstants(d
,swig_const_table
);
39931 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
39932 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
39933 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
39934 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
39935 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
39936 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
39937 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
39938 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
39939 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
39940 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
39941 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
39942 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
39943 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
39944 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
39945 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
39946 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
39947 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
39948 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
39949 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
39950 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
39951 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
39952 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
39953 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
39954 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
39955 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
39956 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
39957 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
39958 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
39959 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
39960 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
39961 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
39962 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
39963 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
39964 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
39965 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
39966 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
39967 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
39968 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
39969 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
39970 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
39971 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
39972 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
39973 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
39974 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
39975 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
39976 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
39977 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
39978 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
39979 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
39980 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
39981 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
39982 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
39983 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
39984 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
39985 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
39986 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
39987 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
39988 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
39989 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
39990 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
39991 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
39992 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
39993 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
39994 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
39995 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
39996 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
39997 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
39998 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
39999 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
40000 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
40001 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
40002 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
40003 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
40004 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
40005 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
40006 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
40007 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
40008 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
40009 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
40010 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
40011 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
40012 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
40013 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
40014 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
40015 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
40016 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
40017 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
40018 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
40019 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
40020 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
40021 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
40022 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
40023 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
40024 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
40025 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
40026 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
40027 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
40028 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
40029 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
40030 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
40031 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
40032 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
40033 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
40034 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
40035 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
40036 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
40037 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
40038 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
40039 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
40040 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
40041 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
40042 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
40043 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
40044 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
40045 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
40046 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
40047 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
40048 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
40049 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
40050 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
40051 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
40052 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
40053 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
40054 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
40055 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
40056 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
40057 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
40058 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
40059 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
40060 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
40061 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
40062 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
40063 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
40064 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
40065 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
40066 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
40067 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
40068 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
40069 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
40070 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
40071 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
40072 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
40073 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
40074 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
40075 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
40076 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
40077 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
40078 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
40080 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
40082 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
40083 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
40084 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
40085 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
40086 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
40087 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
40088 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
40089 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
40090 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
40091 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
40092 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
40093 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
40094 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
40095 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
40096 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
40097 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
40098 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
40099 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
40100 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
40101 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
40102 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
40103 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
40104 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
40105 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
40106 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
40107 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
40108 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
40109 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
40110 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
40111 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
40112 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
40113 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
40114 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
40115 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
40116 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
40117 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
40118 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
40119 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
40120 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
40121 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
40122 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
40123 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
40124 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
40125 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
40126 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
40127 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
40128 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
40129 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
40130 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
40131 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
40132 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
40133 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
40134 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
40136 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
40138 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
40139 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
40140 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
40141 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
40142 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
40143 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
40144 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
40145 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
40146 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
40147 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
40148 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
40149 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
40150 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
40151 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
40152 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
40153 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
40154 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
40155 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
40156 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
40157 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
40158 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
40159 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
40160 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
40161 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
40162 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
40163 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
40164 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
40165 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
40166 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
40167 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
40168 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
40169 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
40170 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
40171 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
40172 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
40173 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
40174 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
40175 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
40176 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
40177 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
40178 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
40179 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
40180 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
40181 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
40182 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
40183 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
40184 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
40185 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
40186 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
40187 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
40188 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
40189 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
40190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
40191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
40192 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
40193 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
40194 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
40195 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
40196 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
40197 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
40198 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
40199 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
40200 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
40201 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
40202 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
40203 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
40204 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
40205 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
40206 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
40207 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
40208 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
40209 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
40210 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
40211 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
40212 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
40213 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
40215 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
40217 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
40218 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
40219 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
40220 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
40221 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
40222 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
40223 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
40224 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
40225 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
40226 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
40227 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
40228 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
40229 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
40230 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
40231 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
40232 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
40233 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
40234 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
40235 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
40236 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
40237 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
40238 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
40239 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
40240 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
40241 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
40242 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
40243 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
40244 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
40245 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
40246 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
40247 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
40248 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
40249 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
40250 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
40251 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
40252 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
40253 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
40254 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
40255 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
40256 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
40257 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
40258 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
40259 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
40260 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
40261 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
40262 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
40263 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
40264 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
40265 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
40266 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
40267 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
40268 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
40269 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
40270 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
40271 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
40272 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
40273 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
40274 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
40275 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
40276 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
40277 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
40278 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
40279 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
40280 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
40281 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
40282 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
40283 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
40284 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
40285 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
40286 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
40287 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
40288 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
40289 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
40290 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
40291 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
40292 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
40293 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
40294 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
40295 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
40296 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
40297 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
40298 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
40299 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
40300 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
40301 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
40302 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
40303 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
40304 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
40305 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
40306 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
40307 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
40308 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
40309 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
40310 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
40311 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
40312 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
40313 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
40314 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
40315 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
40316 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
40317 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
40318 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
40319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
40320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
40321 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
40322 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
40323 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
40324 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
40325 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
40326 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
40327 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
40328 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
40329 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
40330 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
40331 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
40332 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
40333 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
40334 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
40335 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
40336 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
40337 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
40338 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
40339 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
40340 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
40341 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
40342 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
40343 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
40344 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
40345 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
40346 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
40347 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
40348 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
40349 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
40350 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
40351 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
40352 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
40353 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
40354 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
40355 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
40356 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
40357 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
40358 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
40359 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
40360 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
40361 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
40362 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
40363 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
40364 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
40365 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
40366 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
40367 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
40368 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
40369 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
40370 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
40371 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
40372 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
40373 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
40374 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
40375 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
40376 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
40377 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
40378 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
40379 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
40380 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
40381 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
40382 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
40383 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
40384 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
40385 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
40386 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
40387 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
40388 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
40389 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
40390 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
40391 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
40392 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
40393 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
40394 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
40395 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
40396 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
40397 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
40398 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
40399 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
40400 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
40401 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
40402 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
40403 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
40404 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
40405 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
40406 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
40407 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
40408 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
40409 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
40410 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
40411 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
40412 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
40413 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
40414 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
40415 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
40416 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
40418 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
40419 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
40420 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
40421 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
40423 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
40424 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
40425 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
40426 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
40427 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
40428 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
40429 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
40430 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
40431 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
40432 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
40433 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
40434 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
40435 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
40436 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
40437 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
40438 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));